Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I experience a strange thing on a linux V2.6.38 card. I installed and configured a wifi dongle wlan0 (WPA) and also connect the card via eth0.
If I ping using eth0 alone the gateway it works.
If I ping the gateway with either eth0 or wlan0 both connected it works
If I ping the gateway with wlan0 alone (from the boot) it DOESN'T work
If I ping the gate way wlan0, both connected and then I unplug wildly eth0 it also works.
How is this possible ?
Why the wlan0 doesn't work at boot and then works when eth0 is once plugged ?
In the same way, why wlan0 is then not also pingable from the outside ?
Thank you for your answers
below my interface file :
Ok thank you for your reply : your right : I forget to copy the adress but it was set.
I discovered that it works with wlan0 only when I "ifconfig eth0 down".
So it now works but I don't know why and I would like to understand.
Or some newer way of doing things I have yet to learn. You can only have one default. Or at least that's how it used to work. If you don't set the device on the route add statement it will likely default to eth0 if both exist and both eth0 and wlan0 are up.