[emergency] ppp not working
Hi all:
I got a serious issue but I can't handle that myself,could you give a help.please?
I have to set up a ppp server in ubuntu.
I have open the ip_forward.
Something strange:
1.Now the peer can connect to the server,but can't not access internet..
2.The peer shows its IP address is OK,but the gateway is 0.0.0.0,I think it should be my server's IP.
This is the ppp-options:
nodefaultroute
passive
debug 4
kdebug 4
idle 240
ipcp-accept-remote
notty
proxyarp
auth
login
ms-dns 192.168.184.120
ms-dns 192.168.184.121
ipv6 ::dead:beef
ipv6cp-use-persistent
#noipdefault
#refuse-chap
lcp-echo-interval 0
logfile /home/ppptest/log
noccp
2.This is the log for a connection:
speed 4 not supported
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth eap> <magic 0xe553f494> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x3 <asyncmap 0xa0000> <pcomp> <accomp> <magic 0xbf217e40>]
sent [LCP ConfAck id=0x3 <asyncmap 0xa0000> <pcomp> <accomp> <magic 0xbf217e40>]
rcvd [LCP ConfRej id=0x1 <auth eap>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MD5> <magic 0xe553f494> <pcomp> <accomp>]
rcvd [LCP ConfNak id=0x2 <asyncmap 0xa0000> <auth pap>]
sent [LCP ConfReq id=0x3 <asyncmap 0xa0000> <auth pap> <magic 0xe553f494> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x3 <asyncmap 0xa0000> <auth pap> <magic 0xe553f494> <pcomp> <accomp>]
rcvd [PAP AuthReq id=0x1 user="ppptest" password=<hidden>]
sent [PAP AuthAck id=0x1 "Login ok"]
PAP peer authentication succeeded for ppptest
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
sent [IPV6CP ConfReq id=0x1 <addr fe80::0000:0000:dead:beef>]
rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfNak id=0x1 <addr 192.168.168.19> <ms-dns1 192.168.184.120> <ms-dns3 192.168.184.121>]
rcvd [LCP ProtRej id=0x4 80 57 01 01 00 0e 01 0a 00 00 00 00]
Protocol-Reject for 'IPv6 Control Protovol' (0x8057) received
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x2 <addrs 0.0.0.0 192.168.168.19>]
rcvd [IPCP ConfReq id=0x3 <addr 192.168.168.19> <ms-dns1 192.168.184.120> <ms-dns3 192.168.184.121>]
sent [IPCP ConfAck id=0x3 <addr 192.168.168.19> <ms-dns1 192.168.184.120> <ms-dns3 192.168.184.121>]
rcvd [IPCP ConfRej id=0x2 <addrs 0.0.0.0 192.168.168.19>]
sent [IPCP ConfReq id=0x3]
rcvd [IPCP ConfAck id=0x3]
Could not determine local IP address
Connect time 0.1 minutes.
Sent 92 bytes, received 78 bytes.
sent [IPCP TermReq id=0x4 "Could not determine local IP address"]
rcvd [IPCP TermAck id=0x4 "Could not determine local IP address"]
rcvd [LCP TermReq id=0x5]
LCP terminated by peer
sent [LCP TermAck id=0x5]
Script pppd (charshunt) finished (pid 6415), status = 0x0
Modem hangup
Connection terminated.
Connect time 0.1 minutes.
Sent 132 bytes, received 118 bytes.
******************************
issue:
1.Now the peer can connect to the server,but can't not access internet..
2.The peer shows its IP address is OK,but the gateway is 0.0.0.0,I think it should be my server's IP.
Appreciate if anyone can help me.
Last edited by luxxing2000; 10-20-2005 at 06:31 AM.
|