Results 1 to 5 of 5

Thread: [SOLVED] all of my interfaces have moved :-(

  1. #1
    Join Date
    Jan 2006
    Location
    MA, USA
    Beans
    137
    Distro
    Kubuntu 17.04 Zesty Zapus

    [SOLVED] all of my interfaces have moved :-(

    Hi

    Today (Nov 28th) I updated the kernel as requested by ubuntu. Upon reboot, my network interfaces have moved; internet was eth0 and now is eth5; lan was, and still is eth1.

    Code:
    ip link set dev eth5 name eth0
    Will rename it, but on reboot, it reverts to eth5

    Although I have made it work, for historical graphs (mrtg) and stats (vnstat) I would prefer the internet to stay as eth0.

    I see this in the logs:

    Code:
    Nov 28 08:52:31 6cw-server kernel: [   34.766500] eth0: RTL8168b/8111b at 0xf8842000, 00:0a:5e:53:80:f1, XID 38000000 IRQ 221
    Nov 28 08:52:31 6cw-server kernel: [   42.190096] udev: renamed network interface eth0 to eth5
    Any help appreciated in this, or even an explanation as to why this has happened after a few years.

    Steve
    Last edited by sparky-steve; November 28th, 2008 at 10:42 AM.
    Kubuntu 17.04 64bit on a Toshiba C55-B5170 with SSD & 12GB Ram
    Ubuntu Server 17.04 64bit, plus various VirtualBox ubuntus for testing stuff out on.....

  2. #2
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

    Re: all of my interfaces have moved :-(

    Does ifconfig show any other devices?

  3. #3
    Join Date
    Jan 2006
    Location
    MA, USA
    Beans
    137
    Distro
    Kubuntu 17.04 Zesty Zapus

    Re: all of my interfaces have moved :-(

    Yes; I have five network cards in the server (one single NIC, and a quad NIC); they were eth0 and eth1-4 respectively. They are now eth1-4 (no change) and eth5 - there is no eth0.

    As previously stated:

    Code:
    ip link set dev eth5 name eth0
    Will rename eth5 to eth0 until the next reboot; The problem is, this server is my gateway to the world, and more importantly, back in again - I dont want to be in some other country, and a power-cut & UPS shutdown happen, and not be able to get back in again.

    So, I need to either find out how to fix it at boot, or run that code above as soon as the system comes up.

    Cheers for playing
    Kubuntu 17.04 64bit on a Toshiba C55-B5170 with SSD & 12GB Ram
    Ubuntu Server 17.04 64bit, plus various VirtualBox ubuntus for testing stuff out on.....

  4. #4
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

    Re: all of my interfaces have moved :-(

    Have you checked /etc/udev/rules.d/70-persistent-net.rules? It might be defined in there.

  5. #5
    Join Date
    Jan 2006
    Location
    MA, USA
    Beans
    137
    Distro
    Kubuntu 17.04 Zesty Zapus

    Re: all of my interfaces have moved :-(

    Superb - it was in there twice; once for the hard-coded MAC and once for the user-defined MAC (required by ISP).

    All fixed & tested.

    Thanks!
    Kubuntu 17.04 64bit on a Toshiba C55-B5170 with SSD & 12GB Ram
    Ubuntu Server 17.04 64bit, plus various VirtualBox ubuntus for testing stuff out on.....

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •