Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I want to add a NIC driver to my kernel (Debian 2.6.18-5-686) , find a doc on how to do this, I did download the linux-2.2.26.tar.bz2 on my Debian box after unzip and untar it, the doc suggested to run make menuconfig but when I do so (or make or mske gconfig or make xconfig. etc..) I get this error:
make: *** No rule to make target `menuconfig'. Stop.
Debian:/usr/src/linux-2.6.27/drivers# make: *** No rule to make target `menuconfig'. Stop.
Do I need some extra application for recompiling a kernel? or standard Debian install is enough! or there is some thing more into it then just downloading the kernel src and untar it?
Thanks for your reply,
I did get the make menuconfig to work.
As I said I want to add a driver for a nic to debian, becuse when I install it, Debian couldn't find a driver for nic and my nic is not in the list of NICs. so I did finsh the install without NIC, and download the proper NIC driver, it has .rpm and the source code. so could you tel me how to install the driver?
The menu is used for deciding what you want compiled into the kernel. You have to specify the modules (drivers) you want loaded in /etc/modules.autoload (or something similar, depending on your distribution).
I did install debian etch (Kernel 2.6.18-5-686) and as I said it does not see the NIC's, the NICs using the tg3.ko drivers, The read my files of the drivers say the kernel 2.6 should recogise the NICs, so I did check the /lib/modules/2.6.18-5-686/kernel/drivers/net/ and yes the tg3.ko is there (/lib/modules/2.6.18-5-686/kernel/drivers/net/tg3.ko), so my question is, why then the nic's are not recognise at the installion?
so I did check the /lib/modules/2.6.18-5-686/kernel/drivers/net/ and yes the tg3.ko is there
The module is "there", but is it loaded? It won't work unless it is loaded.
Check with lsmod | grep tg3
Is it listed?
If not, load the module with sudo modprobe tg3
Then see if your NIC is seen with sudo ifconfig