Re: HEADSUP: 802.11 vap support merged

From: Brooks Davis <brooks_at_freebsd.org>
Date: Wed, 23 Apr 2008 09:26:29 -0500
On Wed, Apr 23, 2008 at 10:11:38PM +0900, Randy Bush wrote:
> soekris 5501, current maybe eight hours old.  new kernel world two days old.
> 
> /etc/rc.d/ppp does not come up unless i add ldconfig to its RELY.  this
> is an old (lime months) nstory, i am just trying to be complete.
> 
> vaps_ath0="wlan0"
> cloned_interfaces=bridge0
> ifconfig_bridge0="192.168.0.1 addm vr1 addm vr2 addm vr3 addm wlan0 up"
> ifconfig_vr1=up
> ifconfig_vr2=up
> ifconfig_vr3=up
> ifconfig_wlan0="channel 11 ssid rgnet-aden wep wepkey thirteenchars
> weptxkey 1 mediaopt hostap up"

One on the new properties of vaps is that you have to specify the mode
of the wlan interface during creation.  Current you do this in the rc
scripts with:

vap_create_wlan0="wlanmode ap"

I need to add rc.conf.5 entries for the vap stuff.  I also need to
decide if vaps_FOO is really what we want or if wlans_FOO would be
better.

-- Brooks

> stumbler on a macbook sees no ap
> 
> ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
> 0 mtu 2290
>         ether 00:0b:6b:83:59:25
>         media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
>         status: associated
> soek0.psg.com:/root# ifconfig wlan0
> wlan0:
> flags=8d43<UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST>
> metric 0 mtu 1500
>         ether 00:0b:6b:83:59:25
>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>         status: no carrier
>         ssid rgnet-aden channel 11 (2462 Mhz 11g)
>         country US ecm authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit
>         txpower 19 bmiss 7 scanvalid 60 bgscan bgscanintvl 300
> bgscanidle 250
>         roam:rssi 7 roam:rate 5 protmode CTS wme burst ff dturbo bintval 0
> 
> # athstats
> 62670    data frames received
> 30306    data frames transmit
> 0M       current transmit rate
> 30306    tx frames with no ack marked
> 14329    rx failed 'cuz of bad CRC
> 4527     rx failed 'cuz frame too short
> 1652     rx failed 'cuz of PHY err
>     44       transmit override receive
>     1608     CCK restart
> 3        rssi of last ack
> 1        switched default/rx antenna
> Antenna profile:
> [1] tx    30306 rx    62670
> 
> clue bat, please.
> 
> randy
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 

Received on Wed Apr 23 2008 - 12:26:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:30 UTC