Koozali.org: home of the SME Server

Dialup question: how to disable automatic dialup after reboo

Pieter Links

Dialup question: how to disable automatic dialup after reboo
« on: August 20, 2001, 11:44:54 PM »
Hello,

Thanks for e-smith server/gateway/firewall. It's a very good product.

After the installation of e-smith (currnet version) I had problems with my dialup connection, but I've found the solution in this phorum (message from Jaime (jnebrera_AT_jazzfree.com) dated 07-31-01). Thanks.

I have also installed the dialmon RPM (The Linux DialD monitor v0.8), to control the diald-deamon from a  Windows client machine (for example to stop the connection or completely block internet access). See http://www.quaking.demon.co.uk/dialmon.html

But still one big question remains: how can I disable automatic dialup after reboot?
The configuration is like this: e-smith server/gateway connected with dialup modem to normal telephone line, serving some other PC's with Windows 9x. The Win-systems are shut down at the end of the day, and the e-smith server also. But when at morning the e-smith server is switched on and the system is loaded, it does a dialup, even with no clients connected, to listen on the internet (to many nameservers ?).
How can I stop this automatic dialup, until I want to access the internet (manually)?

I have tried the contributed e-smith-isp package, but that didn't work right, and disabled the dialmon-deamon.

BTW To make a rescue CD (with the newest versions of the rpm's and some altered config files) I want to include the dialmon rpm. How can I include it in the automatic installation (to put it in the directory with the other rpm's is not enough I guess)?

Thanks a lot for your answers.

Pieter

Pieter Links

Re: Dialup question: how to disable automatic dialup after r
« Reply #1 on: September 18, 2001, 12:57:15 AM »
Hello,

Finally I've found the solution to disable the automatic dialup at startup of the e-smith-system.
When dialmon is installed, there is a named pipe which controls the deamon (I guess the clients use this). It is located in /tmp and called dialmon.stat
So put somewhere in the file rc.local the phrase

   echo B > /tmp/dialmon.stat

and dialmon enters 'blocked' mode (diald can't dialup unless you put dialmon in 'normal' mode). Found in the man-page of dialmon (but I did't know how to use named pipes, it has taken a lot of time to find the right manual).

Greetings from Belgium,

Pieter Links