GrabDuck

[BCM7231] WIFI usage (with wireless_toos and wpa-supplicant)

:

WI-FI Usage

=================

This is detailed explanation of each parameters for the FH7200B wi-fi use.

(Updated : 2013-09-12, by steo)

[parameters]         [val] 

{range}

-----------------   -------------------------------------------------

SSID                         {0~z, 1~32 ascii characters}

                            ::Set AP SSID

AuthMode             {AUTO,OPEN,SHARED,WPAPSK,WPA2PSK}

                                ::Set Authentication Mode

EncrypType           {NONE,WEP64,WEP128,TKIP,AES}          

::Set Encryption Type

Key                 {5 ascii characters or 10 hex number or 

                      13 ascii characters or 26 hex numbers}

                      ::Set Key String  

Examples

===================================================================

a> Config STA to link with AP which is AUTO/NONE(Authentication/Encryption)

# iwconfig wlan0 essid "AP's SSID"

# iwconfig wlan0 enc off

# iwconfig wlan0 essid "AP's SSID"

# udhcpc -i wlan0

b> Config STA to link with AP which is AUTO/WEP64(Authentication/Encryption)

# iwconfig wlan0 essid "AP's SSID"

# iwconfig wlan0 key s:AP's wep key

# iwconfig wlan0 essid "AP's SSID"

# udhcpc -i wlan0

c> Config STA to link with AP which is AUTO/WEP128(Authentication/Encryption)

# iwconfig wlan0 essid "AP's SSID"

# iwconfig wlan0 key s:AP's wep key

# iwconfig wlan0 essid "AP's SSID"

# udhcpc -i wlan0

d> Config STA to link with AP which is OPEN/NONE(Authentication/Encryption)

# iwconfig wlan0 essid "AP's SSID"

# iwconfig wlan0 enc off

# iwconfig wlan0 essid "AP's SSID"

# udhcpc -i wlan0

e> Config STA to link with AP which is OPEN/WEP64(Authentication/Encryption)

# iwconfig wlan0 essid "AP's SSID"

# iwconfig wlan0 key s:AP's wep key

# iwconfig wlan0 essid "AP's SSID"

# udhcpc -i wlan0

f> Config STA to link with AP which is OPEN/WEP128(Authentication/Encryption)

# iwconfig wlan0 essid "AP's SSID"

# iwconfig wlan0 key s:AP's wep key

# iwconfig wlan0 essid "AP's SSID"

# udhcpc -i wlan0

g> Config STA to link with AP which is SHARED/WEP64(Authentication/Encryption)

# iwconfig wlan0 essid "AP's SSID"

# iwconfig wlan0 key s:AP's wep key

# iwconfig wlan0 essid "AP's SSID"

# udhcpc -i wlan0

h> Config STA to link with AP which is SHARED/WEP128(Authentication/Encryption)

# iwconfig wlan0 essid "AP's SSID"

# iwconfig wlan0 key s:AP's wep key

# iwconfig wlan0 essid "AP's SSID"

# udhcpc -i wlan0

i> Config STA to link with AP which is WPAPSK/AES(Authentication/Encryption)

# wpa_passphrase "AP's SSID" "AP's wpa-preshared key" > /etc/wpa_supplicant/wpa_supplicant.conf

# vi /etc/wpa_supplicant/wpa_supplicant.conf

network={

ssid="AP's SSID"

proto=WPA

key_mgmt=WPA-PSK

pairwise=CCMP

group=CCMP

psk="생성된 psk"

}

# iwconfig wlan0 essid "AP's SSID"

# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf &

# udhcpc -i wlan0

j> Config STA to link with AP which is WPAPSK/TKIP(Authentication/Encryption)

# wpa_passphrase "AP's SSID" "AP's wpa-preshared key" > /etc/wpa_supplicant/wpa_supplicant.conf

# vi /etc/wpa_supplicant/wpa_supplicant.conf

network={

ssid="AP's SSID"

proto=WPA

key_mgmt=WPA-PSK

pairwise=TKIP

group=TKIP

psk="생성된 psk"

}

# iwconfig wlan0 essid "AP's SSID"

# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf &

# udhcpc -i wlan0

k> Config STA to link with AP which is WPA2PSK/AES(Authentication/Encryption)

# wpa_passphrase "AP's SSID" "AP's wpa-preshared key" > /etc/wpa_supplicant/wpa_supplicant.conf

# vi /etc/wpa_supplicant/wpa_supplicant.conf

network={

ssid="AP's SSID"

proto=WPA2

key_mgmt=WPA-PSK

pairwise=CCMP

group=CCMP

psk="생성된 psk"

}

# iwconfig wlan0 essid "AP's SSID"

# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf &

# udhcpc -i wlan0

l> Config STA to link with AP which is WPA2PSK/TKIP(Authentication/Encryption)

# wpa_passphrase "AP's SSID" "AP's wpa-preshared key" > /etc/wpa_supplicant/wpa_supplicant.conf

# vi /etc/wpa_supplicant/wpa_supplicant.conf

network={

ssid="AP's SSID"

proto=WPA2

key_mgmt=WPA-PSK

pairwise=TKIP

group=TKIP

psk="생성된 psk"

}

# iwconfig wlan0 essid "AP's SSID"

# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf &

# udhcpc -i wlan0