AnsweredAssumed Answered

The config-file setting of /etc/network/interfaces for a nfs service on iMX6q suffering eth0 not working

Question asked by yoo Liang on May 17, 2016
Latest reply on Jul 26, 2016 by yoo Liang

The config-file setting of /etc/network/interfaces for a nfs service on iMX6q,the platform sabre-auto can't start a eth0 when power in

and the commond $ifconfig typing it will return nothing.

 

root@imx6qsabreauto:~# ifconfig

root@imx6qsabreauto:~#

 

 

setting of /etc/network/interfaces:

 

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

 

# The loopback interface

auto lo

iface lo inet loopback

 

 

# Wireless interfaces

iface wlan0 inet dhcp

        wireless_mode managed

        wireless_essid any

        wpa-driver wext

        wpa-conf /etc/wpa_supplicant.conf

 

iface atml0 inet dhcp

 

# Wired or wireless interfaces

auto eth0

iface eth0 inet static

        address 192.168.3.106

        netmask 255.255.255.0

        gateway 192.168.3.1

# 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                 

                                            

# Bluetooth networking

 

 

when I input ifconfig eth0 up

root@imx6qsabreauto:/etc/network# ifconfig eth0 up

fec 2188000.ethernet eth0: no PHY, assuming direct connection to switch

libphy: PHY fixed-0:00 not found

fec 2188000.ethernet eth0: could not attach to PHY

ifconfig: SIOCSIFFLAGS: No such device

 

and ifconfig eth0

root@imx6qsabreauto:/etc/network# ifconfig eth0  

eth0      Link encap:Ethernet  HWaddr 00:04:9F:03:BC:A9 

          BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

 

please tell me what shuold I change in this file.

 

Regard!

Outcomes