| BAN - Solms | ||
![]() Note: replace ath0 in all examples with the device name of your WLAN card (i.e. ra0, eth2, eth3). If you do not know your device name, execute: root@copper:~ # cat /var/ipcop/ethernet/settings | grep BLUE_DEV BLUE_DEV=ath0 Card detectionRestart card detection:root@copper:~ # wlanapctrl detect Info for graphsThe info for the graphs (TxPower, Link Quality etc.) is retrieved by using iwconfig. Unfortunately iwconfig output is different from driver to driver. Examples:ath0 IEEE 802.11g ESSID:"weizen_42"
Mode:Managed Frequency:2.472 GHz Access Point: 00:01:02:03:04:05
Bit Rate:48 Mb/s Tx-Power:31 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:blubblub Security mode:restricted
Power Management:off
Link Quality=38/94 Signal level=-57 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
or:wlan0 IEEE 802.11b+/g+ ESSID:"weizen_42" Nickname:"acx100 v0.2.0pre8"
Mode:Managed Frequency:2.472 GHz Access Point: 00:01:02:03:04:05
Bit Rate=54 Mb/s Tx-Power=15 dBm Sensitivity=1/3
Retry min limit:7 RTS thr:off
Encryption key:blublub
Power Management:off
Link Quality=41/100 Signal level=18/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
WiFi ChannelGet channel list:root@copper:~ # iwlist ath0 channel
ath0 26 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Current Frequency:2.412 GHz (Channel 1)
Change channel:root@copper:~ # iwconfig ath0 channel 2 Tx PowerGet available power settings:root@copper:~ # iwlist ath0 txpower
ath0 8 available transmit-powers :
0 dBm (1 mW)
7 dBm (5 mW)
9 dBm (7 mW)
11 dBm (12 mW)
13 dBm (19 mW)
15 dBm (31 mW)
17 dBm (50 mW)
19 dBm (79 mW)
Current Tx-Power:19 dBm (79 mW)
Change Tx Power:root@copper:~ # iwconfig ath0 txpower 17dbSome cards also support auto Tx Power: root@copper:~ # iwconfig ath0 txpower auto Country Code (MadWifi)Get current country code:root@copper:~ # sysctl dev.wifi0.countrycodeTo change the country code, first stop and unload the driver: root@copper:~ # /etc/rc.d/rc.wlanap unloadThen reload the driver: root@copper:~ # modprobe ath_pci countrycode=276And restart the addon: root@copper:~ # /etc/rc.d/rc.wlanap startThis may or may not work for your card! Introduction |
||
| Last modified: 2007-11-26 |