LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-05-2005, 11:54 PM   #1
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Rep: Reputation: 15
Question Installing wireless card


I have no idea how to install the drivers for my wireless card in Linux. Do I need to use a command line, or can I install from a CD ? I'm using ONWARD GO (SIMPLY_MEPIS). The card is a D-Link, but I don't know the other specs I'm supposed to list. I've never even looked at a Linux OS before today, and I'm pretty much lost on what to do. I do really like the interface and if I could get used to using it, I'm certain I'd replace all of my OS's with some version of Linux. Please help a greenie !!
 
Old 08-06-2005, 01:05 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
posting the model number of the card would be a good start...
 
Old 08-06-2005, 01:11 AM   #3
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Original Poster
Rep: Reputation: 15
The model # is: DWL-G510. I've been looking at other Linux threads, and I can't seem to understand anything. I need some really basic instruction and it seems everyone already knows a whole lot more than I do. I really know absolutely nothing about Linux.
 
Old 08-06-2005, 01:31 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
which revision??
 
Old 08-06-2005, 01:33 AM   #5
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Wireless network cards are a minefield for linux users. According to D-Link

http://support.dlink.com/faq/view.as...ral%20Wireless

there are no drivers for your card. There are a couple of ways to use windows drivers in linux (ndiswrapper (free) and linuxant (commercial)), but I never used either so cannot give advice. Easy to find with google tho'.

You can get more details on your card with command 'lspci -vv'. One of the entries in the output should say what sort of chip it uses. Maybe someone knows better than D-Link.
 
Old 08-06-2005, 01:44 AM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
according to the ndiswrapper list, revision A of this card uses a Marvell chip, while revision B uses an Atheros...
Quote:
# Card: D-Link DWL-G510

* Chipset: Marvell W8300
* pciid: 11ab:1fa6
* Driver: http://www.asus.com.tw/support/downl...elName=WL-138G
* Other: Works with WEP and WPA with TKIP cipher. May need iwpriv wlan0 ndis_reset when changing essid.

# Card: D-Link DWL-G510 (Rev B)

* Chipset: Atheros
* pciid: 168c:001a
* Driver: Version 1.0, Provided on CD. Version 2.11 from dlink.com also works.
* Other: only WEP tested, works fine on 2.6.9 and 2.4.27. The short-named .conf file symlink was pointing to the wrong long-named .conf file - fixed manually.
http://ndiswrapper.sourceforge.net/m...index.php/List

so yeah, Blitzkreig75, basically you'd need to find the windows XP driver for the card and then use ndiswrapper to make the driver work on linux... if you've already started going through the install process, maybe you could tell us at which part you are stuck...

BTW, from what i've googled there's plenty of folks who've gotten the card to work well using ndiswrapper, that's a good thing...
 
Old 08-07-2005, 11:37 AM   #7
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Original Poster
Rep: Reputation: 15
I've deciced to abort this wireless thing entirely. I've got a wired network router on the way, so I'll try that, Thanks to everyone anyway.
 
Old 12-20-2005, 03:00 AM   #8
ollywompus
Member
 
Registered: Feb 2005
Posts: 43

Rep: Reputation: 15
Quote:
Originally Posted by Blitzkreig75
I've deciced to abort this wireless thing entirely. I've got a wired network router on the way, so I'll try that, Thanks to everyone anyway.
Hey man, before you give up on the wireless, try this below. Find your windows drivers for your card (you need the file that ends in .inf), and do the following:

(this is from a post in the ubuntu forums I made, but it should work just fine for you):

I wanted to add to this in that when I've tried to install ndiswrapper and drivers, if I've done something out of order it gives me more problems than not. So here's my own quick how-to:

Code:
sudo -s
Code:
apt-get install ndiswrapper-utils
Code:
ndiswrapper -i <<yourdriver.inf>>
Code:
ndiswrapper -l
At this point, you should get something returned that shows your 'driver present, hardware present'... for example, mine returns:

Code:
bcmwl5  driver present, hardware present
Then do the following (and seriously, do it in order, it helps)

Code:
ndiswrapper -m
Code:
modprobe ndiswrapper
At this point, you should be pretty close to up and running. Check iwconfig to see if your interface is there (for example, wlan0 on my system).

Code:
iwconfig
This will return a list of network interfaces, and a bunch of properties for each... just make sure that your wireless card is showing. Then:

Code:
iwconfig wlan0 essid ESSID key XXXXXXXXXX
Replace 'wlan0' with whatever your card is, replace ESSID with your SSID, and replace the XXXXXXXX with your wep/wpa key (if you are using encryption).

Now if you run iwconfig wlan0 you should see your essid listed, and your wep key, in the data returned. Do a simple:

Code:
dhclient wlan0
And you should be up and on the 'net!

Now to write your interfaces config file so that this happens on bootup.

Code:
vim /etc/network/interfaces
You can replace vim with your editor of choice. Now add the following lines into the config file after the 'primary network interface' portion:

Code:
iface wlan0 inet dhcp
wireless_essid ESSID
wireless_mode managed
wireless_keymode restricted
wireless_key XXXXXXXXXXXXXXX
auto wlan0
Now, you will have to tailor this for yourself, for examaple change the ESSID to whatever yours is, change the dhcp to static if you are using a static IP, change the wireless_mode to auto if that is what you are doing, etc.

Hope that helps, not as short as I thought it would be!

But this is the best process I've developed, so that if I follow these steps in order when I've installed ndiswrapper (on a variety of ubuntu, edubuntu, kubuntu, xubuntu systems) it gets up and running every time. This should work fine on your mepis system (you may already have ndiswrapper installed, I think I remember that from a mepis install I did.) If you do an apt-get ndiswrapper-utils, and it says 'current version already installed', then skip that part.

-olly
 
Old 01-14-2006, 07:07 AM   #9
pkg_ntc
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
any body done successfuly wireless installation in fedora core 4 kernet 2.4.11
for dlink dwl-g 510 atheros chipset please help me
 
Old 07-05-2006, 09:25 PM   #10
desicrew
LQ Newbie
 
Registered: May 2005
Posts: 7

Rep: Reputation: 0
ollywompus....

i have done everything u have suggested in the new kubuntu 6.06

I get as far as modprobe ndiswrapper (which gives no errors) but when I iwconfig there is no wlan0 showing up!

help!
 
  


Reply


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
installing a wireless card for my hp notebook Raptor102 Fedora 1 07-09-2004 12:42 AM
installing my wireless card citrus Linux - Newbie 4 12-29-2003 03:30 PM
Installing Wireless Card mr_dizzle Linux - Wireless Networking 17 11-03-2003 05:52 PM
Installing Wireless Card n00benzie Linux - Wireless Networking 1 09-10-2003 08:48 PM
Installing drivers for a wireless card. Card Null Syn Linux - Wireless Networking 3 12-06-2002 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:10 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