Hello, everyone;
Please bear with me, as this is a long post, if you have any expertise with SLIP and old AIX.
About a year ago I posted about this headless RS6000 320H with AIX 3.1-005 in it; the thread was
https://groups.google.com/forum/#!topic/comp.unix.aix/kvSWJI-ykmI
At the time, I solved the issue with the missing mount binary, added a second hard drive, and built a toolchain up to gcc-g++-g77 2.95.3 (3.x proved too difficult), Python 2.6.1, perl 5.6.2 among others. Then work took all of my free time until now, when I am trying to connect the machine (which has no network adapter) via SLIP to a Raspberry Pi in order to network it, since I had been doing all file transfers to/from it using xmodem or kermit on the serial console.
I have not had luck in setting the SLIP connection. AIX 3.1 does not have PPP functionality; only uncompressed SLIP is supported. It comes with an slattach command. I did the following on the AIX side:
1) I made available tty6 using smit/Devices/tty/Add a TTY, changed its characteristics to rts/cts and other things using the comp.unix.aix FAQ, and configured it to make it available. XON/XOFF was disabled.
2) Created the sl0 interface using smit/Communications Applications and Services/TCPIP/Further Configuration/Network Interfaces/Network Interface Selection/Add a Network Interface/Add a Serial Line INTERNET Network Interface, and selected tty6 for it. The local address was set to 192.168.0.201 and the remote to 192.168.0.200 .
3) Changed the tty6 inittab entry to
tty6:2:off:/etc/getty /dev/tty6
4) Added the following entry to /usr/lib/uucp/Devices
Direct tty6 - 38400 direct
On the Raspberry Pi side, I installed net-tools (which contains the Linux version of slattach).
I connected the two systems with a full null-modem cable (DTR on one side goes to both DSR and CD on the other side), and verified that the systems could talk with each other at 38400 baud using "screen" on the Raspberry Pi side and cu on the AIX side. The AIX system asserts DTR when using the serial line; the Raspberry Pi sees that on DSR and CD, and viceversa.
Following the information about Linux's slattach and AIX's slattach, the commands that I've used to try to connect the systems are as follows:
Raspberry Pi:
sudo slattach -v -d -p slip -s 38400 /dev/tty_USB3 &
sudo ifconfig sl0 192.168.0.200 pointopoint 192.168.0.201 netmask 255.255.255.0 up
AIX 3.1: (as root)
ifconfig sl0 192.168.0.201 192.168.0.200 up
slattach tty6 38400
If I do that, then on the Raspberry Pi side, I can ping 192.168.0.200, but not 192.168.0.201,
and on the AIX side I get
ping 192.168.0.201
PING
192.168.0.201: 56 data bytes
0821-069 ping: sendto: The network is not currently available
ping: wrote 192.168.0.201 64 chars, ret=1
Same goes when pinging 192.168.0.200 .
In the AIX side I get
ifconfig sl0
sl0: flags=31<UP,POINTOPOINT,NOTRAILERS>
inet 192.168.0.201 --> 192.168.0.200 netmask 0xffffff00
In the Raspberry Pi side I get
ifconfig sl0
sl0: flags=4305<IP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 296
inet 192.168.0.200 netmask 255.255.255.0 destination 192.168.0.201
slip txqueuelen 10 (Serial Line IP)
RX packets 0 bytes (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 672 (672.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I have an RS232 line level monitor (basically LEDs) connected and I can see that slattach asserts DTR on the AIX side (the Raspberry's side is always asserted), but I see no flickering whatsoever on either RxD or TxD, so it seems that neither side is doing anything at all to initiate the SLIP protocol (no probing packets, although the ifconfig stats in the Raspberry would seem to indicate that some packets were sent from the Raspberry Pi to the AIX system; I just did not see them). I have tried several variations in the slattach command on the AIX side, such as
slattach tty6
slattach tty6 38400 '"" "CONNECT"' 4
slattach tty6 38400 '"" "\p\b"' 4 (one of these two is supposed to assert a BREAK
slattach tty6 38400 '"" "\p\k"' 4 in the RS232 line for the Raspberry to see)
Supposedly, in a no-authentication, no-modem dedicated direct line, what I've done should be enough to start the protocol. But neither side initiates it (or the AIX side doesn't reply) , and I don't see any other command line options in either Linux's slattach or AIX's that would help.
Any ideas about how to proceed?
Thanks in advance,
Carlos.