<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Connect to your node, and either run
      console.pl or telnet localhost 7300<br>
      <br>
      type in: set/debug qrz<br>
      <br>
      In another window run: watchdbg qrz   (that may be
      /spider/perl/watchdbg depending on whether you have followed the
      advice in the admin manual)<br>
      <br>
      In the console/telnet session try a sh/qrz on a callsign. You
      should see something like this:<br>
      <br>
      $ watchdbg qrz<br>
      18:59:32 <- I G1TLH sh/qrz g1tlh<br>
      18:59:32 qrz:
xml.qrz.com:80/xml/current/?callsign=g1tlh;username=xxxxxxx;password=yyyyyyy;agent=dxspider<br>
      18:59:32 -> D G1TLH show/qrz Working...<br>
      18:59:33 qrz: blank <?xml version="1.0" encoding="utf-8" ?><br>
      18:59:33 qrz: blank <QRZDatabase version="1.33"
      xmlns=<a class="moz-txt-link-rfc2396E" href="http://xml.qrz.com">"http://xml.qrz.com"</a>><br>
      18:59:33 qrz: blank <Callsign><br>
      18:59:33 qrz: go <call>G1TLH</call><br>
      18:59:33 -> D G1TLH qrz> call      : G1TLH<br>
      18:59:33 qrz: go <fname>D J</fname><br>
      18:59:33 -> D G1TLH qrz> fname     : D J<br>
      18:59:33 qrz: go <name>KOOPMAN</name><br>
      18:59:33 -> D G1TLH qrz> name      : KOOPMAN<br>
      18:59:33 qrz: go <addr2>Graffham, West Sussex</addr2><br>
      18:59:33 -> D G1TLH qrz> addr2     : Graffham, West Sussex<br>
      18:59:33 qrz: go <country>England</country><br>
      18:59:33 -> D G1TLH qrz> country   : England<br>
      18:59:33 qrz: go </Callsign><br>
      18:59:33 qrz: skip <Session><br>
      18:59:33 qrz: skip
      <Key>d95b349b94323a9305a9a1c3ec258cda</Key><br>
      18:59:33 qrz: skip <Count>438</Count><br>
      18:59:33 qrz: skip <SubExp>non-subscriber</SubExp><br>
      18:59:33 qrz: skip <Message>A subscription is required to
      access the complete record.</Message><br>
      18:59:33 qrz: skip <GMTime>Sat Aug  6 18:59:30
      2016</GMTime><br>
      18:59:33 qrz: skip <Remark>cpu: 0.143s</Remark><br>
      18:59:33 qrz: skip </Session><br>
      18:59:33 qrz: skip </QRZDatabase><br>
      18:59:33 -> D G1TLH Data provided by <a class="moz-txt-link-abbreviated" href="http://www.qrz.com">www.qrz.com</a><br>
      <br>
      You must have a valid username and password on qrz.com. You *may*
      have to have or have had a subscription. This is a reminder for me
      to renew mine.<br>
      <br>
      If you try to run the query on the command line using say GET or
      "wget -O -" then don't forget to enclose the actual URL in SINGLE
      quotes (') as ? is a shell escape character and what will be sent
      will not be complete.<br>
       <br>
      Dirk G1TLH<br>
      <br>
      PS If you expect to supply a working sh/qrz to your users, then
      you should consider getting a subscription to qrz.com. This seems
      to me to be only reasonable.<br>
      <br>
        <br>
      On 06/08/16 16:56, Michael Carper, Ph.D. wrote:<br>
    </div>
    <blockquote
cite="mid:CAKJep-BR-Kwqhnox+c-i7ZJZt+SfFqwSNM2ET-5Kso24Yoxw5w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>I'm doing the same thing, but I get:<br>
        </div>
        <div>qrz> Error   : Username / password required</div>
        <div><br>
        </div>
        <div>And I surely have my username and password in the file.</div>
        <div><br>
        </div>
        <div>My Internet.pm file is as follows:</div>
        <div><br>
        </div>
        <div>****************************</div>
        <div><br>
        </div>
        <div>
          <div># </div>
          <div># in order for you to use the internet accessing routines
            you</div>
          <div># need to set various flags and things in this file</div>
          <div>#</div>
          <div># BUT DO NOT ALTER THIS FILE! It will be overwritten on
            every update</div>
          <div>#</div>
          <div># COPY this file to ../local, alter it there and restart
            the software</div>
          <div>#</div>
          <div># Copyright (c) 2000 Dirk Koopman G1TLH</div>
          <div>#</div>
          <div>#</div>
          <div>#</div>
          <div>package Internet;</div>
          <div>#</div>
          <div># set this flag to 1 if you want to allow internet
            commands</div>
          <div>#</div>
          <div>$allow = 1;</div>
          <div>#</div>
          <div># QRZ.com user id </div>
          <div>#</div>
          <div># set this to your QRZ user name (you need this for the
            sh/qrz </div>
          <div># command)</div>
          <div>#</div>
          <div># eg </div>
          <div><span style="background-color:rgb(255,255,0)">$qrz_uid =
              'wa9pie';</span></div>
          <div>#</div>
          <div>$qrz_uid = undef;</div>
          <div><br>
          </div>
          <div>#</div>
          <div># QRZ.com password - this goes with your user id above</div>
          <div>#</div>
          <div># eg </div>
          <div><span style="background-color:rgb(255,255,0)">$qrz_pw =
              'xxxxxxxxxxx';</span></div>
          <div>#</div>
          <div>$qrz_pw = undef;</div>
          <div>#</div>
          <div># the address of any HTTP proxy you might be using</div>
          <div>#</div>
          <div># leave as is unless you need one</div>
          <div>#</div>
          <div># eg:  $http_proxy = '<a moz-do-not-send="true"
              href="http://wwwcache.demon.co.uk">wwwcache.demon.co.uk</a>';</div>
          <div>#</div>
          <div>$http_proxy = undef;</div>
          <div>#</div>
          <div># HTTP proxy port - again leave alone unless you need
            this</div>
          <div>#</div>
          <div># eg: $http_proxy_port = 8080;</div>
          <div>#</div>
          <div><br>
          </div>
          <div>#</div>
          <div># list of urls and other things that are used in
            commands, here so that they</div>
          <div># can be changed if necessary.</div>
          <div>#</div>
          <div><span style="background-color:rgb(255,255,0)">$qrz_url =
              '<a moz-do-not-send="true" href="http://xmldata.qrz.com">xmldata.qrz.com</a>';
                  # used by show/qrz</span></div>
          <div>$wm7d_url = '<a moz-do-not-send="true"
              href="http://www.wm7d.net">www.wm7d.net</a>';   # used by
            show/wm7d</div>
          <div>$db0sdx_url = '<a moz-do-not-send="true"
              href="http://www.qslinfo.de">www.qslinfo.de</a>'; # used
            by show/db0sdx</div>
          <div>$db0sdx_path = '/qslinfo';</div>
          <div>$db0sdx_suffix = '.asmx';</div>
          <div>$dx425_url = '<a moz-do-not-send="true"
              href="http://www.iz5fsa.net">www.iz5fsa.net</a>';        
             # used by show/425</div>
          <div>#$contest_host = '<a moz-do-not-send="true"
              href="http://www.sk3bg.se">www.sk3bg.se</a>';         #
            used by show/contest</div>
          <div>#$contest_url = "/contest/text";         # used by
            show/contest</div>
          <div>#SHOW/IK3QAR <callsign> Show the 5 most recent
            informations found on IK3QAR</div>
          <div>##Callsign Database about QSL Manager, Manager address
            and comments. This</div>
          <div>##command works for sysop subscribed for the service at:</div>
          <div>##    <a moz-do-not-send="true"
              href="http://www.ik3qar.it/manager/dxc.php">http://www.ik3qar.it/manager/dxc.php</a></div>
          <div>##Write the given password below in $ik3qar_pw</div>
          <div>#</div>
          <div>$ik3qar_url = '<a moz-do-not-send="true"
              href="http://www.ik3qar.it">www.ik3qar.it</a>';    # used
            by show/ik3qar</div>
          <div>$ik3qar_pw = 'PUT-PASSWORD-HERE';    # used by
            show/ik3qar</div>
          <div># NOTE: you must copy $ik3qar_* lines to
            local/Internet.pm for them to have</div>
          <div># any effect on an already running node.</div>
          <div>#</div>
          <div>#</div>
          <div># end</div>
          <div>#</div>
          <div>1;</div>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>