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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-07-2003, 11:10 PM
|
#1
|
LQ Newbie
Registered: Jan 2003
Location: Hamilton, New Zealand
Distribution: Slackware 9.1
Posts: 12
Rep:
|
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!
|
|
|
01-08-2003, 12:08 AM
|
#2
|
Member
Registered: Oct 2001
Distribution: Mint 15
Posts: 770
Rep:
|
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
|
|
|
01-08-2003, 06:01 AM
|
#3
|
LQ Newbie
Registered: Jan 2003
Location: Hamilton, New Zealand
Distribution: Slackware 9.1
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
01-08-2003, 07:10 AM
|
#4
|
Member
Registered: Oct 2001
Distribution: Mint 15
Posts: 770
Rep:
|
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
|
|
|
01-08-2003, 04:17 PM
|
#5
|
LQ Newbie
Registered: Jan 2003
Location: Hamilton, New Zealand
Distribution: Slackware 9.1
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
01-09-2003, 10:46 AM
|
#6
|
Member
Registered: Oct 2001
Distribution: Mint 15
Posts: 770
Rep:
|
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
|
|
|
01-09-2003, 11:53 PM
|
#7
|
LQ Newbie
Registered: Jan 2003
Location: Hamilton, New Zealand
Distribution: Slackware 9.1
Posts: 12
Original Poster
Rep:
|
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!
|
|
|
01-10-2003, 06:29 AM
|
#8
|
Member
Registered: Oct 2001
Distribution: Mint 15
Posts: 770
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|