soloscli: allow user to apply settings to solos h/w before bringing up network (patch...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 13 Feb 2011 02:52:49 +0000 (02:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 13 Feb 2011 02:52:49 +0000 (02:52 +0000)
commit75a9c3de464a540a367c89e78ba296080178b64f
treea5a0849478e7cc1a641623497bfb4c5e33f02a55
parentd5835d2a20a2c67c12ecc84ef90655416f9998c5
soloscli: allow user to apply settings to solos h/w before bringing up network (patch by Philip Prindeville)

If the network/wan configuration contains "solos0" ... "solos3" then this list of strings will be applied to the FPGA when the hardware is hotplug added.

The syntax should be "tag=value", as per the values enumerated in the solos-attr.c list.

In the canned example, the modem is temporarily turned off, told to detect noise, told to disable annexes M and A (effectively putting it into pure ADSL mode), and re-activated.

There's probably a more appropriate function name than "dialog" but that's what I came up with.

Handle other ATM hardware (Eagle, etc) besides solos-pci.

SVN-Revision: 25510
package/soloscli/Makefile
package/soloscli/files/etc/hotplug.d/atm/15-solos-init [new file with mode: 0644]
package/soloscli/files/etc/uci-default/solos [new file with mode: 0644]