Quote:
Originally posted by jeffersd
im running ubuntu. my wireless only works after booting up and then clicking system - administration - networking and clicking activate on eth2.
i need to get wireless to start automatically on boot up. starting it by hand is anoying. i couldnt find a simple way of doing this so i thought i could make a sh script to do it and the add it to system - preferences - sessions - startup programs but it doesnt work because it needs the password for sudo to run.
*the script = sudo /etc/init.d/networking restart
can someone tell me how to get my wireless to start on boot or how to run a script as sudo without having to enter the password like i need to?
i tried adding this to /etc/sudoers
mylogin ALL=(ALL) ALL
but that didnt help.
any help please?
thanks
|
Isn't wireless a service already known to the system that you can start at boot? Not a Debian user, but I think the command to start/stop services is update-rc.d (or something like that). I would think it provides a way to show what is currently loaded, and loadable, for a given runlevel. if that is the command, take a look at its man page to see what options it has.