You are not logged in.
I'm trying to set up my wireless connection according to the Arch Wiki, section "Wireless Quickstart". Everything seems to work fine until the step
# dhcpcd wlan0
. When I input that, my terminal outputs this:
[root@oxygen ~]# dhcpcd wlan0
wlan0: dhcpcd 4.0.7 starting
wlan0: broadcasting for a lease
wlan0: carrier lost
wlan0: carrier acquired
wlan0: broadcasting for a lease
wlan0: carrier lost
wlan0: carrier acquired
wlan0: broadcasting for a lease
wlan0: carrier lost
wlan0: carrier acquired
wlan0: broadcasting for a lease
wlan0: carrier lost
wlan0: carrier acquired
wlan0: broadcasting for a lease
wlan0: carrier lost
wlan0: carrier acquired
wlan0: broadcasting for a lease
wlan0: timed out
I've been trying to figure it out for about 4 hours now, and multiple google searches haven't yeilded anything. Any suggestions?
Last edited by soupcan (2008-12-26 23:42:25)
Offline
do a iwlist scan
and see if you can see your network. If it does then you have a problem with your key what wireless card do you have?
Offline
do a iwlist scan
and see if you can see your network. If it does then you have a problem with your key what wireless card do you have?
Output of iwlist wlan0 scan:
[root@oxygen ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:16:01:D6:EF:65
ESSID:"Buffalo"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=94/100 Signal level:-35 dBm Noise level=-127 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000000082212553
Extra: Last beacon: 1513ms ago
I believe that this is my card:
[root@oxygen ~]# lspci | grep -i net
02:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
Offline
try using dhclient. There are some quirks to use with dhcpcd
Offline
Your card is working. Use netcfg to connect to the wireless network. Follow this link
Offline
Your card is working. Use netcfg to connect to the wireless network. Follow this link
Where do I put the file so netcfg can find it?
EDIT: Nevermind. I just saw that it goes in /etc/network.d.
Last edited by soupcan (2008-12-26 22:52:06)
Offline
This is the output of netcgf wirelesstest:
[root@oxygen ~]# netcfg wirelesstest
:: wirelesstest up - DHCP IP lease attempt failed [FAIL]
Offline
Please see my post 3 post up.
Offline
Please see my post 3 post up.
Sorry, same thing. Output of dhclient wlan0:
[root@oxygen ~]# dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 5745
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:21:5c:12:72:df
Sending on LPF/wlan0/00:21:5c:12:72:df
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Offline
Mmm. Try to restart your router..
Offline
Mmm. Try to restart your router..
Same thing, with both dhcpcd and dhclient.
Offline
mmm. There are some quirks for your wireless card out there. More experience arch users can help you here. I can suggest using wicd-client but to me netcfg2 should work too.
Offline
I'm thinking that I might have a problem with the router itself. I have a Wii, should I try to connect to the internet with that and see what happens? I'd assume that this would reveal whether the problem was with my card or my router.
Offline
DHCP request will fail if authentication was not done successfully... Are you sure that your computer identifies itself correctly to the router? Post all relevant info -- what's in your wpa_supplicant.conf or however it is that you have your wifi configured. My guess is that dhcpcd/dhclient failure is a consequence of something that's misconfigured elsewhere.
Offline
DHCP request will fail if authentication was not done successfully... Are you sure that your computer identifies itself correctly to the router? Post all relevant info -- what's in your wpa_supplicant.conf or however it is that you have your wifi configured. My guess is that dhcpcd/dhclient failure is a consequence of something that's misconfigured elsewhere.
Ummm.. could you be a little more specific? I haven't done anything but what's outlined in the Wireless Article and Beginners Guide, and what's been posted in this thread. I'm not really sure what files I need to post. I can boot into Ubuntu where I'm not having problems with wireless. Are there any settings I can post from there that would help?
Offline
The "Wireless Quickstart" you referred to in the first post describes the procedure for a WEP protected network, your network is using WPA encryption, from what I can tell, so those instructions are not what should be used in your case.
The problem is that other than dhcpcd/dhclient command you didn't tell us what it is that you do in order to connect to the wifi network. Are you using wpa_supplicant, netcfg -- what are the steps that you do before issuing the dhcpcd/dhclient command?
Last edited by fwojciec (2008-12-27 01:46:46)
Offline
The "Wireless Quickstart" you referred to in the first post describes the procedure for a WEP protected network, your network is using WPA encryption, from what I can tell, so those instructions are not what should be used in your case.
The problem is that other than dhcpcd/dhclient command you didn't tell us what it is that you do in order to connect to the wifi network. Are you using wpa_supplicant, netcfg -- what are the steps that you do before issuing the dhcpcd/dhclient command?
Oh, ok. I was using the steps in the Wireless Quickstart guide. Like this:
# lspci | grep -i net
# iwconfig
# ifconfig wlan0 up
# iwlist wlan0 scan
# iwconfig wlan0 essid "Buffalo" key blahblahblah
# dhcpcd wlan0 or #dhclient wlan0
Is that why I was having problems? How should I set up my network then?
Offline
Right, these instructions would work for a WEP encrypted network, but the wifi network you're trying to connect to uses WPA encryption.
The generic procedure for WPA networks is to use wpa_supplicant to negotiate the encryption and then dhcpcd/dhclient to obtain an ip address. Wiki page for wpa_supplicant is here: http://wiki.archlinux.org/index.php/Wpa_supplicant
The best bet for you is to use something like netcfg to semi-automate the configuration -- that way you won't have to configure wpa_supplicant.conf manually/directly (though configuring it directly can be advantageous is many ways). You'd need to customize the wpa.example file from /etc/network.d/examples. Netcfg wiki is here: http://wiki.archlinux.org/index.php/Netcfg
Last edited by fwojciec (2008-12-27 02:08:44)
Offline
Right, these instructions would work for a WEP encrypted network, but the wifi network you're trying to connect to uses WPA encryption.
The generic procedure for WPA networks is to use wpa_supplicant to negotiate the encryption and then dhcpcd/dhclient to obtain an ip address. Wiki page for wpa_supplicant is here: http://wiki.archlinux.org/index.php/Wpa_supplicant
The best bet for you is to use something like netcfg to semi-automate the configuration -- that way you won't have to configure wpa_supplicant.conf manually/directly (though configuring it directly can be advantageous is many ways). You'd need to customize the wpa.example file from /etc/network.d/examples. Netcfg wiki is here: http://wiki.archlinux.org/index.php/Netcfg
Okay, my wireless is now working though wpa_supplicant. Thank you so much.:) I've spent the entire day trying to get a wireless connection.
Anyway, I see that the netcfg wiki has a "Start On Boot" section, but I don't really understand what I have to do to get my wireless to work every time I boot up.
Last edited by soupcan (2008-12-27 02:31:53)
Offline
If I remember correctly... you need something like
NETWORKS=(auto-wireless wlan0)
in rc.conf and then "net-auto" deamon specified in the daemons array in rc.conf.
Offline
Good for you that you have resolve the wireless issue. I forget that if there is no DHCP offer, it might be due to authentication failure.
Offline
soupcan
to start your wireless you type sudo netcfg "wirelesstest" the name of the file you placed in /etc/netconf.d Also look at the /etc/netconf.d/examples
Offline
I would recommend using wicd unless you really want/need to use cli apps. wicd does the trick for me and also helped other people that asked for help here on the forum.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline