Koozali.org: home of the SME Server

modem hang ups

Phil

modem hang ups
« on: June 24, 2001, 11:27:31 AM »
Could somebody please help me,

I have a permanent modem conection, everything is great exept the modem regulary hangs up every 12 hours and redials, first I thought it may be my isp, but after installing another server elsewhere, I have the same problem, I have looked in the log files only to find this:File: messages          

Jun 24 08:06:11 server pppd[14531]: Hangup (SIGHUP)
Jun 24 08:06:11 server pppd[14531]: Modem hangup
Jun 24 08:06:11 server pppd[14531]: Connection terminated.
Jun 24 08:06:11 server pppd[14531]: Connect time 720.1 minutes.
Jun 24 08:06:11 server pppd[14531]: Sent 114694 bytes, received 184516 bytes.
Jun 24 08:06:11 server pppd[14531]: Exit.
Jun 24 08:06:11 server diald[536]: Link died on remote end.
Jun 24 08:06:12 server diald[536]: start sl0: SIOCSIFMTU: Invalid argument
Jun 24 08:06:12 server diald[536]: stop ppp0: RTNETLINK answers: No such process

Jun 24 08:06:12 server kernel: ppp: ppp0 not active
Jun 24 08:06:12 server diald[536]: stop ppp0: SIOCSIFFLAGS: No such device or ad
dress

The above happens every 720 minutes,

Are there any cron tasks running that could possible be causing the  hang up.

Thanks

aniston

Re: modem hang ups
« Reply #1 on: June 25, 2001, 01:31:47 PM »
hello,

Jun 24 08:06:11 server diald[536]: Link died on remote end.

this line from you log seems like your ISP seems to be disconnecting you every 12hrs from a continuous connection (it could even be your telephone company which does that) a quick call or e-mail to either of them will get you the answer,  but might not solve your problem :(

I havent studied the e-smith cron job functions so what I have said above may not even be the case, but since we had the same problem here in italy I guess it could be the same for you.

Maybe someone from e-smith or the developers might be able to help you out.

cheers,
aniston

SANKAR

Re: modem hang ups
« Reply #2 on: June 30, 2001, 01:25:25 PM »
To find out whether your side is disconnecting or the ISP side is disconnecting.
Try the following in your modem.

1. Use any terminal emulation program (Procomm or Hyper terminal) and isssue
the command AT&D0(zero)&W and hit enter key. Now connect the modem back
to your e-smith server and see it happens again. If it happens again try the second step which is little trivial. I have typed (zero) to differentiate the letter O as in Owl
on the above example to avoid confusion .You have to type AT&D0&W all in one line followed by carriage return.

2. Cut the pin 20 in the RS232 cable and connect the RS232 connector
back to the modem and see if it helps. If either of the two didn't work for
sure your ISP is disconnecting. There are ISP's who disconnect the modem
if there is no TXD or RXD activity in the modem to free up the port.


"Link died on Remote End" dosen't mean that remote modem disconnected.
Its because the PPP session was waitting for a packet from the remote end
and for some reason it didnt receive the packets and the PPP process running
in your end gave up and spitted out the message.

Sankar