LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Changed network card in Debian and now no adapters in "ifconfig" (https://www.linuxquestions.org/questions/linux-networking-3/changed-network-card-in-debian-and-now-no-adapters-in-ifconfig-671893/)

lumix 09-23-2008 05:23 PM

Changed network card in Debian and now no adapters in "ifconfig"
 
If I boot in knoppix the NIC works fine.

MS3FGX 09-23-2008 06:45 PM

What kernel version are you running on the Debian machine? Is it a custom build, or a stock kernel?

perezyanez 09-26-2008 09:17 AM

Sounds like the kernel do not have the driver for the new NIC. Check the kernel's configuration with menuconfig or xconfig, select the driver y compile the kernel again.

lumix 10-13-2008 05:06 PM

As for version, I dunno. Like the profile says, Hardy 8.04 right off the downloadable iso image. If more info is necessary, how can I get it?

As for menuconfig and xconfig, those don't seem to exist in Hardy.

It would also be nice to get a little a little more academic info here. I'd like to understand how the driver is found, where it is loaded, etc.

perezyanez 10-14-2008 08:38 AM

Tips
 
For kernel version:

uname -a


----------------------------------------------------------------------

To execute xconfig or menuconfig, change to the directory where you have the sources of the kernel (maybe /usr/src/linux) and type any of this lines (xconfig need X executing, menuconfig do not need X just ncurses, a graphical library for console):

make xconfig

make menuconfig

If you can not execute menuconfig or xconfig, then you do not have the sources of the kernel, you can download them from Debian or www.kernel.org (official repository). Get the lastest. Unpack it in any directory and read the README file.

Always read the README file, is very inportant to understand what you will do.

If all go fine, you will see a graphical interface driven by menus (menuconfig) or a nice tree (xconfig).

Locate NETWORKING entry

Inside locate NETWORK DEVICE SUPPORT entry

Inside locate your card model inside ETHERNET entry

Select it, save the cahnges and quit.

Always read the README file, is very inportant to understand what you will do.

Until now, you have saved the new config in the .config file.

Now you must build the new kernel with that new configuration. Type:

make

make modules_install

Now you have a brand new kernel that you need install.

Type this lines:

cp /boot/vmlinuz to /boot/vmlinuz.old

cp /src/usr/linux/arch/i386/boot/bzImage /boot/vmlinuz

Modify your boot loader adding a line for /boot/vmlinuz.old, in case the system do not work fine with the new kernel.

Restart your computer

----------------------------------------------------------------------


Give me the maker and model of your NIC (network card)
Give me the version of your kernel.
Which boot loader are you using: GRUB or Lilo?

perezyanez 10-15-2008 09:05 AM

About NETWORK DEVICE SUPPORT
 
Sorry, I have made a mistake with NETWORK DEVICE SUPPORT


NETWORK DEVICE SUPPORT is inside DEVICE DRIVERS


Sorry about that... it was a quick post


All times are GMT -5. The time now is 03:38 PM.