How to find an Ethernet module name in Slackware 10.0?

Frank Peng frank_peng_01-/E1597aS9LQAvxtiuMwx3w at public.gmane.org
Fri Dec 10 01:50:45 UTC 2004


Thank you guys!

I found out that the D-Link DFE530TXS card is using
8139too module.The same as another RealTek 8139D card.
So I did

alias eth0 8139too
options 8139too io=0x5000 irq=11
alias eth1 8139too
options 8139too io=0x8e00 irq=10

I used ifconfig eth1 to figuour out the above
parameter. But still it cannot boot at boot time.

So I changed the rc.inet1.conf as following:

eth1:

IPADDRESS="10.0.0.1"
MASK="255.255.255.0"
DHCP=""
...

When I reboot the computer, I can find both eth0 and
eth1 up!

But this is useless because I want one card to hook up
Internet and another one to the hub.

So I took one of the card out and set up this computer
as a Linux workstation. It works fine. 
I have 5 other Slackware 10.0 server/routers. So leave
this alone. 

Thank you guys anyway!

Frank Peng.

 




--- Jimmy Green <greenj-PeCUgM4zDv73fQ9qLvQP4Q at public.gmane.org> wrote:

> 
> 
> Frank Peng wrote:
> > Hello, gurus!
> > 
> > When I ifconfig, I can find eth0 there. No eth1. 
> 
> ifconfig -a shows all; ifconfig shows only those
> currently up.
> 
> > When
> > I ifconfig eth1 0.0.0.0 then ifconfig, I can see
> both
> > eth0 and eth1 there. I have configured
> rc.inet1.conf
> > for the eth1 interface as:
> > 
> > IPADDRESS="10.0.0.1"
> > MASK="255.255.255.0"
> > GATEWAY=""
> > DHCP="yes"
> > ...
> > 
> > My guess is that the rc.inet1 program failed to
> bring
> > the eth1 up.
> > 
> > When I dmesg, I can see one card is RealTek 8139.
> The
> > other one is D-Link DFE-530 TXS FAST. When I
> lnsmod, I
> > can seee 8139too there but no clue for the D-Link
> > card. 
> > 
> > Now, please enlighten me, what is the module name
> for
> > the D-Link card. It is already detected. Why we
> cannot
> > find the module name? It is probed in the kernel,
> not
> > my the rc.modules? If so, how can we do something
> like
> > alias eth0 8139too
> > alias eth1 ????
> > in /etc/modules.conf ? 
> > 
> 
> the kernel autoprobe is likely returning after
> finding the first card
> 
> see: BootPrompt-HOWTO
> 
> " Most Linux
>    distributions use a bare bones kernel combined
> with a large selection
>    of modular drivers.  The ether= only applies to
> drivers compiled
>    directly into the kernel."
> 
> specifying ether=... as a _boot_parameter_ does not
> work with modules,,,
> but it does work if a given driver is in the kernel.
> 
> when you load the correct module, i _think_ that
> your eth1 device
>    may still point to nowhere..., as it does now...
> 
> 	"ifconfig eth1 0.0.0.0 then ifconfig, I can see
> both
> 	 > eth0 and eth1 there"
> 
> a device (eg:eth1) is just a terminus like a mount
> point,,,
> the kernel has to reference hardware_port ---> eth1
> during init
> 
> you may have to compile the driver into the kernel
> for multihoming.
> i defer to the wiser to for a better explanation...
> 
> > It seems we should not do any like that in
> Slackware
> > 10.0. I am totally lost. 
> > 
> > Thank you!
> > 
> > Frank Peng. 
> > 
> > 
> 
> 
> -- 
> to bring heed and grate to halt try for (ms = -1 ;
> timetravel(ms) ; ms++) { ; }
> if your keyboard is _really_ slow, you should get to
> the second itteration ...
> PS, if X implements better method, endless echo
> "thanks" ; timetravel 0 <Enter>
> 
> Jimmy
> 
> --
> The Toronto Linux Users Group.      Meetings:
> http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text
> below 80 columns
> How to UNSUBSCRIBE:
> http://tlug.ss.org/subscribe.shtml
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list