init-ifupdown: ccimx6ulsbcexpress: Add interfaces file

Adapt the interfaces file to the single wired ethernet available on the
ConnectCore 6UL SBC Express board.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2019-03-04 11:11:05 +01:00 committed by Otavio Salvador
parent 3597f8b063
commit 6093ee4713

View File

@ -0,0 +1,17 @@
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Wired interfaces
auto eth0
iface eth0 inet dhcp
# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.0
network 192.168.7.0
gateway 192.168.7.1