[Grml] discover and rtl8111 ethernet

Michael Prokop mika at grml.org
Fri Dec 15 01:23:13 CET 2006


* Markus Wigge <mwigge at marcant.net> [20061214 11:15]:

> I compiled an r1000.ko module for my PXE bootenvironment and added it to
> the initrd image but I don't understand the discover tool yet, so I just
> added r1000 to the discovered result as dirty hack...

> Is there a possibility to discover the hardware automagically?

grml-terminalserver of grml 0.9 uses another approach. I rewrote the
NIC handling stuff. So nowadays we don't use discover anymore but
instead use automatic driver probing/loading.

See /usr/share/grml-terminalserver/linuxrc - online available at:
http://hg.grml.org/grml-terminalserver/file/62a523889b2a/linuxrc

and /usr/sbin/grml-terminalserver-config - online available at:
http://hg.grml.org/grml-terminalserver/file/62a523889b2a/grml-terminalserver-config
line 184ff.

So AFAICS all you would have to do is use grml 0.9 and create a
symlink to the r1000 module:

# ln -s /lib/modules/2.6.18-grml/misc/r1000.ko /lib/modules/2.6.18-grml/kernel/drivers/net/r1000.k

and (re-)create the initrd image afterwards. Or incorporate the few
lines of NIC handling code into your own image.

If you have any enhancements on the initrd/linuxrc/terminalserver
you think might be useful for mainline grml please feel free to
submit them.

JFTR: I built and uploaded grml-kerneladdons-2.6.18_0.5_i386.deb to
the grml-repos (grml-testing) which includes the above symlink as
well.

regards,
-mika-
-- 
You like grml?  Help us!      http://grml.org/donations/
Already on the grml-user-map? http://www.frappr.com/grmlusers
The Grml Planet               http://planet.grml.org/
Grml Solutions                http://solutions.grml.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20061215/3d67efd6/attachment-0004.pgp>


More information about the Grml mailing list