Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3178

eth0 and wlan0 on the same lan subnet ? (14 replies)

$
0
0
What I was trying to do was to get wlan0 to operate when I unplug eth0. Would be nice to have in the opposite direction too.

I thought it'd be a simple case of setting up eth0 and wlan0 in /etc/network/interfaces with 192.168.1.10 (eth0) and 192.168.1.11 (wlan0) respectively. But it's never that simple, is it ?

When I unplug eth0, wlan0 goes down too. It also seems that pings to wlan0 actually go via eth0.

Has anyone here found a simple solution to this ?

What I'd like to be able to do is to plug in eth0 when I want to transfer files, ie need a fast connection. When I don't I can move the box to a different location, unplugging eth0.

Hours of googling didn't come up with a working solution ... so hoping someone here knows !

Cheers

Viewing all articles
Browse latest Browse all 3178

Trending Articles