LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2003, 11:10 PM   #1
Gai-jin
LQ Newbie
 
Registered: Jan 2003
Location: Hamilton, New Zealand
Distribution: Slackware 9.1
Posts: 12

Rep: Reputation: 0
Unstable modem connection under Linux


The problem I'm having is that my modem seems to regularly hang up. Most of the time, I'm able to connect ok, and everything functions normally, but after 10 minutes (on average), the modem will hangup, redial, connect and then hangup again 10 minutes later. Wvdial would report that the pppd daemon has died and had exited with code 16.

This never happens under Windows, so I'm guessing that the problem may lie in the modem drivers or in my cofiguration. I have made sure that the drivers match my modem, kernel version, etc. (I have a Conexant HCF modem), so if the problem is in the drivers, then I guess there isn't much I can do.

I'm hoping that it's a configuration problem, but I'm not sure how to start tracking the problem down. I've searched the forums, and found some suggestions, but none of them seemed to help.

If anyone can offer suggestions as to where I can start, that would be great!
 
Old 01-08-2003, 12:08 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Start by raising the idle value in /etc/ppp/options to, say, 60000 or so...

If you use something like yast (which I see that you don't), it would be the same, only in its configuration file.

I imagine that wvdial is the same (I don't use it).


John
 
Old 01-08-2003, 06:01 AM   #3
Gai-jin
LQ Newbie
 
Registered: Jan 2003
Location: Hamilton, New Zealand
Distribution: Slackware 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
I added an idle value (60000) to /etc/ppp/options, and a similar line to /etc/wvdial.conf, the wvdial configuration file. It doesn't seem to have any affect.

I've also noticed that while I'm browsing web pages, my connection activity would be normal, but on most occassions, there would be no activity for a few minutes, and it either hangs up, or returns to normal. This never happens in Windows, even if I'm browsing the same pages.

I've contacted my ISP's support division, but no one there was able to help. Although, they did say that it was more likely to be a problem with the drivers or modem.

I guess I'll still be using Windows for a while.
 
Old 01-08-2003, 07:10 AM   #4
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Check your lcp-echo-interval and lcp-echo-failure (in the same options file), what do they say?

And it's probably something to do with your pppd, and not your modem, it's a pain to setup.

How do you log on? kinternet? wvdial?


John
 
Old 01-08-2003, 04:17 PM   #5
Gai-jin
LQ Newbie
 
Registered: Jan 2003
Location: Hamilton, New Zealand
Distribution: Slackware 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
Both lines you mentioned have been commented out in the /etc/ppp/options file, but they have values:
#lcp-echo-interval 30
...
#lcp-echo-failure 4


I use wvdial for everything.
 
Old 01-09-2003, 10:46 AM   #6
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Try uncommenting the "lcp-echo-interval 30". I think that it should act as a "stay alive" ping.

But I can't imagine why you would need it.


John
 
Old 01-09-2003, 11:53 PM   #7
Gai-jin
LQ Newbie
 
Registered: Jan 2003
Location: Hamilton, New Zealand
Distribution: Slackware 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
That seems to fix it. It's definately a lot more stable than what it used to be. Hopefully there will not be anymore problems with this. Thanks for the help!
 
Old 01-10-2003, 06:29 AM   #8
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
Originally posted by Gai-jin
That seems to fix it. It's definately a lot more stable than what it used to be. Hopefully there will not be anymore problems with this. Thanks for the help!
Whew! You don't how close I was to having to use the "two tin cans with a string" suggestion


John
 
  


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
Network connection unstable with Ubuntu geokker Linux - Networking 6 05-21-2009 08:56 AM
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 01:38 PM
Share Windows modem connection with Linux box? Toronto Linux - Networking 3 09-18-2005 01:13 AM
Modem connection too slow in Linux Madrinator Linux - Hardware 0 09-30-2003 01:32 PM
Unstable PPP connection in Redhat9 vova Linux - Networking 0 09-25-2003 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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