Jump to content
  • 0

Has anyone gotten cubox-i4 pro to work as an AP?


that_person

Question

Hi there,

 

I see `iw list` is showing that the i4 pro's internal chip supports AP mode. [1]

 

 

However, when I  try to run `/usr/sbin/hostapd /etc/hostapd.conf` it errors out with no driver entry or driver=nl80211 in hostapd.conf [2]

Configuration file: /etc/hostapd.conf

Failed to create interface mon.wlan0: -95 (Operation not supported)

wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE

wlan0: Could not connect to kernel driver

Using interface wlan0 with hwaddr 40:2c:f4:ae:16:c6 and ssid "aa"

Failed to set beacon parameters

wlan0: Could not connect to kernel driver

Interface initialization failed

wlan0: interface state COUNTRY_UPDATE->DISABLED

wlan0: AP-DISABLED

wlan0: Unable to setup interface.

hostapd_free_hapd_data: Interface wlan0 wasn't started

So, seeing that lshw shows the `brcmfmac` driver, I set driver=brcmfmac to be greeted with:

Configuration file: /etc/hostapd.conf

Line 8: invalid/unknown driver 'brcmfmac'

1 errors found in configuration file '/etc/hostapd.conf'

Failed to set up interface with /etc/hostapd.conf

Failed to initialize interface

I'm currently on 4.5.2-cubox kernel. brcmfmac shows up in lsmod.

 

 

Anyone figured out how to set up an AP using the internal broadcom chip? I'm at a loss.

 

 

 

 

 

 

 

 

 

[1] # iw list

 

 

Wiphy phy0
max # scan SSIDs: 10
max scan IEs length: 2048 bytes
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports roaming.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
Band 1:
Capabilities: 0x1020
HT20
Static SM Power Save
RX HT20 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-7
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* frame
* set_channel
* start_sched_scan
* start_p2p_device
* crit_protocol_start
* crit_protocol_stop
* connect
* disconnect
Supported TX frame types:
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* managed: 0x40 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
software interface modes (can always be added):
valid interface combinations:
* #{ managed } <= 1, #{ AP } <= 1,
total <= 2, #channels <= 1
Device supports scan flush.

 

 

 

 

[2] Current hostapd.conf

 

 

 

ssid=aa

interface=wlan0

hw_mode=g

channel=1

driver=nl80211

bridge=br0

logger_syslog=0

logger_syslog_level=0

wmm_enabled=1

ieee80211n=0

wpa=2

preamble=1

wpa_psk=***

wpa_passphrase=***

wpa_key_mgmt=WPA-PSK

wpa_pairwise=TKIP

rsn_pairwise=CCMP

auth_algs=1

macaddr_acl=0

ignore_broadcast_ssid=1

country_code=LT

 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines