Network configuration via usb, 3 network configuration via usb – Doremi LE100 User Manual

Page 19

Advertising
background image

LE1.OM.002066.DRM

Page 19 of 52

Version 1.1

Doremi Labs

5.3 Network Configuration via USB

This method should be used to “rescue” the device in case the IP address is lost or forgotten.

To update the network configuration with a USB flash drive:

Create a directory "doremi" at the root of the USB key

Create a directory "update" inside the /doremi/ directory

Create a directory "network" inside the /doremi/update/ directory

Create a text

file inside the “network” directory and name it “ifconfig.0”. This will be used

to configure Ethernet port 0.

For static IP, enter the following information in the “ifconfig.0” file (replacing the items in
bold with your desired settings):

o interface: eth0
o ip: 192.168.9.10
o mask: 255.255.255.0
o gateway: 192.168.9.1

For DHCP use the following format:

o interface: eth0
o ip: dhcp

Create a second file inside the “network” directory and name it “ifconfig.1”. This will be
used to configure Ethernet port 1.

For static IP, enter the following information in the “ifconfig.1” file (replacing the items in
bold with your desired settings):

o interface: eth1
o ip: 192.168.9.10
o mask: 255.255.255.0
o gateway: 192.168.9.1

For DHCP use the following format:

o interface: eth1
o ip: dhcp

(optional)

Create a file and name it “ntp” with the following format. Replace items in bold

with your desired settings.

o NTPSERVERS="server1.ntp.org server2.ntp.org"

(optional)

Create a file and name it “dns” (required for NTP) with the following format.

Replace items in bold with your desired settings.

o Nameserver 172.17.16.1
o nameserver 8.8.8.8
o search rnd.doremilabs.fr
o domain rnd.doremilabs.fr

WARNING: When creating these configuration files, make sure that the files do not have any
extensions (e.g., .txt, .doc), which are the default for some operating systems.

Advertising