You are not logged in.

#1 2014-08-30 04:03:29

Chris1337
Member
Registered: 2014-08-30
Posts: 7

[SOLVED] Connect to WPA encrypted network during install

I am not sure where to go from here.

I can scan for networks using

iwlist wlp0s20u11 scan

and I can see my home network which is named darkstar; all that info looks good. What I'm confused about is how to use wpa_supplicant. When I run the following command (pretend my_key is my long password surrounded by single quotes):

wpa_supplicant -i wlp0s20u11 -c <(wpa_passphrase darkstar my_key)

I get the following output:

n180211: Driver does not support authentication/association or connect commands
wlp0s20u11: Failed to initialize driver interface

What do? I don't have a long enough ethernet cable to connect this server to my router right now, so I have to use wireless.

Last edited by Chris1337 (2014-09-02 18:35:41)

Offline

#2 2014-08-30 04:45:42

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

Re: [SOLVED] Connect to WPA encrypted network during install


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-08-30 06:42:01

Chris1337
Member
Registered: 2014-08-30
Posts: 7

Re: [SOLVED] Connect to WPA encrypted network during install

jasonwryan wrote:

I did see this and tried it, and it worked! I installed base and base-devel, and I installed gptfdisk and syslinux. I still can't boot into the sytem though sad I tried starting over, but now I can't connect the network?!?!? dhcpcd keeps timing out after 'waiting for carrier' now, when I am in the install environment.

Offline

#4 2014-08-30 07:11:24

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

Re: [SOLVED] Connect to WPA encrypted network during install

Make sure you haven't got any residual networking service running.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-08-30 18:53:42

Chris1337
Member
Registered: 2014-08-30
Posts: 7

Re: [SOLVED] Connect to WPA encrypted network during install

I don't think i had any other network services running at the time, because the first 3 things I did once booting my install-usb were

ip link set wlp0s20u11 up
wpa_supplicant -B -i wlp0s20u11 -D wext ic <(wpa_passphrase darkstar $MYPASS)
dhcpcd wlp0s20u11

I rebooted several times, and it always timed out at the dhcpcd step. I moved my USB wireless adapter to a different port, on the front of my desktop from the back, and tried it again (it was now renamed wlp0s20u10.) Then it worked! I destroyed my old parition scheme and made a new, simple scheme of 1 partition per drive, and reinstalled the base system and some basic tools including wpa_suppicant and dialog, and rebooted, and my new Arch Linux install booted straight away!

Once I had a normal user account with sudo abilities set up, I used wifi-menu to connect to my network. Now I am trying to figure out how to connect to my network at startup...

Last edited by Chris1337 (2014-08-30 18:54:21)

Offline

#6 2014-08-30 19:08:27

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

Re: [SOLVED] Connect to WPA encrypted network during install

That is covered in the wiki...

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-09-02 18:35:10

Chris1337
Member
Registered: 2014-08-30
Posts: 7

Re: [SOLVED] Connect to WPA encrypted network during install

systemctl is not working for me, and always throws some error about org.freedesktop.PolicyKit1 not existing. So I was having trouble using the beginners guide to get dhcpcd or wpa_supplicant to run at startup. I ended up using netctl to get it done, so this problem is solved! Now I need to figure out why ssh is not working...

Offline

Board footer

Powered by FluxBB