[lwlan-user] D-Link DWL-G520 with linux-2.6.0-test7
Stuart Gilbert
stuart at writerexchange.co.uk
Wed Oct 15 09:31:26 EDT 2003
Hi, I recently purchased a D-Link DWL-G520 wireless network card and
fitted it in my computer. I managed to get the card working incredibly
easily in Windows, so at least I know it's working, but I use Gentoo
about 100 times more than I use Windows and so it would be nice to get
it working in Gentoo.
I've installed various things.
wireless-tools-27_pre2
linux-wlan-ng-0.2.0-r2 (downgraded from 0.2.1_pre11 to try a more stable
version)
I've installed the modules that I should need for this card:
Module Size Used by
ath_pci 42160 0
ath_hal 113248 2 ath_pci
wlan 54056 2 ath_pci
I've edited /etc/conf.d/wlan.conf and entered "ath0" at WLAN_DEVICES
I've left it scanning default channels with default times and set
WLAN_SCAN to 'y'.
I changed the bottom part to:
SSID_wlan0="linksys"
ENABLE_wlan0=y
and then I have set up my /etc/conf.d/wlan-linksys as follows:
#=======USER MIB SETTINGS=============================
# You can add the assignments for various MIB items
# of your choosing to this variable, separated by
# whitespace. The wlan-ng script will then set each one.
# Just uncomment the variable and set the assignments
# the way you want them.
#USER_MIBS="p2CnfRoamingMode=1 p2CnfShortPreamble=mixed"
#=======WEP===========================================
# [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
lnxreq_hostWEPEncrypt=true # true|false
lnxreq_hostWEPDecrypt=true # true|false
dot11PrivacyInvoked=true # true|false
dot11WEPDefaultKeyID=0 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false, in AP this means WEP is
required.
# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
# keys (just a convenience)
# add-ons/ in the tarball contains other key generators.
PRIV_GENERATOR=/sbin/keygen # nwepgen, Neesus compatible
PRIV_KEY128=false # keylength to generate
PRIV_GENSTR=""
# or set them explicitly. Set genstr or keys, not both.
dot11WEPDefaultKey0=KE:YF:RO:MR:OU:TE:R # format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1= # xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d
#=======SELECT STATION MODE===================
IS_ADHOC=n # y|n, y - adhoc, n - infrastructure
#======= INFRASTRUCTURE STATION ===================
# What kind of authentication?
AuthType="sharedkey" # opensystem | sharedkey (requires WEP)
#======= ADHOC STATION ============================
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=6 # DS channel for BSS (1-14, depends
# on regulatory domain)
BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s)
OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)
Whenever I try /etc/init.d/wlan stop I get the following:
* Shutting Down WLAN Devices...
wlanctl-ng: Operation not
supported
[ ok ]
/etc/init.d/wlan start only gives me the following:
* Starting WLAN
devices...
[ ok ]
and a following ifconfig gives me eth0 and lo and that's all.
iwconfig gives me this:
lo no wireless extensions.
eth0 no wireless extensions.
Warning: Driver for device ath0 has been compiled with version 16
of Wireless Extension, while this program is using version 15.
Some things may be broken...
ath0 IEEE 802.11-DS ESSID:""
Mode:Managed Frequency:2.437GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate=1Mb/s Tx-Power:off Sensitivity=0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Now, I've tried everything I can think of. I've looked all over for
changes to make to get rid of that "Driver for device blah blah..."
message but it stays no matter what I do.
Can someone please help me in any way?
Thanks a lot in advance.
Stuart Gilbert.
More information about the Linux-wlan-user
mailing list