You are not logged in.

#1 2014-04-21 05:53:55

asportking
Member
Registered: 2014-04-17
Posts: 41

Wireless connection stopped working, netctl service failing: ath9k

My internet began acting awfully strange on Arch, and it got to the point where I figured I'd just disable everything and start from scratch, as if I was installing Arch for the first time. First off, I started and enabled wpa_supplicant.service. No problems there. Next (and this is where I might be doing things wrong), I tried connecting with netctl, as I already had a profile set up. However, this gives me:

Job for netctl@*profile*.service failed. See 'systemctl status netctl@*profile*.service' and 'journalctl -xn' for details.

journalctl -xn just gives me:

 systemd[1]: Unit netctl@*profile*.service entered failed state.

and the systemctl status gives

netctl@*profile*.service - A simple open wireless connection
Loaded: loaded (/etc/systemd/system/netctl@*profile*.service; static)
Active: failed (Result: exit-code) since Mon 2014-04-21 01:46:38 EDT; 1min 4s ago
Docs: man:netctl.profile(5)
Process: 933 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 933 (code=exited, status=1/FAILURE)

I can post the profile if need be, but there isn't really much room for error in it. It's just an open wireless connection, and the profile has the interface, ESSID, IP, security (none), and connection. Using wifi-menu gives me exact same output as connecting with netctl. What am I doing wrong?

Offline

#2 2014-04-21 06:09:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wireless connection stopped working, netctl service failing: ath9k

Does connecting manually work?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-04-21 06:15:42

asportking
Member
Registered: 2014-04-17
Posts: 41

Re: Wireless connection stopped working, netctl service failing: ath9k

jasonwryan wrote:

Does connecting manually work?

If by that you mean

ip dev wlp4s0 connect *network name*

, then sort of? If I run "iw dlp4s0 link", it tells me it's connected. However, I'm still not getting any connection.

Offline

#4 2014-04-21 06:24:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wireless connection stopped working, netctl service failing: ath9k

Yes; that is part of it. Then, request an IP address https://wiki.archlinux.org/index.php/Wi … ssociation


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-04-21 06:30:37

asportking
Member
Registered: 2014-04-17
Posts: 41

Re: Wireless connection stopped working, netctl service failing: ath9k

jasonwryan wrote:

Yes; that is part of it. Then, request an IP address https://wiki.archlinux.org/index.php/Wi … ssociation

Oh! Gosh, I completely forgot about that step. In that case, it's working, but just barely. I ran a speed test and I'm getting 0.28 Mb/s download, whereas I was usually getting around 20 Mb/s on it back then (at least during the times I could actually get the internet to work).

Last edited by asportking (2014-04-21 06:31:06)

Offline

#6 2014-04-21 06:39:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wireless connection stopped working, netctl service failing: ath9k

Power cycle your router. smile

You'll need to narrow it down futher. Is your wireless card old? Perhaps dying? Test it in another distro? Is your DNS set up correctly, etc...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-04-21 06:44:47

asportking
Member
Registered: 2014-04-17
Posts: 41

Re: Wireless connection stopped working, netctl service failing: ath9k

jasonwryan wrote:

Power cycle your router. smile

You'll need to narrow it down futher. Is your wireless card old? Perhaps dying? Test it in another distro? Is your DNS set up correctly, etc...

Yep, already tried power cycling. The wireless card is a pretty much brand new Qualcomm Atheros AR9485 Wireless Network Adapter. I used it in Windows 8 (if that counts as another distro) and it worked perfectly fine. There are several other computers all connected to the same network, so it seems unlikely that it would be a problem with the network itself.

Offline

#8 2014-04-21 07:20:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wireless connection stopped working, netctl service failing: ath9k

What driver are you using? Are you sure there is nothing else trying to manage your network (no other services running, for example)?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-04-21 07:31:59

asportking
Member
Registered: 2014-04-17
Posts: 41

Re: Wireless connection stopped working, netctl service failing: ath9k

jasonwryan wrote:

What driver are you using? Are you sure there is nothing else trying to manage your network (no other services running, for example)?

I'm using ath9k. I think I found the problem though - I had a dhcpcd@wlp4s0.service that was loaded but failed, and I guess I had to disable that for netctl to work. I'm still having the speed issue though. And for some reason, the internet fizzles out and disconnects after a little bit, and I have to reconnect. Any ideas as to what might be causing this?

Offline

#10 2014-04-21 07:38:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wireless connection stopped working, netctl service failing: ath9k

None, sorry. There have been intermittent problems reported with that driver (see, for example, https://bbs.archlinux.org/viewtopic.php?id=161305). If you can get a clean manual connection, I would try using wicd to manage it for you.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2014-04-21 07:44:26

asportking
Member
Registered: 2014-04-17
Posts: 41

Re: Wireless connection stopped working, netctl service failing: ath9k

jasonwryan wrote:

None, sorry. There have been intermittent problems reported with that driver (see, for example, https://bbs.archlinux.org/viewtopic.php?id=161305). If you can get a clean manual connection, I would try using wicd to manage it for you.

No, sorry. The connection is rough as it is, and it drops out pretty frequently. Thanks for getting me this far though, I'll just have to look around to see what else I can find.

Offline

#12 2014-04-21 13:10:06

asportking
Member
Registered: 2014-04-17
Posts: 41

Re: Wireless connection stopped working, netctl service failing: ath9k

Oh! Sorry to start this up again, but there was one other strange piece of information I just remembered that might reveal something. That is, the ping was totally fine. I was consistently getting in the 30s and 40s for ping, which is what I usually get. The only problems were the upload and download speed.

Offline

Board footer

Powered by FluxBB