On Wed, 8 Oct 2008, Navneet Sreeraman wrote:

> Hi Guys!
>
> I have recently got myself a Acer 5135 machine here in the UK. I have
> installed OpenSUSE11 but realised that the 'ath5k' module that the OS uses
> by default for my Atheros Wireless card does not work at all. Network
> settings in YaST informs me this -
>
> *AR242x 802.11abg Wireless PCI Express Adapter (Not connected)
> BusID : 0000:06:00.0
> Unable to configure the network card because the kernel device (eth0, wlan0)
> is not present. This is mostly caused by missing firmware (for wlan
> devices). See dmesg output for details.
> *
>
> dmesg on the card gives me this message.
>
> *ath5k_pci 0000:06:00.0: registered as 'phy0'
> ath5k phy0: failed to resume the MAC Chip
> ath5k_pci: probe of 0000:06:00.0 failed with error -5
> *
>
> I read up on the Internet and the suggested remedy is to install the ath_pci
> module from this website -
> http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/ which I also did and try
> installing the module as instructed by -
> http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
>
> When I try 'make' to build the drivers, I get this error message
>
> *Makefile.inc:91: *** KERNELCONF:
> /lib/modules/2.6.25.16-0.1-pae/build/.config does not exist..  Stop.
> *
>
> Can anyone please suggest me some remedies? Any help will be greately
> appreciated.
>

Hi Navneet:

Sorry missed this very interesting posting of yours.

Can you please list of the files present in the directory
/lib/firmware  ?

What i've been doing is extract the firmware (.fw) files from
the windows driver archive file.

For example, lets say the driver file is wdrv.exe

The do the following steps:

  . mkdir driver

  . cd driver

  . cabextract wdrv.exe

  . use firmware cutter or ndiswrapper with the wdrv.sys file
    and generate the resultant files in /lib/firmware

  . modprobe -v wdrv.ko

A reboot would be necessary in most cases.

Additionally, to help you solve the driver build problem, here is
the trick

Every Linux kernel when running, exports the configuration in a
compressed format in the /proc file system.

Here are the steps to follow.

su -

cp /proc/config.gz /usr/src/linux/config.gz

cd /usr/src/linux

gunzip config.gz

cp config .config

Now, go the wireless build module directory

make clean

Restart the build process.

The process should go fine.

Please revert incase of any issues.

thanks
Saifi.

Reply via email to