Справочник Пользователя для Intel Corporation ND1

Скачать
Страница из 24
 
Linux Configuration 
 
 
Intel® Edison 
Quick Start Guide 
 
September 2014 
14  
Intel Confidential
 
Document Number: EQSG-ww29 
4   
Linux Configuration 
Complete these one-time instructions to configure your Intel® Edison board forLinux.  
4.1 
Connect through USB/UART 
 
Initial setup 
4.1.1
If you do not have a terminal program that can connect to a UART interface such as PuTTY, minicom, teraterm, or 
screen, you will need to install one. For the sake of simplicity, we will be using screen in this guide. 
Ubuntu: 
sudo apt-get install screen 
 
Connecting to Edison 
4.1.2
Connect a USB cable from your host computer to the Intel® Edison board’s micro USB receptacle (J3), in the lower 
right corner of the board (as shown in Figure 6).  
Using a terminal program (such as PuTTY, minicom, teraterm, screen, etc.), enter a command to connect to the 
board. If multiple UART devices are not connected, the Edison UART interface will be enumerated as /dev/ttyUSB0. 
Baudrate should be set at 115200. 
For example, with screen.  
sudo screen /dev/ttyUSB0 115200 
4.2 
Connect through RNDIS 
 
Initial setup 
4.2.1
Add the following lines to /etc/network/interfaces 
allow-hotplug usb0 
auto usb0 
iface usb0 inet static 
       address 192.168.2.1 
       netmask 255.255.255.0 
        
Restart networking service using: /etc/init.d/networking restart 
 
Modifying this file will have a side-effect that usb0 network interface will be configured each time for the next 
Note:
PC reboot. If the board is up and running, the USB interface will be found; if the board is not running, it won't. 
Sometimes this will cause the system to hang for a while as Ubuntu boots, trying to configure the network. After 
a successful boot, eth0 might fail to be configured. If this happens, a workaround is to manually start network 
manager from terminal:   
 
$ sudo service network-manager start 
If this process does not work, there is an alternative (and perhaps easier) method on Ubuntu, using the GUI to edit 
the network connections. After flashing the device, Ubuntu will automatically register a new wired connection. 
Network connections can be viewed in the top right of the status bar. Click Edit Connections from the dropdown 
menu, as shown in Figure 7.