[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel Compile Issue



On Fri, Jan 24, 2003 at 12:39:56AM -0600, Michael Kahle wrote:
> I am afraid that I will be kicked off of this list because of this silly
> question.

Uuh, no.  The worst that happens is you realise you asked an obvious
question once you get the answer.  Unless you ask to be unsubscribed,
in which you point out to the world that you're unwilling to follow
simple instructions tagged on the end of all the mail sent from the
list.

> But, I'm stumped, this could be because it's 12:31am and I'm tired. 

Grab some coffee or sleep.  8:o)

> The new kernel boots fine, but eth0 no longer can get an IP.  lsmod
> says that I have no modules loaded.  I double checked to ensure that
> I didn't build this into the kernel and I did!  So I did the same
> process a second time, same deal only this time I made sure that I
> specified my NIC to load as a module.  No dice, it is still built
> right into the kernel.  Now I guess I don't really care if it is,
> the problem is that I can't get an IP from DHCP.  I tried:

Wait, so you built the module and it's not loaded, or you build the
driver directly into the kernel?  Did you quit menuconfig or xconfig
with "Save settings and exit?"

I strongly reccommend modules for everything other than the filesystem
and disk controller you boot off of, as it can make life easier
resetting tempermental devices and tends to give you a smaller, faster
kernel, among other ease of use issues.  It's not the most intuitive
thing in the world at first, but once you get the hang of it it
becomes quite simple.

> ifdown eth0
> ifup eth0
> dhclient eth0

Restart networking with /etc/init.d/networking restart instead, if you
got an IP address before and you haven't changed
/etc/network/interfaces, it'll shut down all interfaces and bring them
back up and try to do DHCP again.

> None of these things give me an IP.  What am I missing.  You can be sure
> that I have tested everything out, i.e. good cable, laptop can get an ip
> from same port on switch, computer is plugged in etc.

In your kernel config, do you have CONFIG_FILTER=y ?

You can check by looking in /boot/config-(version), for example on my
system, /boot/config-2.4.20  (Hint:  You can pick up the settings you
left off in menuconfig or xconfig by using the Load Configuration from
file option)

-- 
 .''`.     Baloo <baloo@ursine.dyndns.org>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system

Attachment: pgpwbxv1DMULK.pgp
Description: PGP signature


Reply to: