Hey.. that looks pretty simple! :-) Thanks for the tip... I'll keep it in mind next time I have to do this.
I ended up solving the problem with slattach.
once you run slattach on a given serial port, there will be a new network interface. sl0 in my case.
I had to do something like this:
Client:
Code:
slattach /dev/ttyS0 &
ifconfig sl0 192.168.0.2
route add -host 192.168.0.1 dev sl0
route add default gw 192.168.0.1
server (not taking care of firewall... just routing to the client):
Code:
slattach /dev/ttyS0 &
ifconfig sl0 192.168.0.1
route add -host 192.168.0.2 dev sl0
By the way.... it is a very good idea to change the speed of the serial ports... to something higher that 9600.. but I can't remember what the command for that was.... anyway, the ppp solution seems a lot easier... so you could simply stick with that one.
Cheers!