Dag-Erling Smørgrav wrote: > Randy Bush <randy_at_psg.com> 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. SamReceived on Tue Jun 10 2008 - 14:15:51 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC