LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-14-2006, 04:20 PM   #1
angeloio
LQ Newbie
 
Registered: Aug 2004
Location: Athens, Greece
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
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
 
Old 03-14-2006, 04:43 PM   #2
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
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
 
Old 03-14-2006, 04:48 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,982
Blog Entries: 46

Rep: Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nic detection order twistedpair Linux - Hardware 2 01-05-2006 05:27 PM
NIC not found on Shuttle SB83G5 petto Linux - Networking 1 04-23-2005 12:13 PM
Question on load order..Windows first or Linux first? msladybug02 Mandriva 7 03-22-2005 05:29 PM
Switch wireless and wired NIC names sharpie Linux - Wireless Networking 0 09-12-2004 03:18 AM
NIC not found from eth0 on Mandrake 10 VilleK Linux - Networking 1 06-09-2004 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration