Help with D-Link DWL-650Forum: Networking Topic: Help with D-Link DWL-650 started by: OnlyMe Posted by OnlyMe on Sep. 13 2005,06:56
Please help me get my D-Link DWL-650 j3 working.I have gone to this site < http://linux_wless.passys.nl/query_p....andname > but I have no idea what to do with the linux-wlan-ng file, even after reading the read me files. Any useful help would be greatly appreciated!! Thanks in advance. Sorry for being new at this, but I thought that DSL would be one way for me to make use of my old laptop, and enable all three of my kids to do thier homework at the same time. They are getting tired of waiting in line. Posted by ke4nt1 on Sep. 13 2005,07:40
From your chart, it looks like a prism2/2.5/3 chipset.. Have you tried using the prism2 config tool in the DSLPanel? There are 4 fields for data in the tool. device - leave it wlan0 for now channel - Only you could know your wireless access point/router's channel I don't know if it will autodetect if left blank.. sid - an ssid name for your wireless network. Only you would have this info. Again, don't know if it will autodetect if left blank. wep - is your wireless network setup for an encryption key? Again, only you could know this info. If so, there is no possibility for autodetect. Click OK, and see if it gets a connection. My prism2 cards work great with this tool.. This wiki gives some more details about the format of the wep key. < http://www.damnsmalllinux.org/wiki/index.php/DSLPanel > 73 ke4nt Posted by OnlyMe on Sep. 13 2005,07:46
Yes, I have tried using that. The only difference is that my network is not using WEP, but is using MAC address access.When I click apply, nothing happens and the next time I bring it up the settings are cleared. (I am not sure if the settings are supposed to hold each time it is brought up) Posted by ke4nt1 on Sep. 13 2005,13:14
Just for grins and giggles..After reading your first post again .... The iwconfig button uses wlan-ng to config .. Does trying this option get any lights to flash on your card, etc? The fields are the same as the prism2.. and the data in the fields doesn't stick, even when successful. It's more like a form than a database. 73 ke4nt Posted by OnlyMe on Sep. 14 2005,00:26
Nope. The iwconfig did nothing, the light is green and solid, but no connect. Is there a step that I need to do to make it so it does not need a wep key, since I am using mac addressing on my router? Thanks for your help so far. Posted by ke4nt1 on Sep. 14 2005,04:14
aah , it did not ding with me that you do not use DHCP , but assign manually.IP address = tied to mac address ?? I have a script I used to use, that is similar to the iwconfig, where you can enter in your ip address manually .. I'll try to grab it here shortly.. 73 ke4nt Posted by OnlyMe on Sep. 14 2005,17:03
Thanks.One thing that I have noticed is that the orinoco_cs is trying to load. I noticed in the config that is what is listed, but according to < This page from the first post > my card is a prism 2/2.5/3 How do I change the config to use the correct configuration and not try to load the other? When I attempt to edit it I keep getting that it is a system read only file. Even when logged on as root. Again... thanks for helping out the noob Posted by cbagger01 on Sep. 16 2005,02:19
Try typing:sudo su rmmod orinoco_cs exit exit and then trip the prism control panel config. Posted by tempestuous on Sep. 16 2005,04:58
Older Prism2 devices are supported by the orinoco_cs driver, as defined in /etc/pcmcia/config - which lists your D-Link DWL-650 at line 2031.So you could actually use the orinoco driver ... but the linux-wlan-ng driver (prism2_cs) is probably a better choice. So as cbagger01 suggested, your first step is to remove the orinoco driver - "sudo rmmod orinoco_cs" In the DSLpanel > Prism2 prompt leave the wep field blank (sorry, probably obvious ... but worth mentioning). The script that is run (/usr/local/bin/prism2.sh) assumes DHCP. I think this should be OK, because using Mac Address Access does not necessarily mean that your router assigns fixed IP numbers to its clients. I just checked this with my Netgear router. To check for success, ping your router. You could also run "ifconfig" to see the status of your wireless interface. If no success, you could check the router's LAN IP setup to see if IP assignment is automatic or static. If static. you could hack the /usr/local/bin/prism2.sh script for static.IP, ... or run all setup commands manually, ... or create your own configuration script. Posted by OnlyMe on Sep. 16 2005,14:31
Well...thanks for the help. I removed as suggested and still get the same results. Specifically, the light goes on and I get a beep, then a second or two later a low beep. No connection.I verified that the card works in Windows on another laptop, so that I Know that the card is still good. I could try running the setup commands manually if I knew what those were...obviously creating a script is also beyond my current linux knowledge. My (netgear) router is set to give an IP address automatically (DHCP) I am only using the MAC address for access to the network. Posted by tempestuous on Sep. 16 2005,15:22
OK. Here's the whole thing manually.At least this way if anything fails, you should see the point at which it fails, and see some form of error message. sudo su rmmod orinoco_cs ## load the driver modprobe prism2_cs ## if no error messages, this should create a network interface, wlan0 ## can check this by running ifconfig -a ## the default channel is 11, if you want anything else - wlanctl-ng wlan0 lnxreq_wlansniff enable=false channel xx wlanctl-ng wlan0 p2req_channel_info_results channel xx ## activate the wireless interface wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable ## to disable WEP - wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=false ## now these WEP settings have no effect #wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true #wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true #wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0 #wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=12:34:56:78:90 ## connect to the wireless network wlanctl-ng wlan0 lnxreq_autojoin ssid=MY_ESSID ## Obviously replace "MY_ESSID" with your router's SSID. ## Now let's get an IP address. ## for automatic IP pump -i wlan0 ## or for static.IP ## modify /etc/resolv.conf to include your nameservers, then - ifconfig wlan0 192.168.0.xx broadcast 192.168.0.255 netmask 255.255.255.0 route add default gw 192.168.0.1 wlan0 # or whatever your router's IP is ## check the status of your wireless interface ifconfig ## check connection to router ping 192.168.0.1 # or whatever your router's IP is Happy browsing. Posted by OnlyMe on Sep. 17 2005,17:44
Thank you for the info!However, it did not work for me. After modprobe prism2_cs I did not get an error, but no devices exist. iwconfig shows no devices. My card works in Windows, but not linux. It looks like I am out of luck. Thanks anyway. I guess that the card DWL-650 vJ3 can be added to the verified not to work list. Posted by ke4nt1 on Sep. 17 2005,19:06
" iwconfig shows no devices ... "iwconfig or ifconfig ? Is this a typo ? tempestuous script is nearly identical to my wlan-ng data. If no error on modprobing prism2 ?? , it should be shown in lsmod. If so, what were your errors on the other wlan-ng commands? I think you are very close.. Kent Posted by tempestuous on Sep. 18 2005,00:47
I hope you didn't really use the "iwconfig" command. I certainly didn't include it in my previous instructions.iwconfig relies on the Linux wireless extensions interface, which linux-wlan-ng does not support. Posted by OnlyMe on Sep. 18 2005,06:17
I was told by a guy at work to use iwconfig to see if the card is being recognized.ifconfig shows a loopback. no errors appeared with the modprobe prism2 the very first wlanctl-ng command showed that no device existed. lsmod showed the prism2 interface was loaded to 802.11 if we are close...then GREAT!! and Thanks! I just don't want to waste your time if this card won't work. Posted by tempestuous on Sep. 18 2005,14:45
After loading the driver with "modprobe prism2_cs" did you run "ifconfig" or "ifconfig -a"?"ifconfig" will only list active interfaces, "ifconfig -a" will list all interfaces. But the fact that the first "wlanctl-ng wlan0 ..." command returned "no such device" or similar suggests to me that your adaptor is not going to work with DSL's linux-wlan-ng drivers. You could consider doing a hard drive install, installing the build tools, and compile a more recent version of the linux-wlan-ng drivers ... or the easier option would be to try ndiswrapper. |