LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-12-2004, 11:04 AM   #1
RuneR
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
D-Link DWL-G520 and DI-624 on FC2


Hi,

I just spent 2 days installing D-Link DWL-G520 to a DI-624 wireless router on Fedora Core 2. To save others the trouble I've gone through I thought I would summarise what I did here to make it work.

Since I'm a newbie, I'm gonna write it for newbies...

The hardware is not supported officially by D-Link on Linux, but luckily it works with MadWifi. Unlike a lot of (old) sites will tell you it is not necessary to compile everything (including your kernel) any longer.

After installing the card and router, here's what I did :
0. I installed a package called ShareUtil, which I have no idea if I had to, but one site recommended it...

1. Get the MadWifi rpm's for your kernel.

You'll need two rpms. A kernel upgrade and the MadWifi. I downloaded mine from atrpms.net.

It is *very* important that the version number match your kernel number (I had to upgrade my kernel) and that you select the one for your processor (probably i86/568 etc. probably NOT 64 bit nor SMP if you don't know).

When you've downloaded the files install them using :
> rpm -Uvh kernel-module-madwifi*.rpm
> rpm -Uvh madwifi*.rpm

2. Add the following line to the file /etc/modprobe.conf
alias ath0 ath_pci

3. Use your browser (from a computer that is physically linked to the router) to set up the router. This is described in the manual.

4. Create a file /etc/sysconfig/network-scripts/ifcfg-ath0 like this
# STARTMODE=onboot
DEVICE=ath0
ONBOOT=yes
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ESSID=<your-essid-default-is-default>
CHANNEL=<your-channel-default-is-6>
KEY=<your-key-if-any-else-leave-blank>
IPV6INIT=no
USERCTL=no
PEERDNS=no

5. Find your access point (AP) with :
> iwlist ath0 scan

6. Configure the network card
> iwconfig ath0 key XXXXXXXXXX
> iwconfig ath0 ap XX:XX:XX:XX:XX:XX
> iwconfig ath0 channel X
> iwconfig ath0 essid XXXXXXX
> iwconfig ath0 rate XXMB

where the X's must be replaced with what you've configured on the router in step 3.

7. Test it
> /etc/init.d/network restart
> ifconfig

If you didn't understand > indicated a command typed from a console window as root. Open terminal and write "su -" and then the root password. Do not type the >'s

I would appreciate it if anybody could tell me :
- what does ShareUtil do ? How do I find out ?
- if any steps here are unecessary ?
- what does step 2 and 4 really do ?

PS. It's a bit anoying, but I have several useful links which I used hours to search and filter out, but I'm not allowed to enter them here, since this is my first post...

Last edited by RuneR; 07-13-2004 at 08:31 AM.
 
Old 07-12-2004, 01:06 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
You could still enter them, just format them as text:

w w w.linky.com instead of www.linky.com for example.
 
Old 07-13-2004, 10:40 AM   #3
RuneR
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Ok, here are some links that more or less contains what I've written (remove the spaces) :

fedoraforum.org/forum/showthread.php?t=2785
w w w.mattfoster.clara.co.uk/madwifi-faq.htm
bellsouthpwp.net/c/h/chaotic42/wlan.html
w w w.techspot.com/vb/showthread/t-7157.html
atrpms.net

Can some moedrator please change the subject to be DWL-G520 ... on FC2 ? I must have been sleeping or something...

And can no one explain step 2 and 4 to me ???

Last edited by RuneR; 07-13-2004 at 10:42 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
Is Anyone Running Suse 9.3 and D-Link 624 mikeCanada Linux - Newbie 3 11-26-2005 11:37 PM
Is Anyone Running Suse 9.3 and D-Link 624 mikeCanada SUSE / openSUSE 9 11-11-2005 09:31 PM
Is Anyone Running Suse 9.3 and D-Link 624 mikeCanada Linux - Wireless Networking 2 11-09-2005 06:51 AM
"D-Link DWL G520+ not working in FC3 64-BIT" manikantha Linux - Wireless Networking 2 12-29-2004 09:39 PM
Dlink DLW-G520 is connected to roughter but not able to get online E-man07 Linux - Wireless Networking 0 10-09-2004 04:10 PM

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

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