Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wlan adapter lost
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13509

PostPosted: Sat Dec 17, 2016 4:30 pm    Post subject: Reply with quote

To interleave the messages, which may or may not be more useful in this case, use (untested) dmesg | grep -i -e authenticated -e associated.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42592
Location: 56N 3W

PostPosted: Sat Dec 17, 2016 4:53 pm    Post subject: Reply with quote

Hu,

If all is well, those messages won't be there.
Thank you for the grep lesson.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
michi-monster
Apprentice
Apprentice


Joined: 16 Aug 2016
Posts: 175
Location: Germany

PostPosted: Sat Dec 17, 2016 4:54 pm    Post subject: Reply with quote

:lol:
Code:
localhost ~ # dmesg | grep uthenticated
localhost ~ # dmesg | grep ssociated
localhost ~ # dmesg | grep authenticated
localhost ~ # dmesg | grep associated


Nothing ...
_________________
www.edv-bildung.de
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42592
Location: 56N 3W

PostPosted: Sat Dec 17, 2016 5:14 pm    Post subject: Reply with quote

michi-monster,

Good. That confirms that nothing is starting wifi.
Try wpa_gui. Run it exactly once.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
michi-monster
Apprentice
Apprentice


Joined: 16 Aug 2016
Posts: 175
Location: Germany

PostPosted: Sun Dec 18, 2016 12:30 pm    Post subject: Reply with quote

I cant select a network-adapter in wpa_gui. There are no Options.
I tray the command:
Code:
localhost ~ # dmesg | grep -i -e authenticated -e associated
[ 6427.346426] wlp1s0: authenticated
[ 6427.370052] wlp1s0: associated
[ 6431.361402] wlp1s0: disassociated from c8:0e:14:a3:08:45 (Reason: 2)
[ 6443.032532] wlp1s0: authenticated
[ 6443.044589] wlp1s0: associated
[ 6452.101295] wlp1s0: deauthenticated from c8:0e:14:a3:08:45 (Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)


An image here: http://www.edv-bildung.de/forum-please-help/
_________________
www.edv-bildung.de
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42592
Location: 56N 3W

PostPosted: Mon Dec 19, 2016 9:16 pm    Post subject: Reply with quote

michi-monster,

Here are the reason codes.
It looks like you have several things trying to run wpa_supplicant. As a result, none of them can work.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
michi-monster
Apprentice
Apprentice


Joined: 16 Aug 2016
Posts: 175
Location: Germany

PostPosted: Wed Dec 21, 2016 9:28 am    Post subject: Reply with quote

What can I do to delete / deactivate unnecessary items? I have delete the wpa_supplicant. In the article before, interesting commands were listed. I have done this.

Code:
chaoskiste ~ # egrep -v '^(#|$)' /etc/conf.d/wpa_supplicant
modules="wpa_supplicant"
wpa_supplicant_wlp1s0="rtlwifi/rtl8192cfw.bin"
chaoskiste ~ # ps auxwww | grep [w]pa
root 4514 0.0 0.0 36956 3184 ? S 07:43 0:00 /usr/sbin/wpa_supplicant -u
root 5583 0.3 0.3 464904 42368 tty1 Sl 08:54 0:00 wpa_gui

chaoskiste ~ # /etc/init.d/dhcpcd stop
 * Unmounting network filesystems ...                                     [ ok ]
 * Stopping DHCP Client Daemon ...                                        [ ok ]
chaoskiste ~ # /etc/init.d/wpa_supplicant stop
bash: /etc/init.d/wpa_supplicant: Datei oder Verzeichnis nicht gefunden
chaoskiste ~ # rm -f /lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant
chaoskiste ~ # rm -fr /run/wpa_supplicant
chaoskiste ~ # /etc/init.d/wpa_supplicant start
bash: /etc/init.d/wpa_supplicant: Datei oder Verzeichnis nicht gefunden
chaoskiste ~ # /etc/init.d/dhcpcd start
 * Starting DHCP Client Daemon ...                                        [ ok ]
chaoskiste ~ # ls -ld /run/wpa_supplicant
ls: Zugriff auf '/run/wpa_supplicant' nicht möglich: Datei oder Verzeichnis nicht gefunden
chaoskiste ~ # chaoskiste ~ # /etc/init.d/dhcpcd stop
* Unmounting network filesystems ... [ ok ]
* Stopping DHCP Client Daemon ... [ ok ]
chaoskiste ~ # /etc/init.d/wpa_supplicant stop
bash: /etc/init.d/wpa_supplicant: Datei oder Verzeichnis nicht gefunden
chaoskiste ~ # rm -f /lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant
chaoskiste ~ # rm -fr /run/wpa_supplicant
chaoskiste ~ # /etc/init.d/wpa_supplicant start
bash: /etc/init.d/wpa_supplicant: Datei oder Verzeichnis nicht gefunden
chaoskiste ~ # /etc/init.d/dhcpcd start
* Starting DHCP Client Daemon ... [ ok ]
chaoskiste ~ # ls -ld /run/wpa_supplicant
ls: Zugriff auf '/run/wpa_supplicant' nicht möglich: Datei oder Verzeichnis nicht gefunden
chaoskiste ~ # emerge -pvq wpa_supplicant
[ebuild R ] net-wireless/wpa_supplicant-2.6 USE="dbus hs2-0 qt5 readline ssl -ap -eap-sim -fasteap -gnutls (-libressl) -p2p (-ps3) -qt4 (-selinux) -smartcard -tdls -uncommon-eap-types (-wimax) -wps"

_________________
www.edv-bildung.de
Back to top
View user's profile Send private message
brendlefly62
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2009
Posts: 93

PostPosted: Wed Dec 21, 2016 3:28 pm    Post subject: Reply with quote

michi-monster,
You need wpa_supplicant; you just should not explicitly start it as a service yourself (Neddy had you remove it from runlevels which is not the same as uninstalling) because the program you use to manage network should start it for you.

Neddy is the master here, and I don't mean to interrupt the flow of his advice to you -- I just think you ought to go ahead and emerge wpa_supplicant (your USE flags look ok). Then see if you can determine what else besides wpa_gui is calling on wpa_supplicant.

Just reiterating Neddy's earlier - (1) don't delete anything, (2) ensure you have no other network services started, (3) verify that wifi has not been started [i.e. wlan0 not associated, etc], (3) run wpa_gui exactly once. Then go fwd based on results of that.
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
Goto page Previous  1, 2
Page 2 of 2

 
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