Koozali.org: home of the SME Server

Dialup modem does not disconnect

jujusl

Dialup modem does not disconnect
« on: November 25, 2003, 11:04:26 AM »
Hi,

I installed SME 5.6 on a PC with analog dialup modem (just for a demo). The connexion is configured as "short".

I then try to connect to the web, localy (connexion test) or from another PC ; the dialup connexion gets open, but it never ends, even when the browser is closed (the SME server and the other PC are in a standalone LAN, so there is no other machine trying to connect). And the LEDs on my modem blink regularly

When I run tcpdump to analyse network trafic, I see packets being sent and received ; even with as standalone SME server, every time the connection is opened, it can't close because of traffic over the modem.

Any clue about this trouble ? My SME install is basical, so I don't understand this behaviour...

Thanks

Stéphane

wykyd

Re: Dialup modem does not disconnect
« Reply #1 on: November 25, 2003, 12:42:35 PM »
Yeah I have had this problem as well. Mainly I had it with 6, thats why I went back to 5.6, it is running ok now as I have it on short. But if I put it up, then it never disconects.

I can't help you as when I put mine on short. It stopped. although it takes variuos degrees of time to stop.

Ray Mitchell

Re: Dialup modem does not disconnect
« Reply #2 on: November 26, 2003, 09:40:56 AM »
> But if I put it up, then it never disconects.
> I can't help you as when I put mine on short. It stopped.
> although it takes variuos degrees of time to stop.

Yes I too have this problem. The short connection sometimes disconnects after 15 minutes or so, and at other times stays connected for up to a few hours. The same with medium or long setting, they never seem to disconnect or may stay connected for 12 hours or so and then disconnect, it seems to be a somewhat random time before disconnecting.

I did have it working OK on a 5.6 box a few months ago, but since the last 2 or 3 updates it doesn't work right anymore. I have disconnected workstations from the network, and even isolated the server ie no other workstations physically plugged into the network. Netstat shows nothing and searches of logs show no http traffic or other clues as to what may be triggering the connection ?
I changed the server to private server and gateway to block external traffic and the same thing still happened.

I even did a fresh instal of the OS plus updates, and left the server disconnected from the network, but the same thing happens ie erratic or random disconnects.

Any thoughts or suggestions from anyone ??

Regards
Ray Mitchell

Ray Mitchell

Re: Dialup modem does not disconnect
« Reply #3 on: November 26, 2003, 09:50:41 AM »
> When I run tcpdump to analyse network trafic

jujusl,
How did you use the tcpdump command, any parameters ?, what should I be looking for in the output.

Regs
Ray

rasjos

Re: Dialup modem does not disconnect
« Reply #4 on: November 26, 2003, 03:50:41 PM »
Possible solution:

There is a dialup utility on dungog.net/sme/

The file "dialmonW95.zip" is a utility you can install on the client machines to start/stop the connection.  I use it it works well.  Set the connections to continuous to prevent random disconnection and then use the dialmon to force/block the connection.


The RPM also on dungog "dialmon-0.8-1.i386.rpm" is also usefull and allows you to set-up dialing times i.e. from 9am to 5pm mon to fri etc.


The Dialmon is definatly the way to go if you want complete control.

Rasjos

Charlie Brady

Re: Dialup modem does not disconnect
« Reply #5 on: November 26, 2003, 05:25:24 PM »
Ray Mitchell wrote:
>
> > But if I put it up, then it never disconects.
> > I can't help you as when I put mine on short. It stopped.
> > although it takes variuos degrees of time to stop.
>
> Yes I too have this problem. The short connection sometimes
> disconnects after 15 minutes or so, and at other times stays
> connected for up to a few hours.

diald-top will show you what traffic is keeping the connection up.

Charlie

jujusl

Re: Dialup modem does not disconnect
« Reply #6 on: November 27, 2003, 01:52:27 PM »
Thank you Charlie for the "diald-top" info ; it is in this case more usefull than my "tcpdump -i any -n command" !

I ran it and saw that there is traffic between my localhost 127.0.0.1/www to my dynamic IP address.

I don't really understand why...  I don't know if it is usefull, maybe I will try to add a firewall rule to stop it ?

Stéphane