Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to connect without adsl-start ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
martones
n00b
n00b


Joined: 01 Apr 2004
Posts: 26
Location: france/slovakia

PostPosted: Thu May 20, 2004 10:51 am    Post subject: How to connect without adsl-start ? Reply with quote

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 8O

Thanks :)

Ludo
Back to top
View user's profile Send private message
castrik
n00b
n00b


Joined: 16 Apr 2004
Posts: 31

PostPosted: Thu May 20, 2004 11:07 am    Post subject: Reply with quote

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
View user's profile Send private message
martones
n00b
n00b


Joined: 01 Apr 2004
Posts: 26
Location: france/slovakia

PostPosted: Thu May 20, 2004 12:15 pm    Post subject: Reply with quote

Hmm thats sounds good :)
How can I put it in cron and startup plz ? :)
Back to top
View user's profile Send private message
MagicMonkey
n00b
n00b


Joined: 17 Dec 2003
Posts: 37
Location: UK

PostPosted: Thu May 20, 2004 5:00 pm    Post subject: Reply with quote

To put it in cron, type
Code:
crontab -e
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum