LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2011, 06:49 AM   #1
whopper_schnoz
LQ Newbie
 
Registered: Mar 2011
Distribution: Centos
Posts: 18

Rep: Reputation: 0
Installing Madwifi on Centos5.5 for AirPlus DWL G510


Hi all,
I am trying to install Madwifi 0.9.4 on my Centos5.5 and have absolutely no idea what to do, obviously its nothing like windows which is all I have ever used until just today when I installed Centos (so yes very new newbie). So my question is, how do I install it, what do I do? I have tried looking around on the net but most posts/tutorials assume some knowledge already.
cheers, whopper_schnoz
 
Old 03-04-2011, 08:44 AM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Are you using 64 bit or 32 bit? If you're unsure, open a terminal and enter this
Code:
uname -a
You'll see something like this
Code:
Linux Arch-Desktop 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 11 09:29:49 CET 2011 x86_64 Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz GenuineIntel GNU/Linux
x86_64 = 64 bit, anything like i386, i486, i586, or i686 will be 32 bit.

For 32 bit, in the terminal do
Code:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
su -c 'rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt'
su -c 'rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm'
su -c 'yum install madwifi'
For 64 bit do
Code:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
su -c 'rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt'
su -c 'rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm'
su -c 'yum install madwifi'
CentOS is an Enterprise type distro, great for servers, not always great for general desktop use. You might be better off with a more desktop oriented distro like Ubuntu, Linux Mint, OpenSuse, etc..

EDIT: To load the module without rebooting do
Code:
su -c 'modprobe ath_pci'

Last edited by reed9; 03-04-2011 at 08:46 AM.
 
Old 03-04-2011, 09:08 AM   #3
whopper_schnoz
LQ Newbie
 
Registered: Mar 2011
Distribution: Centos
Posts: 18

Original Poster
Rep: Reputation: 0
Hi reed, thanks for the reply.
The response you gave looks the easiest way to install it, but I can't get on the net (and haven't since Centos install) because I think the driver is not installed. It shows up as wlan0 (as inactive) when I go to system > administration > network - on the devices tab. Perhaps I don't need to install a driver??? I have the madwifi-0.9.4.tar.gz file sitting on my desktop so am wondering how to install it locally. As for the choice of distro I was hoping to set up Centos as a home file server and hopefully learn what else it can do as a server over time.
cheers, whopper.

oh yes and I have i386
 
Old 03-04-2011, 09:19 AM   #4
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
No wired connection?

You probably don't need madwifi. It's a deprecated driver, and has been replaced with the ath5k and ath9k drivers.

Can you post the output of
Code:
/sbin/lspci -vnn | grep -a4 -i net
I think lspci is in /sbin on centos. If you get a command not found do
Code:
which lspci
It'll give you the path.
 
Old 03-04-2011, 09:58 AM   #5
whopper_schnoz
LQ Newbie
 
Registered: Mar 2011
Distribution: Centos
Posts: 18

Original Poster
Rep: Reputation: 0
No wired connection, just too impractical as the router is at the other end of the house next to the phone line socket/plug/thingy.
At the risk of sounding somewhat useless /sbin/lspci -vnn | grep -a4 -i net yields no response not even command not found
which lspci yields no lspci in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/bob/bin)
I had a look in sbin folder and there is a file lspci in there.

Last edited by whopper_schnoz; 03-04-2011 at 10:00 AM.
 
Old 03-04-2011, 10:33 AM   #6
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
lspci is provided by the package pciutils. I can't imagine that it isn't installed by default in CentOS, but perhaps not?

Do
Code:
rpm -qa | grep pciutil
If it doesn't return anything, it isn't installed.
 
1 members found this post helpful.
Old 03-06-2011, 07:38 PM   #7
whopper_schnoz
LQ Newbie
 
Registered: Mar 2011
Distribution: Centos
Posts: 18

Original Poster
Rep: Reputation: 0
I typed the above mentioned, I got the response pciutils-2.2.3-8.el5_4
I take it that means it is installed and the version number?
 
Old 03-07-2011, 08:09 AM   #8
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
I didn't notice you said you did have lspci in sbin. Can you just post the full output of
Code:
/sbin/lspci
The lack of output would have actually been, in all likelihood, that the string "net" wasn't found in the output before.
 
