Using Fedora 19, 20 Minimal Install
When using Fedora 19 or Fedora 20 minimal install, you'll notice that some old command doesn't work anymore. Listed below are some of the changes and the essential commands that you may need.
The common network command ifconfig was replaced by ip. Previously you would use the command ifconfig -a to list all the active and inactive network device in your system. Now you can use ip link or ip addr.
Old command to display all network devices (Deprecated)
New Command to display network devices
ip link show
ip link show up
To activate a network device, you can still use the old command ifup and ifdown. You can also use the new command ip link
Command to enable or disable network devices
sudo ifup <device>
sudo ifdown <device>
sudo ip link set <device> up
sudo ip link set <device> down
Network Devices Naming
There is a change in naming network devices. An Ethernet port previously known as eth0 is change to p2p1 or p2s1. WiFi is named wlo1. This is done by the module biosdevname. To disable this naming scheme, you can set biosdevname=0 on the kernel boot command line or yum erase biosdevname.
Systemd/udev also implement a backup naming scheme when biosdevname is not installed. It change eth0 to enp0s3. This system will not activate when biosdevname is available. To disable this naming scheme set net.ifnames=0 at kernel boot command line.
Sysvinit and inittab is being replace by systemd. To manage system services use the command systemctl. Use the command man systemctl to learn how to manage system services
Grub was replaced by grub2. Originally we can manually configure the boot file at /boot/grub; now we can only make changes at /etc/default/grub. After the changes is made, you must run the command grub-update (ubuntu) or grub2-mkconfig(Fedora) with -o /boot/grub2/grub.cfg.
To stop grub2 from configuring other operating system use the command su -. Then, go to /etc/grub.d there are scripts prefixed 00, 10, 20, 30. You need to disable the script that is probing on other operating system. The scripts that probe other OS and add the OS into the grub file is script 30. Use the command chmod -x 30_os-prober to disable the script. Remember to run the grub2-mkconfig for the changes to take effect.
I usually remove the splash screen from the kernel boot command. Previously I would remove the phrase "rhgb" and "quiet" from the grub file /boot/grub. Under grub2, open the file /etc/default/grub. Remove the phrase "rhgb" and "quiet" from the command line. Finally execute the following command for the grub to configure. grub2-mkconfig -o /boot/grub2/grub.cfg.
These are some changes that I've encountered since Fedora 19. It is not comprehensive. If you like to suggest any changes please comment below. Thank you.
Post a Comment