2

****Raspberry Pi 3. Ubuntu Mate 16.04.****

I was trying to configure a static IP address for the eth0 interface. I followed this tutorial: https://www.howtoforge.com/linux-basics-set-a-static-ip-on-ubuntu

In the end I get :

foo@bar:~$ ifconfig eth0
eth0: error fetching interface information: Device not found
foo@bar:~$ ifconfig enxc914jv7847d6
enxc914jv7847d6 Link encap:Ethernet  HWaddr c3:13:ac:81:34:e4  
      inet addr:192.168.2.142  Bcast:192.168.2.255  Mask:255.255.255.0
      inet6 addr: aa80::f751:32e3:ced5:ca78/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:12311 errors:0 dropped:0 overruns:0 frame:0
      TX packets:9972 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:9090476 (9.0 MB)  TX bytes:1207456 (1.2 MB)

Evidently the name of the eth0 interface has been changed to some gawdawful alphanumeric string. I prefer if the ethernet interface was named eth0. Why has this happened? More importantly, how to rectify it?

Zanna
  • 70,465
EricVonB
  • 235

0 Answers0