If your infrastructure has a DHCP server and you want to leverage that, then: $ sudo nano /etc/network/interfaces READ: How To Configure Static IP Address in Ubuntu 18.04 using Netplan For Ubuntu 16.04 / Older DHCP: You can assign an IP address to the system using netplan – a new network configuration tool. READ: Install and configure DHCP server on CentOS 7 / Ubuntu 16.04 / Debian 9 Assign IP Address For Ubuntu 18.04 Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.įound linux image: /boot/vmlinuz-4.4.0-15-genericįound initrd image: /boot/initrd.img-4.4.0-15-genericĮdit the interface file and change the network device name so that you will have a DHCP or static IP address for ethX. $ sudo grub-mkconfig -o /boot/grub/grub.cfg Generate a new grub file using the following command. To: GRUB_CMDLINE_LINUX=" net.ifnames=0 biosdevname=0" Look for “ GRUB_CMDLINE_LINUX” and add the following” net.ifnames=0 biosdevname=0“. Inet6 fe80::20c:29ff:fe05:a3e2/64 scope linkįrom the dmesg command, you can see that the device got renamed during the system boot. $ ip aġ: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 This is just the case of VMware environment, it may vary depends on the hardware but the steps to get back ethX will be the same. If you ever interested in changing interface names to old type ethX, here is the tutorial for you.Īs you can see in the following command, my system is having a network adapter called ens33. READ: Install Ubuntu 16.04 LTS (Xenial Xerus) – Step by Step Guide with Screenshots READ: Install Ubuntu 18.04 LTS (Bionic Beaver) on UEFI and Legacy BIOS System Just after the Ubuntu installation, I came to know that the network interface name got changed to ens33 from old school eth0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |