RHEL/CentOS 7 uses SystemD predictable network interface names. This post shows you how to rename a network interfcae to eth0,/em>without modifying the kernel commnad line or any udev rules, and without requiring a sytem reboot.
|
||
RHEL/CentOS 7 uses SystemD predictable network interface names. This post shows you how to rename a network interfcae to eth0,/em>without modifying the kernel commnad line or any udev rules, and without requiring a sytem reboot. Recently I installed Fedora 15 on a standalone system to do some testing. This system has ASUS motherboard with a single integrated Atheros 8131 Gigabit Ethernet NIC. Here is the relevant output from ipconfig -a: p33p1 Link encap:Ethernet HWaddr E0:CB:4E:1A:F6:D5 inet addr:192.168.0.114 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::e2cb:4eff:fe1a:f6d5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:62680 errors:0 dropped:0 overruns:0 frame:0 TX packets:37533 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:94004479 (89.6 MiB) TX bytes:2446588 (2.3 MiB) Interrupt:44 I expected to see eth0; instead the NIC was named p33p1. The lsmod utility showed that the correct kernel module, i.e. atl1c.ko, was Udisks is a means of enumerating disk and storage devices on Linux platforms and performing various operations on them. This post describes the technology behind udisks, the history of udisks, how to monitor udisks events and some simple operations you can do using udisks. Udisks and udev are related. Normally, as you can see from the above examples, when a new USB stick or DVD inserted, it is automatically mounted and the file manager is displayed. Suppose, instead, that you want that USB stick or DVD to be ignored and not mounted. How would you configure your system to do this? While researching how to disable the automatic mounting of devices for a Linux kiosk project I was working on, I spent a number of hours on the Internet reading purported solutions to the problem. The majority of the solutions (probably 99%) simply did |
||
Copyright © 2007-2023 Finnbarr P. Murphy. All Rights Reserved |