Ubuntu
NOTE: You should have the usbnet module available for your Linux kernel. On most distributions, this is the case by default. If this is not the case for your distribution, you will need to enable USB networking support in the kernel.
- In the file /etc/network/interfaces, you should add:
iface usb0 inet dhcp
- Plug an USB Type-A to USB Type-A mini cable between your host PC and the USB OTG from IGEP device.
- Type in a terminal:
$ sudo ifup usb0
- then you should got the following info:
-
- usb0 Link encap:以太网 硬件地址 66:37:7d:ff:b3:2c inet 地址:192.168.100.10 广播:192.168.100.255 掩码:255.255.255.0 inet6 地址: fe80::6437:7dff:feff:b32c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:361 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:813 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:40879 (40.8 KB) 发送字节:90969 (90.9 KB)
- if you didnot got the info, you should first reboot the pcduino3, then type ifconfig again
if you got the inet 地址:192.168.100.10
you can ssh to your pcduino3 by the following: the default password is ubuntu
ssh ubuntu@192.168.100.1