Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-14-2006, 04:20 PM
|
#1
|
LQ Newbie
Registered: Aug 2004
Location: Athens, Greece
Distribution: Slackware
Posts: 4
Rep:
|
General question about NIC names and order they are found..
Dear all,
I am running a slack with multiple ethernet and wireless interfaces (actualy it does routing).
In the /etc/rc.d/rc.inet1 there are multiple variables for all NICs but I am trying to understand which PCI (or PCMCIA) card will become the eth0 interface, which one will become the eth1, which one the wifi0 etc. The slackbook says: Slackware will startup the interfaces with the information placed here (rc.inet1.conf) in the order they are found. How is this order determined in depth.
Any help is greatly appreciated. Thanx 2 all
|
|
|
03-14-2006, 04:43 PM
|
#2
|
Member
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394
Rep:
|
angeloio,
Are the PCI NIC's all the same brand?
I guess you could go through dmesg and filter out what you need from there. dmesg | grep -i eth should list all the PCI NIC's. You can do the same with wifi0, just substitue it into the command.
Also, in /proc/net/PRO_LAN_Adapters there is some detailed information about the network interfaces. The directory path may differ I guess depending on the brand of your cards. Mine are all Intel, hence the PRO_LAN_Adapters.
Good luck,
-Kristijan
|
|
|
03-14-2006, 04:48 PM
|
#3
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,982
|
Quote:
Originally Posted by angeloio
Dear all,
I am running a slack with multiple ethernet and wireless interfaces (actualy it does routing).
In the /etc/rc.d/rc.inet1 there are multiple variables for all NICs but I am trying to understand which PCI (or PCMCIA) card will become the eth0 interface, which one will become the eth1, which one the wifi0 etc. The slackbook says: Slackware will startup the interfaces with the information placed here (rc.inet1.conf) in the order they are found. How is this order determined in depth.
Any help is greatly appreciated. Thanx 2 all
|
Hi,
You can modify the;
/etc/modules.conf
file to set the order for modular installed drivers. If they are compiled in the kernel you can pass paremeter to the kernel via cli or in the lilo.conf;
ether= parameters to the kernel.
Look here;
http://www.faqs.org/docs/Linux-HOWTO...-HOWTO.html#s2
HTH!
Last edited by onebuck; 03-14-2006 at 04:49 PM.
|
|
|
All times are GMT -5. The time now is 01:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|