openrc-discuss

Re: openrc-0.5 new network

Roman

Sat Nov 07 14:39:59 2009

Hi,

Am Tuesday 13 October 2009 22:09:41 schrieb Roy Marples:
>[...]
> > Does that mean I can just start it on my laptop (maybe after setting up
> > wpa_supplicant for wireless) and I can then switch on/off wireless or
> >  plug/pull the cable from wired interface and it will automatically query
> >  the dhcp server? What if both interfaces are available (they sometimes
> >  disturb each other, because they get adresses from the same network)?
>
> Yes :)
>
> And dhcpcd will prefer wired over wireless when on the same subnet.
>
> Thanks
>
> Roy


Another question on that matter: What is the prefered way to automatically 
poweroff the wireless if i connect a lan-cable, so that always only one of 
the network interfaces is powered?

Currently i start ifplugd via local and basically the following net-scripts:

net.eth0:
start(){
	iwconfig wlan0 down;
}
...

net.wlan0:
start(){
	iwconfig wlan0 txpower 5
	wpa_supplicant ...
}

this seems to work until i suspend the notebook. After resume i  have 2 
interfaces up again...


Any hints on this?


Mit freundlichem Gruß,
Roman
-- 
Good news is just life's way of keeping you off balance.

Follow-Ups:
Re: openrc-0.5 new networkRoy Marples
References:
openrc-0.5 new networkAlon Bar-Lev
Re: openrc-0.5 new networkDirk Heinrichs
Re: openrc-0.5 new networkRoy Marples
Archive administrator: postmaster@marples.name