Elison
2011-06-21 13:53:27 UTC
Hi,
I am trying to establish a ppp link over standard serial port. I have
2 computers running Linux. I have connected a standard serial cable
between them.
I have tested the serial connection using cutecom/minicom on both the
machines.
Searching a bit on the internet led me to :
All you need to do now is to start pppd on both systems. So, on both
machines execute the command:-
pppd -detach crtscts lock <local IP>:<remote IP> /dev/ttyS0 38400 &
So on PC 1, I issued:
pppd -detach crtscts lock 192.168.20.2:192.168.20.3 /dev/ttyS0 38400 &
and on PC 2, I issued:
pppd -detach crtscts lock 192.168.20.3:192.168.20.2 /dev/ttyS0 38400 &
But tail /var/log/messages gives me timeout sending lcp-config-
requests.
I also tried creating /etc/ppp/options.ttyS0 on both machines.
Machine 1:
local
lock
38400
192.168.20.2:192.168.20.3
debug
noauth
nodeflate
nobsdcomp
Machine 2:
local
lock
38400
192.168.20.3:192.168.20.2
debug
noauth
nodeflate
nobsdcomp
But still no luck after executing 'pppd file /etc/ppp/options.ttyS0'.
How do I establish a ppp connection between these 2 computers over the
serial port?
OS 1: Fedora 13, 32 bit
OS 2: Fedora 14, 32 bit
Thanks and Regards,
Elison
I am trying to establish a ppp link over standard serial port. I have
2 computers running Linux. I have connected a standard serial cable
between them.
I have tested the serial connection using cutecom/minicom on both the
machines.
Searching a bit on the internet led me to :
All you need to do now is to start pppd on both systems. So, on both
machines execute the command:-
pppd -detach crtscts lock <local IP>:<remote IP> /dev/ttyS0 38400 &
So on PC 1, I issued:
pppd -detach crtscts lock 192.168.20.2:192.168.20.3 /dev/ttyS0 38400 &
and on PC 2, I issued:
pppd -detach crtscts lock 192.168.20.3:192.168.20.2 /dev/ttyS0 38400 &
But tail /var/log/messages gives me timeout sending lcp-config-
requests.
I also tried creating /etc/ppp/options.ttyS0 on both machines.
Machine 1:
local
lock
38400
192.168.20.2:192.168.20.3
debug
noauth
nodeflate
nobsdcomp
Machine 2:
local
lock
38400
192.168.20.3:192.168.20.2
debug
noauth
nodeflate
nobsdcomp
But still no luck after executing 'pppd file /etc/ppp/options.ttyS0'.
How do I establish a ppp connection between these 2 computers over the
serial port?
OS 1: Fedora 13, 32 bit
OS 2: Fedora 14, 32 bit
Thanks and Regards,
Elison