LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-13-2004, 12:19 AM   #1
mp55
Member
 
Registered: Jul 2004
Distribution: Fedora 7
Posts: 32

Rep: Reputation: 15
Smile How did I get my DWL520 Rev. D to work using ndiswrapper


Got a lot of help here to get it work, so here's my giving back.
My OS: Slackware 10.0
Kernel: 2.4.26
Card: D-Link DWL520 Revision D, with a realtek chipset

Sorry I can't post an url since the system said I got to have posted at least five posts to do that. It should be easy to use google to find their websites.
1. Download ndiswrapper 0.8 from ndiswrapper
2. Download the realtek WindowsXP driver from realtek, choose RTL8180L
3. extract ndiswrapper: tar xvfz ndiswrapper-0.8.tar.gz
4. cd to the ndiswrapper-0.8 folder
5. Compile and install
As root run
> make install
6. Install your windows driver
> ndiswrapper -i </path/to/NET8180.inf>
After installing you can run
> ndiswrapper -l
Output on my machine:
> Installed ndis drivers:
> net8180 present
Where "present" means that I have a PCI-device present that can be used with the driver net8180.
7. Load module
> modprobe ndiswrapper.
8. Configure interface
Use iwconfig to configure wireless network interface. First, locate the wireless interface:
> iwconfig
This will print the wireless interface (e.g., wlan0 on my machine). In the examples below wlan0 is used; replace wlan0 with the interface reported by iwconfig above.
At this time iwconfig shows my card has already connected to the router. Everything like Mode, ESSID,..., is set except an IP address. Maybe because I'm also using this card under WinXP so it's already configured? I'm not sure. You may have to configure it yourself.
9. Bring the network up
> ifconfig wlan0 up
10. Enable dhcp client daemon
> dhcpcd wlan0
Now if you use
> ifconfig
You will see wlan0 is up with an IP address. And you can use your internet now.
11. Automate
Once everything works fine you can write the correct modeprobe settings to
load ndiswrapper automatically by running
> ndiswrapper -m
Now everytime after reboot you can use
> ifconfig wlan0 up
> dhcpcd wlan0
to bring up your network. If you also want this to be automated, add them to rc.local.
# cat /etc/rc.d/rc.local
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
ifconfig wlan0 up
dhcpcd wlan0

Please refer to the INSTALL file in the ndiswrapper directory if you have questions.

Last edited by mp55; 07-13-2004 at 12:20 AM.
 
  


Reply



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
Can't get Belkin 54g Wireless Desktop Network Card (F5D7000) Rev 03 to work Sune Simonsen Linux - Hardware 8 01-13-2006 07:31 PM
3Com 3CRWE154G72 (rev 01) Ndiswrapper problems! Matto4297 Linux - Wireless Networking 2 11-05-2005 09:40 AM
dwl-g520 rev. b3 does not work with madwifi amam Linux - Wireless Networking 1 03-28-2005 09:02 PM
dwl520+ acx100chipset 2.4.24 kernel redRemi Linux - Wireless Networking 0 05-11-2004 02:05 PM
[acx100/dwl520+] configuration problems (?) compyfreak Linux - Networking 0 11-18-2003 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:06 AM.

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