You are not logged in.
Pages: 1
I decided to try installing Arch Linux this weekend (before this I had only dealt with easy, ready-to-use out-of-the-box distros like Ubuntu and Fedora) and I've spent all day baffling over this issue.
During installation, I set up my wireless network using the directions at <https://wiki.archlinux.org/index.php/Wireless>. My AP is old and uses a WEP key, so I did:
iwconfig wlan0 essid "myAP" key myKey
ip link set wlan0 down
iwconfig wlan0 channel auto
ip link set wlan0 up
iwconfig wlan0
dhcpcd wlan0
ping yahoo.comAfter all that, the ping worked fine. After installing (by the way, I selected core-remote, extra-remote, community-remote, and multilib-remote when installing) and rebooting successfully, I executed the exact same set of commands above. Everything seemed to work fine, I even got an IP address via DHCP, until I tried to ping - I got no output for a minute, and then "unknown host." I tried pinging other servers too, with no luck. Obviously, I couldn't update with pacman from this point, so I decided to reinstall Arch.
The second time, I set up the network during installation in the same way, and it worked. But for the installation repositories, I only selected core-local. After a successful installation and reboot, I ran the same commands again to set up wireless connectivity, and it worked. Then, I ran "pacman -Syy" and "pacman -Syu" (at which point I ran into some PGP signature issues which I worked around by setting SigLevel = Optional TrustAll in /etc/pacman.conf, probably a bad idea but that's another issue) and updated. I don't know whether this is related, but for two specific packages (initscripts and filesystem), I upgraded using "pacman -Sf" as instructed by the entries in <http://www.archlinux.org/news/>.
After updating successfully and rebooting, I tried to set up wireless connectivity with the same commands above - and got the same problem: DHCP gave me an IP, but I couldn't actually connect to anything.
To me, it seems as if there's some package necessary to wireless connectivity on the install CD that's working until updated.
By the way, wired ethernet is working fine in all cases.
Last edited by thorion (2012-02-06 05:41:21)
Offline
Hello.
If possible, using network management software like https://wiki.archlinux.org/index.php/Wicd is what I would recommend.
"Experience is something you don't get until just after you need it." -- Olivier
Offline
I am having the same issue on my laptop after I switched from Arch to Windows after getting a new SSD. The wifi is stable and has a great connection in Ubuntu, but like you I can connect, but I am not able to ping anything (other than myself) or connect to the internet.
Wicd does nothing. I actually only noticed this issue after the install when I tried to connect to wifi with wicd.
Also my card is an Atheros9285.
Last edited by Bonzai11 (2012-02-09 18:11:49)
Offline
Bonzai11: I have the same wireless card. After this problem, I installed Fedora on my machine - with the latest updates - and had the same issue. I figured it's not distro-specific. On Fedora, I was using NetworkManager to connect, so roobie, I don't think the problem is with connecting directly without management software. I was able to connect fine to an unsecured network, and to a WPA Enterprise network, but not to a WEP network.
I got some error messages on Fedora's Automatic Bug Reporting Tool that warned of a compatibility issue with the kernel, and I did some research. Apparently the driver for our wireless cards (the module's called ath9k) is compiled into the kernel. So I installed an older version of the Linux kernel, booted from that, and that solved the problem.
All of that was on Fedora though. Bonzai11, if you still have Arch installed, can you try installing (or downgrading if necessary) to a 3.1.x version of the linux kernel and let us know what happens? By the way, I think on pacman the package name was changed from kernel to linux after a certain version, so I'd check both names.
If it works, I guess the workaround to this problem would be to either downgrade the kernel or to compile the kernel with the proper ath9k module.
Offline
Same problem on Arch-ath9k-WEP.
Last edited by ephemerr (2012-02-14 16:28:23)
Offline
I have:
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)No problem here.
Here is the problem some user had and solved the problem:
https://bbs.archlinux.org/viewtopic.php?id=135647
Last edited by Shark (2012-02-14 17:03:37)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Solved by downgrading to linux-3.2.1-1-x86_64.pkg.tar.xz
Shark, I will look at this link and post results.
Offline
tl;dr version of the linked threads: The issue is an incompatibility between hardware encryption in the ath9k module and kernels after version 3.2.1. Run
modprobe ath9k nohwcrypt=1to disable hardware encryption in the driver, and if that fixes the problem, then add the following line to /etc/modprobe.d/modprobe.conf to set the option permanently:
options ath9k nohwcrypt=1I will reinstall Arch this weekend and try this; if it works, this is solved.
Offline
Also check the ipv6 issue https://wiki.archlinux.org/index.php/Disabling_IPv6
Offline
Have you tried these couple of links? Some posts that helped me in the past with this sort of thing:
http://en.wikipedia.org/wiki/Wpa_supplicant
http://www.microdevsys.com/WordPress/20 … tep-howto/
http://www.microdevsys.com/WordPress/20 … alization/
That piece of software does WEP as well as WPA.
J.B.
Offline
Pages: 1