Re: How to use if_bridge

2006-04-19 Thread Brian Candler
On Tue, Apr 18, 2006 at 01:14:27PM +0200, Sten Daniel Srsdal wrote: > hostap should work, ad-hoc should work. by infrastructure you mean that > the card operates as a 'station'? then it shouldn't work (correctly) as > defined by the standard. commercial products tend to implement "mac-nat" I've se

Re: How to use if_bridge

2006-04-18 Thread Fabian Keil
Erik Trulsson <[EMAIL PROTECTED]> wrote: > On Tue, Apr 18, 2006 at 04:41:42PM +0200, Fabian Keil wrote: > > I tried if_bridge to let QEMU on my laptop talk to the wireless > > network. It worked if the Laptop's NIC was in ad-hoc or hostap mode, > > but failed if the NIC was connected to an access

Re: How to use if_bridge

2006-04-18 Thread Erik Trulsson
On Tue, Apr 18, 2006 at 04:41:42PM +0200, Fabian Keil wrote: > Sten Daniel Sørsdal <[EMAIL PROTECTED]> wrote: > > > Fabian Keil wrote: > > > > > The example section has the following sentence "Such a con- > > > figuration could be used to implement a simple 802.11-to-Ethernet bridge > > > (assumi

Re: How to use if_bridge

2006-04-18 Thread Fabian Keil
Sten Daniel Sørsdal <[EMAIL PROTECTED]> wrote: > Fabian Keil wrote: > > > The example section has the following sentence "Such a con- > > figuration could be used to implement a simple 802.11-to-Ethernet bridge > > (assuming the 802.11 interface is in ad-hoc mode)." > > > > I don't get the meani

Re: How to use if_bridge

2006-04-18 Thread Sten Daniel Sørsdal
Fabian Keil wrote: > The example section has the following sentence "Such a con- > figuration could be used to implement a simple 802.11-to-Ethernet bridge > (assuming the 802.11 interface is in ad-hoc mode)." > > I don't get the meaning of the ad-hoc mode part. In my tests if_bridge > worked in

Re: How to use if_bridge

2006-04-15 Thread Fabian Keil
Andrew Thompson <[EMAIL PROTECTED]> wrote: > On Sat, Apr 15, 2006 at 11:53:52AM +0200, Fabian Keil wrote: > > "Daniel O'Connor" <[EMAIL PROTECTED]> wrote: > > > > > On Friday 14 April 2006 21:37, Fabian Keil wrote: > > > > > > Depending on your firewall setup you might have to disable > > > > so

Re: How to use if_bridge

2006-04-15 Thread Andrew Thompson
On Sat, Apr 15, 2006 at 11:53:52AM +0200, Fabian Keil wrote: > "Daniel O'Connor" <[EMAIL PROTECTED]> wrote: > > > On Friday 14 April 2006 21:37, Fabian Keil wrote: > > > > Depending on your firewall setup you might have to disable > > > some of the net.link.bridge sysctls as well. > > > > I don'

Re: How to use if_bridge

2006-04-15 Thread Fabian Keil
"Daniel O'Connor" <[EMAIL PROTECTED]> wrote: > On Friday 14 April 2006 21:37, Fabian Keil wrote: > > 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. If I'm not

Re: How to use if_bridge

2006-04-14 Thread Daniel O'Connor
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'

Re: How to use if_bridge

2006-04-14 Thread Fabian Keil
"Daniel O'Connor" <[EMAIL PROTECTED]> wrote: > I am trying to use if_bridge with OpenVPN and I am having some > trouble with basic bridging. > > I am testing it on my laptop with has an ath interface which uses WPA > to a Linksys WRT54G and then to a FreeBSD gateway. > > I have tried both config

How to use if_bridge

2006-04-14 Thread Daniel O'Connor
I am trying to use if_bridge with OpenVPN and I am having some trouble with basic bridging. I am testing it on my laptop with has an ath interface which uses WPA to a Linksys WRT54G and then to a FreeBSD gateway. I have tried both configuring ath0 with an IP as well as bridge0 but neither work