Fedora Linux Support Community & Resources Center

Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Networking

Networking Networking with Fedora such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2005-07-18, 05:09 AM CDT
magicdawg29 Offline
Registered User
 
Join Date: Jul 2005
Posts: 12
FC4 on laptop with DWL-G650 wireless card

new to linux and trying to figure out how i can get the D-link DWL-G650 wireless card to work. any help would be great.

Thanks
magicdawg29
Reply With Quote
  #2  
Old 2005-07-18, 08:00 AM CDT
Butt-Ugly's Avatar
Butt-Ugly Offline
Registered User
 
Join Date: Dec 2004
Location: Brisbane, Australia
Age: 39
Posts: 46
You can use the "madwifi" drivers provided for the Atheros card (DWL-G650), this script will download and install the files needed.
Code:
#!/bin/bash

cd /usr/src
rm -Rf /usr/src/madwifi

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi

cd /usr/src/madwifi

#Use for 32-bit OS
make

#Use for 64-bit OS
#make TARGET=x86_64-elf TOOLPREFIX=""

make install
You can test the kernel module with:
Code:
modinfo ath_pci
Next, insert this code into /etc/modprobe.conf
Code:
alias ath0 ath_pci
Then edit /etc/sysconfig/network-scripts/ifcfg-ath0
Code:
IPV6INIT=no
ONBOOT=no
USERCTL=yes
PEERDNS=yes
TYPE=Wireless
DEVICE=ath0
BOOTPROTO=dhcp
HWADDR=
IPADDR=
NETMASK=
GATEWAY=
DOMAIN=
DHCP_HOSTNAME=
ESSID='put_your_essid_in_here'
CHANNEL=1
MODE=Managed
RATE=auto
You can control the device with:
Code:
ifup ath0
ifdown ath0
Thats enough to get you up and running, but now you need to secure it....

For WPA Security, download this file: http://hostap.epitest.fi/releases/wp...t-0.4.3.tar.gz
Code:
tar -xzvf wpa_supplicant-0.4.3.tar.gz -C /usr/src
cd /usr/src/wpa_supplicant
cp defconfig .config
Make the following changes in .config file
Code:
CONFIG_DRIVER_MADWIFI=Y      <-- uncomment this
CFLAGS += -I../madwifi       <-- change this
Now save the file and build the source code:
Code:
make clean
make
make install
Now edit /etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
    ssid="put_your_essid_in_here"
    scan_ssid=1
    proto=WPA
    key_mgmt=WPA-PSK
    psk="insert_secret_passphrase_in_here_for_wpa"
}
You may need to check if /var/run/wpa_supplicant directory exists yet.

Now to automate things a little:
Edit /etc/sysconfig/network-scripts/ifup-wireless

Put this code at the VERY BOTTOM.
Code:
echo -e \\n\\nInitialising \'wpa_supplicant\' WIFI Security....\\n
kill -9 `ps -e | grep wpa_supplicant | cut -f2 -d " "` 2>/dev/null
/usr/local/sbin/wpa_supplicant -Bdw -i ath0 -c /etc/wpa_supplicant.conf -D madwifi
Now ifup ath0

That should get you up and running... remember to check your logs

Code:
dmesg
tail -n 50 /var/log/messages
Hope that helps..


Miles.
__________________
__________________________
Registered Linux Geek #122468
Linux Home Server HOWTO
Reply With Quote
  #3  
Old 2005-07-18, 08:06 AM CDT
kg4cbk Offline
Registered User
 
Join Date: Feb 2005
Posts: 675
This assumes the card has the atheros chip set. Mine has the prism54 chipset.

Check your card by using /sbin/lspci command. Assuming it is the atheros chipset then the madwifi drivers should work as described above. If it has a different chip set you will need to find drivers to match or use ndiswrapper or driverloader.
Reply With Quote
  #4  
Old 2005-07-18, 08:22 AM CDT
magicdawg29 Offline
Registered User
 
