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


On Fri, Nov 21, 2014 at 4:22 AM, Robert P. J. Day <[email protected]>
wrote:

>   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
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to