To content | To menu | To search

TCP/IP connection between Atari and Linux

This little text explains how to establish a SLIP connection between two Atari, or between an Atari and a PC under Linux, connected with a Null-Modem cable.

The Atari uses Mint and MintNet.
Note: if you use MiNT 1.15.12 or older, install HSModem to have high speed serial ports.

Step 1: Give an IP adress to each machine

I give these IP adresses to my machines:
192.168.0.1 : Linux machine (name:pclinux)
192.168.0.2 : Atari machine (name:atarimint)

Edit /etc/hosts on both machines, to add the lines:

192.168.0.1	pclinux
192.168.0.2	atarimint
Step 2: Start the connection on the PC

Replace /dev/ttyS0 by the serial port you connected the Null-Modem cable.

pclinux# slattach -p slip -s 115200 /dev/ttyS0 &

to affect a SLIP interface, running at 115200 bauds to the serial port.

pclinux# ifconfig sl0 192.168.0.1 pointopoint 192.168.0.2 up

to affect the IP adresses on both sides of the SLIP interface.

Step 3: Start the connection on the Atari

Replace /dev/ttyb by the serial port you connected the Null-Modem cable.

atarimint# slattach -l 192.168.0.2 -r 192.168.0.1 -s 115200 -p slip -t /dev/ttyb &

Do the same thing as on the PC. The IP adresses are swapped. ifconfig is automatically done.

Step 4: Test the connection

Begin with a ping on both machines.

pclinux# ping atarimint

on the PC

atarimint# ping pclinux

on the Atari

If packets are transmitted, it works ! (You're the king of the world !!!)
Note: The Atari refuses any connection from the PC as long as the Atari has not done one on the PC (telnet,ftp or other). So, begin with a connection from the Atari.

atarimint# telnet pclinux

Then, the PC must be able to connect the Atari without problems. Telnet, Ftp, Web, Nfs, and so on... must work in the two directions, at the same time, on both machines.
With ftp, average speed is 9.4Ko/s, if the computers do not do anything special. At 115200 bauds, the theorical speed is 115200/10 = 11.52Ko/s.