This is a session log of installing and configuring a USB to ethernet adapter on a SpycerBox Cell.
Adapter is an off the shelve part:
Belkin USB 2.0 Ethernet Adapter F4U047
Using the ASIX AX88x72A chip.
RHEL 6.4 recognized this by default, didn't need to install drivers separately.
!
! Session log of inserting and configuring a USB > Ethernet adapter on s SpycerBox Cell (sbc-162150037)
!
! Pluggin the addapter into a USB port:
!# tail -f /var/log/messages
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: new high speed USB device number 2 using xhci_hcd
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: New USB device found, idVendor=0b95, idProduct=7720
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: Product: AX88x72A
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: Manufacturer: ASIX Elec. Corp.
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: SerialNumber: 0BBB25
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: configuration #1 chosen from 1 choice
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: ep 0x82 - rounding interval to 32768 microframes, ep desc says 0 microframes
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: ep 0x3 - rounding interval to 32768 microframes, ep desc says 0 microframes
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: ep 0x82 - rounding interval to 32768 microframes, ep desc says 0 microframes
Aug 14 12:43:14 sbc-162150037 kernel: usb 3-4: ep 0x3 - rounding interval to 32768 microframes, ep desc says 0 microframes
Aug 14 12:43:14 sbc-162150037 kernel: eth1: register 'asix' at usb-0000:00:14.0-4, ASIX AX88772 USB 2.0 Ethernet, 00:50:b6:0b:bb:25
Aug 14 12:43:14 sbc-162150037 kernel: usbcore: registered new interface driver asix! it got registered as eth1
# ll /sys/class/net
lrwxrwxrwx 1 root root 0 Aug 12 09:03 eth0 -> ../../devices/pci0000:00/0000:00:19.0/net/eth0
lrwxrwxrwx 1 root root 0 Aug 14 12:43 eth1 -> ../../devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/net/eth1
lrwxrwxrwx 1 root root 0 Aug 12 02:02 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 Aug 12 09:03 sbc0 -> ../../devices/virtual/net/sbc0# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:33:00:C9:E2
inet addr:10.0.0.5 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:33ff:fe00:c9e2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:588915 errors:0 dropped:0 overruns:0 frame:0
TX packets:674471 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:111792205 (106.6 MiB) TX bytes:206432959 (196.8 MiB)
Interrupt:20 Memory:f7f00000-f7f20000eth1 Link encap:Ethernet HWaddr 00:50:B6:0B:BB:25
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6162136 errors:0 dropped:0 overruns:0 frame:0
TX packets:6162136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:535155887 (510.3 MiB) TX bytes:535155887 (510.3 MiB)sbc0 Link encap:Ethernet HWaddr 00:90:B8:1D:BC:5B
inet6 addr: fe80::290:b8ff:fe1d:bc5b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)! create config file for eth1
# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
NAME=eth1
BOOTPROTO=dhcp
ONBOOT=yes
NM_CONTROLLED=no
IPV6INIT="yes"
MTU="1500"
TYPE="Ethernet"! bring up eth1
# ifup eth1
Determining IP information for eth1... done.
! does it work?# ping www.yahoo.com
PING fd-fp3.wg1.b.yahoo.com (206.190.36.45) 56(84) bytes of data.
64 bytes from ir1.fp.vip.gq1.yahoo.com (206.190.36.45): icmp_seq=1 ttl=50 time=34.1 ms
64 bytes from ir1.fp.vip.gq1.yahoo.com (206.190.36.45): icmp_seq=2 ttl=50 time=33.3 ms
64 bytes from ir1.fp.vip.gq1.yahoo.com (206.190.36.45): icmp_seq=3 ttl=50 time=33.7 ms
^C
#
0 Comments