Problem connecting to the net using Redhat 9

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Nik
Forum Contributor
Posts: 138
Joined: Wed Jan 29, 2003 6:02 pm
Location: Thessaloniki, Greece

Problem connecting to the net using Redhat 9

Post by Nik »

CONNECT--> Carrier detected.
Starting PPP immediately.
--> Starting pppd at Tue Apr 15 17:41:41 2003
--> pid of pppd: 3725
--> Disconnecting at Tue Apr 15 17:41:44 2003
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages
for more information.

why the modem keeps hung up when it connects?


Intel Inside, Idiot Outside!!
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

if you open another console and run tail -f /var/log/messages you can watch the messages (hopefully in more detail) that pppd throws while you're attempting to connect (unless you're using a caching logd but I doubt redhat does)
Nik
Forum Contributor
Posts: 138
Joined: Wed Jan 29, 2003 6:02 pm
Location: Thessaloniki, Greece

Post by Nik »

well i did but it just says that the modem hang up....

i dont get it
it connects to the net ok
and after to secs its droping off the connection why is that?
Nik
Forum Contributor
Posts: 138
Joined: Wed Jan 29, 2003 6:02 pm
Location: Thessaloniki, Greece

Post by Nik »

here is the message anyways!
Apr 15 17:37:53 localhost kernel: PPP generic driver version 2.4.2
Apr 15 17:37:53 localhost pppd[3643]: pppd 2.4.1 started by root, uid 0
Apr 15 17:37:54 localhost pppd[3643]: Using interface ppp0
Apr 15 17:37:54 localhost pppd[3643]: Connect: ppp0 <--> /dev/ttyS0
Apr 15 17:37:54 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 15 17:37:56 localhost pppd[3643]: Hangup (SIGHUP)
Apr 15 17:37:56 localhost pppd[3643]: Modem hangup
Apr 15 17:37:56 localhost pppd[3643]: Connection terminated.
Apr 15 17:37:56 localhost pppd[3643]: Exit.
Apr 15 17:37:56 localhost /etc/hotplug/net.agent: NET unregister event not supported
Apr 15 17:38:20 localhost pppd[3663]: pppd 2.4.1 started by root, uid 0
Apr 15 17:38:20 localhost pppd[3663]: Using interface ppp0
Apr 15 17:38:20 localhost pppd[3663]: Connect: ppp0 <--> /dev/ttyS0
Apr 15 17:38:21 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 15 17:38:23 localhost pppd[3663]: Hangup (SIGHUP)
Apr 15 17:38:23 localhost pppd[3663]: Modem hangup
Apr 15 17:38:23 localhost pppd[3663]: Connection terminated.
Apr 15 17:38:23 localhost /etc/hotplug/net.agent: NET unregister event not supported
Apr 15 17:38:23 localhost pppd[3663]: Exit.
Apr 15 17:40:05 localhost pppd[3690]: pppd 2.4.1 started by root, uid 0
Apr 15 17:40:05 localhost pppd[3690]: Using interface ppp0
Apr 15 17:40:05 localhost pppd[3690]: Connect: ppp0 <--> /dev/ttyS0
Apr 15 17:40:05 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 15 17:40:07 localhost pppd[3690]: Hangup (SIGHUP)
Apr 15 17:40:07 localhost pppd[3690]: Modem hangup
Apr 15 17:40:07 localhost pppd[3690]: Connection terminated.
Apr 15 17:40:07 localhost pppd[3690]: Exit.
do u understand anything??
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

not at all, the last time I tried to use a modem with linux was before ppp (was a cslip-connection) ;)
if you add a single line
debug
to /etc/ppp/options the pppd should produce more output in /var/log/pppd.log
maybe this helps...
Nik
Forum Contributor
Posts: 138
Joined: Wed Jan 29, 2003 6:02 pm
Location: Thessaloniki, Greece

Post by Nik »

well i have no such file!

but do you have any idea why am getting this error?

the same wvdial.conf used to work just fine with mandrake 9!
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

no, I have not. As mentioned I've never used modem/ppp.
Maybe you will get better help in an irc-channel like
#redhat @ irc.freenode.net
Nik
Forum Contributor
Posts: 138
Joined: Wed Jan 29, 2003 6:02 pm
Location: Thessaloniki, Greece

Post by Nik »

well actually i think i have found something. i am gonna put noauth in my /etc/ppp/options to see if it works and am gonan tell you the results?

are you interesting in hear it?
Post Reply