Page 1 of 1
Problem connecting to the net using Redhat 9
Posted: Wed Apr 16, 2003 11:17 am
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!!
Posted: Wed Apr 16, 2003 11:48 am
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)
Posted: Wed Apr 16, 2003 1:29 pm
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?
Posted: Wed Apr 16, 2003 1:32 pm
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??
Posted: Wed Apr 16, 2003 1:41 pm
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...
Posted: Wed Apr 16, 2003 3:27 pm
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!
Posted: Wed Apr 16, 2003 4:46 pm
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
Posted: Thu Apr 17, 2003 5:25 am
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?