Hi all,
Something really strange happened here.
Yesterday my laptop worked perfectly. Today after booting, my internet does not work.
dhclient returned errors, and ifconfig showed that there was no eth0.
Thought I'd do a /etc/init.d/network restart, but it only restarted lo and vmware8, no eth0 at all.
Then I took a look at /etc/sysconfig/network-scripts and there was no ifcfg-eth0, just an ifcfg-eth0.bak. I renamed the file to ifcfg-eth0 and retried /etc/init.d/network restart, now getting an error that there was nu such device eth0, wtf?
I really don't know what happened. I'm the only one using this laptop, so it's impossible somebody screwed with it.
Now I booted with my previous kernel and everything is working.
So it makes me think that I screwed up something yesterday with my kernel.
To think of it, I tried to recompile my kernel to get my wireless network card working and to enable NTFS support. Therefor, I downloaded the sources of my current kernel (kernel-2.6.18-92.1.17.el5.src.rpm) and executed the following steps (after installing and uncompressing the sources):
Quote:
cd /home/ptemmerman/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18.i686
make menuconfig
make all
|
That's where I stopped, because I got an error during compilation.
For those interested, the error was as follows:
Quote:
815 drivers/net/wireless/hostap/hostap_ioctl.c: In function ‘prism2_ioctl_giwrange’:
816 drivers/net/wireless/hostap/hostap_ioctl.c:1098: error: ‘struct iw_range’ has no member named ‘scan_capa’
817 drivers/net/wireless/hostap/hostap_ioctl.c:1098: error: ‘IW_SCAN_CAPA_ESSID’ undeclared (first use in this function)
818 drivers/net/wireless/hostap/hostap_ioctl.c:1098: error: (Each undeclared identifier is reported only once
819 drivers/net/wireless/hostap/hostap_ioctl.c:1098: error: for each function it appears in.)
820 make[4]: *** [drivers/net/wireless/hostap/hostap_ioctl.o] Error 1
821 make[3]: *** [drivers/net/wireless/hostap] Error 2
822 make[2]: *** [drivers/net/wireless] Error 2
823 make[1]: *** [drivers/net] Error 2
|
At no point I did a "make modules_install·, which may have disabled some modules previously enabled.
I don't know what happened, but it's clear that the problem is in the kernel. But that doesn't make sense to me as I booted that same kernel yesterday without problems. What is it that I may have done wrong?
I'm puzzled.