Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pppd disconnects moments after connecting to my isp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
geekX
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2003
Posts: 86
Location: Cape Town, South Africa

PostPosted: Mon Apr 14, 2003 7:55 am    Post subject: pppd disconnects moments after connecting to my isp Reply with quote

I've been using Mandrake 9.0 for a while now and I've always used wvdial
to connect. I'm shifting to Gentoo. Did the installation from Mandrake,
but I'm now booting into Gentoo and trying to connect to the net using
wvdial. I set up /etc/wvdial.conf with the same settings I use in
Mandrake, but after it sent the username and password and starts pppd,
it disconnects almost immediately, stating something abouta modem hung
up (error code = 16)

Here's the entries in my log file:

Apr 13 16:35:04 [pppd] pppd 2.4.1 started by root, uid 0
Apr 13 16:35:04 [pppd] Using interface ppp0
Apr 13 16:35:04 [pppd] Connect: ppp0 <--> /dev/tts/1
Apr 13 16:35:04 [/etc/hotplug/net.agent] assuming ppp0 is already up
Apr 13 16:35:06 [pppd] Hangup (SIGHUP)
Apr 13 16:35:06 [pppd] Modem hangup
Apr 13 16:35:06 [pppd] Connection terminated.
Apr 13 16:35:06 [pppd] Exit.

I've copied the /etc/wvdial.conf file and the /etc/ppp folder from my
Mandrake installation to gentoo, but I get the same error.

Any ideas of what might be the cause of this?
_________________
Sometimes I feel like Superman.
Sometimes I'm just recuperating.
Back to top
View user's profile Send private message
uruguru
n00b
n00b


Joined: 14 Aug 2002
Posts: 22
Location: Stockholm, Sweden

PostPosted: Mon Apr 14, 2003 9:51 am    Post subject: Reply with quote

Hi
Same problem here.I went from Suse 7.3 to Gentoo.
I don't have the Suse installation available for the moment so I can't do this.
If you have access to the Mandrake install:
Check
/etc/ppp/options
/etc/ppp/pap-secrets
/etc/ppp/chap-secrets
.qtwvdialer/settings
/etc/resolv.conf
I am trying to get help from my ISP (Telia) but they seems to have more problems than I have.
Their suppport pages does not work and I cant send messages to them.
If you find something interresting, let me know.
_________________
Me, Murphy and my computer.What a team.
Back to top
View user's profile Send private message
geekX
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2003
Posts: 86
Location: Cape Town, South Africa

PostPosted: Mon Apr 14, 2003 12:37 pm    Post subject: Reply with quote

I've done some google groups searches and it looks like this is a common problem. It looks like most of these people have the problem with the same version of pppd (2.4.1).

Although this is just my unproven theory. Doesn't look like anyone had much luck fixing it. (although I can't say - some of the stuff is in German, Russian or Spanish so I can't understand the replies.)

I'll make some posts to newsgroups tonight when I get home (don't feel like setting up newsgroups on my work pc)

I might even try copying the pppd binary from mandrake to my gentoo installation. Maybe that will help.

I've already copied the relevant /etc/ppp/ files from Mandrake, but that didn't help - so I'm sure it's not a setting like what authentication to use.

This problem is currently the only thing stopping me from shifting to Gentoo!
_________________
Sometimes I feel like Superman.
Sometimes I'm just recuperating.
Back to top
View user's profile Send private message
geekX
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2003
Posts: 86
Location: Cape Town, South Africa

PostPosted: Tue Apr 15, 2003 7:18 am    Post subject: Reply with quote

OK. I checked the version of pppd on my mandrake box, and its the same.

I then checked wvdial, and gentoo has a newer one, so I made a backup of the binary and copied my mandrake one. It works now!.

Therefore - I guess wvdial got too smart in the latest version. I'll investigate their site further, maybe submit a bug report, etc.

To think - I just assumed that it was pppd! Could have fixed this long ago.
_________________
Sometimes I feel like Superman.
Sometimes I'm just recuperating.
Back to top
View user's profile Send private message
psp
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2002
Posts: 120
Location: Cape Town, South Africa

PostPosted: Wed Apr 16, 2003 10:47 am    Post subject: Reply with quote

Hello,

I've found certain ISP's POP's expect pppd to be started before auth is complete and disconnects immediately (as you''ve mentioned). I've found that dialing in "stupid mode" tends to solve this problem.
Code:

/etc/wvdial.conf

Stupid Mode = 1


Hope this helps...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum