Re: How to use if_bridge
- From: "Daniel O'Connor" <doconnor@xxxxxxxxxxxx>
- Date: Sat, 15 Apr 2006 10:53:01 +0930
On Friday 14 April 2006 21:37, Fabian Keil wrote:
killall devd [to stop it running dhclient]
/etc/rc.d/netif stop ath0
ifconfig bridge0 create
wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf
ifconfig bridge0 create
ifconfig bridge0 addm ath0
dhclient bridge0
What's the intention behind the last step
and why did you have to create bridge0 twice?
Sorry I made a mistake transcribing my steps..
I only created it once :)
I tried the wired interface on my laptop and it worked fine so I think
bridging confuses wpa_supplicant - I restarted wpa_supplicant in the
foreground and it gave me errors the moment I added it to the bridge.
If you didn't already, you have to set net.inet.ip.forwarding.
Ahh OK.
Depending on your firewall setup you might have to disable
some of the net.link.bridge sysctls as well.
I don't have any firewalls in the kernel for simplicity at this stage.
Thanks for your help.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
Attachment:
pgpowYENdW8N3.pgp
Description: PGP signature
- Follow-Ups:
- Re: How to use if_bridge
- From: Fabian Keil
- Re: How to use if_bridge
- References:
- How to use if_bridge
- From: Daniel O'Connor
- Re: How to use if_bridge
- From: Fabian Keil
- How to use if_bridge
- Prev by Date: Re: Sub-interfaces
- Next by Date: Re: Sub-interfaces
- Previous by thread: Re: How to use if_bridge
- Next by thread: Re: How to use if_bridge
- Index(es):