Setting up an Ethernet Connection for the Intel® Edison Kit for Arduino*





For this example, we are using a USB300M USB Ethernet Adapter.

To set up your Ethernet connection, follow these steps:

  1. Power the Intel® Edison Development Board and connect to the Linux* console via serial port.

  2. Using an Ethernet cable, connect the USB Ethernet adapter to the Ethernet jack. Connect the USB side of the adapter to the Intel® Edison Board. Make sure the switch labeled SW1 is towards the full USB port.

  3. Run the dmesg | tail command to check if the USB Adapter has been detected. At the command prompt, type: dmesg | tail.

    You see the following on the screen:

    [ 5811.013589] usb 1-1: new high-speed USB device number 2 using dwc3-host
    [ 5811.049702] usb 1-1: New USB device found, idVendor=0b95, idProduct=7720
    [ 5811.049734] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 5811.049755] usb 1-1: Product: AX88x72A
    [ 5811.049773] usb 1-1: Manufacturer: ASIX Elec. Corp.
    [ 5811.049792] usb 1-1: SerialNumber: 000001
    [ 5811.445371] asix 1-1:1.0 eth0: register 'asix' at usb-dwc3-host.2-1, ASIX AX88772 USB 2.0 Ethernet, c8:d7:19:d8:02:53
    [ 5812.275656] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 5814.153553] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 5814.160723] asix 1-1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1

  4. After the device is detected, type the following commands at the command prompt to make the network protocol Ethernet DHCP stable, running each as they appear, in this order:

    root@edison:~# systemctl start connman
    root@edison:~# systemctl enable connman
    root@edison:~# connmanctl
    connmanctl> enable ethernet
    Error ethernet: Already enabled
    connmanctl> services
    *AO Wired ethernet_*_cable
    connmanctl> config ethernet_*_cable --ipv4 dhcp
    connmanctl> exit

The connection is now ready. The Ethernet can be disconnected and connected by entering the following commands:

root@edison:~# connmanctl
connmanctl> Disconnect ethernet_*_cable
connmanctl> Connect ethernet_*_cable