Re: problems making an access point w/current



Dag-Erling Smørgrav wrote:
Randy Bush <randy@xxxxxxx> writes:
ifconfig_wlan0="channel 11 ssid rgnet-aden wep wepkey thirteenchars weptxkey 1 mediaopt hostap up"
[...]
# 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

Note that it says "autoselect" instead of "hostap". AFAIK, you have to
specify a media and a mode before you specify a mediaopt. Try "media
autoselect mode 11g mediaopt hostap" instead of just "mediaopt hostap".

The operating mode of a vap is immutable; it must be set when it's created by cloning the underlying ifnet. I believe there are usage examples in all the wireless driver man pages. The scripts in

src/tools/tools/net80211/scripts

also demonstrate how to setup various configurations.

Sam

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: problems making an access point w/current
    ... IEEE 802.11 Wireless Ethernet autoselect (autoselect) ... specify a media and a mode before you specify a mediaopt. ... autoselect mode 11g mediaopt hostap" instead of just "mediaopt hostap". ...
    (freebsd-current)
  • Re: Wireless internet speed faster in Vista :(
    ... media: autoselect status: inactive ... inet 10.1.1.5 netmask 0xffffff00 broadcast 10.1.1.255 ...
    (comp.sys.mac.system)
  • ath cannot find my wireless network any more
    ... the internal wpi chip still finds and connects to the network: ... media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g ... IEEE 802.11 Wireless Ethernet autoselect mode 11a ...
    (freebsd-current)
  • Re: sis driver
    ... The sisdriver had some issues with autoselect in the past. ... Just try ifconfig's 'media' option, or update your kernel. ...
    (freebsd-stable)