Switching from wired to wireless getting "network down"

martinko gamato at users.sf.net
Mon Jan 11 00:15:03 UTC 2010


Serge Semenenko wrote:
> Hi
>
> may be this is what you're looking for...
>
> in rc.conf :
>
> wlans_ath0="wlan0"
> ifconfig_bge0="up"
> ifconfig_wlan0="country UA WPA"
> ifconfig_ath0="ether 00:1b:24:9e:1b:c6"
> ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 DHCP"
> cloned_interfaces="lagg0"
>
> in devd.conf :
>
> notify 0 {
> match "system" "IFNET";
> match "subsystem" "wlan0";
> match "type" "LINK_UP";
> media-type "802.11";
> action "ifconfig lagg0 laggport wlan0";
> };
>

Hi Serge,

That devd.conf entry helps! :-)
I take it as a workaround until rc.conf/rc.d work as they should.
I miss 0-2 pings when unplugging wired cable but that's ok for me.

Thanks! :-)

Martin



More information about the freebsd-mobile mailing list