LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can not Update to Kernel 2.6.9 or any Other I have Tried (https://www.linuxquestions.org/questions/linux-newbie-8/can-not-update-to-kernel-2-6-9-or-any-other-i-have-tried-663848/)

Close_the_Windows 08-19-2008 11:08 AM

Can not Update to Kernel 2.6.9 or any Other I have Tried
 
I have a Belkin Wireless Adapter for my 6 month old [if that] PC. I go to install the WPA addon to ndiswrapper successfully, but as for the program ndiswrapper, I have a Kernel tree problem with no Kbuild of any sort that it asks for. I tried to update the Kernel countless times hoping to produce a kernel tree, but nothing has worked. I have never made it past 'make configx' or any other make for that matter. Has any body ever had that problem, if so please respond.


Thank You,
Close_the_Windows

{BBI}Nexus{BBI} 08-19-2008 07:06 PM

Do you mean you need the kernel-source to compile against?

Close_the_Windows 08-19-2008 07:47 PM

?????
 
Dear Replier,

I must apologize for the informality of my question and the vagueness. I have currently Fedora 8 installed on my PC and the first task I set myself to doing was connecting to my father's WPA/TKIP security enabled network, and found that my Belkin Chip with the chipset bcmlw15 was not supported because of the selfish company who makes them, so after some searching, I found ndiswrapper and the WPA package that was for the WPA security enabled networks. The opitional package's make process whent succesfuly, but when I ran [for ndiswrapper] the first make commands I got the ***Kernel Tree Not Found***/n Please set Kbuild to the kernel... or something close to that anyhow. So, I figured to do as it said, but there was no kbuild, only kbuildsyscoca which did nothing...helpful anyhow... so I decided to update the kernel version to 2.6.9[.] Well, needless to say that that did not work either... so here I am; stuck and I was wondering if you or anybody could help.


Thank You,
Close_the_Windows


Postal Script:

I am completely new to linux and its technicalities, I know basic Gnome and KDE navigation and some Terminal commands, but beyond that I am void.

billymayday 08-19-2008 08:04 PM

You probably need the kernel-devel package (yum install kernel-devel), but failing that, try kernel-sources

Close_the_Windows 08-19-2008 08:34 PM

Oh
 
Dear Replier,

I did not see that in the installation instructions, and I do not know how to use yum, rpm, or all that jazz. I am drawing a blank.

Thank You,
Close_the_Windows

{BBI}Nexus{BBI} 08-19-2008 08:50 PM

Quote:

Originally Posted by Close_the_Windows (Post 3253292)
Dear Replier,

I did not see that in the installation instructions, and I do not know how to use yum, rpm, or all that jazz. I am drawing a blank.

Thank You,
Close_the_Windows

Basically you type yum install kernel-devel on the commandline. You need to start a terminal (console) session in order to type it in.

See here for an explaination and usage of YUM: http://fedoraforum.org/forum/showthread.php?t=25880

Close_the_Windows 08-19-2008 08:57 PM

Okay
 
Dear Replier,

Okay, but yum granted, what dose this have to do with running the makefile of ndiswrapper or the error message I keep getting?

{BBI}Nexus{BBI} 08-19-2008 10:43 PM

It's not about yum, that is only 1 method of installing apps. The makefile is complaining because it cannot find the library files it needs to successfully compile. You either need to add the kernel-devel (devel = development) files or the kernel-sources (the source files for the kernel) in order for the program to successfully compile and produce the required module.

Read some of this post: http://fedoraforum.org/forum/archive...p/t-29659.html

Close_the_Windows 08-20-2008 09:59 AM

Dear Replier,

So all I have to do is install livna and ndiswrapper will install like magic; I do not need to update my kernel and build a source tree in order to satisfy it?? I will try Livna and see if it works.


Thank You
Close_the_Windows

Close_the_Windows 08-20-2008 10:37 AM

Did not Work
 
Dear Replier,

I downloaded Livna like the other post said, but all the commands that they gave me did not work. I have it here:

Quote:

[root@Purple ~]# kernel-devel
bash: kernel-devel: command not found
[root@Purple ~]# yum --enablerepo=livna-stable install ndiswrapper kernel-modulendiswrapper-$(
uname -r)
Error getting repository data for livna-stable, repository not found
[root@Purple ~]# yum -y install kmod-ndiswrapper
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...t?repo=fedora-
8&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please
verify its path and try again
[root@Purple ~]# yum --enablerepo=livna-stable install ndiswrapper kernel-modulendiswrapper-$(
uname -r)
Error getting repository data for livna-stable, repository not found
[root@Purple ~]# cd /root/ndiswrapper
bash: cd: /root/ndiswrapper: No such file or directory
[root@Purple ~]# cd /root/ndiswrapper-1.53
[root@Purple ndiswrapper-1.53]# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.53/driver'
Makefile:23: *** Kernel tree not found - please set KBUILD to configured kernel. Stop.
make[1]: Leaving directory `/root/ndiswrapper-1.53/driver'
make: *** [all] Error 2
[root@Purple ndiswrapper-1.53]#
I am STUCK and CONFUSED!!!! Please Help


Thank You,
Close_the_Windows

knudfl 08-21-2008 09:02 AM

Are you quite sure, you mean 2.6.9 ??
Fedora 3 used 2.6.9

Fedora 8 uses 2.6.23.1-42 (at least)
(2.6.23.1-42 is on my install DVD)

Regards

Close_the_Windows 10-31-2008 08:26 PM

Problem solved
 
sorry for the delay in response see i have been working on the
problem and solved it.
here is how:
  1. ndiswrapper was not needed
  2. i downloaded a file called broadcom-wl-4.150.10.5.tar.bz2
  3. i unzipped it
  4. i cd'd into the folder that was extracted then into the drivers folder
  5. i opened konsole and typed bcm43xx-fwcutter (file that supported my card)
  6. added my card to the networkmanager
  7. told it not to start it on startup and to control it
  8. then i restarted my computer and logged into the network
i also now am using fedora 9 now and it is stable for the first time!


thank you for all of your help
close the windows


All times are GMT -5. The time now is 01:03 AM.