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.
Hi.
Just completed installing Xubuntu 9.04 to my old Dell Latitude CPi (thanks snowpine) and it seems to be working quite well. However I need to assign interface eth0 to my pcmcia network card (as opposed to eth1 or eth2). I have two cards to try out. One of them comes up as eth1 and the other as eth2. There is no eth0 listed when I run ifconfig -a. There is no built-in network cards on the laptop, so I don't know why it won't assign eth0 to either of the cards.
Would greatly appreciate any guidance on how to assign eth0 to either of the two PCMCIA network cards. Thanks.
Not sure how this works on Xubunutu but in Redhat to keep the ethX assignation correctly assigned we have to edit the /etc/sysconfig/network-scripts/ifcfg-ethX file and ensure the mac address is assigned in the file, I.e.
Thanks Stuart. I'll give it a shot this evening. In the mean time, do you know if that will work with PCMCIA network cards? I ask because based on my further reading it appears that the interface numbers are assigned based on boot priority. If PCMCIA loads after networking then its number gets incremented by one. Maybe the /etc/sysconfig/network-scripts/ifcfg-ethX file will overwrite this automatic config assignment?
Turns out that /etc/sysconfig doesn't exist on xubuntu. Searched around a bit and found the /etc/network/interfaces file, which might be useful, however I'm not sure of the systax required or if I can use that file to designate eth0 to a specific mac address. Any suggestions?
Finally found a solution to the problem. Configuration settings are in /etc/udev/rules.d/70-persistent-net.rules. Once there I swapped the interface names between eth0 and eth2. Now my pcmcia network card comes up as eth0.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.