LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-12-2011, 02:21 PM   #1
LastVampyer
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Rep: Reputation: 0
Madwifi drivers installed but still cant connect


Hey guys,

I have installed the madwifi drivers and I am able to put the wireless device into monitor mode using airmon, so that tells me that the driver is working and the device can be picked up...

But I still can't connect using Wicd and I really don't know what to do next

If anyone knows what is happening and why, I would be very grateful
 
Old 04-12-2011, 03:28 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello LastVampyer, welcome to LQ,

please post the output of
Code:
lspci -k | grep -iA5 wire
and please the output of iwconfig.

Markus

Last edited by markush; 04-12-2011 at 03:29 PM. Reason: typo
 
Old 04-12-2011, 04:03 PM   #3
LastVampyer
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
Output of lspci -k | grep -iA5 wire

Code:
root@bt:~# lspci -k | grep -iA5 wire
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
        Kernel driver in use: ohci1394
        Kernel modules: firewire-ohci
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci-pci
16:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
        Kernel modules: ath_pci, ath5k
Output of iwconfig

Code:
lo        no wireless extensions.

eth0      no wireless extensions.
but after I do modprobe ath_pci, it comes up with:

Code:
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:17 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-98 dBm  Noise level=-98 dBm
          Rx invalid nwid:14  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wifi1     no wireless extensions.

ath1      IEEE 802.11b  ESSID:""  Nickname:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
I'm totally lost... like I said, I can pick up my access points (as well as others) when I do airmon-ng and airodump which is why I'm so confused.
 
Old 04-12-2011, 04:26 PM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
mh, I can't seem to find out which wireless-adapter you're using, is it an USB-adapter? if not please post the output of lspci and if yes, please provide more information about the device. Make and Model.

Markus

[EDIT] I wrote nonsense, I've found your wireless-adapter in the output.

Last edited by markush; 04-12-2011 at 04:28 PM.
 
Old 04-12-2011, 04:30 PM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
It seems you don't need madwifi. Your kernelmodule is athk5, I'd recommend to uninstall the madwifi-driver.

Markus
 
Old 04-12-2011, 04:54 PM   #6
LastVampyer
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
How do I do that? :P

Also, what do I do after to get the wireless to work?

Oh, I I have two wireless cards, one internal and one external PCI card
 
Old 04-12-2011, 04:58 PM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
aahh, which of the cards do you want to get to work?

You will have to know the settings for your wireless network, SSID (networkname) and encrypten (wpa or wep, etc) and the encryptionkey. As you see in the output of iwconfig of your last post, there's a message "Not Associated" this means you'll have to configure your wireless-adapter for your network.

Markus
 
Old 04-12-2011, 05:01 PM   #8
LastVampyer
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
The external PCI card would be nice, it has better range. I can disable to internal one and post another output if it would help
 
Old 04-12-2011, 05:03 PM   #9
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
I supose the external pci card is the one with the module ath_pci and ath5k?

Well try that. Disable the internal card and post the output of lspci.

Markus
 
Old 04-12-2011, 05:12 PM   #10
LastVampyer
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
Output after internal card disabled (according to BIOS)

Code:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
16:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
 
Old 04-12-2011, 05:18 PM   #11
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, with the
Code:
lspci -k
command you'll find out which module is in use for the card. I looked at the kernelsources and found out that there is also a module ath5k_pci, maybe you'll try to load this instead of ath_pci.

If you have the modules loaded, please post the output of iwconfig again. And find out the correct settings for the connection to your wireless network.

Markus
 
Old 04-12-2011, 05:21 PM   #12
LastVampyer
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
This might be useful as well - output of lshw -C network

[CODE]

*-network
description: Ethernet interface
product: 82573L Gigabit Ethernet Controller
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 00
serial: 00:00:00:00:00:00 <<< Changed for security reaons
size: 100MB/s
capacity: 1GB/s
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=1.0.2-k4 duplex=full firmware=0.5-1 ip=192.168.1.19 latency=0 link=yes module=e1000e multicast=yes port=twisted pair speed=100MB/s
*-network
description: Wireless interface
product: Atheros AR5001X+ Wireless Network Adapter
vendor: Atheros Communications Inc.
physical id: 2
bus info: pci@0000:16:00.0
logical name: wifi0
version: 01
serial: 00:00:00:00:00:00 <<< Changed for security reaons
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=ath_pci latency=168 maxlatency=28 mingnt=10 module=ath_pci multicast=yes wireless=IEEE 802.11b
 
Old 04-12-2011, 05:25 PM   #13
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
mh, which encryption does your wireless network use? how did you try to configure the computer for the network? Note that if you're using wpa2, wicd alone will not be able to connect to the network, you'll use wpa_supplicant.

Markus
 
Old 04-12-2011, 05:26 PM   #14
LastVampyer
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
Output of lspci -k

Code:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
        Kernel driver in use: agpgart-intel
        Kernel modules: intel-agp
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
        Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
        Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
        Kernel driver in use: uhci_hcd
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
        Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
        Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
        Kernel modules: intel-rng, iTCO_wdt
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
        Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
        Kernel modules: i2c-i801
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
        Kernel driver in use: e1000e
        Kernel modules: e1000e
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
        Kernel driver in use: yenta_cardbus
        Kernel modules: yenta_socket
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
        Kernel driver in use: ohci1394
        Kernel modules: firewire-ohci
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci-pci
16:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
        Kernel driver in use: ath_pci
        Kernel modules: ath_pci, ath5k
To load the ath5k module, do I type:

Code:
modprobe ath5k
...or something else?
 
Old 04-12-2011, 05:28 PM   #15
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
the module is yet loaded, so you'll don't have to load it again. Let's try to configure your wireless-adapter so you can connect. How about iwconfig?

Markus
 
  


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
Wireless cannot connect to linksys WRT54GS Debian Atheros with madWifi drivers mf93 Linux - Wireless Networking 2 08-16-2009 09:27 AM
getting madwifi drivers installed without a network Unregistered Fedora 2 04-07-2008 05:10 AM
Madwifi installed, ath0 gone JimBass Linux - Wireless Networking 4 08-14-2007 09:06 PM
Installed new kernel and now madwifi drivers are gone zoidburg016 Debian 1 04-23-2007 06:44 PM
Madwifi for Slackware 9.1: Can it be installed? I really cannot tell. Old_Fogie Slackware 10 05-20-2006 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 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
Open Source Consulting | Domain Registration