Networking Forums

Networking Forums > Computer Networking > Linux Networking > Best solution to discover NIC at bootup?

Reply
Thread Tools Display Modes

Best solution to discover NIC at bootup?

 
 
Lars Olsson
Guest
Posts: n/a

 
      09-05-2003, 05:37 PM
I would like to auto-probe the
ethernet card when booting up a PC.
I have a kernel without ethernet HW support
and a bunch of modules that I would like to
iterate at bootup in order to find the right one
for the current NIC.
Is there a best solution for this?
TIA


 
Reply With Quote
 
 
 
 
Whoever
Guest
Posts: n/a

 
      09-05-2003, 06:43 PM
On Fri, 5 Sep 2003, Lars Olsson wrote:

> I would like to auto-probe the
> ethernet card when booting up a PC.
> I have a kernel without ethernet HW support
> and a bunch of modules that I would like to
> iterate at bootup in order to find the right one
> for the current NIC.
> Is there a best solution for this?


What's wrong with just attempting to load all the modules?


 
Reply With Quote
 
Lars Olsson
Guest
Posts: n/a

 
      09-05-2003, 06:50 PM
How?

"Whoever" <(E-Mail Removed)> wrote in message
news:Pine.LNX.4.44.0309051142480.12231-100000@c941211-a...
> On Fri, 5 Sep 2003, Lars Olsson wrote:
>
> > I would like to auto-probe the
> > ethernet card when booting up a PC.
> > I have a kernel without ethernet HW support
> > and a bunch of modules that I would like to
> > iterate at bootup in order to find the right one
> > for the current NIC.
> > Is there a best solution for this?

>
> What's wrong with just attempting to load all the modules?
>
>



 
Reply With Quote
 
Whoever
Guest
Posts: n/a

 
      09-05-2003, 08:22 PM
On Fri, 5 Sep 2003, Lars Olsson wrote:

> How?
>
> "Whoever" <(E-Mail Removed)> wrote in message
> news:Pine.LNX.4.44.0309051142480.12231-100000@c941211-a...
> > On Fri, 5 Sep 2003, Lars Olsson wrote:
> >
> > > I would like to auto-probe the
> > > ethernet card when booting up a PC.
> > > I have a kernel without ethernet HW support
> > > and a bunch of modules that I would like to
> > > iterate at bootup in order to find the right one
> > > for the current NIC.
> > > Is there a best solution for this?

> >
> > What's wrong with just attempting to load all the modules?
> >
> >


1. Please don't top-post. It is considered bad etiquette.
2. It may depend on your distribution (Redhat, Debian, etc) but first use
the documentation. Run:
man modules.conf
man modprobe
Go from there -- you may need to read more man files. Look for "SEE ALSO"
near the end of the man file.


>
>
>


 
Reply With Quote
 
Jem Berkes
Guest
Posts: n/a

 
      09-06-2003, 02:47 AM
> I would like to auto-probe the
> ethernet card when booting up a PC.
> I have a kernel without ethernet HW support
> and a bunch of modules that I would like to
> iterate at bootup in order to find the right one
> for the current NIC.
> Is there a best solution for this?


If the ethernet cards are PCI, they will show up with such a command:

cat /proc/pci | grep -i eth -B 1 -A 2

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Discover Source IP wilson_eldritch Linux Networking 1 05-14-2008 09:09 PM
Discover IP range Gianluca Wireless Internet 1 11-14-2006 05:05 PM
DHCP Discover Messages Ignored Andy Windows Networking 1 11-07-2005 05:37 PM
discover which card did pxe in initrd ittay.dror@gmail.com Linux Networking 0 02-15-2005 07:27 AM
Discover DHCP Evert Carton Linux Networking 3 04-14-2004 07:27 AM



1 2 3 4 5 6 7 8 9 10 11