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
dhclient wlan0
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:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
wireless-essid linksys
address 192.168.1.222
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
iface eth0 inet dhcp
auto eth0
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?
Bill

