LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-07-2004, 06:16 PM   #1
shlape
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
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...



[/etc/resolv.conf]


nameserver 202.162.77.160
nameserver 202.162.77.161
search bizmail.com.au
----------------------------------------------

[/etc/wvdial.conf]


[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]

noauth
modem
crtscts
lock

----------------------------------------------------

[/etc/ppp/pap-secrets]
"<my user name here>" * "<my password here>"

----------------------------------------------------



[/var/log/everything/current]

--snip--
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.
--snip--


------------------------------------------------------

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.
 
Old 04-16-2005, 05:28 PM   #2
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
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...

[/etc/resolv.conf]
Code:
nameserver 202.162.77.160
nameserver 202.162.77.161
search bizmail.com.au
[/etc/wvdial.conf]
Code:
[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.

Last edited by t3gah; 04-16-2005 at 05:37 PM.
 
  


Reply



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
PPPoE on Debian gateway disconnects continually when WinXP machine connects thelastboyscout Linux - Networking 4 09-05-2005 06:55 AM
pppd log disconnects - What do you make of it? RaVilj Linux - Networking 1 08-12-2005 12:07 PM
Strange errors on boot and in message log Psychocop156 Fedora 0 07-14-2004 11:13 AM
ppp connects does nothing and disconnects jimdaworm Slackware 11 03-19-2004 01:59 PM
wvdial connects but "connecting to ..." window sticks palanu7 Linux - Networking 1 02-04-2002 10:09 PM

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

All times are GMT -5. The time now is 04:40 PM.

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