1 members found this post helpful.
Old 03-08-2011, 07:01 AM   #9
whopper_schnoz
LQ Newbie
 
Registered: Mar 2011
Distribution: Centos
Posts: 18

Original Poster
Rep: Reputation: 0
I thought I should mention, not sure if it is relevant but immediately after logging into my account a dialog box pops up
and says:

Quote:
The NetworkManager applet could not find some required resources. It cannot continue.
As to your advice I again tried:

Code:
/sbin/lspci -vnn | grep -a4 -i net
Made sure I included 'net' but again got no response.

I typed /sbin/lspci and got:

Code:
[bob@localhost ~]$ /sbin/lspci

00:00.0 Host bridge: nVidia Corporation nForce2 IGP2 (rev c1)

00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)

00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)

00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)

00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)

00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)

00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)

00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)

00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)

00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)

00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)

00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)

00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)

00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)

00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)

00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)

00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3)

00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)

01:07.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)

01:0c.0 RAID bus controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (rev 10)

01:0d.0 RAID bus controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 02)

03:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01)

03:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 01)

I then gave just /sbin/lspci -vnn a try, not sure if its relevant but here it is:


Code:
[bob@localhost ~]$ /sbin/lspci -vnn
00:00.0 0600: 10de:01e0 (rev c1)
        Flags: bus master, 66MHz, fast devsel, latency 0
        Memory at e0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: <access denied>

00:00.1 0500: 10de:01eb (rev c1)
        Subsystem: 10de:0c17
        Flags: 66MHz, fast devsel

00:00.2 0500: 10de:01ee (rev c1)
        Subsystem: 10de:0c17
        Flags: 66MHz, fast devsel

00:00.3 0500: 10de:01ed (rev c1)
        Subsystem: 10de:0c17
        Flags: 66MHz, fast devsel

00:00.4 0500: 10de:01ec (rev c1)
        Subsystem: 10de:0c17
        Flags: 66MHz, fast devsel

00:00.5 0500: 10de:01ef (rev c1)
        Subsystem: 10de:0c17
        Flags: 66MHz, fast devsel

00:01.0 0601: 10de:0060 (rev a4)
        Subsystem: 1458:0c11
        Flags: bus master, 66MHz, fast devsel, latency 0
        Capabilities: <access denied>

00:01.1 0c05: 10de:0064 (rev a2)
        Subsystem: 1458:0c11
        Flags: 66MHz, fast devsel, IRQ 11
        I/O ports at dc00 [size=32]
        Capabilities: <access denied>

00:02.0 0c03: 10de:0067 (rev a4) (prog-if 10)
        Subsystem: 1458:5004
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 18
        Memory at ea087000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:02.1 0c03: 10de:0067 (rev a4) (prog-if 10)
        Subsystem: 1458:5004
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 19
        Memory at ea082000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:02.2 0c03: 10de:0068 (rev a4) (prog-if 20)
        Subsystem: 1458:5004
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
        Memory at ea083000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>

00:04.0 0200: 10de:0066 (rev a1)
        Subsystem: 1458:e000
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
        Memory at ea086000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at e000 [size=8]
        Capabilities: <access denied>

00:05.0 0401: 10de:006b (rev a2)
        Subsystem: 10de:0c11
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
        Memory at ea000000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: <access denied>

00:06.0 0401: 10de:006a (rev a1)
        Subsystem: 10de:4144
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 18
        I/O ports at e400 [size=256]
        I/O ports at d000 [size=128]
        Memory at ea080000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:08.0 0604: 10de:006c (rev a3)
        Flags: bus master, 66MHz, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 00008000-0000afff
        Memory behind bridge: e8000000-e9ffffff
        Prefetchable memory behind bridge: 40000000-400fffff

00:09.0 0101: 10de:0065 (rev a2) (prog-if 8a)
        Subsystem: 1458:5002
        Flags: bus master, 66MHz, fast devsel, latency 0
        I/O ports at f000 [size=16]
        Capabilities: <access denied>

