Introduction
I never had a modem and I was born in a small town in deep forests in Finland. Even though I have used computers as long as I can remember, my networked life really begun only in 1999. My exposure to networks, and the Internet, was very limited starting from 1995. Anyway. This is how I got the set up networking with Amiga in July, 2007, ("Juhannus") when everyone else in Finland was boozing.
Ingredients
- An Amiga
- Null-modem cable (Wikipedia)
- AmiTCP 4.0 DEMO (Aminet)
- lhA (local copy)
- GNU/Linux box with network connectivity
- GNU/Linux box with floppy drive + a (DD) floppy (or other mean to transfer files to Amiga)
- Sufficient rights on the GNU/Linux box
- Basic knowledge of AmigaDOS
Setting up
Preparing to install AmiTCP
- Acquire distribution package for AmiTCP. You can use double density floppies to transfer the file to Amiga. If the file won't fit on a single floppy, use split -b 880000 amitcp.lha to split the file on GNU/Linux, copy files one by one to Amiga, and merge then with join file1 file2 file3 TO amitcp.lha.
- Extract the package
- Open Shell
- Type makedir Work:t
- Type cd Work:t
- Type mount PC0:
- Type lhA x PC0:amitcp.lha
Installing and configuring AmiTCP
- Launch the installer from Work:AmiTCP-4.0/Install_AmiTCP
- Choose Intermediate User and click Proceed With Install
- Choose Install for Real and optionally Log File and click Proceed
- Please remember during this installation:
click Proceed - Install to SYS:Expansion/AmiTCP. Click Show Drives, click on <ASN> SYS:, then <DRW> Expansion, click Make New Drawer..., add /AmiTCP to the directory name, and click Proceed twice.
- You will be shown the readme file. Some some reason this fails occasionally. Press q to close the window and proceed.
- AmiTCP/IP is a copyrighted...
Click Proceed - (Installed copies files)
- Do you want to install Napsaterm fonts, napsa?:
Click Yes - Select directory where to install Napsaterm fonts.:
Make sure the field reads fonts:, then click Proceed - Enter the default user name:
Type wnd and click Proceed - Enter the login name of the new user:
Make sure the field reads wnd and click Proceed - Enter the user ID of the user wnd:
The field should read 100. Click Proceed. - Enter the primary group ID of the user wnd:
The field should read 100. Click Proceed. - Enter the real name of the user wnd:
Enter your name, then click Proceed - Give the home directory of the user wnd:
Pretty much anything will do here. Default value HOME: should be ok. Click Proceed. - Enter the name of command interpreter for the user wnd:
Default value shell should be fine. Click Proceed. - Are you sure you want to add following user ...:
Check the values and click Add wnd - A new window will open, Changing password for wnd.
Enter password twice. - Is your network connection dynamic?:
Click No - Enter the host name of your computer (not including domain):
Type amy and click Proceed - Enter the domain part of your host name:
Type katei.fi and click Proceed - Give aliases to your computer amy.katei.fi one at a time:
Leave the field empty and click Proceed - Select the network interface type to be used:
Choose SLIP/CSLIP and click Proceed - Select the network interface to be used:
Choose rhslip and click Proceed - IP address for the interface slip0:
Enter 172.16.180.2 and click Proceed - Give the destination address for the point-to-point interface
slip0:
Enter 172.16.180.1 and click Proceed - Give netmask of the network on the interface slip0:
255.255.255.0 - This in the information you gave for this interface ... Is this
correct?
Click Yes - Select the SERIAL device driver to be used with slip0:
Choose serial.device and click Proceed - Select unit numner for the serial.device:
Check default value 0 and click Proceed - Give the baud rate for the serial.device unit 0:
Enter 19200 and click Proceed - Give the Maximum Transfer Unit (MTU) for the slip0:
Check default value 1006 and click Proceed - Select additional options to be used with the slip0:
Select Hardware-handshake (CTS/RTS) and click Proceed - This in the information you gave for the configuration for the
slip0 ... Is this correct?
Click Yes - Enter the IP address of the default gateway:
Check the field reads 172.16.202.1 and click Proceed - Enter the IP addresses of the name servers:
Enter 172.16.1.1 and click Proceed - Enter the IP addresses of the name servers:
Leave the field empty and click Proceed - Give domain names (one at a time) to search:
Check the field katei.fi and click Proceed - Give domain names (one at a time) to search:
Leave the field empty and click Proceed - Do you want the AmiTCP/IP to be started at the system
startup?:
Click No - Do you want Installer to make the required changes to your
s:user-startup script?:
Click Yes - Do you want the Inetd to be started at the AmiTCP/IP
startup?:
Click Yes - You will be shown anothe text file to read. Some some reason this fails occasionally. Press q to close the window and proceed.
- Installation complete!
Click Proceed - Reboot
Setting up traffic forwarding on Linux
- Load module for slip:
sudo modprobe slip
- Start slattach:
sudo slattach -v -d -p slip -s 19200 /dev/ttyS0
- Create network interface:
sudo ifconfig sl0 172.16.180.1 pointopoint 172.16.180.2 up
- Set up network forwarding:
iptables -t nat -A POSTROUTING -o sl0 -j ACCEPT iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE echo "1" >/proc/sys/net/ipv4/ip_forward
Changing AmiTCP configuration
If you need to change AmiTCP configuration, run the installer in install-location (SYS:Expansion/AmiTCP/Install_AmiTCP and go through most of the qustions again.
Accessing the Internet from Amiga
Before you have Internet connectivity on Amiga, you'll have to start AmiTCP. To do that, run startnet on command line (such as Shell), and type your password as requested. After this you should have fully TCP/IP connectivity. You try this by pinging a remote host: ping www.google.com (interrupt with Ctrl-C).
Troubleshooting
- I can't access the Internet on Amiga!
- Try pinging 172.16.180.2 on the Linux box, or 172.16.180.1 on the Amiga. If this doesn't work, check your configuration and read My connection drops. This this does work, you have the network interface properly set on Amiga. On Amiga, try pinging a known host on the Internet to respond to ping, such as www.google.com. If this doesn't work, there is probably something wrong with traffic forwarding on your Linux box. Go figure it out yourself.
- My connection on Amiga drops every now and then.
- So does mine. I don't know why this happens, but it does. When this happens, try restarting slattach and bringing up the network interface on Linux back up again. (See Setting traffic forwarding.)
- My network connection from or to Amiga is slow.
- It's 19200-baud connection. I know it's slow. Live with it.