Am Donnerstag, 14. Juni 2007 08:17:59 schrieb Jan Setzer:
> Hello,
>
> Thanks for all advises.
>
> After adding  wireless-bridge-if br0  and a full reboot. Now it works.
>
> Now is there a smart solution to disable the AP via cron or similar.
>
> I try to disable eth2 only
>   ifdown eth2
> but after enabling it
>   ifup eth2
> i must reactivate the bridge br0 to get the WLAN working.
>
> Any solutions for this?

This is because the broadcom wireless card needs the "nas"-daemon for wpa 
encryption. The nas daemon needs to know the interface of your wlan 
interface, but in a bridge setup this is br0 and not the normal eth2 
interface. Because the bridge must be up before the nas-daemon can be 
started, the "ifup br0" is taking care of starting nas when your wlan 
interface is bridged.

That's why "ifdown eth2 ; ifup eth2" isn't working as expected.

But what about this solution for your problem:

Just remove the eth2 interface from the bridge and readd it when it's needed 
again. "brctl delif br0 eth2" and "brctl addif br0 eth2" should do the trick 
(but I haven't tested that).

--Ralph

> Best regards
>
> Jan


_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to