Installing linux-headers without internet?
I'm kinda new to backtrack and i've been trying to sort out my wireless drivers but i can't install any packages because when i run 'make' i get
Code:
/lib/modules/2.6.38/build: No such file or directory. Stop.
It's the same with 'make install'
I've done some searching and apparently i need to run these commands to install linux headers and create a system link:
Code:
apt-get install linux-headers
ln -s /usr/src/linux-headers-2.6.38/ /lib/modules/2.6.38/build
but without the wireless drivers i have no internet to use the apt-get install command so it wont work, i have no access to an ethernet cable to connect directly to the router
could i download the linux headers to windows then find the file on my C drive while in backtrack and install it manually? if so, how?
thanks
Re: Installing linux-headers without internet?
That is not advisable as Backtrack uses it's own kernel, you need an internet connection to get the linux headers at least that's what I recommend especially since you are new to Backtrack.
Re: Installing linux-headers without internet?
Hello Linda
Please Dont get Linux headers . i did the same and now my OS giving me the "unable to mount root fs on unknown block 0,0 and it wont come up anymore
however i had your problem too , and i fixed it by running following commands
Code:
apt-get install linux-source-2.6.38 or 3.2.6 if you are on kernel 3.2.6
then
Code:
prepare-kernel-source
i didnt need to install linux headers but bad suggestion from people so i got that them and its all messed up now
BTW if you can download them sources on windows somehow then you can go back to back track and copy them to cd /usr/src then install em
good luck