You are not logged in.

#1 2013-07-09 22:16:45

simon4
Member
Registered: 2013-06-03
Posts: 4

Unable to establish wireless connection during Arch installation

I'm trying to configure a wireless connection during the Arch installation. I'm using June 2013 ISO flashed to a USB-stick (UEFI mode). My router is a TL-WR1043N (see http://www.tp-link.com/en/products/deta … -WR1043ND). It's configured to use WPA2-PSK, the encryption is currently set to "Automatic" (I guess either AES or TKIP). I can connect to it without issues on the same laptop on the Windows 7 installation. Also, I can connect with the same laptop during the Arch installation on a different router also using WPA2-PSK (however, as it's not at my place, I can't currently say anything about it) using

wifi-menu

I have so far tried the following, mostly according to the beginner's guide.

wifi-menu

My wireless network is detected. I can select it and enter the passphrase. However, I get a

CONNECTING FAILED

error. The generated netctl profile file looks as follows

Description='Automatically generated profile by wifi-menu'
Interface=wlp2s0
Connection=wireless
Security=wpa
ESSID=xxxxx
IP=dhcp
Key=yyyyy

I've tried doing various manual modifications to it (e.g. quoting the Key or ESSID with single quote marks, etc). I have tried copying the example configuration file from

/etc/netctl/example/wireless-wpa

and making the necessary modifications to it. Then, I tried using netctl directly using the same profile as above.

netctl reenable my-profile
netctl start my-profile

which gives me the following error

Job for netctl@wlp2s0\x2my-ssid.service failed. See 'systemctl status netctl@wlp2s0\2xmy-ssid.service' and 'journalctl -xn' for details.

Typing in the first I get

netctl@wlp2s0\x2my-ssid.service - Networking for netctl profile wlp2s02xdmy-ssid
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: inactive (dead)
Docs: man:netctl.profile(5)

while the second gives me

 -- Logs begin at *snip*
*Date* archiso kernel: wlp2s0: authenticate with *mac address*
*Date* archiso kernel: wlp2s0: send auth to *mac address* (try 1/3)
*Date* archiso kernel: wlp2s0: authenticated
*Date* archiso kernel: wlp2s0: waiting for beacon from *mac address*
*Date* archiso network[5808]: WPA association/authentication failed for interface 'wlp2s0'
*Date* archiso kernel: wlp2s0: deauthenticating from *mac-address* by local choice (reason=3)
*Date* archiso network[5808]: Failed to bring the network up for profile 'my-profile'
*Date* archiso systemd[1]: netctl@wlp2s0\2xmy-ssid.service: main process exited, code=exited, status=1/FAILURE
*Date* archiso systemd[1]: Failed to start Automatically generated profile by wifi-menu.
-- Subject: *snip*

Finally, I've also tried using wpa_supplicant directly using the following simple wpa_supplicant.conf file in /etc/wpa_supplicant

network={
ssid="my-ssid"
psk="my-passphrase"
priority=5
}

and then running

wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf

which returns with

Successfully initialized wpa_supplicant

However, if I then run

dhcpd wlp2s0

it returns

dhcpcd[6389]: version 5.6.8 starting
dhcpcd[6389]: wlp2s0: waiting for carrier
dhcpcd[6389]: timed out

I've also tried

wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase "ssid" "psk")

as suggested in the beginner's guide but with the same issues.

Could anyone point me in the right direction? Thank you.

Last edited by simon4 (2013-07-09 22:24:04)

Offline

#2 2013-07-09 22:30:03

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Unable to establish wireless connection during Arch installation

First, before you perform a dhcpcd, check that you are associated with an access point, otherwise you are wasting your time.   Use the command iw wlp2s0 link   Ensure that the essid is the name of your AP.

But first, let's step back and see if we can fix the root of the problem smile  Maybe you won't need to run dhcpcd by hand.
Having read your thread, I've no idea what network managers are running.  Please check the output of systemctl and stop everything having to do with netctl.  Then, I really suggest you pick a profile name that does not contain characters that need to be quoted.  Lastly, the profile (assuming you still want the '-' ) will be netctl@my-profile;  not just 'my-profile'


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

#3 2013-07-25 18:14:44

simon4
Member
Registered: 2013-06-03
Posts: 4

Re: Unable to establish wireless connection during Arch installation

Thanks for your reply.

If I try

iw wlp2s0 link

I get "Not Connected.", either after using wifi-menu or netctl.

When I run systemctl I get the following services for netctl@... which both show up as failed

netctl@*profilename*.service
netctl@wlp2s0\x2*essid*.service

also the service

dhcpcd@wlp2s0.service

shows up as failed. I've stopped them and tried netctl start *profilename* again, but to the same result as before. My profile name now no longer contains the "-" character.

I don't understand what you mean by your last comment. Do you mean to say that I have to run

netctl start netctl@my-profile

Last edited by simon4 (2013-07-25 18:15:08)

Offline

Board footer

Powered by FluxBB