LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   kernel 2.6 network problem (https://www.linuxquestions.org/questions/debian-26/kernel-2-6-network-problem-354595/)

kakk 08-18-2005 12:08 PM

kernel 2.6 network problem
 
Hello!

I have a problem with network. It works just fine with kernel 2.4, but 2.6 simply refuses to get any information from dhcp server. It begun during the installation (sarge) already. 2.6 didn't find the network so I installed the 2.4 and it works just fine. I have tried newer versions of kernel as well (2.6.11, 2.6.12) but no difference.

Can someone help me were to start searching the reason for such behaviour? My network card is quite common realtek PCI. I have a static IP given by the dhcp server by the network card ID, if that changes anything.

Any help would be really appreciated.

changcheh 08-18-2005 10:38 PM

Did you compile the kernel yourself?

If you did the easiest way to make sure the network works is to copy the config file from the 2.4 kernel to the 2.6 kernel sources directory and do a "make oldconfig". This will copy all your tweaks from 2.4 and ask you what to do with the new options form 2.6.

Johnny

JimBass 08-18-2005 10:57 PM

I had that same problem with a 3com card and the 2.6 kernel. Worked fine in 2.4, but 2.6 wouldn't work. Turned out to be a power issue. To fix it, I had to pass the command acpi=off in the grub menu.lst file. You can read the whole thread here http://www.linuxquestions.org/questi...hreadid=242786

Also, check your dmesg and see if you are getting a similiar error to what I had in my link above.

Also for clarity sake, DHCP where you always get the same address is still DHCP. The only difference is the server always gives your MAC address the same IP. All the DHCP stuff needs to work for you to get that adress however. A static address is only truly static when it is declared by your machine itself, and no other machine has the possibility of changing it.

Peace,
JimBass

kakk 08-19-2005 04:37 AM

Quote:

Originally posted by JimBass
I had that same problem with a 3com card and the 2.6 kernel. Worked fine in 2.4, but 2.6 wouldn't work. Turned out to be a power issue. To fix it, I had to pass the command acpi=off in the grub menu.lst file.

Thank's a lot, this acpi=off thing works.


All times are GMT -5. The time now is 09:58 AM.