Can someone point me to a howto or faq that will explain the steps needed to
add a new NIC driver? I can obtain the nic driver, but do I need to modify
the kernel & recompile?
Almost all NIC drivers you'd ever need are in the kernel sourceQuote:> Can someone point me to a howto or faq that will explain the steps needed to
> add a new NIC driver? I can obtain the nic driver, but do I need to modify
> the kernel & recompile?
If the NIC driver is in a pre-compiled module, just use insmod.
Yesterday I found a new way to make my system unusable. The old one was like
# cd /lib
# rm libc.so.5 # remove symlink
What I did yesterday was remove all core files from my system...
# find / -name core | xargs rm -v
/dev/core # well, this was not what I wanted to remove...
Oops! Have to re-create it. Easy: use MAKEDEV:
# cd /dev
# ./MAKEDEV std # this re-creates /dev/mem, /dev/zero, /dev/null, /dev/core etc.
!! After this point, the system is unusable. Something (in the shared lib code)
!! relies on the fact that /dev/zero is available. And, in MAKEDEV, it is
!! removed in order to be re-created a short time later. It is not, of course!
!! mknode, ln, cp, tar and almost everything else cannot be executed any more!
!! (Unless it is linked static). #NOTE# This is on an ELF system #
Even Ctrl-Alt-Del won't work any longer, because some of the called programs
(shutdown? halt? reboot?) rely on shared libs.
Maywe we should mention in the FAQ that it is unwise to do a "MAKEDEV std"
in the running system ;-) (you can still do it if you're not in the
currently used /dev, like in
"mkdir /dev/tmpdir; cd /dev/tmpdir; /dev/MAKEDEV std; mv * ..;"
but that's a kludge). I happened to have a second root file system on my
computer which I could boot. :-))
#include <std/dsclm.h> /* SNI SU BS2000 SD43 - Muenchen, W. Germany */
# *icro*oft... The company that finally convinced the world #
# that system crashes are the most natural thing in the world. #
___ __ _ _
/ __|___ / _|___ _ _ | | (_)_ _ _ ___ __
| (_-/ _ \ | _/ _ \ '_| | |__| | ' \ || \ \ /
\___\___/ |_| \___/_| |____|_|_||_\_,_/_\_\