Networking Forums

Networking Forums > Computer Networking > Linux Networking > Dial-up suddenly not working

Reply
Thread Tools Display Modes

Dial-up suddenly not working

 
 
Irving Kimura
Guest
Posts: n/a

 
      07-11-2003, 02:03 PM


[ This is a longish post; I tried to supply as much useful info as
I could think of. Thanks in advance for reading it. ]



My PPP dial-up at home is suddenly not working. It worked fine
the day before yesterday, but last night I could not connect.
For several days now, I have done absolutely nothing that could
have affected the PPP set-up; I have remained as a regular user
(no superuser privileges), surfing the web, and using Emacs and
Gnumeric. (The sole exception is the initial call to gnome-ppp
several days ago, which I did with sudo; gnome-ppp remained
open even while I was not connected.)

Now, when I try to connect, the gnome-ppp debug window shows:

--NEW CONNECTION--
ATZ
OK
ATZ
OK
ATDT271-828-1828
CONNECT

which looks fine, until one tries to do anything that requires a
working connection. For example, if I try pinging a numeric address,
I get

% ping -c 1 199.232.41.9
PING ftp.gnu.org (199.232.41.9): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 199.232.41.9 64 chars, ret=-1

--- 199.232.41.9 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

Then, 45-60 seconds after the gnome-ppp debug window reports CONNECT,
an "Error" dialog window pops up with the message: "The pppd daemon
died unexpectedly."

I get the same results with two different dial-up services, and
whether I try connecting from home or from work (the computer is
a laptop).

When I try "ifconfig -a" the ppp0 section looks bad:

ppp0 Link encap:Point-to-Point Protocol
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Before (I just happen to have a record) it used to look like this:

ppp0 Link encap:Point-to-Point Protocol
inet addr:216.126.160.103 P-t-P:64.24.244.195 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:296 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:301 (301.0 b) TX bytes:185 (185.0 b)

(I never found out what the IPs 216.126.160.103 and 64.24.244.195
referred to.)

Likewise, the output of route looks terrible: other than the headers
line ("Destination Gateway..."), nothing shows. Before, it looked
like this:

Destination Gateway Genmask Flags Metric Ref Use Iface
bos1-dial2.pops * 255.255.255.255 UH 0 0 0 ppp0
default bos1-dial2.pops 0.0.0.0 UG 0 0 0 ppp0


One further difference is that, previously, "lsmod|grep ppp" showed
ppp_deflate, along with other modules (ppp_generic, ppp_async,
slhc), but now ppp_deflate is missing.


I am totally in the dark as to why suddenly everything fell apart.
These changes are completely out-of-the-blue and inexplicable to
me. Any clues would be greatly appreciated.

Many thanks in advance,

-Irv
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      07-11-2003, 04:03 PM
Irving Kimura <(E-Mail Removed)> wrote:

> My PPP dial-up at home is suddenly not working. It worked fine
> the day before yesterday, but last night I could not connect.
> For several days now, I have done absolutely nothing that could
> have affected the PPP set-up; I have remained as a regular user
> (no superuser privileges), surfing the web, and using Emacs and
> Gnumeric. (The sole exception is the initial call to gnome-ppp
> several days ago, which I did with sudo; gnome-ppp remained
> open even while I was not connected.)


I take it that you only started using gnome-ppp at the time of the
"initial call." Sigh. The trouble with frontends to pppd, and
ppp-gnome is a frontend to pppd, is that when they fail the user is
left clueless as to what went wrong.

> Now, when I try to connect, the gnome-ppp debug window shows:


> --NEW CONNECTION--
> ATZ
> OK
> ATZ
> OK
> ATDT271-828-1828
> CONNECT


Apparently the modem successfully connected to the ISP. That doesn't
mean the PPP link is up and working.

> which looks fine, until one tries to do anything that requires a
> working connection. For example, if I try pinging a numeric address,
> I get


