Skip to content

Noob cannot connect to WiFi during install.

Not downloaded yet

Hi! I am trying to install arch on my laptop for the first time, and wasn't having any problems until I tried connecting to my Wi-Fi. I followed the directions on the Arch Wiki, but I continue to receive this error code after entering "dhcpcd wlp2s0." Thanks in advance!

Edit: I cannot use Ethernet as I am at a hotel that requires you to login online before using it! ** Edit:** It is workubg ! Thanks all!

Edited 17 Apr 2014. We only hold this version.

10 points16 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
10 · 100% up
Kind
Image
ID
239ssf

Author

1
posts
6
comments
1
media
View profile

17 comments

unknown author3 hidden

Wifi menu didn't work for me either

First, make sure iw and wpa_supplicant and linux-firmware are installed

pacman -S iw wpa_supplicant linux-firmware

Then run this command

wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase "the network SSID" "wpa passkey")

Leave the quotation marks around the SSID and psk.

Edit: then run

dhcpcd wlp2s0

On mobile, sorry for any formatting issues. Hope this helps.

5 points

Database files for "core", " extra ", and "community" do not exist, therefore targets iw, WPA_supplicant, and Linux-firmware are not found.

1 points

I've had same issue a few days back. The Wiki says to set interface up. Don't. With interface down, wifi-menu works for me. Same for other methods. Each time I did ip set wlp4s0 up I could not connect but I was able to discover networks with iw

3 points

Edit: I cannot use Ethernet as I am at a hotel that requires you to login online before using it!

I had problems with my internet when installing. They were different from your problems (wifi-menu recognised the networks but wouldn't connect), but the solution might work for you too. I wasn't able to get my internet working from the command line, so what I did was boot up another distro's live CD, set up the internet from there, and then use this method to set up my partitions and install Arch from that other distro's live CD where I had internet:

https://wiki.archlinux.org/index.php/Install_from_Existing_Linux

After I'd set up my Arch insall, I was able to configure the internet from there.

2 points

Thanks! I'll give that a go! I didn't even think of that before I reformatted my Ubuntu 8.04 partition :(

2 points
unknown author1 hidden

Interesting! But I am wondering if there is a way to do it completely by the command line. Isn't there a way where you could use elinks, links or w3m, for example, to set up the network to your hotel?

1 points

In my case there wasn't a way. I might have been able to do the required browser stuff through a terminal browser, but at least my building's system requires you to reboot after that. Rebooting on the arch usb would reset the set up.

1 points
unknown author1 hidden

Deleted before we saved it.

2 points

Try to use wifi-menu, as it is straight forward, and usually works. If you have issues with wifi-menu, read this thoroughly.

2 points

I always have issues with wifi-menu. My solution is to write a quick wpa_supplicant.conf and then connect with

# wpa_supplicant -Dwext -iwlp2s0 -c wpa_supplicant.conf -B
# dhcpcd wlp2s0

Hope that helps.
Is it possible that your wpa_supplicant.conf is wrong?

2 points

You could try connecting via netctl instead of Wi-Fi menu. The wiki guided me through it when I was having problems.

What Wi-Fi are you using out of curiosity? Anything that forces you to an authentication page before fully granting you access?

1 points

I am using my personal mobile hotspot! Will try the recommendations presently! :)

0 points

Can you login on Ethernet with lynx or something? Dies the install disc include lynx?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.