LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-28-2006, 07:07 AM   #1
samweis2111
LQ Newbie
 
Registered: Dec 2005
Location: Sweden
Posts: 11

Rep: Reputation: 0
modem randomly disconnects


Hi everybody,

now I'm pretty desperate.
My modem drops the connection every now and then. Randomly.

The peer does not answer to LCP echo requests any more and the connection times out. I increased the timeout, but even with more than a minute the connection does not "come back". I also deactivated ccp - still no luck.

Sometimes it dies already after 1 or 2 minutes, sometimes after 5 or 15, somtimes, if I'm lucky, it holds for an hour. Then I have to dial up again.
This is especially a hassle when someone sends me a "big" e-mail (under these circumstances 300kB is already big, because I might have to dial in numerous times to finally keep a pop3 connection long enough...).

I am running Debian sarge with kernel 2.6.12, pppd 2.4.3, guarddog firewall. The modem is an external Sweex CA100010 with Intel Ambient chipset (AMI-2501).


What can I do to prevent this from happening? (No, living in the northern Swedish mountains I cannot switch to ADSL... ).
Or how can I re-connect without dropping the line and re-dialing?
Who's fault is it anyway? The pppd settings, the modem, the provider?
To me it looks like the provider, because it seems to happen more often at high-load times, when their server is bogged down anyway. They say it's my modem, my OS, my cat - "uh, you don't have a cat? Maybe it's your dog then."

How can I get more diagnostics?

Any help is appreciated!

Best regards

Oliver


My ppp options file
----8<-----8<-----8<-----
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/Universal"
debug
logfile /var/log/ppp.log
/dev/ttyS0
115200
defaultroute
noipdefault
noccp
lcp-echo-interval 10
lcp-echo-failure 5
user "***@uvtc.com"
remotename Universal
----8<-----8<-----8<-----

This is a typical ppp log:
----8<-----8<-----8<-----
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe3ef9992> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000> <auth pap> <magic 0x86799af9> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000> <auth pap> <magic 0x86799af9> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe3ef9992> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe3ef9992> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xe3ef9992]
sent [PAP AuthReq id=0x1 user="***@uvtc.com" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0x86799af9]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 00> <addr 213.142.2.238>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 00> <addr 213.142.2.238>]
rcvd [IPCP ConfNak id=0x1 <addr 213.142.10.66>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 213.142.10.66>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 213.142.10.66>]
Cannot determine ethernet address for proxy ARP
local IP address 213.142.10.66
remote IP address 213.142.2.238
Script /etc/ppp/ip-up started (pid 9948)
Script /etc/ppp/ip-up finished (pid 9948), status = 0x0
No response to 5 echo-requests
Serial link appears to be disconnected.
Connect time 4.0 minutes.
Sent 128178 bytes, received 490931 bytes.
Script /etc/ppp/ip-down started (pid 10742)
sent [LCP TermReq id=0x2 "Peer not responding"]
sent [LCP TermReq id=0x3 "Peer not responding"]
Script /etc/ppp/ip-down finished (pid 10742), status = 0x0
Connection terminated.
Modem hangup
Connect script failed
----8<-----8<-----8<-----
 
Old 02-07-2006, 12:01 AM   #2
tunin
LQ Newbie
 
Registered: Apr 2005
Location: MO, US
Distribution: Ubuntu 10.10
Posts: 27

Rep: Reputation: 15
In my experience, this is the provider. I was getting service through the phone company, but had very slow connection speeds, and was "bumped off-line" quite frequently. Fortunately, there was a local alternative, and I am still "bumped off" every once in a while, but the connection speed is faster. If you don't have another company you can turn to for service, then you may have to do as much as possible late at night, or early in the morning. Good Luck!
 
Old 02-07-2006, 01:57 AM   #3
samweis2111
LQ Newbie
 
Registered: Dec 2005
Location: Sweden
Posts: 11

Original Poster
Rep: Reputation: 0
Hi,

thanks for the (first) reply!

Quote:
Originally Posted by tunin
In my experience, this is the provider.
Is there any way you know of to prove this?
The provider of course claims it's my fault. I am sure it's not - but how to prove it?
They charge me a fee for each time I dial in again...

Quote:
Originally Posted by tunin
If you don't have another company you can turn to for service, then you may have to do as much as possible late at night, or early in the morning. Good Luck!
I am trying to do this already. But it is not really very comfortable to get up at 2:00am... ;-)

Best regards

Oliver
 
Old 02-07-2006, 02:39 AM   #4
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Try putting the lines "crtscts" and "modem" in your ppp options file. It has happened to 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
Random Disconnects Mulsiphix Linux - Networking 1 12-22-2005 09:28 PM
dialup disconnects randomly, suse9.1 trave113rman SUSE / openSUSE 0 12-18-2004 11:37 PM
Modem disconnects synapse Linux - Newbie 3 01-08-2004 03:45 PM
Cable-modem and d-link - disconnects Punkduplo Linux - Networking 0 01-01-2004 06:43 PM
Modem Frequently disconnects prompt Linux - Hardware 7 12-01-2003 02:34 AM

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

All times are GMT -5. The time now is 09:17 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