Modify

Opened 23 months ago

Last modified 23 months ago

#22113 new defect

wlan1 on Archer C7 not enabled

Reported by: war@… Owned by: developers
Priority: high Milestone:
Component: base system Version: Chaos Calmer 15.05
Keywords: hostapt, wifi Cc:

Description

After upgrade to 15.05.1 the 2.4GHz WiFi does not work anymore.

Syslog:
...
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Configuration file: /var/run/hostapd-phy1.conf
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Line 27: unknown configuration item 'eap_server'
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Line 28: unknown configuration item 'wps_state'
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Line 29: unknown configuration item 'ap_setup_locked'
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Line 30: unknown configuration item 'device_type'
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Line 31: unknown configuration item 'device_name'
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Line 32: unknown configuration item 'manufacturer'
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Line 33: unknown configuration item 'config_methods'
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): 7 errors found in configuration file '/var/run/hostapd-phy1.conf'
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Failed to set up interface with /var/run/hostapd-phy1.conf
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Failed to initialize interface
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): cat: can't open '/var/run/wifi-phy1.pid': No such file or directory
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Command failed: Invalid argument
Sun Mar 27 21:57:39 2016 daemon.notice netifd: radio1 (5311): Device setup failed: HOSTAPD_START_FAILED
...

Most mobile phones require 2.4GHz for WiFi and it is extremely awkward that this broke.

the hostapd-phy1.conf

driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=AT
ieee80211d=1
hw_mode=g
channel=11

ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]

interface=wlan1
ctrl_interface=/var/run/hostapd
ap_isolate=1
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=*
auth_algs=1
wpa=2
wpa_pairwise=CCMP TKIP

###### offensive part starts here
eap_server=1
wps_state=2
ap_setup_locked=0
device_type=6-0050F204-1
device_name=OpenWrt AP
manufacturer=openwrt.org
###### end of offensive part
config_methods=push_button
ssid=*
bridge=br-lan
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=*

Attachments (0)

Change History (2)

comment:1 Changed 23 months ago by anonymous

Forgot to add:

I haven't figured out how the file is created as it is mapped into /tmp/run/.

wlan0 does not suffer these lines but the configuration is the same for both.

comment:2 Changed 23 months ago by anonymous

I found the solution to this issue:

in /etc/config/wireless:

for wlan1, option wps_pushbutton was set to '1'.

changing this to '0' and reboot the router fixed the problem.

I associated this solution from another ticket which seemed related.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.