[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
slattach on boot
I'm trying to connect two machines using a serial cable. I want to use the cable both for a heartbeat signal, and transfering files.
I thought using slattach to use the serial interfaces as a network was the easiest way to go, but I couldn't manage to get slattach running automatically on system boot.
I first tried running it in the hostname.sl0 file as follows:
inet 10.0.0.1 255.0.0.0 10.0.0.2 link0 link2
!echo before slattach
!/sbin/slattach /dev/cua01
!ping -c 2 10.0.0.2
!echo after slattach
The pings were not successful, and pinging 10.0.0.2 after the machine boots doesn't work.
Then I tried putting it in rc.local (leaving the interface configuration in hostname.sl0), copying the other lines. I got replies for the pings, but it didn't work after that.
I can't see slattach in the ps output either.
What am I doing wrong?
Any other suggestions for connecting the machines with a serial interface, allowing for a heartbeat and file transfers are also welcome..
Thanks
Burcin