Wednesday, March 28, 2007

Checking the version of the Madwifi driver on the image

1. The sure way:
Do a modinfo on the driver module and check the version number which shows up.
node1-1:/lib/modules/2.6.15-skas3-v8.2/net# modinfo ath_pci
filename: /lib/modules/2.6.15-skas3-v8.2/net/ath_pci.ko
author: Errno Consulting, Sam Leffler
description: Support for Atheros 802.11 wireless LAN cards.
license: Dual BSD/GPL
vermagic: 2.6.15-skas3-v8.2 preempt VIAC3-2 gcc-4.0
depends: ath_hal,wlan,ath_rate_sample
alias: pci:v0000168Cd00000007sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias: pci:v0000A727d00000013sv*sd*bc*sc*i*
alias: pci:v000010B7d00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i*
parm: ifname:Interface name prefix (default: ath) (charp)
parm: xchanmode:Enable/disable extended channel mode (int)
parm: outdoor:Enable/disable outdoor use (int)
parm: countrycode:Override default country code (int)

If the modinfo does not bring up anything, check the information that may be apart of the
kernel object.

node1-1:/lib/modules/2.6.15-skas3-v8.2/net# strings ath_pci.ko | grep -i version
EEPROM version invalid
%s: mac version > 7.8, not putting device to sleep
Debugging version (ATH)

This does not bring up anything either.

So the other approach is to check if the new command available with th madwifi drivers is on the image.

node1-1:~# which wlanconfig

As this does not bring up anything either we determine that this is the old driver.


Post a Comment