Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: nullmodem connection< Next Oldest | Next Newest >
steve196 Offline





Group: Members
Posts: 20
Joined: Mar. 2007
Posted: Mar. 09 2007,09:36 QUOTE

Does anyone know, how to transfer files to and from a dsl system via a nullmodem connection?
Thanks!
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 09 2007,11:24 QUOTE

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


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
steve196 Offline





Group: Members
Posts: 20
Joined: Mar. 2007
Posted: Mar. 09 2007,15:50 QUOTE

Thank you!
How do i tell the system, that the serial cable exists and is to be used?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 11 2007,16:04 QUOTE

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!
Back to top
Profile PM 
steve196 Offline





Group: Members
Posts: 20
Joined: Mar. 2007
Posted: Mar. 12 2007,11:33 QUOTE

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.
Back to top
Profile PM 
4 replies since Mar. 09 2007,09:36 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: nullmodem connection

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code