Ignore:
Timestamp:
2011-02-13T03:52:49+01:00 (6 years ago)
Author:
nbd
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/soloscli/Makefile

    r23619 r25510  
    3838        $(INSTALL_DIR) $(1)/usr/bin 
    3939        $(INSTALL_BIN) $(PKG_BUILD_DIR)/soloscli/soloscli $(1)/usr/bin/ 
     40        $(INSTALL_DIR) $(1)/etc/hotplug.d/atm 
     41        $(INSTALL_DATA) ./files/etc/hotplug.d/atm/15-solos-init $(1)/etc/hotplug.d/atm/ 
    4042endef 
    4143 
Note: See TracChangeset for help on using the changeset viewer.