You are not logged in.
Pages: 1
When I try to connect to my WEP encrypted network (before you tell me WEP is shit, I know, it's on that router because of my Nintendo DS (as I have the one that can only use WEP)) I type:
iwconfig wlan0 essid "id" key s:word
ip link set wlan0 up
dhcpcd wlan0
The second command doesn't seem to matter as I am able to connect without doing that; however, the problem is dhcpcd wlan0 doesn't do anything; it times out every time. So I end up having to enter the commands a few times (and enter dhcpcd without wlan0 then enter it again with wlan0) to get it working. I don't know why this is doing this however, so I'm asking for help here. It works fine with no problems from the live-USB, but after installation it doesn't work very well.
I'm trying to connect to a D-Link router from an Acer Aspire One ZG5.
Not sure what else to add to this, but any help would be much appreciated.
Last edited by Zukaro (2012-01-14 23:07:17)
Offline
however, the problem is dhcpcd wlan0 doesn't do anything; it times out every time
when dhcpcd doesn't work you probably forgot to install the "wireless_tools" https://www.archlinux.org/packages/?name=wireless_tools
it bit me once....
Last edited by gregor (2012-01-15 10:43:02)
Offline
$ pkgfile iwconfig
core/wireless_tools![]()
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
I remember installing wireless_tools (*will try re-installing and let you know if the issue is still there*).
Thanks.
edit:
Okay; I've tried reinstalling wireless_tools; I still get the same problem of dhcpcd timing out.
Last edited by Zukaro (2012-01-15 19:37:19)
Offline
First, can you post the output of iwconfig and of ip addr.
Maybe also the output of iwlist scan
Although it is not a direct answer to your issue with dhcpcd, you might try dhclient instead.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
iwconfig output:
lo:
no wireless extensions.
eth0:
no wireless extensions.
wlan0:
IEEE 802.11bg ESSID:"id"
Mode:Managed Access Point: Not-Associated Tx-Power=20dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:6D3A-3G5A-63
Power Management:off
ip addr output:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00
omet 127.0.0.1/8 scp[e hpst ;p
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:23:8b:23:62:69 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 00:23:4e:39:02:74 brd ff:ff:ff:ff:ff
(I changed the encryption key that I posted here where it says "encyption key" under wlan0)
As for iwlist scan; the list is too long and goes off the screen of my netbook (most of it is cut off).
As for dhclient, I believe I tried it before and still nothing changed (however, I will try it again).
edit:
I tried to get dhclient (and I am connected to the Internet at the moment), but it keeps telling me that it wasn't found (did the command pacman -S dhclient).
Last edited by Zukaro (2012-01-15 23:09:39)
Offline
Access Point: Not-Associated
Well, there's your problem
Right there in our iwconfig output
A working output (from my system) looks like this:
wlan0 IEEE 802.11bg ESSID:"Woodlyn"
Mode:Managed Frequency:2.462 GHz Access Point: C4:3D:C7:5D:EB:8D
Bit Rate=36 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=54/70 Signal level=-56 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:122 Invalid misc:7734 Missed beacon:0Note that the access point reports the MAC address of my router. If iwconfig does not associate, the other commands you gave are moot.
Go back and check your pass phrase. Remember it is case sensitive. So is the ESSID; be certain it is the same as what shows up in iwlist scan
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
When I did the commands I hadn't configured my wifi so I'd assume that's why it said Access Point: Not-Associated.
I know that I entered the essid and password correctly. And I am able to connect but I have to mess around with entering dhcpcd then dhcpcd wlan0 and then iwconfig wlan0 essid "id" key s:word.
However, I've removed ArchLinux from my computer (for now, I do plan to use it again (when I can get it to boot along with my other two operating systems I'll use it on my netbook, until then it's going onto this old Dell Latitude CSx when I get a new battery and a wireless card)).
But anyways; thanks for the help. ![]()
Offline
Pages: 1