> % ping -c 1 199.232.41.9
> PING ftp.gnu.org (199.232.41.9): 56 data bytes
> ping: sendto: Network is unreachable
> ping: wrote 199.232.41.9 64 chars, ret=-1


This means there is no route to the Internet.

> --- 199.232.41.9 ping statistics ---
> 1 packets transmitted, 0 packets received, 100% packet loss


> Then, 45-60 seconds after the gnome-ppp debug window reports CONNECT,
> an "Error" dialog window pops up with the message: "The pppd daemon
> died unexpectedly."


Wow! Isn't that informative!! Sorry, I'm biased against frontends.

> I get the same results with two different dial-up services, and
> whether I try connecting from home or from work (the computer is
> a laptop).


> When I try "ifconfig -a" the ppp0 section looks bad:


> ppp0 Link encap:Point-to-Point Protocol
> POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


It looks like no IP addresses for the PPP link were negotiated.

> Before (I just happen to have a record) it used to look like this:


> ppp0 Link encap:Point-to-Point Protocol
> inet addr:216.126.160.103 P-t-P:64.24.244.195
> Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:296 Metric:1
> RX packets:8 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:301 (301.0 b) TX bytes:185 (185.0 b)


> (I never found out what the IPs 216.126.160.103 and 64.24.244.195
> referred to.)


That's a normal ifconfig output when a PPP link is up and working.
The first IP address is your IP address (local) for the connection
and the second IP address is the ISP connection host's IP address
(remote).

> Likewise, the output of route looks terrible: other than the headers
> line ("Destination Gateway..."), nothing shows. Before, it looked
> like this:


> Destination Gateway Genmask Flags Metric Ref Use Iface
> bos1-dial2.pops * 255.255.255.255 UH 0 0 0 ppp0
> default bos1-dial2.pops 0.0.0.0 UG 0 0 0 ppp0


This is normal routing for a PPP link. The FQDN of the ISP connection
host is bos1-dial2.pops .. the rest is chopped off by route for display
purposes (there's no way I know to get ifconfig to display the full name).
The first line is a host route to the ISP connection host. The second
line is the default route, the one to the Internet.

> One further difference is that, previously, "lsmod|grep ppp" showed
> ppp_deflate, along with other modules (ppp_generic, ppp_async,
> slhc), but now ppp_deflate is missing.


You don't need ppp_deflate anyway. Even if it was there before the
problem began it probably wasn't being used.

> I am totally in the dark as to why suddenly everything fell apart.
> These changes are completely out-of-the-blue and inexplicable to
> me. Any clues would be greatly appreciated.


Follow the recipe in my signature and then try to connect. Post an
exact copy of the log, including timestamps. That *may* provide a
reason as to why IP addresses aren't negotiated, although the fact
that the problem exists for two ISPs seems strange. Often a sudden
problem can mean that an ISP has changed something - but *two* ?

-- Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
/* Recipe for a unified PPP debug log file: Add the line
" local2.*;*.=debug;*.=notice /var/log/ppp-debug.log "
to /etc/syslog.conf, and do " kill -HUP `pidof syslogd` "
so that syslogd rereads it. */
 
Reply With Quote
 
Irving Kimura
Guest
Posts: n/a

 
      07-11-2003, 05:04 PM
In <(E-Mail Removed)> Clifford Kite <(E-Mail Removed)> writes:

>Follow the recipe in my signature and then try to connect. Post an
>exact copy of the log, including timestamps. That *may* provide a
>reason as to why IP addresses aren't negotiated


OK, done. Here are the results.

Jull 11 12:50:50 luna pppd[1046]: pppd 2.4.1 started by root, uid 0
Jull 11 12:51:31 luna pppd[1046]: Serial connection established.
Jull 11 12:51:31 luna pppd[1046]: Using interface ppp0
Jull 11 12:51:31 luna pppd[1046]: Connect: ppp0 <--> /dev/modem
Jull 11 12:51:31 luna /etc/hotplug/net.agent: assuming ppp0 is already up
Jull 11 12:52:10 luna pppd[1046]: Connection terminated.
Jull 11 12:52:10 luna /etc/hotplug/net.agent: invoke ifdown ppp0
Jull 11 12:52:11 luna pppd[1046]: Exit.

Unfortunately, it doesn't help me much...

Thanks for your advice, though. It's good to have that logging
enabled...

-Irv

 
Reply With Quote
 
Irving Kimura
Guest
Posts: n/a

 
      07-11-2003, 06:17 PM

[ My first attempt to post this apparently failed; please pardon
possible repeats. ]

In <(E-Mail Removed)> Clifford Kite <(E-Mail Removed)> writes:

>Follow the recipe in my signature and then try to connect. Post an
>exact copy of the log, including timestamps. That *may* provide a
>reason as to why IP addresses aren't negotiated


OK, done. Here are the results.

Jull 11 12:50:50 luna pppd[1046]: pppd 2.4.1 started by root, uid 0
Jull 11 12:51:31 luna pppd[1046]: Serial connection established.
Jull 11 12:51:31 luna pppd[1046]: Using interface ppp0
Jull 11 12:51:31 luna pppd[1046]: Connect: ppp0 <--> /dev/modem
Jull 11 12:51:31 luna /etc/hotplug/net.agent: assuming ppp0 is already up
Jull 11 12:52:10 luna pppd[1046]: Connection terminated.
Jull 11 12:52:10 luna /etc/hotplug/net.agent: invoke ifdown ppp0
Jull 11 12:52:11 luna pppd[1046]: Exit.

Unfortunately, it doesn't help me much...

Thanks for your advice, though. It's good to have that logging
enabled...

-Irv

 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      07-11-2003, 07:01 PM
Irving Kimura <(E-Mail Removed)> wrote:

> In <(E-Mail Removed)> Clifford Kite
> <(E-Mail Removed)> writes:


>>Follow the recipe in my signature and then try to connect. Post an
>>exact copy of the log, including timestamps. That *may* provide a
>>reason as to why IP addresses aren't negotiated


> OK, done. Here are the results.


> Jull 11 12:50:50 luna pppd[1046]: pppd 2.4.1 started by root, uid 0
> Jull 11 12:51:31 luna pppd[1046]: Serial connection established.
> Jull 11 12:51:31 luna pppd[1046]: Using interface ppp0
> Jull 11 12:51:31 luna pppd[1046]: Connect: ppp0 <--> /dev/modem
> Jull 11 12:51:31 luna /etc/hotplug/net.agent: assuming ppp0 is already up
> Jull 11 12:52:10 luna pppd[1046]: Connection terminated.
> Jull 11 12:52:10 luna /etc/hotplug/net.agent: invoke ifdown ppp0
> Jull 11 12:52:11 luna pppd[1046]: Exit.


> Unfortunately, it doesn't help me much...


Nor me, but it's my own fault. You have to add the pppd debug option
to get useful information. If you don't know where to put it then just
stick the word debug on it's own line in /etc/ppp/options. I'm about
to amend the recipe to include adding that option, something I should
have done long ago. Sorry.

It does show that 39 seconds elasped between the "Connect: ..." and
"Connection terminated" so it's not just an LCP timeout, unless the
option governing that has been changed from the default value.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Speak softly and carry a +6 two-handed sword. */
 
Reply With Quote
 
Irving Kimura
Guest
Posts: n/a

 
      07-11-2003, 09:21 PM
In <ben6pd$g60$(E-Mail Removed)> Irving Kimura <(E-Mail Removed)> writes:
>Jul 11 16:20:01 luna pppd[2775]: sent [PAP AuthReq id=0x1 user="(E-Mail Removed)" password=<hidden>]
>Jul 11 16:20:01 luna pppd[2775]: rcvd [LCP EchoRep id=0x0 magic=0xcaa2258]
>Jul 11 16:20:01 luna pppd[2775]: rcvd [PAP AuthAck id=0x1 ""]
>Jul 11 16:20:31 luna pppd[2775]: sent [LCP EchoReq id=0x1 magic=0x135d3f8a]
>Jul 11 16:20:31 luna pppd[2775]: sent [LCP TermReq id=0x3 "Authentication failed"]


This makes no sense. I have not changed my password in weeks (of
course, I also did not change entries corresponding to this password
in the local machine.) But if the password is correct, why does
authentication fail?

-Irv

 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      07-11-2003, 09:23 PM
Irving Kimura <(E-Mail Removed)> wrote:

> OK, here's the output after adding "debug" to /etc/ppp/options:


> Jul 11 16:19:15 luna pppd[2775]: pppd 2.4.1 started by root, uid 0
> Jul 11 16:19:56 luna pppd[2775]: Serial connection established.
> Jul 11 16:19:56 luna pppd[2775]: using channel 3
> Jul 11 16:19:56 luna pppd[2775]: Using interface ppp0
> Jul 11 16:19:56 luna pppd[2775]: Connect: ppp0 <--> /dev/modem
> Jul 11 16:19:56 luna /etc/hotplug/net.agent: assuming ppp0 is already up
> Jul 11 16:19:57 luna pppd[2775]: sent [LCP ConfReq id=0x1 <mru 296>
> <asyncmap 0x0> <auth pap> <magic 0x135d3f8a> <pcomp> <accomp>]

^^^^^^^^^^
You request that the ISP authenticate to you with PAP. ISPs just *don't*
authenticate themselves to their clients, it's the other way around.

Pppd is configured with the "require-pap" option, or, for some reason,
you need to add the "noauth" option. Since a pppd frontend is involved
I can't say just which it is. You can get a list of pppd options by
adding the pppd dryrun option. If require-pap isn't among them then the
noauth option should solve the problem. If require-pap is among them
then you'll likely need to figure out how to remove it with whatever is
used to configure the pppd options.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/

 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      07-11-2003, 09:47 PM
Irving Kimura <(E-Mail Removed)> wrote:
> In <ben6pd$g60$(E-Mail Removed)> Irving Kimura <(E-Mail Removed)>
> writes:
>>Jul 11 16:20:01 luna pppd[2775]: sent [PAP AuthReq id=0x1

>user="(E-Mail Removed)" password=<hidden>]
>>Jul 11 16:20:01 luna pppd[2775]: rcvd [LCP EchoRep id=0x0 magic=0xcaa2258]
>>Jul 11 16:20:01 luna pppd[2775]: rcvd [PAP AuthAck id=0x1 ""]
>>Jul 11 16:20:31 luna pppd[2775]: sent [LCP EchoReq id=0x1 magic=0x135d3f8a]
>>Jul 11 16:20:31 luna pppd[2775]: sent [LCP TermReq id=0x3 "Authentication

>failed"]


> This makes no sense. I have not changed my password in weeks (of
> course, I also did not change entries corresponding to this password
> in the local machine.) But if the password is correct, why does
> authentication fail?


You've seen my previous post by now. The ISP accepted pppd's LCP
request for it to authenticate itself with PAP, but probably for the
sole purpose of bringing LCP to the open state so it could terminate
the negotiations in accordance with the PPP specification.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* 97.3% of all statistics are made up. */
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN Suddenly Stopped Working hedera Windows Networking 10 08-01-2009 06:54 AM
NTP suddenly stops working zekeboy56 Windows Networking 0 06-20-2007 12:01 AM
NFS Suddenly Stops Working Ross Linux Networking 2 03-31-2007 04:59 PM
Network suddenly not working-Help Blair Windows Networking 1 08-01-2005 05:07 AM
VPN suddenly stopped working Fidtz Windows Networking 1 10-08-2004 02:31 PM



1 2 3 4 5 6 7 8 9 10 11