Hi there,
I have a problem with pppd after upgraded to SuSE Version 8.1 from 8.0:
First I can no longer run pppd as a normal user:
michael@tamboti:~> /usr/sbin/pppd call peer
/usr/sbin/pppd: must be root to run /usr/sbin/pppd, since it is not
setuid-root
michael@tamboti:~> la /usr/sbin/pppd
-rwxr-xr-x 1 root dialout 211992 2002-09-09 22:32 /usr/sbin/pppd
michael@tamboti:~>
Is it ok to set the uid-root or is there a further impact, besides security?
Is there a better way to start my chat script?
Second and worse. After I have established the connection as root I can not
Ping the remote machine. The ping is sent and does never come back. What has
happened?
After that connection failed the connection to my ISP does not work correctly,
is it possible that pppd writes somewhere something like a status file. I
found in /var/run/pppd.tdb but I couldn't find out what its use is, and if it
could cause a problem if it is not deleted after the connection is down.
Here is what I get as output when the manual connetion to my remote machine is
up. Maybe someone can see why I can not telnet, ssh or ping it though the
connection is there?
Thanks a lot for any hint
Michael
tamboti:~ # pppd call peer
Perms of /dev/ttyS1 are ok, no 'mesg n' neccesary.
Serial connection established.
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
rcvd [LCP ConfReq id=0x1 <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x54ff85ef]
cbcp_lowerup
want: 2
sent [IPCP ConfReq id=0x1 ]
sent [CCP ConfReq id=0x1 ]
rcvd [LCP EchoReq id=0x0 magic=0x73b4537b]
sent [LCP EchoRep id=0x0 magic=0x54ff85ef]
rcvd [IPCP ConfReq id=0x1 ]
sent [IPCP ConfAck id=0x1 ]
rcvd [CCP ConfReq id=0x1 ]
sent [CCP ConfAck id=0x1 ]
rcvd [LCP EchoRep id=0x0 magic=0x73b4537b]
rcvd [IPCP ConfAck id=0x1 ]
local IP address 196.168.55.200
remote IP address 192.168.55.1
Script /etc/ppp/ip-up started (pid 18059)
rcvd [CCP ConfAck id=0x1 ]
Deflate (15) compression enabled
rcvd [LCP EchoReq id=0x1 magic=0x73b4537b]
sent [LCP EchoRep id=0x1 magic=0x54ff85ef]
sent [LCP EchoReq id=0x1 magic=0x54ff85ef]
rcvd [LCP EchoRep id=0x1 magic=0x73b4537b]
Script /etc/ppp/ip-up finished (pid 18059), status = 0x0
rcvd [LCP EchoReq id=0x2 magic=0x73b4537b]
sent [LCP EchoRep id=0x2 magic=0x54ff85ef]
sent [LCP EchoReq id=0x2 magic=0x54ff85ef]
rcvd [LCP EchoRep id=0x2 magic=0x73b4537b]
rcvd [LCP EchoReq id=0x3 magic=0x73b4537b]
sent [LCP EchoRep id=0x3 magic=0x54ff85ef]
sent [LCP EchoReq id=0x3 magic=0x54ff85ef]
rcvd [LCP EchoRep id=0x3 magic=0x73b4537b]
Terminating on signal 2.
cbcp_lowerdown
Script /etc/ppp/ip-down started (pid 18586)
sent [LCP TermReq id=0x2 "User request"]
rcvd [LCP EchoReq id=0x4 magic=0x73b4537b]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Connect time 2.0 minutes.
Sent 6872 bytes, received 62 bytes.
Waiting for 1 child processes...
script /etc/ppp/ip-down, pid 18586
Script /etc/ppp/ip-down finished (pid 18586), status = 0x0
tamboti:~ #