Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My server was working fine, but since i set up a new NIC, i got this problem:
my 3rd interface got dev$RANDOM name when eth2 was expected.
i'm trying to rename a interface label from dev$RANDOM to eth2, but i got this message:
# nameif eth2 00:50:BF:38:xx:xx
cannot change name of dev28022 to eth2: Device or resource busy
#
The problem is:
# ifconfig |grep HWaddr |cut -f 1 -d ' '
dev28022
eth0
eth1
I have NO eth2.
Checking boot logs i found this suspect information:
kernel: eth0: RealTek RTL8139 at 0xd000, 00:50:bf:38:99:23, IRQ 10
kernel: eth1: RealTek RTL8139 at 0xd400, 00:08:54:17:82:c6, IRQ 11
kernel: eth2: VIA Rhine II at 0xef003000, 00:0f:ea:a1:9c:85, IRQ 11.
This is getting right on the edge of my knowledge so what I say may or may not be good info. I once experienced something sort of like this
and had to mess around with the udev configuration. Udev caches stuff that it sees for later use and retains that setting, if untouched,
forever. Did you *EVER* have an interface that registered as "eth2"? If so, that may be the reason why it's refusing to allow it. I can't
remember which file contains the udev cache, you'll have to look at the documents, but I'm willing to bet from past experience and what you're
saying that your problem lies there.
Hi storkus,
yes, it aways "hold" the name 'eth2'.
I've been searching about 'udev cache', but without lucky.
I fix the problem using the correct name detected at boot time, configuring hwconf,modprobe and ifcfg files.
Its a way to solve another problem my internet NIC hang, causing lost of connection to internet.
Investigating the problem I found this problem yesterday, now i'm looking the new scenario to know if this is the solution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.