1 |
when i input iwconfig,display |
2 |
|
3 |
|
4 |
wlan0 IEEE 802.11bgn ESSID:off/any |
5 |
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm |
6 |
Retry long limit:7 RTS thr:off Fragment thr:off |
7 |
Encryption key:off |
8 |
Power Management:off |
9 |
is information OK? |
10 |
|
11 |
i emerge net-wireless/wpa_supplicant |
12 |
|
13 |
edit /etc/conf.d/net |
14 |
|
15 |
|
16 |
config_eth0=("null") |
17 |
|
18 |
modules=("wpa_supplicant") |
19 |
|
20 |
wpa_supplicant_wlan0="-Dmadwifi" |
21 |
|
22 |
ctrl_interface=/var/run/wpa_supplicant |
23 |
|
24 |
ctrl_interface_group=0 |
25 |
|
26 |
ap_scan=1 |
27 |
|
28 |
network={ |
29 |
ssid="huang" |
30 |
proto=WPA2 |
31 |
psk="Xda111524*&^" |
32 |
} |
33 |
|
34 |
but kernel start show that |
35 |
|
36 |
network config is't correct, |
37 |
unexpected with "}" |
38 |
|
39 |
-- |
40 |
pete_doherty |