You are not logged in.

#1 2013-11-16 18:05:56

cns4eaa
Member
Registered: 2013-11-16
Posts: 2

[SOLVED] Can not connect using netctl

Im trying to install arch on my laptop and for some reason netctl will not connect to the internet through wireless.

When i run wifi-menu I see all the available access points and select my home one then put in my wep password but it fails and outputs:

Job netctl@wlp2s0-linksys5.service failed.  See systemctl status netctl@wlp2s0-linksys5 and journalctl -xn for more information.

I have tried following everything on the wiki but it still does not seem to work.

Some other information that may be useful


dmesg

[ 1426.479391] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 1664.614649] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 1682.188604] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready

iwconfig

wlp2s0    IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=14 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

lspci

02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
	Subsystem: AzureWave AW-NE785 / AW-NE785H 802.11bgn Wireless Full or Half-size Mini PCIe Card
	Kernel driver in use: ath9k
	Kernel modules: ath9k

journalctl

-- Logs begin at Sat 2013-11-16 17:00:33 UTC, end at Sat 2013-11-16 17:28:43 UTC. --
Nov 16 17:28:10 archiso kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
Nov 16 17:28:27 archiso systemd[1]: Stopped Networking for netctl profile wlp2s0-linksys5.
-- Subject: Unit netctl@wlp2s0\x2dlinksys5.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/9d1aaa27d60140bd96365438aad20286
-- 
-- Unit netctl@wlp2s0\x2dlinksys5.service has finished shutting down.
Nov 16 17:28:27 archiso systemd[1]: Starting Networking for netctl profile wlp2s0-linksys5...
-- Subject: Unit netctl@wlp2s0\x2dlinksys5.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@wlp2s0\x2dlinksys5.service has begun starting up.
Nov 16 17:28:27 archiso network[1229]: Starting network profile 'wlp2s0-linksys5'...
Nov 16 17:28:27 archiso kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
Nov 16 17:28:43 archiso network[1229]: WPA association/authentication failed for interface 'wlp2s0'
Nov 16 17:28:43 archiso network[1229]: Failed to bring the network up for profile 'wlp2s0-linksys5'
Nov 16 17:28:43 archiso systemd[1]: netctl@wlp2s0\x2dlinksys5.service: main process exited, code=exited, status=1/FAILURE
Nov 16 17:28:43 archiso systemd[1]: Failed to start Networking for netctl profile wlp2s0-linksys5.
-- Subject: Unit netctl@wlp2s0\x2dlinksys5.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
-- 
-- Unit netctl@wlp2s0\x2dlinksys5.service has failed.
-- 
-- The result is failed.
Nov 16 17:28:43 archiso systemd[1]: Unit netctl@wlp2s0\x2dlinksys5.service entered failed state.

EDIT: After trying ip link I got this

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
    link/ether 54:04:a6:2e:00:77 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether 74:2f:68:0b:d1:bd brd ff:ff:ff:ff:ff:ff

Even after doing "ip link set wlp2s0 up" it still says "DOWN" for some reason.

Last edited by cns4eaa (2013-11-17 17:00:04)

Offline

#2 2013-11-17 04:51:37

noodlebox
Member
Registered: 2013-11-17
Posts: 3

Re: [SOLVED] Can not connect using netctl

What version of netctl are you using?

pacman -Qi netctl

If you're using the packages on the Arch ISO image, this most likely isn't relevant to your issue... but if you've updated netctl to the current version(1.4-1), there seems to be a bug with handling WEP and WPA keys in hexadecimal form, which is what the auto-generated config will use:
https://bbs.archlinux.org/viewtopic.php?id=173033

Using an older version of netctl should work, as will using netctl-git from the AUR, where this problem has been fixed.

May not be related to your issues, but if it is, I hope this helps.

Offline

#3 2013-11-17 12:50:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [SOLVED] Can not connect using netctl

cns4eaa wrote:

Even after doing "ip link set wlp2s0 up" it still says "DOWN" for some reason.

No, it is up, you are looking at the wrong indicator:

3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000

As for the netctl issues I can't help there.  I'd generally recommend trying to connect manually to get better diagnostic information.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2013-11-17 16:59:24

cns4eaa
Member
Registered: 2013-11-16
Posts: 2

Re: [SOLVED] Can not connect using netctl

Thank you for all the replies.

noodlebox wrote:

What version of netctl are you using?

pacman -Qi netctl

If you're using the packages on the Arch ISO image, this most likely isn't relevant to your issue... but if you've updated netctl to the current version(1.4-1), there seems to be a bug with handling WEP and WPA keys in hexadecimal form, which is what the auto-generated config will use:
https://bbs.archlinux.org/viewtopic.php?id=173033

Using an older version of netctl should work, as will using netctl-git from the AUR, where this problem has been fixed.

May not be related to your issues, but if it is, I hope this helps.

Im using the version off of the ISO image not 1.4-1 sothat is not what it is I checked anyway but the version is not 1.4.



Trilby wrote:
cns4eaa wrote:

Even after doing "ip link set wlp2s0 up" it still says "DOWN" for some reason.

No, it is up, you are looking at the wrong indicator:

3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000

As for the netctl issues I can't help there.  I'd generally recommend trying to connect manually to get better diagnostic information.

Thank you for explianing that to me I tried to connect manually and it didnt work at first but after 2 tries I got it working. For now I am just going to make a script to connect for me manually as I dont feel the need to go through netctl if I already got something working thanks for the help.

Offline

Board footer

Powered by FluxBB