0

I'm running Ubuntu 16.04.3 LTS and need my first interface to be named eth0. That's why I placed the following line in my GRUB config, as suggested by this this question.

GRUB_CMDLINE_LINUX="net.ifnames=0"

The problem is that, after adding this line, Ubuntu hangs at shutdown on

"Stopping Raise network interfaces..."

Syslog/journalctl do not contain any (useful) messages, so I don't know where to start debugging. I've noticed that when I use

systemctl reboot --force

to reboot my system, it doesn't hang.

EDIT

ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:0c:29:b4:7b:a0
      inet addr:192.168.1.99  Bcast:192.168.1.255  Mask:255.255.255.0
      inet6 addr: fe80::20c:29ff:feb4:7ba0/64 Scope:Link
      UP BROADCAST RUNNING  MTU:1500  Metric:1
      RX packets:29046 errors:0 dropped:0 overruns:0 frame:0
      TX packets:20150 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:185897012 (185.8 MB)  TX bytes:5042378 (5.0 MB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:436 (436.0 B)  TX bytes:436 (436.0 B)

cat /etc/network/interfaces:

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
6
  • 1
    And is your first interface named eth0? Please edit your question to add the result of: ifconfig.
    – chili555
    Sep 9, 2017 at 12:45
  • @chili555 yes, my interface is named eth0 after editing my grub config. Sep 9, 2017 at 13:49
  • Is the interface configured in Network Manager or in /etc/network/interfaces? If the latter, may we see the file?
    – chili555
    Sep 9, 2017 at 14:14
  • @chili555 I've added the content of /etc/network/interfaces Sep 9, 2017 at 14:28
  • Are there any better clues if you do: sudo -i followed by: halt ? A systemd problem perhaps?
    – chili555
    Sep 9, 2017 at 15:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.