| curaga  
 
  
 
 
 Group: Members
 Posts: 2163
 Joined: Feb. 2007
 | 
|  | Posted: Mar. 11 2007,16:04 |  |  It doesn't need to know that..
 If it's in the first serial port, then the data device is /dev/ttyS0
 You might want to read the PPP howto
 but basicly it's just getting pppd to both comps, giving ip addresses to both (192.168.0.1 and 192.168.0.2 are ok) and then just
 sudo pppd -detach crtscts lock <local IP>:<remote IP> /dev/ttyS0 38400 &
 
 which would be on the first machine
 sudo pppd -detach crtscts lock 192.168.0.1:192.168.0.2 /dev/ttyS0 38400 &
 
 and on the second machine
 sudo pppd -detach crtscts lock 192.168.0.2:192.168.0.1 /dev/ttyS0 38400 &
 
 Now you have a PPP link going, and you can test it by ping'in the other comp. Then all sharing will work over it, even an internet connection, here's how to share net:
 (either normal or net-sharing connection, not both at once)
 
 On the machine with internet:
 sudo pppd -detach crtscts lock proxyarp <local IP>:<remote IP> /dev/ttyS0 38400 &
 
 And on the machine without internet:
 sudo pppd -detach crtscts lock defaultroute <local IP>:<remote IP> /dev/ttyS0 38400 &
 
 --------------
 There's no such thing as life. Those mean little jocks invented it ;)
 -
 Windows is not a virus. A virus does something!
 |