LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-08-2004, 04:11 AM   #1
neptunus
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Rep: Reputation: 0
[Debian Woody] Network down after compiling new kernel


Hello,

perhaps this is a newbie-question, but I have been using Linux for a short time.

In Debian 3.0 r2 I downloaded the kernel-sources for kernel 2.6.7 and made the configuration via 'make menuconfig' for my specific hardware and requirements.

After 'make clean bzImage modules modules_install' I copied the new kernel-image to the /boot - folder, added the new kernel to /etc/lilo.conf and installed the new boot-configuration via '/sbin/lilo -C /etc/lilo.conf'

When I start the new kernel, my two network-devices (a NIC with rtl8139-chipset and a wlan-card with a prism2.5-chipset) are found by the drivers.

By running the command 'ifconfig' I can only see the loopback-device up and running.

When starting the old kernel 2.4.18, the eth0-device is started automatically and gets the configuration via DHCP.

But with the new kernel no device is set up at boot-time automatically.

Is there any config-file I have forgotten to change?

[edit]
With ifconfig I can manually set up the device eth0, but after booting up the system the device is down
[/edit]
Neptunus

Last edited by neptunus; 09-08-2004 at 04:41 AM.
 
Old 09-08-2004, 05:39 AM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Is your /etc/network/interfaces file still correct?

sample:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# This entry denotes the loopback (127.0.0.1) interface.
auto lo
iface lo inet loopback

# This entry was created during the Debian installation
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
 
Old 09-08-2004, 06:40 AM   #3
neptunus
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Hi,

thank you for your answer.

My /etc/network/interfaces file is correct.

In the file is written to get the ip-address for eth0 via DHCP.

I just found out that running the command 'dhclient' prints the error message 'Unrecognized kernel version' to screen.

So I think I have to update my dhclient to a version compatible to my kernel version 2.6.7. Is this correct?

How can I get and install a new dhclient?

Neptunus
 
Old 09-08-2004, 06:32 PM   #4
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
Most likley the modules aren't loaded (I am assuming you complied the drivers as modules) For the Realtek card the module is called 8139too as for the other network card I don't know what the module is. You need to add 8139too to /etc/modules. You can do that by typing
echo "8139too" >> /etc/modules
When you reboot the module will be loaded automatically, however you can load the module without rebooting by typing
modprobe 8139too
Next you need to find out what the module is called for your other card and run the same commands above replacing 8139too with the proper module name.
 
Old 09-09-2004, 05:17 AM   #5
neptunus
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Currently I already have solved my problem.

I just had to install the package dhcp3-client which is compatible with my new kernel version 2.6.7
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian woody-which kernel ninadb Debian 2 09-14-2004 01:30 AM
Network with Debian Woody and Realtek 8139 grcbheax Linux - Networking 2 08-09-2004 10:10 AM
Debian Woody slows down when network is down Maidros Debian 4 08-08-2004 07:38 AM
Woody Debian and network problems -Dice Linux - Newbie 2 04-14-2004 02:22 AM
Help with configuring network to Debian Woody? Jessie Linux - Networking 2 02-19-2002 12:56 PM


All times are GMT -5. The time now is 05:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration