9.2. USB Ethernet device activation

The EthernetUSB driver allows activating USB Ethernet device to provide an Ethernet port, using USB port of Abilis.

Use the command a dev:ethusb-x to add the device where x is the hardware device identifier.

[18:06:00] ABILIS_CPX:a dev:ethusb-2

COMMAND EXECUTED 

[18:06:11] ABILIS_CPX:d dev


- Not Saved (SAVE CONF) -------------------------------------------------------

--------------- Active Watchdog and MFxx Resources (read only): ---------------
Device(s)   Run Physical Resource(s)                         SlotId  Addr  Irq
-------------------------------------------------------------------------------
MF          Yes Mf . . . . . . . . . . . . . . . . . . . . .     75   PCI ( 10)
MFIO        Yes MfIo . . . . . . . . . . . . . . . . . . . .     75   PCI ( 10)

------------------ Active PCI Devices and Physical Resources: -----------------
Device(s)   Run Physical Resource(s) or CTI Port(s)          SlotId  Addr  Irq
-------------------------------------------------------------------------------
ASY-1       Yes Async-1  . . . . . . . . . . . . . . . . . .      -   3F8    4
ETH-1       Yes Eth-1  . . . . . . . . . . . . . . . . . . .     18   PCI ( 15)
ETH-2       Yes Eth-2  . . . . . . . . . . . . . . . . . . .     72   PCI ( 15)
ETH-3       Yes Eth-3  . . . . . . . . . . . . . . . . . . .     73   PCI ( 11)
VPOTS-4     Yes 149..164 . . . . . . . . . . . . . . . . . .      -     - (  -)
BSE-1       Yes 31..38, 101..140 . . . . . . . . . . . . . .     74   PCI ( 12)
CELL32-1    Yes 501..532 . . . . . . . . . . . . . . . . . .      -     - (  -)

------------------ Active USB Devices and Physical Resources: -----------------
Device(s)   Run Con Physical Resource(s) or CTI Port(s)    USBPORTID
-------------------------------------------------------------------------------
ETHUSB-1    Yes Yes EthUsb-1 . . . . . . . . . . . . . . . 0.4
ETHUSB-2    No  No  EthUsb-2 . . . . . . . . . . . . . . . NONE
UPS-1       Yes No  Ups  . . . . . . . . . . . . . . . . . NONE
DSLUSB-1    Yes No  Dsl-1  . . . . . . . . . . . . . . . . 0.1
CELLKEY-1   Yes No  501  . . . . . . . . . . . . . . . . . 0.0


-------------- Inactive Watchdog and MFxx Resources (read only): --------------
Device(s)   Run Physical Resource(s)                         SlotId  Addr  Irq
-------------------------------------------------------------------------------
                     *** NO INACTIVE WATCHDOGs PRESENT ***                     

----------------- Inactive PCI Devices and Physical Resources: ----------------
Device(s)   Run Physical Resource(s) or CTI Port(s)          SlotId  Addr  Irq
-------------------------------------------------------------------------------
                     *** NO INACTIVE PCI CARDs PRESENT ***                     

----------------- Inactive USB Devices and Physical Resources: ----------------
Device(s)   Run Con Physical Resource(s) or CTI Port(s)    USBPORTID
-------------------------------------------------------------------------------
                    *** NO INACTIVE USB DEVICEs PRESENT ***              
[Caution]Caution

After adding or setting the device active, you must restart the Abilis to make the device running (use the command warm start to reboot the Abilis).

[Tip]Tip

Interesting chapter: Section 74.3, “How to activate a new USB Ethernet port”.

Use the following command to display resource parameters:

[13:01:26] ABILIS_CPX:d p ethusb-2

RES:EthUsb-2 ------------------------------------------------------------------
Run    DESCR:
       LOG:DS            MODE:AUTO         DUPLEX:HALF       max-vlans:0
       MAC-ADDR:FACTORY (00-E0-4C-20-07-17)
       ip-rxbuf:25       arp-rxbuf:5       pppoed-rxbuf:5    pppoes-rxbuf:25

They are the same parameters as for Ethernet port.

The following command allows the administrator to change the configuration of the resource:

s p ethusb-x parameter:value...

[Caution]Caution

To activate the changes made on the upper case parameters, execute the initialization command init res:ethusb-x; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. With warm start command).

[Tip]Tip

Interesting chapter: Section 74.5, “How to assign a VLAN for Ethernet interface”.