DSL Start Script
Piotr Chmura
chmooreck at poczta.onet.pl
Sun Nov 21 19:21:25 CET 2004
Dnia Sun, 21 Nov 2004 09:43:41 -0800, Net Llama! <netllama at linux-sxs.org>
napisał:
> On 11/21/2004 09:20 AM, Thorsten Grothe wrote:
>> Hi all,
>> I'm have a pretty new DSL Connetction. To go online I have to:
>> become root: su root
>> start-adsl
>> to connect to the internet.
>> To stop the connection I have to type
>> stop-adsl.
>> These are the commands that come with the rp-ppoe driver.
>> Does anyone knows a convenient way to do this with an xfce starter or
>> another more convenient solution?
>
> Wouldn't it make alot more sense to do this at bootup & shutdown?
>
bootup is enough... put adsl.start (with full path) it in /etc/rc.local
you don't need to invoke adsl.stop at shutdown...
if your ISP is disconnecting after some time of inactivity, you can
prevent it by ping'ing (ping -c 1) to some host f.e. in every 15 minutes
(use cron)
more info:
man ping
man cron
good luck,
ChmOOrecK
More information about the Xfce
mailing list