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

Re: linux-wlan-ng, rebuild kernel?



Hi Chris!

Thanks a lot for your help. Is there a way to know where the kernel source and headers are? Apparently by default (see below) it was looking in /lib/modules/2.6.8-powerpc/build but there is
nothing there.

Thanks a lot for your help!

Raph

From: Chris Anderson <chris@nullcode.org>
To: raphael gottardo <raphaelgottardo@hotmail.com>
CC: debian-powerpc@lists.debian.org
Subject: Re: linux-wlan-ng, rebuild kernel?
Date: Sat, 23 Oct 2004 15:07:05 -0400

On Fri, Oct 22, 2004 at 07:07:35PM -0700, raphael gottardo wrote:
> Dear Debian Users,
>
> First, I would like to say that I am not very experienced and any
> suggestions would
> help me greatly.
> I recently installed Debian on my powerbook G4 12'.
> As expected the Airport extreme
> wireless card does not work and I bought a D-link DWL-122 usb wireless
> card. I read that
> it should work with the linux-wlan-ng drivers.
>
>
> I don't really understand how to install the drivers. I tried the config
> script and I had the following error:
>
> raph:/usr/src/modules/linux-wlan-ng-0.2.1pre22# make config
>
> -------------- Linux WLAN Configuration Script -------------
>
> The default responses are correct for most users.
>
> Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: n
> Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n
> Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n
> Build Prism2.5 USB (_usb) driver? (y/n) [n]: y
>
> Linux source directory [/lib/modules/2.6.8-powerpc/build]:
> Linux source tree /lib/modules/2.6.8-powerpc/build is incomplete or missing!
>    See the HOWTO for a list of FTP sites for current kernel sources.
>
> Configuration failed
>
> make: *** [config] Error 1
>
> Does that mean that I have to recompile the kernel? From my understanding
> yes but
> I don't really trust myself.
> I tried anyways, I put linux-wlan-ng in /usr/src/modules
> and downloaded kernel-source-2.6.8, which is the one that got
> installed when I installed debian with Sarge.

You shouldn't need to rebuild the kernel, you just need the kernel source and
headers so that linux-wlan-ng can find them. In pre21 it looks in
/usr/src/linux by default, I can't recall if pre22 changed anything in this
regard.
>
> Any help would be greatly appreciated. Thank you!!
>
> Raphael
>
> _________________________________________________________________

--
Chris Anderson <chris@nullcode.org>
ICQ: 72021847  Jabber: chrisja@jabber.org
20B2 CB34 8AA5 05BC A90C  2CDD 2768 D4B4 2B93 424B

_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and more! http://special.msn.com/msn/election2004.armx



Reply to: