Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple ppp howto 2

Status
Not open for further replies.

scienzia

Programmer
Feb 21, 2002
160
IT
Hi,

I have a linux pc connected to an embedded linux throught a serial connection (RS232).

I would like to configure the connection so that the embedded can download files, ping, etc...

So I think I should set up a ppp server on the pc , and a ppp client on the embedded. I don't need any security in this stuff, I just need the simplest configuration possible.

Could you please tell me how to do this, or point me to the right documentation (I found a lot of documentation online, but all regarding much more complicated environments: modem configuration, dialing, authentication,etc...)

Thanks in advance



 
This points me to
It looks very easy:

on one
pppd -detach crtscts lock 192.168.5.1:192.168.5.2 /dev/ttyS0 38400 &

on the other
pppd -detach crtscts lock 192.168.5.2:192.168.5.1 /dev/ttyS0 38400 &


But I can't ping, and I don't see anything in ifconfig, I must be missing something....
 
Oops, started typing before I finished reading. Add "debug" to the pppd commands and then check the output. Also, are the ppp modules loaded in your kernel? 'lsmod' to see.
 
Ok, now it works, I just forgot noauth:

pppd -detach debug crtscts lock 192.168.5.1:192.168.5.2 /dev/ttyS0 38400 noauth &

Thankyou
(have a start for the link)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top