Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Rich Brown <richb.hanover@gmail.com>
To: cerowrt-devel@lists.bufferbloat.net
Subject: [Cerowrt-devel] CeroWrt 3.10.24-1/Wifi problems
Date: Sun, 15 Dec 2013 10:04:44 -0500	[thread overview]
Message-ID: <11CFAC43-039C-4EFF-A791-5D672CED50A1@gmail.com> (raw)
In-Reply-To: <62C46991-29BF-40D7-8D4F-D3B2E27A87D7@gmx.de>

I played around a bit more with the wifi on CeroWrt 3.10.24-1, and discovered the ‘wifi' command gives a bunch errors. I don’t know if these are relevant. I’ve included the output of the wifi command, as well as the /etc/config/wireless file’s contents. 

The current state of wifi is:s

- The wifi channels are distinct between my primary router (1 & 36) and the secondary (6 & 44)
- In my secondary router, I used a “+” in the SSIDs to distinguish them from my primary router defaults.

- None of the SSIDs allow my computer to get an address
- My computer and wifi analyzer [1] show that CeroWrt is only transmitting some of the six SSIDs
- I ran the ‘wifi’ command three times and got different results each time. The attempts are detailed below.

I hope this is useful.

Rich

[1] I’m using farproc’s wonderful WifiAnalyzer on Android (https://play.google.com/store/apps/details?id=com.farproc.wifi.analyzer)

======= Try #1 - the following SSIDs work/don’t work =======
	CEROwrt+ (sw00) OK
	CEROwrt+guest (gw00) OK
	CEROwrt+guest5 (gw10) OK
	babel (2.4 & 5 GHz) (gw01 & gw11) OK
	CEROwrt5+ (sw10) No Signal

root@cerowrt:~# wifi
command failed: Too many open files in system (-23)
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
nl80211: Could not configure driver mode
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface gw00 wasn't started
hostapd_free_hapd_data: Interface gw00 wasn't started
hostapd_free_hapd_data: Interface sw00 wasn't started
Failed to start hostapd for phy0
command failed: Too many open files in system (-23)
command failed: Too many open files in system (-23)
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy1.conf
nl80211: Could not configure driver mode
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface gw10 wasn't started
hostapd_free_hapd_data: Interface sw10 wasn't started
Failed to start hostapd for phy1
root@cerowrt:~#

====== Try # 2 ==============

CEROwrt+guest OK
CEROwrt+guest5 OK
babel (2.4 & 5GHz) drops out for 3-10 seconds every minute or so
CEROwrt5+ No Signal
CEROwrt+ No Signal

root@cerowrt:~# wifi
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
nl80211: Could not configure driver mode
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface gw00 wasn't started
hostapd_free_hapd_data: Interface gw00 wasn't started
hostapd_free_hapd_data: Interface sw00 wasn't started
Failed to start hostapd for phy0
command failed: Too many open files in system (-23)
command failed: Too many open files in system (-23)
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy1.conf
nl80211: Could not configure driver mode
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface gw10 wasn't started
hostapd_free_hapd_data: Interface sw10 wasn't started
Failed to start hostapd for phy1
root@cerowrt:~#

====== Try #3 ==========

CEROwrt+ OK
CEROwrt+guest OK
CEROwrt+guest5 OK
babel 2.4GHz OK
babel 5GHz drops out for 3-10 seconds every minute or so
CEROwrt5+ Does Not Work (no signal)

root@cerowrt:~# wifi
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
nl80211: Could not configure driver mode
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface gw00 wasn't started
hostapd_free_hapd_data: Interface gw00 wasn't started
hostapd_free_hapd_data: Interface sw00 wasn't started
Failed to start hostapd for phy0
command failed: Too many open files in system (-23)
command failed: Too many open files in system (-23)
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy1.conf
nl80211: Could not configure driver mode
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface gw10 wasn't started
hostapd_free_hapd_data: Interface sw10 wasn't started
Failed to start hostapd for phy1
root@cerowrt:~#

======== Wireless config file ====================

root@cerowrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'pci0000:00/0000:00:11.0'
	list ht_capab 'SHORT-GI-40'
	list ht_capab 'TX-STBC'
	list ht_capab 'RX-STBC1'
	list ht_capab 'DSSS_CCK-40'
	option channel '6'

config wifi-iface
	option device 'radio0'
	option network 'sw00'
	option ifname 'sw00'
	option mode 'ap'
	option ssid 'CEROwrt+'
	option key 'Beatthebloat'
	option encryption 'psk2'

config wifi-iface
	option device 'radio0'
	option network 'gw00'
	option mode 'ap'
	option ifname 'gw00'
	option ssid 'CEROwrt+guest'
	option key 'Beatthebloat'
	option encryption 'psk2'

config wifi-iface
	option device 'radio0'
	option network 'gw01'
	option ifname 'gw01'
	option mode 'adhoc'
	option ssid 'babel'
	option encryption 'none'

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11na'
	option path 'pci0000:00/0000:00:12.0'
	option htmode 'HT40+'
	list ht_capab 'SHORT-GI-40'
	list ht_capab 'TX-STBC'
	list ht_capab 'RX-STBC1'
	list ht_capab 'DSSS_CCK-40'
	option disabled '0'
	option channel '44'

config wifi-iface
	option device 'radio1'
	option network 'sw10'
	option ifname 'sw10'
	option mode 'ap'
	option ssid 'CEROwrt5+'
	option key 'Beatthebloat'
	option encryption 'psk2'

config wifi-iface
	option device 'radio1'
	option network 'gw10'
	option mode 'ap'
	option ifname 'gw10'
	option ssid 'CEROwrt+guest5'
	option key 'Beatthebloat'
	option encryption 'psk2'

config wifi-iface
	option device 'radio1'
	option network 'gw11'
	option ifname 'gw11'
	option mode 'adhoc'
	option ssid 'babel'
	option encryption 'none'

root@cerowrt:~#

  parent reply	other threads:[~2013-12-15 15:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-15  5:16 [Cerowrt-devel] Field Report on CeroWrt 3.10.24-1 Rich Brown
2013-12-15 11:33 ` Sebastian Moeller
2013-12-15 11:55   ` Fred Stratton
2013-12-15 12:09     ` Sebastian Moeller
2013-12-15 12:22       ` Fred Stratton
2013-12-15 12:46         ` Toke Høiland-Jørgensen
2013-12-15 14:04   ` [Cerowrt-devel] Field Report on CeroWrt 3.10.24-1/AQM GUI Rich Brown
2013-12-15 15:04   ` Rich Brown [this message]
2013-12-15 18:16 ` [Cerowrt-devel] Field Report on CeroWrt 3.10.24-1 Dave Taht
2013-12-15 19:25   ` Sebastian Moeller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11CFAC43-039C-4EFF-A791-5D672CED50A1@gmail.com \
    --to=richb.hanover@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox