nullmodem connectionForum: Other Help Topics Topic: nullmodem connection started by: steve196 Posted by steve196 on Mar. 09 2007,09:36
Does anyone know, how to transfer files to and from a dsl system via a nullmodem connection?Thanks! Posted by curaga on Mar. 09 2007,11:24
With linux of with Win$? Here are some ways:- PPP and telnet/ssh over it (works with both) - PPP and a samba share on DSL (works with both) - PPP and a NFS or NBD share on either DSL or the other linux box Posted by steve196 on Mar. 09 2007,15:50
Thank you!How do i tell the system, that the serial cable exists and is to be used? Posted by curaga on 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 & Posted by steve196 on Mar. 12 2007,11:33
Thank you!I have found the site and used it to successfully make an ssh connection to the laptop. Internet connection does not work as described. |