Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

How to scan for and connect to APs? (FireWRT's OpenWRT)

9

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
9

How to scan for and connect to APs? (FireWRT's OpenWRT)

Posted at 6/4/2015 04:29:06      View:6956 | 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?
Reply

Use props Report

20

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
20
Posted at 6/5/2015 17:58:08        Only Author  2#
MTK wifi driver not support scanning APs.
if you need it , please use "kmod-mt76 ".

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

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list