Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wpa_supplicant isn't connecting my access point
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Starrcade
n00b
n00b


Joined: 18 Jul 2017
Posts: 29

PostPosted: Wed Jul 19, 2017 8:04 pm    Post subject: Wpa_supplicant isn't connecting my access point Reply with quote

My wifi drivers are there, they exist (thank god) but Wpa_supplicant is having a hard time connecting,
especially when i'm running Wpa_cli. I'm guessing it has something to do with my .conf files,
but I'm posting them here to see how effed they are, if they are, and if someone else knows how effed they are.

Wpa_Supplicant.conf (SSID/Password stuff replaced with garbage text. Line psk= is the result from wpa_passphrase <ssid> passphrase)


Code:
 
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
#ap_scan=1
#update_config=1

network={
   ssid="NotYourAccessPoint"
        #psk="ActualTextPassword"
        psk=IHaveNoMouthAndIMustScream, this had a bunch of numbers and letters
        scan_ssid=1
        proto=RSN
        key_mgmt=WPA-PSK
        group=CCMP TKIP
        priority=5

}



Here's my /etc/conf.d/net.

Code:


modules_wlp3s0="!plug wpa_supplicant"
config_wlp3s0="dhcp"
wpa_timeout_wlp3s0="15"
enable_ipv6_wlp3s0="false"




Really being pushed to install the livecd tools, since net-setup doesn't give me a super headache with this.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed Jul 19, 2017 8:53 pm    Post subject: Reply with quote

You are giving very little information. Did you work through the wpa_supplicant wiki article?
Back to top
View user's profile Send private message
Starrcade
n00b
n00b


Joined: 18 Jul 2017
Posts: 29

PostPosted: Wed Jul 19, 2017 9:06 pm    Post subject: Reply with quote

charles17 wrote:
You are giving very little information. Did you work through the wpa_supplicant wiki article?


I did, actually, and it's been giving me this when I run Wpa_Cli command.

Here's a link on Imgur. http://imgur.com/a/4o9rE

From what i've given in the OP, i've basically configured the access point as much as i could.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Thu Jul 20, 2017 3:02 am    Post subject: Reply with quote

run 'wpa_cli' (it is interactive command line interface to wpa_supplicant), and give a command 'reconfigure', and look what it says and where connection falis
Back to top
View user's profile Send private message
Starrcade
n00b
n00b


Joined: 18 Jul 2017
Posts: 29

PostPosted: Thu Jul 20, 2017 3:06 am    Post subject: Reply with quote

dmpogo wrote:
run 'wpa_cli' (it is interactive command line interface to wpa_supplicant), and give a command 'reconfigure', and look what it says and where connection falis


I'll make a note of that for a next time.

I wound up solving it by killing wpa_supplicant and rebooting;
I then followed a simpler way of configuring a connection from The .conf file
in its man page. Ran wpa_cli and reconnected. It all works! :O
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Mon Jul 24, 2017 5:12 pm    Post subject: Reply with quote

Starrcade wrote:
dmpogo wrote:
run 'wpa_cli' (it is interactive command line interface to wpa_supplicant), and give a command 'reconfigure', and look what it says and where connection falis


I'll make a note of that for a next time.

I wound up solving it by killing wpa_supplicant and rebooting;
I then followed a simpler way of configuring a connection from The .conf file
in its man page. Ran wpa_cli and reconnected. It all works! :O


I had an older laptop, on which wireless driver firmware would hang from time to time. So I needed to to remove and insert iwl4965 module. You may have something similar in which case reboot will help, of course. Since then I always compile wireless kernel driver as a module :)

I ended up writing a custom script, so that when Fn-F5 toggles wireless on and off, it also removes/reinserts the module as well as stops/restarts wpa_supplicant


As a practical advice - find out what kernel module runs your wireless card (say iwlwifi for modern intels), and then when you mysteriously cannot connect, just run by hand

Code:

>  rmmod iwlwifi
> modprobe iwlwifi


to reinitialize the firmware
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum