PPP modem connection hangs occasionally, can't ping or ftp or anything

PPP modem connection hangs occasionally, can't ping or ftp or anything

Post by Gary Nielso » Thu, 14 Jun 2001 11:47:01



I am trying to figure out what is causing the ppp connection on my Linux

box to occasionally just stall or hang. I leave my machine on pretty
much
all the time, running Linux 2.2.14.-5.0.14b with a 56k internal
modem logged into my ISP almost all the time.

Most of the time my connection is flawless, but occasionally --
more often recently -- I notice that suddenly my connection just hangs.
I
can't ftp, ping, telnet or anything. If I call the number of my second
phone line, the line is busy, indicating the modem is still connected.
If
I kill my ppp connection and restart, I can telnet and ping again, no
problem.

How do I debug such a thing to figure out what is happening? There is
nothing that I can discern from my log files. Is this a modem problem? I

can't understand why this would be so since I do not physically turn the

modem off, just restart ppp and the machine stays on. Is this an ISP
connection problem? How would I find this out? Or do I have a
configuration or other software problem with my machine?

Any help appreciated. Please email reply as well.

--
Gary Nielson

 
 
 

1. linux ppp routing problems - can't ping anything!

I've been trying to get ppp setup on my linux box.  Everything seems
to connect fine.  I have an ip for the ppp0 interface as indicated
below

ppp0      Link encap:Point-to-Point Protocol
          inet addr: 142.150.134.82  P-t-P:142.150.128.47
Mask:255.255.255.255
          ...

and my routing table has the following entries:

Destination     Gateway         Genmask         Flags Metric Ref  
Use Iface
142.150.128.47  0.0.0.0         255.255.255.255 UH    0      0      
0 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0      
0 lo
0.0.0.0         142.150.128.47  0.0.0.0         UG    0      0      
0 ppp0

When I ping, virtually nothing responds!  I tried pinging
142.150.128.47 (the address of the server that gave me the ip) but I
get no response.  However the name resolver seems to be working
because when I ping for example www.yahoo.com I get:
PING www.yahoo.com (216.109.117.204) from ...
but no response after that!

The only successful pings I can make are to 142.150.134.82 and
127.0.0.1.

Is my routing table setup properly?  Do I have to setup a route from
my local address to the server's address (ie 142.150.134.82 to
142.150.128.47)

Thanks in advance

2. Sound recording: seg.fault

3. PPP problem (Can't ping anything!)

4. S30rootusr.sh uses shcat?

5. PPP config questions: ping works, FTP hangs

6. New product announcements available via anonymous ftp

7. ppp: occasionally drops connection

8. Help please - want to limit size of user's e-mail on sendmail.

9. ipop3d hangs with users' ids at root occasionally

10. HELP: modem hang up after typing 'mode PPP' in dip

11. problems in setting up the ppp connection -- modem hangs up

12. Modem hangs up after 36 secs when I use a PPP connection with my ISP

13. modem hangs up after establishing ppp-connection