wvdial connects then disconnects - message log has no errors
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
wvdial connects then disconnects - message log has no errors
I can't seem to get ppp to hold an internet connection open for longer than a few seconds.
I'm using gentoo 2004 with a D480 connexant modem. I purchased the linuxant modem which did work with slackware (the reason to switching to gentoo is another story).
I'm aware linuxant drivers have issues with AC '97 sound drivers so I made sure sound related modules were not installed in the kernel.
I've used gnome-ppp, kppp and wvdial and each have the same problem. I connect, then shortly after I get disconnected - message log tells me the Authorization failed but the same username and password works in wondow$. I've added some details of my setup in the hope that someone can pick the fault...
Re: wvdial connects then disconnects - message log has no errors
Quote:
Originally posted by shlape I can't seem to get ppp to hold an internet connection open for longer than a few seconds.
I'm using gentoo 2004 with a D480 connexant modem. I purchased the linuxant modem which did work with slackware (the reason to switching to gentoo is another story).
I'm aware linuxant drivers have issues with AC '97 sound drivers so I made sure sound related modules were not installed in the kernel.
I've used gnome-ppp, kppp and wvdial and each have the same problem. I connect, then shortly after I get disconnected - message log tells me the Authorization failed but the same username and password works in wondow$. I've added some details of my setup in the hope that someone can pick the fault...
[Dialer Defaults]
Modem = /dev/modem
Baud = 460800
Init1 = ATZ
Init2 = AT&FE0V1S0=0L3&C1&D2+MR=2;+DR=1;+ER=1;W2
Init3 = ATS7=60L1M1+ES=3,0,2;+DS=3;+IFC=2,2;X3
ISDN = 0
Modem Type = Analog Modem
Phone = <my dialup number to the ISP here>
Stupid mode = on
Username = <my username here>
Password = <my password here>
*note:
I have tried the wvdial config default init strings as well without success
I have also tried this setup stupid mode off
[/etc/ppp/options]
Code:
noauth
modem
crtscts
lock
[/etc/ppp/pap-secrets]
Code:
"<my user name here>" * "<my password here>"
[/var/log/everything/current]
Code:
Dec 4 19:43:17 [pppd] pppd 2.4.1 started by root, uid 0
Dec 4 19:43:17 [pppd] Using interface ppp0
Dec 4 19:43:17 [pppd] Connect: ppp0 <--> /dev/ttySHSF0
Dec 4 19:43:20 [pppd] Hangup (SIGHUP)
Dec 4 19:43:20 [pppd] Modem hangup
Dec 4 19:43:20 [pppd] Connection terminated.
Dec 4 19:43:20 [pppd] Exit.
should +pap and/or +chap be included in the /etc/ppp/options??
the info I found online seemed conflicting which is why Im a bit confused about this.
I discovered through tinkering that it needs +chap
You also might want to change that setting of 460800 to 115200 unless the modem documentation states that it has something other than a 16550A UART.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.