On Sun, Jan 26, 2014 at 07:56:37AM -0300, Eike Lantzsch wrote:
> Interesting. I was just about to try this when your response came in,
> (OpenBSD Manual 6.9 "A bridge acting as a DHCP server")
> but since athn0 does not come up unless I assign a network to it, I 
> doubt that only assigning an IP to vether0 will do the trick.
> "Does not come up" is not exactly true. The interface comes up but it 
> does not switch on the transmitter - no WiFi signal.

Did you try 'ifconfig athn0 up'?
Or likewise a line saying 'up' in /etc/hostname.athn0?

vether and bridge are indeed the way to go. I'm running a
setup like this and it works.

This example should give you a working configuration (assuming
vr0 is your LAN interface):

# cat /etc/hostname.athn0
nwid mynetwork wpakey 'mypassword'
media autoselect mode 11g mediaopt hostap chan 11
up
# cat /etc/hostname.vether0                                                    
inet 10.1.1.1 255.255.255.0 NONE
up
# cat /etc/hostname.vr0
up
# cat /etc/hostname.bridge0                                                    
add vether0
add vr0
add athn0
up

Reply via email to