LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-20-2005, 02:49 AM   #1
luxxing2000
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
[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.
 
Old 10-21-2005, 02:00 AM   #2
luxxing2000
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I have resolved it now,just add the server's IP in
ppp-options profiles.
Hope this can help others who meet a same issue as me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP forwarding not working on ppp-over-ssh vpn tingdahl Linux - Networking 3 08-27-2004 06:31 PM
PPP stopped working jrdioko Linux - Software 2 06-19-2004 04:08 PM
my ppp conection not working right e1000 Linux - Networking 1 12-04-2003 10:05 PM
PPP is not working dmoyer33 Linux - Software 4 08-08-2003 02:59 PM
PPP working - but cant get out of .nz!!! stefanvg Linux - Newbie 1 06-09-2001 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration