I'm new to Raspberry Pi, and went through the setup instructions, which were painless. I installed the wireless nano USB dongle and followed these instructions to set it up.
Almost immediately I saw an IP attached to wlan0, so I unplugged the ethernet cable, and sure enough, I was able to SSH into the Pi on the wireless IP. However, it seems when only using the wireless, it can access no WAN IPs. Pinging google.com or 8.8.8.8 returns the error connect: Network is unreachable
. I have several other wireless machines (mostly Ubuntu) on the network, and they have no issues connecting to the Internet.
What's wrong? It is working to some extend, because it can connect to my router and allow me to SSH into it. I doesn't seem like a DNS issue, because I can't even ping IPs.
Also, when the ethernet cable is connected, the wireless loses its IP and becomes inaccessible. Is there anyway to make the wired and wireless connections work at the same time?
This forum post suggests it may be a bug in Debian that causes the route to not be set on wlan0. How do you configure wlan0 to automatically have the correct route setup without having to reboot each time the ethernet cable gets plugged/unplugged?