Hello,
The intention is to rename a NIC. This particular card is a 10Gbit Chelsio using the cxgb4 driver.
I made an entry into /etc/udev/rules.d/70-persistant.rules which doesn't seem to work as expected when the system is coming up. The interface comes up with the 'old' name.
After the system is up if I do a "rmmod cxgb4 && modprobe cxgb4", the interface comes up with the name we wish to use.
Is there a way I can correct this? I've changed the names of other interfaces and never experienced this issue before, not sure which is the best way to correct.
greg
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
udev rule not 'used' till after reloading module
Re: udev rule not 'used' till after reloading module
i'm guessing the module is being loaded before the udev rule executes.
maybe you can make that rmmod && insmod part of the udev rule?
does seem a bit hackish though.
can't you post the rule in question?
maybe you can make that rmmod && insmod part of the udev rule?
does seem a bit hackish though.
can't you post the rule in question?
- ralph.ronnquist
- Posts: 342
- Joined: 2015-12-19 01:07
- Location: Melbourne, Australia
- Been thanked: 6 times
Re: udev rule not 'used' till after reloading module
Did you rebuild initrd after having fixed the rule file?
Otherwise it's not in the pre-pivot udev environment (in initrd), which is used when the module is first loaded.
Code: Select all
# update-initramfs -u -k all