install linux headers help

Soldato
Joined
29 Oct 2005
Posts
3,298
Hi, I have tried ubuntu again but in order to install my wireless drivers i need to install the linux headers so i can run make.

i tried putting this in the console:

sudo apt-get install linux-headers-2.6.15-23-386

as that is my kernel version, i think! now this says it cannot find the file. is there any way i can get them without using this command, or am i doing something wrong?

thanks

daven
 
sudo apt-get install linux-headers-$(uname -r)

If that does not work make sure you have the right repositories added to /etc/apt/sources.list
 
It doesn't seem to detect my LAN when I plug in the ethernet. Sometimes it does though. It doesn't work even if I reboot. I'm so irritated please help.

thanks

daven
 
do ifconfig eth0 (eth0 is likely to be your NIC) see if its up and it has an ip etc... If not, if you are using dhcp run dhclient eth0 (or pump) and that will allocate you an ip properly. (You can also do all this in your GUI somewhere :P)

There is an /etc/network/interfaces or something as well, eth0 should be auto. (At work atm, so can't check that path)
 
Back
Top Bottom