Results 1 to 9 of 9

Thread: HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

  1. #1

    Post HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

    Hi! I just want to share to our fellow Ubuntu Users. I was finding a lot of threads regarding this issue so I'd like to share how I got my D-Link DWL G650+ Wireless Card. Moderators: if this thread is already redundant, kindly move it or delete altogether.

    First, I'd like to thank the author of the following website:

    http://www.ndeepak.info/tech/wlansarge.php

    For his nearly complete guide. This is actually a guide for Debian Sarge, but I'm going to describe here the exact steps in my ubuntu hoary laptop (although I will also share some experiences on how to install it in Breezy Preview Release).

    1. First, install the ndiswrapper package.

    Code:
    sudo apt-get install ndiswrapper-source ndiswrapper-utils
    Note for Breezy Users: There is GUI ndiswrapper in one of the reposotories. Im not sure where but you may want to try that out.

    Then you will need the drivers from D-Link's website. (note: I tried using the drivers that came with wireless card but it failed to work)

    You can download it from here:

    Windows driver for DWL-G650+

    Now, extract the file and look for the Windows XP driver INF. so in this file its GPLUS.inf. Install it by using the following command:

    Code:
    sudo ndiswrapper -i GPLUS.inf
    Now you will need to install your system's kernel headers. In my case its "linux-headers-2.6.10-386":

    Code:
    sudo apt-get install linux-headers-2.6.10-5-386
    Next, you will need to install the kernel module for ndiswrapper.

    Code:
    cd /usr/src/
    tar -jxvf ndiswrapper-source.tar.bz2
    It will extract a modules directory which holds the ndiswrapper kernel module. You will need to compile this.

    Code:
    cd ./modules/ndiswrapper
    make
    make install
    Afterwards, you will now load the modules.

    Code:
    depmod -a
    modprobe ndiswrapper
    Currently it will be loaded but to make Ubuntu load it everytime you will need to add the entry "ndiswrapper" in your /etc/modules.

    Code:
    sudo cp /etc/modules /etc/modules_backup
    sudo echo "ndiswrapper" >> /etc/modules
    Now I will deviate a bit from the original source of this guide. For some reason, I hope its only on my system. If continue following the guide at this point, my system will be able to detect the Wireless card. So what I did was I restarted my system (restarting the system after hardware driver installation is one of my old ******* habits).

    Try to check your boot messages if your system was able to succesfully load the ndis driver.

    Now plug in your wireless card and try running the following command:

    Code:
    sudo iwlist wlan0 scan
    If this causes a "command not found" error, you will need to install the wireless-tools package:

    Code:
    sudo apt-get install wireless-tools
    The output will contain an ESSID for the network. Take note off the ESSID and run the following

    Code:
    sudo iwconfig wlan0 essid <ESSID>
    where <ESSID> is the essid found in the iwlist command earlier. If you use an encryption key, set it. Security mode can be open or restricted. The default is 'restricted', but for me, it works only if I set the mode to be 'open'.

    Code:
    iwconfig wlan0 key open <wepkey>
    where <wepkey> is your network's wepkey.

    Now run iwconfig, and the interface should be all set:

    Code:
    sudo iwconfig
    
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wlan0     IEEE 802.11g  ESSID:"BarFoo"  
              Mode:Managed  Frequency:2.437 GHz  Access Point: 00:13:19:8C:57:C0   
              Bit Rate:54 Mb/s   Tx-Power:10 dBm   Sensitivity=0/3  
              RTS thr:4096 B   Fragment thr:4096 B   
              Encryption key:DEADBEEF00   Security mode:open
              Power Management:off
              Link Quality:100/100  Signal level:-45 dBm  Noise level:-256 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    Check the output and make sure that the essid, the wepkey (encryption key), security mode(open) is correct. Check the value of the access point. It should contain the MAC address of your Wireless Accesspoint.

    To continue, you will need to setup the system for DHCP. So you will need to add a couple lines to /etc/network/interfaces

    Code:
    sudo cp /etc/network/interfaces /etc/network/interfaces_backup
    sudo gedit /etc/network/interfaces
    Add these lines:

    Code:
    iface wlan0 inet dhcp
    pre-up  iwconfig wlan0 essid "BarFoo" && iwconfig wlan0 key open DEADBEEF00
    
    auto wlan0
    That's it. To start using the wireless LAN card, issue:

    Code:
    sudo ifdown eth0
    sodu ifup wlan0
    To switch back to wired lan. Just do the opposite of the two lines above.

    Extra NOTE: You can make connecting to a wireless network by install Wifi Radar.

    Please see this link for further instructions:

    HOWTO: Wifi Radar on Hoary

    or if you're using breezy you can install it using apt-get.

    Code:
    sudo apt-get install wifi-radar
    Hope this helps. Feedback will be greatly appreciated.
    Last edited by darius_underhill; October 25th, 2005 at 07:59 AM.

  2. #2
    Join Date
    Aug 2005
    Location
    Saint Paul, MN
    Beans
    2,907

    Re: HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

    Moved to the tips folder. Thanks for the contribution!

  3. #3
    Join Date
    Jun 2005
    Location
    Guatemala
    Beans
    135
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

    hello i have a doubt... what happend if i change my kernell version?
    Leonel Reyes Mata
    Linux User #343531
    http://sirgt.chapinware.com


  4. #4
    Join Date
    Jun 2006
    Beans
    12

    Re: HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

    Thanx for the great how to! I got it working with WEP but also want WPA. Anyone know how to do this?

  5. #5
    Join Date
    Feb 2006
    Location
    San Diego
    Beans
    139
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

    Will this work with the DWL - G650M?
    Jack Frost


  6. #6
    Join Date
    Sep 2007
    Beans
    2

    Re: HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

    This works very well, although I had to get the D-Link driver off the International (Singapore) D-Link web site

    Thank you

  7. #7
    Join Date
    Jun 2009
    Location
    Belfast, Northern Ireland
    Beans
    40
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

    I also want to get this card working with WPA. Any help much appreciated.

  8. #8
    Join Date
    Jul 2011
    Beans
    291

    Re: HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

    Is there any hope of making this card run in ubuntu 11.04?? The windows driver appears to be unavailable, and I'm not sure whether I should try to make the card work, or just look for another card.

    Would appreciate any guidance.

    TY

    Art

  9. #9
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: Using D-link AirplusG+ DWL g650+ with ndiswrapper

    The instruction in this thread are no longer valid. I would suggest you start a new thread, as this one is closed.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •