Posts Tagged ‘RPM’

Extract RPM (RedHat) packages

July 9th, 2017 No comments

To extract a RPM package without installing it:

rpm2cpio foo.rpm | cpio -idmv
Categories: [EN] Snippets Tags: , ,

Disable automatic NIC renaming on Fedora

August 18th, 2013 Comments off

On Fedora I had some trouble with the so-called “predictable network interface names” feature and a rather complex network configuration. Good to know: There is an easy way to disable this feature by removing a RPM package:

# rpm -qa biosdevname

# rpm -ev biosdevname-0.4.1-4.fc19.x86_64
Preparing packages…

Now reboot your server, re-configure networking and everything should be working in the right way. Of course, you have already disabled the terrible NetworkManager, don’t you?

Update: The above step only works for Fedora 17 or udev versions before 2.0. When running udev 2.0+ or Fedora 18+ you need an additional step:

touch /etc/udev/rules.d/80-net-name-slot.rules

There is an article on the Debian Wiki describing this and other “improvements” in udev 2.0.

Categories: [EN] Snippets Tags: , , ,