init-ifupdown: ccimx6ulsbcpro: Add interfaces file

The ConnectCore 6UL SBC Pro has two wired ethernet interfaces. This commit
adds an interfaces file with both eth0 and eth1 interfaces.

Note that the ethernet interface that is enabled in U-Boot is the eth1
interface in the Linux kernel.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2019-01-24 17:39:48 +01:00 committed by Otavio Salvador
parent daaa2362e7
commit b4d2c84622

View File

@ -0,0 +1,18 @@
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Wired interfaces
auto eth1
iface eth0 inet dhcp
iface eth1 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