TCP/IP over radio has often had a bad press. Many amateurs have criticised the supposed need to abandon the Windows environment in favour of a command-line programme (eg. JNOS). There have been many complaints about the perceived difficulty of setting it up, and regret at the diminishing amount of IP activity in their neighbourhood. However, for those who are within reach of IP stations and who wish to experiment seriously, various Windows-based options have long been available - and their number continues to increase. Certain solutions have been around for a while, often relying on a Windows PC being connected via ethernet to a DOS PC which acts as the main IP server. More recently G3ZFR has brought out an eprom image for the PacComm Tiny-2 which enables the tnc to be seen by Windows as a dialup adapter (see http://www.g3zfr.freeserve.co.uk/ These hardware solutions allow native Windows TCP/IP applications to be used over radio. Perhaps the best known of the few software solutions is the AGW Packet Engine, developed by SV2AGW. It has a W95 version but recently a better version was produced which is designed for Windows 98, NT and 2000. AGWPE also supports certain AX25 applications (such as WinPack) at the same time, making it an attractive option for the packet user - especially one who wishes to use Windows applications for packet radio. However it is often seen as something of a challenge. This is partly because AGW's own instructions are brief, optimistic (and translated from his native Greek), partly because there are very few other help resources which are easily accessible, but also partly because of the widely-held belief that there are many amateurs out there who have tried to set it up and couldn't get it working. In an attempt to help those packet users who are daunted by this challenge, I have written a Help File. This document - divided into 7 sections for ease of reference - aims to assist those who genuinely wish to "have a go", and who are not too proud to be told in some detail how to do some occasionally quite basic routines! It only refers to the TCP/IP driver designed for Windows 98 and later, although users of W95 may find some of the notes helpful when attempting to set up the W95 Dialup version. It derives its information firstly from SV2AGW's own help files, secondly from notes written by a range of other amateurs (notably G4APL, IW3HXN and IR3MP) and lastly from my own, very limited experience with W98. If you use this document and find it useful, I should be glad to hear from you. Should you spot any errors, or wish to suggest improvements, I would also be pleased if you would get in touch. 73, Mike Wager, G7RAZ Packet: G7RAZ@GB7WIS.#22.GBR.EU (Written: April 2002) 1. Obtaining & loading the required AGW files
2. Installing & Configuring the TCP/IP adapter (Note: These are mainly SV2AGW's notes with minor changes and a few extra observations) Installing the adapter:
Configuring the adapter:
Finally press [OK] to complete configuring the Network. Windows will encourage you to restart the computer. You don't need to
do so until later. 3. Configuring Windows routing This is to enable Windows to route AGW's packets not only towards the nominated gateway, but also (and especially) towards stations beyond the gateway.
For illustration, my AGWROUTE.BAT looks like this: ARP -s 44.131.168.242 8e-84-20-84-4c-76 Save the file into the folder where all the AGW files are stored. Then test the file by double clicking on it and checking no error messages occur. There is also a file in the Windows directory called HOSTS (no extension). I cannot say with certainty that it is useful to have it configured, but I have entered into it details of my gateway, my BBS and a couple of other local IP stations. My understanding is that this enables me to quote their (domain) name rather than their (numeric) address when attempting to connect to them. The format is explained in the sample file HOSTS.SAM, and therefore making additions of your own should be straightforward. For illustration, this is an extract of my HOSTS file: # home/node/bbs calls 4. Loading & configuring AGWPE Run AGWPE.EXE - this will install the program into the windows task bar. Right click this icon to bring up the configuration screen. Select "Properties" and click on "New Port". After clicking "OK" you will need to configure the port according to your circumstances - mainly depending on what type of TNC you are operating and how your PC is connected to it. Once this initial configuration is complete, close and restart AGWPE, following these instructions:
Right click on the icon again and select "Start up programs". Using "Add" and then "Browse" select the following three programs to be automatically started when AGWPE is run:
If you are going to have people make HTTP connections into your machine, have a look at the "Setup Interface" section in the icon bar menu. I have no information about its configuration available, but certain items are obvious. Note that this configuration appears not to be necessary for your own use of Internet Explorer for outward connections (see next section). Exit the program and restart the computer. When the PC is ready, load
AGWPE. There may be some issues about configuring AGWTERMTCP and
AGWMONITORTCP - I couldn't ever get them to work under W95, for example -
but they can be put to one side for the time being. As long as you have
the AGW icons (in the form of tnc's in your icon tray) you are ready to
start testing Windows applications over radio. 5. Testing Windows applications Ping, Telnet and FTP To ping another IP station, open an MS-DOS window and type "ping 44.131.168.242", amending the IP address to your intended target. Windows will send four test "pings" to the target and will report on what comes back. Note that pings to more distant IP stations may appear to be lost as Windows IP is impatient and times out rather quickly on slow links. For telnetting other stations, first load the program (C:\WINDOWS\TELNET.EXE). Click "Connect" and then "Remote system". Enter the address of the first IP station you might connect. Hopefully you should be connected and be able to proceed as with other telnet connects. You may wish to set up a batch file to enable you to simplify these instructions. Type the line "C:\WINDOWS\TELNET.EXE 44.131.168.242" (again amending the IP address to your intended target) and save the file somewhere sensible, creating a shortcut to it on the desktop. By double-clicking on the shortcut not only will the program be run, but also the telnet request will be sent. For FTP testing, you can use the basic Windows FTP.EXE. From an MS-DOS
window type "FTP 44.131.168.242" (again amending the IP address to your
intended target) and you will hopefully be connected and then proceed to
log in. Remember, other FTP client programs are available. Internet Explorer (HTTP) By typing in the address in the URL box (for example:
http://44.131.174.73), you should be able to make an HTTP connect to an IP
address, too. Amend the Connection settings within IE's properties,
selecting "Never dial a connection". Some commentators advise configuring
a proxy server via the LAN, but I found this unnecessary, with connects
being directed correctly. I would like to think that this was due to
AGWROUTE.BAT and the HOSTS file having informed Windows where to send
RF-intended (ie 44.x.x.x) packets. Outlook Express (SMTP, POP3, NNTP) Assuming you already have Outlook Express on the PC and have configured it for internet access, make a new identity for your amateur radio mail/news, using File > Identities > Add New Identity. Use the wizard to create a mail account (Tools > Accounts > Add ... Mail). Your name could be your callsign or your real name. Your address should be similar to g7raz@g7raz.ampr.org. Liaise with your sysop about the names he uses for the incoming and outgoing mail servers. The account name will usually be your callsign, and the password should be the password agreed with your sysop (often your first name). Once the account is created, add some final settings by double clicking on the account name. Under General, add "Amateur Radio" as the Organization, and your "Reply address" should repeat the address mentioned above. Most importantly, under Connection, find "Local Area Network" and check "Always connect to this account using...". Under Advanced you may wish to lengthen the "server timeouts", if the link to your mail server is likely to be slow. Use the wizard in the same way to create a news account. Configure the
final settings also as above. Hopefully Outlook should now function on RF
exactly as it does on the internet. 6. Troubleshooting I cannot be alone in finding that nothing works first time on a PC...! The most obvious suggestion, when the TCP/IP side of things doesn't work (even with PING) is to retrace your steps and check the configuration settings. Perhaps double-check the ARP codes in AGWROUTE.BAT file especially. Otherwise here are a few hints which may point you in the right direction. The best form of diagnosis is by means of observation. By checking what is happening to the IP packets, some clue may be gained as to where problems lie. Monitoring can be achieved either with the TCP version of AGW MONITOR or, more simply, in the monitor window of Winpack, which runs very happily on AGW. Of course you need to be familiar with how IP packets interact, but even if you aren't, any fellow IP enthusiasts, whose helpful advice you ask for, may well find a trace of packet exchanges to be useful in pinpointing problems. Some commentators I have read have found WINIPCFG to be useful for identifying wrong adapter settings. From Start, click on "Run", type WINIPCFG and press Return. Use the pull-down menu to locate the "SV2AGW TCP/IP Adapter" and examine the "Adapter Address". This has been derived from the callsign you entered as MyCall in AGWPE's "TCPIP over Radio Setup" configuration. You will need to check the table in the Appendix to see if your call is correctly reported. See also that your IP address, sub net mask and gateway address are correctly reported. If not you should remove and re-install the TCP/IP adapter in the way already described. I have found, however, that my setup works despite a wrongly reported code. I have entered G7RAZ-5 as the IP MyCall. This is 7 characters, but only 6 Hex codes are permitted, and if I read this aright, it looks as though the SSID (-5) is ignored, and in its place "00" is tacked on, giving 83-6e-73-2c-92-00. The inconsistency is with the "R" which the table lists as 71 and the "Z" which should be 90. Nonetheless my setup works, so any discrepancies you find may not be critical either. Also suggested as a check is the registry settings of callsign and MTU. The registry is accessed by clicking Start, then Run and typing "regedit" and pressing return. Work your way down the directory structure thus: HKEY_LOCAL_MACHINE > System > CurrentControlSet > Services > Class > Net. Check the contents of files 0000, 0001, etc, until you find the one referring to the "SV2AGW TCP/IP Adapter". You will see the references to MyCall (format as above) and PacLen. Ensure that these are correct. Mind you, editing these values is a tricky thing and you would do well to do this only if you know what you are doing... Fortunately my settings were as I expected. Finally, you can always call on the help of the packet community. The
bulletin field AGW or AGWPE can be written to with requests for help. More
fruitful, however, might be putting out requests to the Yahoo group set up
by SV2AGW, provided you have internet access. But then, if you're
interested in running IP applications like Internet Explorer, it's surely
because you already use them on the internet... 7. Appendix - Ethernet adapter address codes This is the table of codes I found published by an Italian AGW user to show how the conversion between your call and this hyphenated Ethernet adapter address is done. The introductory explanation is my translation... "Let's take as our example the callsign IK5ABC. The first 2 bytes of the code correspond to the letter I, which is in initial position and is 92 in hex. Then K in second position is 96. Number 5 in third position is 19. Letter A in fourth position is 2C. Letter B in fifth position is 30 and letter C in sixth position is 34." 000000 60 60 05 04 04 04 111111 62 62 09 08 08 08 222222 64 64 0D 0C 0C 0C 333333 66 66 11 10 10 10 444444 68 68 15 14 14 14 555555 6A 6A 19 18 18 18 666666 6C 6C 1D 1C 1C 1C 777777 6E 6E 21 20 20 20 888888 70 70 25 24 24 24 999999 72 72 29 28 28 28 AAAAAA 82 82 2D 2C 2C 2C BBBBBB 84 84 31 30 30 30 CCCCCC 86 86 35 34 34 34 DDDDDD 88 88 39 38 38 38 EEEEEE 8A 8A 3D 3C 3C 3C FFFFFF 8C 8C 41 40 40 40 GGGGGG 8E 8E 45 44 44 44 HHHHHH 90 90 49 48 48 48 IIIIII 92 92 4D 4C 4C 4C JJJJJJ 94 94 51 50 50 50 KKKKKK 96 96 55 54 54 54 LLLLLL 98 98 59 58 58 58 MMMMMM 9A 9A 5D 5C 5C 5C NNNNNN 9C 9C 61 60 60 60 OOOOOO 9E 9E 65 64 64 64 PPPPPP A0 A0 69 68 68 68 QQQQQQ A2 A2 6D 6C 6C 6C RRRRRR A4 A4 71 70 70 70 SSSSSS A6 A6 75 74 74 74 TTTTTT A8 A8 79 78 78 78 UUUUUU AA AA 7D 7C 7C 7C VVVVVV AC AC 81 80 80 80 WWWWWW AE AE 85 84 84 84 XXXXXX B0 B0 89 88 88 88 YYYYYY B2 B2 8D 8C 8C 8C ZZZZZZ B4 B4 91 90 90 90 |
=> [ Main Index ] [ Topics index ]