You are not logged in.
Ok so after trying to fix this problem myself and google coming up with nothing relevant i come here asking for help.
I havent had a problem with my wireless since installing Arch but recently its been giving me alot of trouble.
in wicd it cant see any of the networks (i can still connect if i plug in an ethernet cable) and when i ifconfig it doesnt show up with wlan0
So i tried # ifconfig wlan0 up and then it shows up and manually i cant iwlist wlan0 scan and it will actually scan and show the ap's in the area and i can even iwconfig wlan0 essid "essid" and then iwconfig will show me connected but when i try and dhcpcd wlan0 it says
dhcpcd[1420]: version 5.2.12 starting
dhcpcd[1420]: wlan0: waiting for carrier
dhcpcd[1420]: timed out
and thats it.
I connected to the hardline and updated everything and it still does that
catting out /sys/class/net/wlan0/carrier displays 0
I use ath5k as my driver and am using the most up-to-date default kernel.
any help would be great!
Offline
What is your wireless card?
I laugh, yet the joke is on me
Offline
What is your wireless card?
yes.
Offline
Try using network instead of networkmanager/vice versa. I had the same issue when using networkmanager with dhclient/wicd. I switched to network and now it works fine.
I like pie. Especially with a side of Arch.
Offline
Try using network instead of networkmanager/vice versa. I had the same issue when using networkmanager with dhclient/wicd. I switched to network and now it works fine.
But wouldnt it work via the command line? And does wicd use networkmanager as a backend?
Offline
the sad clown wrote:What is your wireless card?
yes.
That's not quite the answer I was hoping for. Do you know what type of wireless card you have?
But wouldnt it work via the command line? And does wicd use networkmanager as a backend?
No, wicd and networkmanager are separate.
Also, can you post your daemons array line from "/etc/rc.conf"?
I laugh, yet the joke is on me
Offline
That's not quite the answer I was hoping for. Do you know what type of wireless card you have?
markbabc wrote:But wouldnt it work via the command line? And does wicd use networkmanager as a backend?
No, wicd and networkmanager are separate.
Also, can you post your daemons array line from "/etc/rc.conf"?
My bad i read that as "is it your wireless card"
lspci says its
01:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
and in /etc/rc.conf my daemons array is
DAEMONS=(@syslong-ng @dbus !netfs @crond @alsa @wicd @sshd)
but thats been like that for a long time and hasnt been edited in a few months
Offline
syslong-ng, should be syslog-ng. I don't use @ in front of anything except wicd. Dunno if it matters or not but I'm using network in deamons prior to loading wicd. You should check your network configs as well. I'm using an ath5k as well.
I like pie. Especially with a side of Arch.
Offline
syslong-ng, should be syslog-ng. I don't use @ in front of anything except wicd. Dunno if it matters or not but I'm using network in deamons prior to loading wicd. You should check your network configs as well. I'm using an ath5k as well.
mybad i was typing it out because i didnt want to get a ethernet cable, its really syslog-ng in the array, ill try adding network in the array
Offline
My bad i read that as "is it your wireless card"
lspci says its01:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
and in /etc/rc.conf my daemons array is
DAEMONS=(@syslong-ng @dbus !netfs @crond @alsa @wicd @sshd)
but thats been like that for a long time and hasnt been edited in a few months
That is my card and I use ath5k as well. The fact that your interface isn't showing up would seem to point to a problem with your ath5k module. Are you sure it is loading properly? Perhaps you could try a modprobe ath5k and see if that doesn't improve things for you. You could try these instructions and see if they don't help you:
https://wiki.archlinux.org/index.php/Wi … etup#ath5k
Also, do not enable the network daemon. You should not have any other networking daemons active except wicd. See the wicd page for an example daemons array:
https://wiki.archlinux.org/index.php/Wicd#Initial_Setup
Last edited by the sad clown (2011-04-20 02:12:56)
I laugh, yet the joke is on me
Offline
Offline
Try 'rm /var/run/dhcpcd/wlan0*' to remove any old leases and then run 'dhcpcd wlan0' again. I occasionally have to do this when switching networks.
Scott
ony thing thats in there is the resolv.conf file
and @the sad clown i will try re-installing the ath5k module tomorrow because modprobe'ing it didnt work
Offline
Offline
What happened when you did a modprobe? You shouldn't have to install it since it is included in the kernel. Can you post the output from "modprobe ath5k"?
I laugh, yet the joke is on me
Offline
What happened when you did a modprobe? You shouldn't have to install it since it is included in the kernel. Can you post the output from "modprobe ath5k"?
Well thats the thing... There was no output... iv never had to use modprobe before so if theres an argv i had to put in i probably didnt
Last edited by markbabc (2011-04-20 03:14:28)
Offline
Sorry, my bad -- /var/lib/dhcpcd/dhcpcd-wlan0.lease (I sent that from my phone -- bad fact checking )
Scott
tried that but still the same problem
@the sad clown i tried removing it with modprobe -r ath5k then loading it again with modprobe ath5k and it still fails
Offline
Try following the instuctions for ath5k I linked to earlier. It could be that another module is conflicting with ath5k and preventing it from loading properly.
I laugh, yet the joke is on me
Offline
Try following the instuctions for ath5k I linked to earlier. It could be that another module is conflicting with ath5k and preventing it from loading properly.
My bad for such a late reply iv been extremely busy.
I tried the wiki and it didnt work, also in /sys/module none of those conflicting modules were there.
I remembered that i had installed the drivers for my usb wireless card to then transfer the pkg onto my desktop so i could use it so i tried plugging in that card and the same thing happens.
In /sys/module when plugged in the correct module loads but then i have to manually ifconfig wlan1 up and then i get down to the same error of the carrier is missing
Offline
This sounds like an unrelated issue, but for what it is worth ath5k is jacked up in 2.6.38 kernel for the time being. If you do get it to work you will get transfer speeds less then 1/10 of what you should be getting. https://bugzilla.kernel.org/show_bug.cgi?id=31922 I had to drop back to 2.6.37 to have working wireless again on my laptop. https://bbs.archlinux.org/viewtopic.php?id=116782
Last edited by nocain (2011-05-02 17:19:05)
Offline
Might be going down the wrong track, but what kind of security? i.e. WEP, WPA, open, etc.
I ask because I have a laptop, ath5k, arch, 2.6.38, and had the same problems. For me I hadnt associated the wlan0 to my ssid, and so my wpa_supplicant didnt authenticate and dhcpcd timed out waiting for carrier.
Just a thought, that perhaps wlan0 isn't authenticating/associating with your router/AP?
Offline
Oh and you could do from the terminal an lsmod |grep ath to see if the modules are loading. not at home right now so doing this from memory but you should get output something like this if it is loading right( I just invented the first set of numbers after the module name ).
ath 12345 0
ath5k 23456 1 ath
mac80211 34566 2 ath, ath5k
Offline
Before typing dhcpcd wlan0, I use to type iwconfig wlan0 channel auto and the problem disappears.
Offline
You need to tell it what to connect to before using dhcpcd, for example, by using iwconfig or wpa_supplicant.
Last edited by neurolysis (2011-05-03 08:19:49)
Offline
You need to tell it what to connect to before using dhcpcd, for example, by using iwconfig or wpa_supplicant.
comeon... im not that stupid... read my first post and i say that i do that.....
Oh and you could do from the terminal an lsmod |grep ath to see if the modules are loading. not at home right now so doing this from memory but you should get output something like this if it is loading right( I just invented the first set of numbers after the module name ).
ath 12345 0
ath5k 23456 1 ath
mac80211 34566 2 ath, ath5k
It shows
ath5k 127186 0
ath 11442 1 ath5k
mac80211 181798 1 ath5k
cfg80211 123549 3 ath5k,ath,mac80211
and to those of you saying that i need to associate to the AP i already have and iwconfig says im associated to it
Offline
neurolysis wrote:You need to tell it what to connect to before using dhcpcd, for example, by using iwconfig or wpa_supplicant.
....... read my first post and i say that i do that.....
and to those of you saying that i need to associate to the AP i already have and iwconfig says im associated to it
But... If it is protected with WPA or WPA2, you can associate with it; but you still won't be able to talk to it.
Do you know if the router uses WPA ?? With WEP, the association requires the passphrase. No so with WPA. With WPA, the encryption occurs at a higher link level. Even though you are associated, your TCP packets are not encrypted properly and are meaningless.
With WPA:
1. iwconfig to associate with the AP
2. wpa_supplicant to manage packet encryption / decryption (I think you are missing this step)
3. dhcpcd
4. profit....
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online