00:0d.0 0c00: 10de:006e (rev a3) (prog-if 10)
        Subsystem: 1458:1000
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 10
        Memory at ea084000 (32-bit, non-prefetchable) [size=2K]
        Memory at ea085000 (32-bit, non-prefetchable) [size=64]
        Capabilities: <access denied>

00:1e.0 0604: 10de:01e8 (rev c1)
        Flags: bus master, 66MHz, medium devsel, latency 32
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: e6000000-e7ffffff
        Prefetchable memory behind bridge: d0000000-dfffffff

01:07.0 0200: 168c:001a (rev 01)
        Subsystem: 1186:3a16
        Flags: bus master, medium devsel, latency 168, IRQ 21
        Memory at e9000000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>

01:0c.0 0104: 1283:8212 (rev 10)
        Subsystem: 1283:0001
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 16
        I/O ports at 8010 [size=8]
        I/O ports at 8400 [size=4]
        I/O ports at 8810 [size=8]
        I/O ports at 8c00 [size=4]
        I/O ports at 9000 [size=16]
        [virtual] Expansion ROM at 40080000 [disabled] [size=128K]
        Capabilities: <access denied>

01:0d.0 0104: 1095:3112 (rev 02)
        Subsystem: 1095:6112
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 20
        I/O ports at 9400 [size=8]
        I/O ports at 9800 [size=4]
        I/O ports at 9c00 [size=8]
        I/O ports at a000 [size=4]
        I/O ports at a400 [size=16]
        Memory at e9010000 (32-bit, non-prefetchable) [size=512]
        [virtual] Expansion ROM at 40000000 [disabled] [size=512K]
        Capabilities: <access denied>

03:00.0 0300: 1002:5964 (rev 01)
        Subsystem: 1458:4018
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 21
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at c000 [size=256]
        Memory at e7000000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at e6000000 [disabled] [size=128K]
        Capabilities: <access denied>

03:00.1 0380: 1002:5d44 (rev 01)
        Subsystem: 1458:4019
        Flags: bus master, 66MHz, medium devsel, latency 32
        Memory at d8000000 (32-bit, prefetchable) [size=128M]
        Memory at e7010000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>

Cheers
 
Old 03-08-2011, 08:20 AM   #10
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
This is the wireless

Code:
01:07.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)
The AR2413 is supported by the newer ath5k driver. It should be working out of the box, though.

Does this return available wireless networks
Code:
su -
modprobe ath5k
ifconfig wlan0 up
iwlist wlan0 scan
 
1 members found this post helpful.
Old 03-11-2011, 06:42 AM   #11
whopper_schnoz
LQ Newbie
 
Registered: Mar 2011
Distribution: Centos
Posts: 18

Original Poster
Rep: Reputation: 0
I typed what you suggested:

Code:
[root@localhost ~]# ifconfig wlan0 up 
[root@localhost ~]# iwlist wlan0 scan 
wlan0     Scan completed : 
          Cell 01 - Address: 00:22:75:2B:0C:6F 
                    Channel:6 
                    Frequency:2.437 GHz (Channel 6) 
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on 
                    ESSID:"EDDIE-PC_Network" 
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s 
                              18 Mb/s; 36 Mb/s; 54 Mb/s 
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s 
                    Mode:Master 
                    Extra:tsf=0000010e87a5c4ad 
                    Extra: Last beacon: 620ms ago 
                    IE: Unknown: 001045444449452D50435F4E6574776F726B 
                    IE: Unknown: 010882848B961224486C 
                    IE: Unknown: 030106 
                    IE: Unknown: 2A0104 
                    IE: Unknown: 32040C183060 
                    IE: Unknown: 2D1AEE1117FF000000010000000000000000000000000C0000000000 
                    IE: Unknown: 3D1606070700000000000000000000000000000000000000 
                    IE: Unknown: 3E0100 
                    IE: WPA Version 1 
                        Group Cipher : TKIP 
                        Pairwise Ciphers (1) : TKIP 
                        Authentication Suites (1) : PSK  
                    IE: WPA Version 257 
                        Group Cipher : Proprietary 
                        Pairwise Ciphers (0) : 
                        Authentication Suites (42023) :                     IE: Unknown: 7F0101 
                    IE: WPA Version 0 
                        Group Cipher : TKIP 
                        Pairwise Cipher : TKIP 
                    IE: Unknown: 0706555320010B10 
                    IE: WPA Version 4590 
                        Group Cipher : Proprietary 
                        Pairwise Ciphers (256) :                     IE: WPA Version 1798 
                        Group Cipher : Proprietary 
                        Pairwise Ciphers (0) : 
                        Authentication Suites (0) : 
          Cell 02 - Address: 00:26:44:9B:9F:13 
                    Channel:11 
                    Frequency:2.462 GHz (Channel 11) 
                    Quality=43/70  Signal level=-67 dBm  
                    Encryption key:on 
                    ESSID:"BigPond9B9F13" 
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 
                              24 Mb/s; 36 Mb/s; 54 Mb/s 
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s 
                    Mode:Master 
                    Extra:tsf=00000001ebf8b9ee 
                    Extra: Last beacon: 136ms ago 
                    IE: Unknown: 000D426967506F6E64394239463133 
                    IE: Unknown: 010882848B962430486C 
                    IE: Unknown: 03010B 
                    IE: Unknown: 2A0104 
                    IE: Unknown: 2F0104 
                    IE: IEEE 802.11i/WPA2 Version 1 
                        Group Cipher : TKIP 
                        Pairwise Ciphers (2) : CCMP TKIP 
                        Authentication Suites (1) : PSK  
                    IE: Unknown: 32040C121860 
                    IE: WPA Version 18960 
                        Group Cipher : Proprietary 
                        Pairwise Ciphers (68) :                     IE: WPA Version 61443 
                        Group Cipher : TKIP 
                        Pairwise Cipher : TKIP 
                    IE: WPA Version 1 
                        Group Cipher : TKIP 
                        Pairwise Ciphers (2) : CCMP TKIP 
                        Authentication Suites (1) : PSK  
                    IE: WPA Version 257 
                        Group Cipher : Proprietary 
                        Pairwise Ciphers (0) : 
                        Authentication Suites (42023) :
Bigpond9B9F13 is me. So now I assume I just need to join this network and type in the key and hey presto? I feel like I am finally
getting somewhere, thank you in advance!
 
Old 03-11-2011, 07:31 AM   #12
whopper_schnoz
LQ Newbie
 
Registered: Mar 2011
Distribution: Centos
Posts: 18

Original Poster
Rep: Reputation: 0
Update, ok so now I typed NetworkManager and have it sitting up next to the clock, typed in the network key and tried to join it but I get:


Quote:
SELinux is preventing dhclient (dhclient_t) "read" to ./nm-dhclient-eth0.conf(var_run_t).
So I need to configure SELinux to allow me to connect to this network? If so, any ideas on how I would go about this??
 
Old 03-11-2011, 08:19 AM   #13
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Unfortunately, my only experience with selinux was testing Fedora once upon a time whereupon I immediately disabled it as being annoying and, for me at least, I felt it unnecessary. It's a wonderfully powerful security feature, from what I understand though.

You might want to start a new thread with this issue so someone with knowledge of selinux is more likely to see it.

Here's some documentation.
http://fedoraproject.org/wiki/SELinux
http://www.crypt.gen.nz/selinux/disable_selinux.html
 
1 members found this post helpful.
  


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
D-Link AirPlus DWL-G630 Whatif Linux - Newbie 1 11-13-2010 06:58 PM
My wifi doesn't work after re-installing Zenwalk 5.0- RT61 driver, D-link DWL-G510 MilesMayhem Linux - Newbie 1 01-27-2008 06:55 PM
Trouble installing DWL-G510 wireless card kahlil88 Linux - Hardware 4 04-13-2006 11:23 PM
Installing the D-Link AirPlus G DWL-G122 Wireless USB Adapter on SuSE 9.2 SuSE starter Linux - Wireless Networking 28 02-05-2006 03:27 PM
Dlink DWL-G510 With MADWiFi RemusX2 Linux - Hardware 6 06-01-2005 03:50 PM


All times are GMT -5. The time now is 10:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration