Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 02-06-2010, 08:07 PM   #1
Registered: Dec 2009
Location: Sweden
Posts: 159

Rep: Reputation: 31
Thumbs up D-Link DWL-650 working in Slackware v13 using orinoco_cs driver


Since i had a handfull of D-Link DWL-650 WLAN pccards i was thinking of putting them to use in setting up a distributed network of laptops running Slackware Linux, and without having to make a physical webb of TP cables all over the place. One in the kitchen for googling recipees, one in the machine shop to look up service manuals, play music and chat with my tuning customers while i calibrate their engines, one to bring with me to the beach to improve my surf...


I started off thinking this would be as easy as scratching my nose. Guess what? This about Wireless PCCARDs is not that easy. It's a jungle, full of death traps that fry your hardware and make you standing bewildered, desillusioned and angry in a mudpile of variants, packaging mistakes, special hacking recipees and lack of support.

To keep others having the same thoughts going on the straight and narrow path, and not to stray around in the jungle of unsupport, identifying chipsets in rebadged hardware, searching the discontinued support alternatives and a madly bewildered bunch of web sites either gone away or completely misleading completely innocent people that are searching for the quick, fast, easy and correct way of setting things up,...

...i will not mention all the stray info i have searched-n-sifted, but instead focus on what works. Good of me, huh?

How to get D-Link DWL-650 pccard wireless adapter going with Linux Slackware 13:

Use the orinoco_cs driver which is by default included as a module in Slackware version 13. It works! But not with an old firmware in the pccard.

The orinoco_cs driver loads straight away when you insert the pccard, as it should. No need to change anything there.

Ah! This is where it gets interesting. While the orinoco_cs driver loads, and the adapter shows up using the iwconfig and ifconfig shell commands, it did not work for me with 128 bit WEP encryption.

To make a very long story rather short, my adapters had too old firmware in them. (Version 0.7.6).
A newer firmware can be downloaded into flash in the adapter. The trick is to know which firmware to get, where to get it, and how to get it into the adapters flash memory, (without frying the card).

It took me a while to realize that the DWL-650 has an Intersil Prism II chipset in it.

If the adapter is inserted with no netconf-iguration at all to set it up with ESSID, ip address, etc... then the card defaults to hostname "Prism I". Peculiar, since it is a Prism II card.

One can see details of the adapter card using the shell command "pccardctl -v ls", that will verbosely describe the pccards inserted in the PC.

Googling led me to the following website:

Great kudos to Jun Sun for that website! Thank you!

On this website i found a good tool to reflash the firmware. There is a tool for reflashing with Linux, as well as with a Windows OS. Since the adapter actually worked in one of my Windows laptops i decided to reflash the adapters with a Windows laptop.
Peculiar also that the 128 bit WEP encryption worked with Windows, despite the old firmware that actually does not support 128 bit WEP.

I downloaded the winupdate program that Jun Sun provides on his page. Installed quick and easy. (Works in paralell with the wireless tray application that handles the DWL-650 adapter).

First thing i did was to upload the current firmware from the flash in the adapter card and store it in a file, in case something goes wrong.

