Firefly Open Source Community

Title: How to scan for and connect to APs? (FireWRT's OpenWRT) [Print This Page]

Author: bodangly    Time: 6/4/2015 04:29
Title: How to scan for and connect to APs? (FireWRT's OpenWRT)
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?
Author: WhereIsMyBear?    Time: 6/5/2015 17:58
MTK wifi driver not support scanning APs.
if you need it , please use "kmod-mt76 ".

Kernel modules  --->
     Wireless Drivers  --->
            kmod-mt76




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1