Opened 3 years ago

Last modified 22 months ago

#17585 reopened defect

Cannot scan in Luci on WNDR3700 - radio0 used instead of wlan0

Reported by: greenfeld@… Owned by:
Priority: normal Milestone: Barrier Breaker 14.07
Component: luci Version: Barrier Breaker 14.07
Keywords: Cc:


I cannot scan in Luci to see what Wifi stations are nearby on a WNDR3700v1. This is from the "Network / Wifi" (admin/network/wireless) web page.

All that is seen when the "Scan" button for either radio is clicked is the Luci UI header followed by a blank page.

This is with a release candidate 3, factory-NA install where all the settings from the previous OpenWRT installation presumably were lost & manually re-entered.

In /etc/config/wireless and the UI, the Atheros radios in the device are listed as radio0 and radio1. But with the "ifconfig" command, the Wifi interfaces are named wlan0, wlan0-1 (second SSID), and wlan1.

So the UI wants to use the URL:
http://{IP}/cgi-bin/luci/;stok={token}/admin/network/wireless_join?device=radio0 (or radio1)

But this URL seems to be the one that actually works:
http://{IP}/cgi-bin/luci/;stok={token}/admin/network/wireless_join?device=wlan0 (or wlan1)

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by greenfeld@…

Elsewhere in Luci, the URLs of the form

Have pages titled in the form:
Wireless Network: Master "{network name}" (wlan#)

So it is not like the UI is completely oblivious to the wlan# nomenclature.

None of the files in /etc/config/ contain the word "wlan" in them.

comment:2 Changed 3 years ago by nirvana

Any update on this? I am facing issue as well. However when using wlan0-1 in device=wlan0-1 shows the below error:

/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute call dispatcher target for entry '/admin/network/wireless_join'.
The called action terminated with an exception: attempt to index local 'wdev' (a nil value)
stack traceback:

[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>

comment:3 Changed 3 years ago by jow

It is expected to get such errors if you pass an invalid device. So what is the actual error? You get no scan results with device=radio0 ? Whats reported by "iwinfo radio0 scan" on the commandline?

comment:4 Changed 3 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:5 Changed 22 months ago by tiliarou@…

  • Resolution no_response deleted
  • Status changed from closed to reopened

I'm having exactly the same issue in the kirkwood generic built for viper (EA4500).
Can't figure a way to show the networks whereas iw dev wlan0 scan is perfectly working in SSH...

Add Comment

Modify Ticket

as reopened .

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

Note: See TracTickets for help on using tickets.