Stuck with Linux wireless networking. Working with ubuntu.
I can get wireless working if I run the following commands:
ifconfig wlan0 down
ifconfig wlan0 192.168.1.244 netmask 255.255.255.0 up
route add default gw 192.168.1.1
iwconfig wlan0 essid "linksys"
iwconfig wlan0 mode Managed
This works and everything is fine. But I don't want to run this script everytime.
I thought I should configure etc/network/interfaces here is my file:
iface lo inet loopback
iface wlan0 inet static
iface eth0 inet dhcp
After reboot, I can ping 192.168.1.222 and ping 127.0.0.1 but not my router.
Any ideas on what I am screwing up?
Just realized that there is also a wireless forum.
I will move my question over there.
If you want it to start up and connect before you login, then add your script to /etc/rc.d/rc.local
Yeah, I thought about doing that but it bugs me that it doesn't just work when I am putting, what I think, is the correct settings.
Originally Posted by Rubberman
I need more time to play with things.
One of the reasons why wireless isn't enabled on bootup, but only at user login time once the desktop manager is active, is because most wireless connections require a passphrase to connect, and that is normally stored in the users' key repository, which requires user input to unlock. Wired ethernet isn't so encumbered, so it can be initialized and active before the boot process finishes. Hence the extra effort you need to apply to get wireless initialized and connected during the boot process.