View previous topic :: View next topic |
Author |
Message |
martones n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/981551668406c43189a4ea.gif)
Joined: 01 Apr 2004 Posts: 26 Location: france/slovakia
|
Posted: Thu May 20, 2004 10:51 am Post subject: How to connect without adsl-start ? |
|
|
Hi
I would like to ask you,how can I connect to internet automaticly on every boot without having to type "adsl-start".
So as I dont have to do "su" when I dont log in as root.
Is there some file to configure ? conf.d/net ? or something else ?
Perhaps I skipped the explanation of this in the instalation manual, so please excuse if my question is stupid
Thanks
Ludo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
castrik n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Apr 2004 Posts: 31
|
Posted: Thu May 20, 2004 11:07 am Post subject: |
|
|
you can write a script to check if your dsl is up and if it isnt, then start it, and put it in cron and startup. or you can try qadsl. although ive never tried it myself. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
martones n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/981551668406c43189a4ea.gif)
Joined: 01 Apr 2004 Posts: 26 Location: france/slovakia
|
Posted: Thu May 20, 2004 12:15 pm Post subject: |
|
|
Hmm thats sounds good
How can I put it in cron and startup plz ? ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MagicMonkey n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey2.gif)
Joined: 17 Dec 2003 Posts: 37 Location: UK
|
Posted: Thu May 20, 2004 5:00 pm Post subject: |
|
|
To put it in cron, type which should launch a text editor, and put in something like:
Code: |
0 * * * * /root/check_adsl.sh
|
(this will check it once an hour, on the hour) (assuming your adsl checking script is called /root/check_adsl.sh).
To put it in the startup, add a line containing "/root/check_adsl.sh" to /etc/conf.d/local.start
The check_adsl.sh script should check if your connection is up, and if not, it should bring it up. I don't know anything about doing ADSL on linux though, sorry (I use a stand-alone ADSL router for my home LAN). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|