Discussion:
[OpenWrt-Users] should wiki page on UCI wireless mention "path" option for "Wifi Devices"?
Robert P. J. Day
2014-11-21 12:22:14 UTC
Permalink
just noticed that the tutorial page on uci wireless, section on
"Wifi Devices" here:

http://wiki.openwrt.org/doc/uci/wireless#wifi.devices

has a table of common options that makes no mention of the "path"
option (since that page seems to concentrate on systems with only one
radio adapter). however, from the ticket system, there's a clear
example of a config file that defines two devices:

https://dev.openwrt.org/ticket/16589#comment:61

one being the 2.4G onboard, the other the 5G PCIe device.

i don't know enough about device configuration yet to want to add
anything to that table, so someone else higher up the food chain is
welcome to take that.

BTW, am i safe in assuming that if one has multiple devices, one
*must* use the "path" option to identify the specific device? if not,
how would that work? thanks.

rday
camden lindsay
2014-11-21 18:23:58 UTC
Permalink
If i remember correctly, from copying images from one device to another,
the 'path' option is automatically generated during some initial boot
voodoo (such as after a 'firstboot')

after a config wipe (firstboot), on the first boot, there are some basic
structures set up automatically- after which you modify the existing
structures.

If i remember correctly, every boot of the system runs a 'wifi detect'.
If no /etc/config/wireless exists, it will create and fill in that file.

After the system has /etc/config/wireless , 'wifi detect' doesn't do
anything

If you remove/rename /etc/config/wireless, and run 'wifi detect'- it will
output (to stdout) the configuration that it would write to
/etc/config/wireless on first boot.

See http://wiki.openwrt.org/doc/uci/wireless#regenerate.configuration for
more info.

Camden
just noticed that the tutorial page on uci wireless, section on "Wifi
http://wiki.openwrt.org/doc/uci/wireless#wifi.devices
has a table of common options that makes no mention of the "path" option
(since that page seems to concentrate on systems with only one radio
adapter). however, from the ticket system, there's a clear example of a
https://dev.openwrt.org/ticket/16589#comment:61
one being the 2.4G onboard, the other the 5G PCIe device.
i don't know enough about device configuration yet to want to add
anything to that table, so someone else higher up the food chain is welcome
to take that.
BTW, am i safe in assuming that if one has multiple devices, one *must*
use the "path" option to identify the specific device? if not, how would
that work? thanks.
rday
_______________________________________________
openwrt-users mailing list
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
Loading...