Re: 12.04 wont connect to wireless network on startup
I am going to ask a counter-question first. Where is your wireless security? I strongly suggest you change the router to WPA2-AES encryption.
The answer to your original question is that your wireless won't connect on boot exactly because the interfaces file doesn't declare the essid you want to connect to. As soon as you supply it manually, it connects. I suggest you amend your file to:
Code:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
address 192.168.0.179
netmask 255.255.255.0
gateway 192.168.0.1
wpa-ssid "mynetwork essid"
wpa-psk mysecretpassword
dns-nameservers 8.8.8.8 192.168.0.1
I assume your essid is not two words separated with a space. If not, quotation marks are not needed.
Reboot and enjoy.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Bookmarks