Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Wi-Fi Access Point mode using hostapd

19

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
19

Wi-Fi Access Point mode using hostapd

Posted at 7/20/2015 19:47:50      View:8972 | Replies:5        Print      Only Author   [Copy Link] 1#
Hi,
does the Firefly-RK3288 support access point mode? I'm trying to set up hostapd on Ubuntu but I've not been able to make it work. Anyone managed to do it?
Thanks!
Reply

Use props Report

2442

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2442
Posted at 7/21/2015 11:48:11        Only Author  2#
some one have support it, but it is chinese:
http://developer.t-firefly.com/thread-1684-1-1.html
Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 7/21/2015 12:00:29        Only Author  3#
Actually, this is a YES.

Here is the link (but in Chinese, use Google translate):

http://developer.t-firefly.com/thread-1684-1-1.html
Reply

Use props Report

19

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
19
Posted at 7/21/2015 16:24:29        Only Author  4#
Thanks, I'll try to understand what's in there... :-)
Reply

Use props Report

19

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
19
Posted at 7/21/2015 16:56:59        Only Author  5#
Thanks, I've followed the instructions on the link you posted and I can confirm it works. It is a pain to bring everything down and upload a new firmware, but better than nothing. :-)
Reply

Use props Report

19

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
19
Posted at 7/31/2015 19:54:48        Only Author  6#
Hi,
after some testing I've managed to make it work. No need to rewrite the firmware, just need to change the "op_mode" and restart wifi. At the moment, the only way I've found to restart the wifi is to use rfkill or nmcli:

  1. sudo nmcli radio wifi off
  2. sudo su -c "echo 2 > /sys/module/bcmdhd/parameters/op_mode"
  3. sudo nmcli radio wifi on
Copy the code


Now I'm facing the problem that while in AP mode, network manager can't scan the network anymore (nmcli dev wifi rescan). When it tries, I see this error in dmesg:

  1. CFG80211-ERROR) __wl_cfg80211_scan : Invalid Scan Command at SoftAP mode
  2. CFG80211-ERROR) wl_cfg80211_scan : scan error (-22)
Copy the code


The error seems to imply that scan can't be done, but using iwlist it seems to work instead (iwlist wlan0 scan), even if the kernel complains:

  1. bcmsdh_sdmmc mmc2:0001:2 wlan0: (WE) : Wireless Event (cmd=0x8B19) too big (65303)
  2. CFG80211-ERROR) wl_notify_scan_status : scan is not ready
Copy the code


Any idea or suggestion? Thanks!
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