Then i got firmware version 1.4.9, which handles the Prism II chipsets with platform id 8008 in the DWL-650 adapters, from, (also linked to by Jun Sun's marvellous website).
Actually, i read the following document on that site in my web browser: which informed be to download the firmware package This is the firmware you want for your DWL-650!

The archive file can of course be opened with "tar -xvjf Latest-prism.tar.bz2", but since i was about to flash the cards using Windows i cheated, and used WinRAR to open it instead.

WinRAR can be downloaded as time limited shareware at
(Very useful archiving tool that works on Linux as well as "the other" OS'es).

In that archive one finds lots of firmware images in S Record format files. Also known as Exormax by all of us who have worked with the Motorola 6803, 6805, 6811, 68020... Oops! Now i started to stray...
These S Record files contain the wanted firmware images, and the winupdate program handles them directly with no hazzle. Be aware that there exist lots of different firmware files in numerous file formats. Most of them pretty useless, since one has to be a promburner wizard and Intersil expert to know how to handle them.

Of all these firmware files we want only two. Those that supports platform id 8008, which is our Prism II chipset, and that are intended for writing to the FLASH memory in the adapter.

Within this tar.gz archive file we want these:
Primary firmware: primary-FLASH/p40003C0.hex
Secondary firmware: secondary-FLASH/s1010701.hex

Add both of them into the winupdate program. You will see the firmware files listed with a colorish P for the primary firmware, and a colorish S for the secondary, (or station), -firmware. This assures you the winupdate tool has validated the firmware files content OK.

Remember that you must add both the primary and secondary firmware files before flashing to avoid frying the adapter.

The winupdate program will check for compatibility before actual reflashing occurs, and will report if the firmware you are trying to download to the adapter is wrong.

Then, with the correct adapter card selected, press Continue, and follow the procedure for flashing. You will get warnings. Proceed unless winupdate says the firmware files are incompatible.

Done! Eject the card and insert it again, (just to be safe).
You will find the card now has primary firmware version 0.3.0 and station, (secondary), firmware 1.7.1 by selecting the menu choice "Tools/Query firmware" in the winupdate program.

One thing that must be mentioned more than once, is that you must select both a primary and a secondary firmware to flash at the same time, or otherwise you may fry the adapter.

With the new firmware the driver works straight away in Linux with the orinoco_cs driver, and with 128 bit WEP encryption.

Besides getting WEP128 to work also with Linux, the DWL-650 adapters got faster with the newer firmware (1.4.9), and can maintain better throughput with much larger distance to the AccessPoint, and infact keep the link up further away from the AccessPoint, compared to the old firmware. And now the cards also support genuine 802.11 AdHoc networking, as compared to the nonstandard "Demo AdHoc" mode they had from stock firmware. So the firmware upgrade was also to a benefit for the Windows laptops i use with DWL-650 wlan adapters.

From here, we need to set up "/etc/rc.d/rc.inet1.conf" and optionally "/etc/rc.d/rc.wireless.conf". rc.inet1.conf is enough, but the wireless configuration parameters can be stored in rc.wireless.conf, thus leaving the rc.inet1.conf to handle the vanilla adapter setup, like ip address, netmask, etc. I will leave the setup of rc.wireless.conf to the curious mind, since it is enough for most people to only use rc.inet1.conf to get the network up.

Example snippet from /etc/rc.d/rc.inet1.conf for a DWL-650 as the first, (eth0) adapter:
# Config information for eth0:
This example sets up the adapter to work in the mode that use an AccessPoint gateway for the wireless network, with ESS_ID = wireless, and the WEP encryption key of 1234-5678-9012-3456-7890-1234-56, and using the fixed ip address in the 192.168.1/24 network which is in the range 192.168/16 that is reserved for local intranet usage.

I also found the wicd package very useful for setting up the wireless and for debugging. It is included as a package in the Slackware13 DVD in the directory "extra" and can easily be installed by cd'ing to the extra directory on the Slackware DVD and fire up pkgtool. Support can be found at

Content with working this out i will now go on to reflashing the Linksys WRT54GL wireless gateway to get increased throughput and transmit power, (it runs embedded linux!), and also setting up the gpsd daemon to get accurate offline timing for my beloved intranet ntp peers. Cheers!

Weblinx collection on the topic:

Last edited by wroom; 02-07-2010 at 09:36 AM. Reason: Corrected spelling


configure, dlink, firmware, network, orinoco, pcmcia, prism, slackware, wep, wireless

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
D-link DWL-650 revP WLAN Card in Mandrake 9.1 not working kingkevbo Linux - Wireless Networking 43 04-27-2005 04:54 PM
D-Link DWL-650 Ver L1 on Slackware 9.1 2.4.22 Coqui Linux - Hardware 2 01-30-2004 01:47 AM
Error in insmod for D-Link DWL-650 driver dhsieh Linux - Hardware 18 10-15-2003 05:35 PM
D-Link DWL 650 Driver for Mandrake 9.1 goldlightning52 Linux - Networking 1 07-14-2003 03:37 AM
D-Link DWL-650+ ; No driver in sight, even the eusso one zaubara Linux - Networking 0 04-09-2003 05:05 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration