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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-12-2011, 02:21 PM
#1
LQ Newbie
Registered: Apr 2011
Posts: 15
Rep:
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
04-12-2011, 03:28 PM
#2
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
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
04-12-2011, 04:03 PM
#3
LQ Newbie
Registered: Apr 2011
Posts: 15
Original Poster
Rep:
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.
04-12-2011, 04:26 PM
#4
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
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 .
04-12-2011, 04:30 PM
#5
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
It seems you don't need madwifi. Your kernelmodule is athk5, I'd recommend to uninstall the madwifi-driver.
Markus
04-12-2011, 04:54 PM
#6
LQ Newbie
Registered: Apr 2011
Posts: 15
Original Poster
Rep:
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
04-12-2011, 04:58 PM
#7
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
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
04-12-2011, 05:01 PM
#8
LQ Newbie
Registered: Apr 2011
Posts: 15
Original Poster
Rep:
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
04-12-2011, 05:03 PM
#9
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
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
04-12-2011, 05:12 PM
#10
LQ Newbie
Registered: Apr 2011
Posts: 15
Original Poster
Rep:
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)
04-12-2011, 05:18 PM
#11
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
Well, with the
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
04-12-2011, 05:21 PM
#12
LQ Newbie
Registered: Apr 2011
Posts: 15
Original Poster
Rep:
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
04-12-2011, 05:25 PM
#13
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
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
04-12-2011, 05:26 PM
#14
LQ Newbie
Registered: Apr 2011
Posts: 15
Original Poster
Rep:
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:
...or something else?
04-12-2011, 05:28 PM
#15
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
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
All times are GMT -5. The time now is 06:19 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News