You are not logged in.

#1 2016-10-11 18:11:41

RegJoe29
Member
Registered: 2016-10-11
Posts: 9

Problems connecting to wifi on arch linux install

Hi all!

I just ran into some issues while installing arch. I was just going through the network config instructions (wifi config setup) on the beginners guide to installing arch, and I ran into some snags. Just seeing if anyone can shed any light on how to correctly edit the wpa_supplicant.conf file and to correctly execute the command to get a connection. I know the config file is an example, so one of my questions was do I edit that exact file or create a new config file? If I do edit the original file do I need to delete anything on top of the changes I make? Thanks in advance for the help and let me know if you need any other info to assist you in any way.


Thanks!

Offline

#2 2016-10-11 18:14:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,768

Re: Problems connecting to wifi on arch linux install

Did you happen to see https://wiki.archlinux.org/index.php/WPA_supplicant ?

BTW, Welcome to Arch Linux


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-10-11 18:18:44

RegJoe29
Member
Registered: 2016-10-11
Posts: 9

Re: Problems connecting to wifi on arch linux install

I tried creating a new config file (wpa_supplicant2.conf) and input the information to my knowledge of what needed to be in there (which might be wrong) and tried to run this command:
wpa_supplicant -B -D n180211,wext -i wlp4s0 -c /etc/wpa_supplicant/wpa_supplicant2.conf

and this was the response:

Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument

then I ran the comman: iw dev wlp4s0 link    to then see if I am connected, and unfortunately I still am not.

Offline

#4 2016-10-11 18:21:58

RegJoe29
Member
Registered: 2016-10-11
Posts: 9

Re: Problems connecting to wifi on arch linux install

I just started looking at it ewaller, so hopefully I can get something figured out!

And thank you for the welcome!

Offline

#5 2016-10-11 18:21:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,768

Re: Problems connecting to wifi on arch linux install

Can you share your configuration file with us?  Redact any passwords, if you wish


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2016-10-11 18:25:40

RegJoe29
Member
Registered: 2016-10-11
Posts: 9

Re: Problems connecting to wifi on arch linux install

Absolutely! Here it is:

ctrl_interface=/var/run/wpa_supplicant2
#ap_scan=2

network={
            ssid="MySSIDName"
            scan_ssid=1
            proto=WPA RSN
            key_mgmt=WPA-PSK
            pairwise=CCMP TKIP
            group=CCMP TKIP
            psk="myPSK"
}

Offline

#7 2016-10-11 19:02:54

RegJoe29
Member
Registered: 2016-10-11
Posts: 9

Re: Problems connecting to wifi on arch linux install

Just tried following the steps on the WPA_Supplicant page and entered in the following command:
wpa_supplicant -B -i interface -c /etc/wpa_supplicant/example.conf

The result was this:

Successfully initialized wpa_supplicant
Could not read interface interface flags: No such device
n180211: Driver does not support authentication/association or connect commands
n180211: deinit ifname=interface disabled_11b_rates=0
Could not read interface interface flags: No such device
interface: Failed to initialize driver interface

Offline

#8 2016-10-12 13:58:13

RegJoe29
Member
Registered: 2016-10-11
Posts: 9

Re: Problems connecting to wifi on arch linux install

UPDATE:

I am connected to the network finally, but unfortunately still not able to access internet. When I ping I still get : Name or service not known.

Any help would be greatly appreciated! Thanks!

Offline

#9 2016-10-12 17:43:16

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Problems connecting to wifi on arch linux install

Does the network have some login page/portal? Can you ping the gateway?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB