Hello Guys!
I'm working on an RT-N66U for a while and try to join to a wireless network which has encryption but could not succeed.
If I try to join to an open wifi network it works after the following commands:
At this point I'll get an IP address but it will not be assigned to the interface. So I have to assign it manually with the following command:
To join to an encrypted network I tried the following:
From AP site I got the following log:
No authentication and handshaking, do you have any idea what is the correct way to join an encrypted wifi network through CLI?
(AsusWRT-Merlin 380.69 alpha1)
I'm working on an RT-N66U for a while and try to join to a wireless network which has encryption but could not succeed.
If I try to join to an open wifi network it works after the following commands:
Code:
udhcpc -i eth1 -s /tmp/udhcpc -O33 -O249
wl ap 0
wlconf eth1 up
wl -i eth1 join MyNetwork imode bss amode open
At this point I'll get an IP address but it will not be assigned to the interface. So I have to assign it manually with the following command:
Code:
ifconfig eth1 OFFERED_IP up
To join to an encrypted network I tried the following:
Code:
wl -i eth1 wpa_auth 0x80
wl -i eth1 wsec 4
wl -i eth1 join MyNetwork key 64_LONG_HEX imode bss amode open
From AP site I got the following log:
Dec 1 15:37:21 onebox hostapd: wlan0: STA 70:8b:cd:c6:d0:e0 IEEE 802.11: authenticated
Dec 1 15:37:21 onebox hostapd: wlan0: STA 70:8b:cd:c6:d0:e0 IEEE 802.11: associated (aid 1)
Dec 1 15:37:23 onebox hostapd: wlan0: STA 70:8b:cd:c6:d0:e0 IEEE 802.11: authenticated
Dec 1 15:37:23 onebox hostapd: wlan0: STA 70:8b:cd:c6:d0:e0 IEEE 802.11: associated (aid 1)
.
.
.
No authentication and handshaking, do you have any idea what is the correct way to join an encrypted wifi network through CLI?
(AsusWRT-Merlin 380.69 alpha1)