Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't start wpa_supplicant after update [solved]
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
skorefish
Apprentice
Apprentice


Joined: 21 Jun 2015
Posts: 281

PostPosted: Thu Jan 11, 2018 8:40 pm    Post subject: can't start wpa_supplicant after update [solved] Reply with quote

after updating my system i get this error so my wifi doesn't work anymore

Code:
/etc/init.d/net.wlp2s0 restart
 * Bringing up interface wlp2s0
 *   Starting wpa_supplicant on wlp2s0 ...
 *   start-stop-daemon: /usr/sbin/wpa_supplicant is already running       [ !! ]
 * ERROR: net.wlp2s0 failed to start


dmesg
https://paste.pound-python.org/show/NosVvCF1p6I5OxOcMhEa/

/etc/wpa_supplicant/wpa_supplicant.conf
Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel

# Make this file writable for wpa_gui / wpa_cli
update_config=1

network={
        ssid="subnet"
        psk="xxxxxxxxxxxxxxx"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        auth_alg=OPEN
        priority=40
}


Code:
piw dev
phy#0
   Interface wlp2s0
      ifindex 3
      wdev 0x1
      addr dc:85:de:70:75:ba
      type managed
      channel 6 (2437 MHz), width: 40 MHz, center1: 2427 MHz


i can ping my router but nameresolving does not work
vi /etc/resolv.conf
Code:
nameserver 192.168.2.1
nameserver 8.8.8.8


Last edited by skorefish on Thu Jan 11, 2018 10:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
skorefish
Apprentice
Apprentice


Joined: 21 Jun 2015
Posts: 281

PostPosted: Thu Jan 11, 2018 10:41 pm    Post subject: Reply with quote

i added ath9_htc/htc_9271-1.4.0.fw and ath9_htc/htc_7010-1.4.0.fw firmware drivers (don't know if i need them both)

an guess what, it works

But, what about the warning, error ?

Code:
/etc/init.d/net.wlp2s0 restart
 * Bringing down interface wlp2s0
 *   Stopping wpa_cli on wlp2s0 ...                                       [ ok ]
 *   Stopping wpa_supplicant on wlp2s0 ...                                [ ok ]
RTNETLINK answers: No such file or directory
Error talking to the kernel
 * Bringing up interface wlp2s0
 *   Starting wpa_supplicant on wlp2s0 ...
Successfully initialized wpa_supplicant                                   [ ok ]
 *   Starting wpa_cli on wlp2s0 ...                                       [ ok ]
 *   Backgrounding ... ...
 * WARNING: net.wlp2s0 has started, but is inactive
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