On Sun, 10 Nov 2002, Simon wrote:

> Jeff.
> Thanks a million for the rapid response. I hope to have my firewall up and
> running pretty soon, once I've read all the prerequisite information.
> 
> If you don't mind I have another question. Once I have booted my box with
> Bering say, and have configured the firewall and networking settings, how do
> I control my dialup connection. Since I do not have an always-on connection
> I need to control it. Can I do this with generic Linux commands or is the
> command set extremely limited?

I am not sure which "generic Linux commands" you are referring to.  Some
commands are low level, some are high level, some provide equivalent
functionality in different distributions.

Bering uses the Debian "ifupdown" set of high-level network control tools.  
If you follow the instructions in the User's Guide for "serial modems"
(actually, PPP dialup), you should end up with an "always on" connection.  
If you remove "ppp0" from the "auto lo ppp0 eth0" line in
/etc/network/interfaces then it won't automatically turn on, and you can
use "ifup ppp0" to invoke all the pppd/chat stuff when you want to
connect, and "ifdown ppp0" when you want to disconnect.

The "pon" and "poff" commands are also available, but the "ifup/ifdown"
commands are a higher-level technique that is more consistent between
different types of interfaces.  The interfaces file also offers a general
place to invoke custom actions when any kind of interface goes up or
down.

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<[EMAIL PROTECTED]>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to