How to find an Ethernet module name in Slackware 10.0?
Jimmy Green
greenj-PeCUgM4zDv73fQ9qLvQP4Q at public.gmane.org
Thu Dec 9 20:56:59 UTC 2004
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
More information about the Legacy
mailing list