Join Date: Jul 2005
Posts: 12
ok went good up to the point of ( make ) then i started getting errors.
Reply With Quote
  #5  
Old 2005-07-18, 08:26 AM CDT
kg4cbk Offline
Registered User
 
Join Date: Feb 2005
Posts: 675
If you don't post the specific error messages most people on this list won't be able to access your system and check what went wrong.
Reply With Quote
  #6  
Old 2005-07-18, 08:36 AM CDT
magicdawg29 Offline
Registered User
 
Join Date: Jul 2005
Posts: 12
[root@24-183-201-62 madwifi]# make
Checking if all requirements are met... ok.
mkdir -p ./symbols
for i in ./ath_hal ath_rate/sample ./net80211 ./ath; do \
make -C $i || exit 1; \
done
make[1]: Entering directory `/usr/src/madwifi/ath_hal'
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/public/i386-elf.hal.o.uu
make[1]: uudecode: Command not found
make[1]: *** [hal.o] Error 127
make[1]: Leaving directory `/usr/src/madwifi/ath_hal'
make: *** [all] Error 1
Reply With Quote
  #7  
Old 2005-07-18, 08:43 AM CDT
Butt-Ugly's Avatar
Butt-Ugly Offline
Registered User
 
Join Date: Dec 2004
Location: Brisbane, Australia
Age: 39
Posts: 46
Quote:
Originally Posted by magicdawg29
make[1]: uudecode: Command not found
fix with:
Code:
yum install sharutils
__________________
__________________________
Registered Linux Geek #122468
Linux Home Server HOWTO
Reply With Quote
  #8  
Old 2005-07-18, 08:50 AM CDT
magicdawg29 Offline
Registered User
 
Join Date: Jul 2005
Posts: 12
ok here is next error:

[root@24-183-201-62 madwifi]# modinfo ath-pci
modinfo: could not find module ath-pci


Plus when you tell me to edit files i dont know how to do that either.

You guys are being a REALLY big help tho, THANKS
Reply With Quote
  #9  
Old 2005-07-18, 08:52 AM CDT
magicdawg29 Offline
Registered User
 
Join Date: Jul 2005
Posts: 12
it is still same whith the correct input

modinfo ath_pci
Reply With Quote
  #10  
Old 2005-07-18, 08:55 AM CDT
kg4cbk Offline
Registered User
 
Join Date: Feb 2005
Posts: 675
Did you run the

make install

command?

To edit files there are a number of editors available. gedit may be the easiest for you to use. vi is an editor you will find on almost all unix systems.
Reply With Quote
  #11  
Old 2005-07-18, 09:16 AM CDT
magicdawg29 Offline
Registered User
 
Join Date: Jul 2005
Posts: 12
Then edit /etc/sysconfig/network-scripts/ifcfg-ath0

That file is not ine there. Might i have done ANOTHER THING WRONG?
Reply With Quote
  #12  
Old 2005-07-18, 09:42 AM CDT
Butt-Ugly's Avatar
Butt-Ugly Offline
Registered User
 
Join Date: Dec 2004
Location: Brisbane, Australia
Age: 39
Posts: 46
no, you need to 'create' that file and add the details to it.
__________________
__________________________
Registered Linux Geek #122468
Linux Home Server HOWTO
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Laptop Wireless Card and Desktop Nvidia Graphics Card Raskula Hardware 4 2008-11-30 04:22 PM CST
Wireless Laptop Card ? GravityFX3 Fedora Core 5 - Dev 5 2006-01-22 11:34 PM CST
wireless card d-link air plus G dwl g650+ not detected erezbeker Hardware 10 2005-06-16 10:26 PM CDT
Wireless D-Link DWL-G650 h/w ver.:C2 f/w.:3.1.6 freeze Toshiba 8200 laptop... raffe Laptop 6 2005-03-20 09:12 AM CST
Wireless Card: DWL-G650 Bill Spears gmane.linux.redhat.fedora.general 2 2004-06-14 04:46 AM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 11:05 AM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translated to other languages thanks to vB Enterprise Translator 2.3.8