PDA

View Full Version : [ubuntu] autostart networking init.d help



xshad0wfx
September 20th, 2009, 09:38 PM
Hi im trying to get my wireless usb (wlan0) to autostart on init.d when the machine is turned on. This is so i can use wake on lan to tun on my media server and then fuppes and my wifi can auto connect and start without logging into the machine. pretty nifty eh? but the problem right now is i cant manage to get the wlan0 to auto start. after searching on google i managed to find nothing useful for it to auto start in init.d but only after logging in. If someone knows how to get the eth0 to autostart in init.d without logging in thats ok too.

Iowan
September 20th, 2009, 10:44 PM
I seem to remember a thread suggesting interfaces defined in /etc/network/interfaces start on power-up - whereas those defined by Network Manager don't start until login.

slakkie
September 20th, 2009, 11:08 PM
Hi,

I'm busy writing this guide: https://help.ubuntu.com/community/NetworkConfigurationCommandLine/Automatic

The part you want is already done. Automatic configuration for laptops is unfinished, but you should be able to set it up for one location. Provided your network card is supported by wpa_supplicant.

Best of luck!

xshad0wfx
September 21st, 2009, 07:57 PM
sweet! thanks!