Hi all folks,
Each time after booting I have to issue
# adsl-start on Konsole window to connect broadband
Kindly advise how to configure the OS to have ISP/broadband connected automatically at booting.
Thanks
B.R. Stephen Liu
-- [EMAIL PROTECTED] mailing list
You can add a start-up script for your DSL in your init.d folder. It should look like this : ( /etc/init.d/net.adsl )
#!/sbin/runscript # Based on a script found on gentoo forum
#depend () { # need net #}
start () { ebegin "Starting ADSL:" /usr/sbin/adsl-start > /dev/null eend $? "ADSL failed - check your configs !" }
stop () { ebegin "Stoping ADSL:" /usr/sbin/adsl-stop > /dev/null eend $? "ADSL failed - it's unstopable, run for your life !" }
status () { ebegin "Checking ADSL status:" /usr/sbin/adsl-status eend $? "FAILED !! ??" }
And then add it to the default runlevel :
> rc-update add net.adsl default
-- M-A Loyer [EMAIL PROTECTED] http://weirdfox.homelinux.net/index2.php
-- [EMAIL PROTECTED] mailing list