You are not logged in.
Pages: 1
I have eth0 and wlan0 on my x120e laptop. I have eth0 working fine with dhcp and am typing this using that connect. However, I can't get dhcp to work with wlan0.
Here is me working my way through the wireless setup wiki page.
#lspci | grep -i net
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
# ip link set wlan0 up
#sudo iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:25:9C:47:9D:92
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=65/70 Signal level=-45 dBm
Encryption key:off
ESSID:"linksys"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000922c69183
Extra: Last beacon: 400ms ago
IE: Unknown: 00076C696E6B737973
IE: Unknown: 010882848B9624B0486C
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: Unknown: 32048C129860
IE: Unknown: DD06001018020304
#sudo iwconfig wlan0 essid "linksys"
#iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"linksys"
Mode:Managed Frequency:2.412 GHz Access Point: 00:25:9C:47:9D:92
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=68/70 Signal level=-42 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
#sudo dhcpcd wlan0
dhcpcd[949]: version 5.2.12 starting
dhcpcd[949]: wlan0: broadcasting for a lease
dhcpcd[949]: timed outWhat could be wrong?
Offline
There is an issue with the latest kernel upgrade, 3.1.5, that breaks the Intel AGN 5100 wireless card. Others may be affected too. Check it out, and try downgrading your kernel. That should help.
Offline
I don't have an AGN1500 card though do I? I believe I have a RTL8188CE. I did some google checking, and I can't find any where that says these two cards are the same or use the same driver.
Offline
Still the error darnir mentions might be affecting you as it seems to be linked to dhcpcd, but it is unclear as yet thats true. I do have a realtek card and no problem at all since the upgrade. For start you can try dhclient: https://bbs.archlinux.org/viewtopic.php … 4#p1024494
and see if that works. If it does not, look which realtek driver you use (lsmod). The link output you provide looks fine, but _maybe_ you still have to install firmware for the card as well along with the driver.
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
I didnt say both the cards are the same. But if the kernel upgrade broke one driver, it is possible that is breaks other drivers too. You may want to check it out. Else, well try whatever other avenues you have.. Just trying to help..
Offline
I have a USB wifi card that I am using for now. I can use dhclient to connect to the router using that card.
breadbox% which dhclient
/usr/sbin/dhclient
breadbox% sudo ip link set wlan0 up
breadbox% sudo iwconfig wlan0 essid "linksys"
breadbox% iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"linksys"
Mode:Managed Frequency:2.412 GHz Access Point: 00:25:9C:47:9D:92
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=61/70 Signal level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
wlan1 IEEE 802.11bg ESSID:"linksys"
Mode:Managed Frequency:2.412 GHz Access Point: 00:25:9C:47:9D:92
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=64/70 Signal level=-46 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:175 Missed beacon:0
breadbox% sudo dhclient wlan0
breadbox%Does this disprove the kernel idea? Or are both dhclient and dhcpd both effected?
Darnir, thanks for the help so far. I appreciate it. I've learned to push back on forums when something doesn't seem reasonable because many people have no idea what they're talking about and tell you to do something that doesn't make any sense. I missed the part where you implied they might be related and weren't in fact the same issue.
Offline
It looks like you've two wireless cards; both associated with the same router. This is likely to cause some issues. It is possible to configure NICs to share load and increase bandwidth; though I've doubts that can be made to work on wireless.
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
Actually, dhclient doesn't output anything and it takes forever to connect so I figured it wasn't working. I took down wlan1 and left wlan0 up and my wifi still worked.
Thanks for all the help. Does this confirm that it is the kernel issue? I'm not to arch linux, is there something I should do to document this somewhere as a bug report?
Offline
Actually, dhclient doesn't output anything and it takes forever to connect so I figured it wasn't working. I took down wlan1 and left wlan0 up and my wifi still worked.
Thanks for all the help. Does this confirm that it is the kernel issue? I'm not to arch linux, is there something I should do to document this somewhere as a bug report?
Welcome. There was a problem with some cards before that kernel, that is why the wiki also recommends trying dhclient if dhcpcd does not work. I would not be sure about it being a bug in your case, with the information we have.
As ewaller points out you might want to test a bit more how it works with just one card and try again dhcpcd after the next kernel comes out. I would assume such issues may get fixed rather swiftly.
edit: deleted wrong ref to intel cards.
Last edited by Strike0 (2011-12-26 17:31:52)
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
I am having issues with both dhclient and dhcpcd now.
In fact, I can't get it to connect at all using them. But for anyone that is searching and having similar issues the following might be useful.
However, I can do something like the following and it works.
# ip addr add 192.168.0.2/24 dev wlan0
# ip route add default via 192.168.0.1Hopefully this resolves it self. In a few days, I'll be able to test it on a different network and see if that resolves it. This is good enough for now.
Offline
Pages: 1