LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   starting wvdial at boot time (http://www.linuxquestions.org/questions/linux-networking-3/starting-wvdial-at-boot-time-747887/)

jsbjsb001 08-16-2009 04:38 AM

starting wvdial at boot time
 
I am trying to get wvdial to start at boot time instead of me having to manually start it every time I want to connect. I have tried searching for the answer on google but every site I goto the suggestion does not work or like in one suggestion I read there is no such file as /etc/rc.d/rc.local on my system. There are the runlevel directory's but no file called rc.local. I have tried to create my own shell script and create a link to it in the /etc/rc.d/rc3.d directory but I still had no connection after booting into runlevel 3. But my shell script works if I manually execute it from the command-line or through a terminal. I have configured wvdial correctly as I can start the connection manually with no problems, but I cannot get the connection to start at boot time. So can someone please tell me how to get the connection going at boot time in plain simple english as I do not know much about init scripts (runlevel scripts) other than they start things at startup.

repo 08-16-2009 04:46 AM

A good start would be to tell us which distro you are using.
Some distro's use
/etc/rc.local.
For the script, you need to make sure it is executed after the network, and the network card is up.

jsbjsb001 08-16-2009 04:49 AM

wvdial on boot
 
I use Opensuse 11.0

repo 08-16-2009 04:52 AM

You can put the script in
/etc/init.d/boot.local

jsbjsb001 08-16-2009 05:57 AM

thank you
 
Thank you so much, I added the line wvdial & to the file boot.local and it worked. Thank you again!


All times are GMT -5. The time now is 08:37 PM.