Re: guard dog +adsl

Rolf Pedersen <[email protected]>
Newsgroups gmane.network.guarddog
Message-ID <[email protected]>
Linux Advocate wrote:
> Can guarddog work with adsl modems? will it dial up  and b "always on" 
> when the machine boots up?
>
> must i also install rp-pppoe?
>
> i am using mandriva 2006.
>
> bye,
> marco
>
Short answer: yes.  I've done it with adsl and cable on Mandriva.  There 
are two aspects to your project.  If you are asking about rp-pppoe 
because you don't have an adsl connection yet or, even if you do, and 
your isp uses pppoe,  I recommend it.  It should be in your main urpmi 
source; become root and:
urpmi rp-pppoe
as root, configure your connection:
adsl-setup
start, stop, as root:
adsl-start
adsl-stop
or set up a user with visudo to use sudo to control the connection as 
normal user.

You could put
adsl-start
at the end of /etc/rc.local if you want to dial-up during every boot but 
I prefer to start after boot because, if the isp is down, boot will 
stall for a long time waiting for a timeout.  There are other strategies.

Mandriva puts guarddog in contrib, so make sure you have a contrib 
source or download the latest rpm from Simon's site and:
urpmi guarddog
or
urpmi /path/to/guarddog.rpm
Urpmi will prompt to install iptables.

As root, start guarddog from cli with
guarddog
click on Help to read the very clear manual.  I think it's about the 
easiest gui around.  Once you have configured guarddog, it's loaded 
automatically at boot.  Be sure to enable the dns, http, mail, ftp etc. 
protocols that you use.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.