|
How to scan for and connect to APs? (FireWRT's OpenWRT)
Posted at 6/4/2015 04:29:06
View:7288
|
Replies:1
Print
Only Author
[Copy Link]
1#
I have a default build of the FireWRT from the git repository. The default access points are visible, but I want to test the radios as a client.
First, I cannot seem to scan for networks:
"iwlist <device> scanning" says operation not supported for all the interfaces (ra0, rai0, apcli0, apclii0)
"iwinfo <device> scan" says scanning not possible
"iwpriv <device> get_site_survey" returns no results even though there are results.
How can I scan for networks properly? Am I missing some step?
Secondly, how do I actually connect to an access point? I have the below in /etc/config/wireless:
config wifi-device mt7602e
option type mt7602e
option hwmode 11n
option htmode HT40
option channel 6
option mode 9
config wifi-iface
option device mt7602e
option ifname ra0
option network lan
option mode ap
option ssid FireWRT-2.4G-B22A
option encryption psk2
option key firefly2015
option ApCliEnable 1
option ApCliSsid SM-N900VC38B
option ApCliAuthMode WPA2PSK
option ApCliEncrypType AES
option ApCliPassword MyPassword
Then I tried both /sbin/wifi and ifconfig apcli0 up; neither actually associated to the access point.
How do I connect? |
|