This article explains how to use some USB to Ethernet adapters on your CORE9G25 Boards

The USB to Ethernet adapter tested, based on ASIX AX88772B chips, are:

Insert the USB to Ethernet module to the board

Insert the USB to Ethernet adapter on your CORE9G25 Board USB port. These messages should appear on the debug port or by typing dmesg command:

USB miniadapter message

# usb 1-1: new high-speed USB device number 2 using atmel-ehci
usb 1-1: New USB device found, idVendor=0b95, idProduct=772b
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: AX88772B
usb 1-1: Manufacturer: ASIX Elec. Corp.
usb 1-1: SerialNumber: 000019
asix 1-1:1.0: eth1: register 'asix' at usb-700000.ehci-1, ASIX AX88772 USB 2.0 Ethernet, 10:60:6e:50:12:f9

If you don't obtain these messages you will probably have to update Kernel uImage file.

When you get the right messages try to type this command:

# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 10:60:6E:50:12:F9  
          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)

which provides info about the wireless extensions of each network adapter (in this case eth1).

Network configuration

Then Edit the /etc/network/interfaces file with the follow word, then you can boot the board with the ethernet preset.

Set the eth1 for DHCP when booting

auto eth1
iface eth1 inet dhcp

Set the eth1 for Static IP address when booting

auto eth1
iface eth1 inet static
address 192.168.1.142
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1

Test the Wifi Network

Reboot the board, then it will connect the wifi Router as your configure. run the follow command to test it.

# ifconfig 
eth1      Link encap:Ethernet  HWaddr 10:60:6E:50:12:F9  
          inet addr:192.168.1.172  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::1260:6eff:fe50:12f9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24 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:6398 (6.2 KiB)  TX bytes:1334 (1.3 KiB)       
关注我们: 微博

销售邮箱:market@armdevs.com
技术支持: support@armdevs.com
销售电话: +86-755-29638421


核风在线支持>
在线时间:09:00-18:00
Copyright @ 2014 to 2020 - 核风智能技术有限公司