[Voyage-linux] Basic Wifi problem
Adrian Reyer
(spam-protected)
Tue May 10 18:04:36 HKT 2011
Hello Matt,
On Thu, May 05, 2011 at 09:53:20PM -0700, Big Booger wrote:
> I assume it is the wifi address), but when I disconnect the ethernet cable my
> connection through the wifi address is disabled. Does anyone have any insight
> into what is going on here? I would like to have this alix board supply my DAC
Basically this is a problem I face on my laptop as well.
You have 2 interfaces pointing to the same network, this makes 2 routes
to the same network via sepertae interfaces. They are ordered in some
way, you will find out with 'route -n'
The kernel always uses the first matching route it finds. So if your
ethernet-route ist the first interface, no matter what way the packets
came in, they will leave via the ethernet interface.
A bridge would be a solution, unfortunately you can't bridge
wlan-interfaces in most cases.
Another solution is to take interfaces up and down automatically. If the
cable detection works fine in your setup, you can just edit
/etc/network/interfaces and replace
auto eth0
by
allow-hotplug eth0
Be aware, if you now do /etc/init.d/networking restart your interface
will go down and *not* come up again as the hotplug event is missing.
Manually using 'ifup eth0' will work, though.
allow-hotplug should work with wpa_supplicant as well for your wlan
interface, I'd start with eth0 only, as I tend and encounter
problems with wlan and hotplugging.
Regards,
Adrian
--
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91
Mail: lihas at lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
More information about the Voyage-linux
mailing list