Monday, April 29, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4424  / 3 Years ago, thu, may 20, 2021, 9:55:55

When I'm connected to my school's wifi network, which is an enterprise WPA2 network, using PEAP authentication and MSCHAPv2, I get disconnected every 30 minutes to an hour. It won't reconnect, and the only way I can get it to reconnect to the network is to flip my hardware wifi kill switch (on my laptop, which is an MSI x350



Here's what I assume is the relevant output of lspci:
03:00.0 Network controller: Intel Corporation WiFi Link 5100



And here's (probably too much, but I don't know what's relevant) stuff from my system log:



http://pastebin.com/ApuRdbrX



I'm using Kubuntu 11.10 with the KDE4.8 backports. But I've been having this problem with this machine since I bought it and was using Ubuntu (unity) 11.04. The problem persists no matter whether I use the gnome network manager or KDE's.



Edit: I'm now using GNOME again, but having the same problems.


More From » network-manager

 Answers
2

It seems Network-Manager is too aggressive with changing access points and thus causing random dis/re-connections. Try with wicd



sudo apt-get install wicd
apt-get remove network-manager


Edit or create /etc/wicd/encryption/templates/peap-mschapv2 as follows:



name=PEAP with MSCHAPv2
author=Cereal
version = 1
require username *Username password *Password
-----
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="$_ESSID"
scan_ssid=$_SCAN
key_mgmt=WPA-EAP
eap=PEAP
phase2="auth=MSCHAPV2"
identity="$_USERNAME"
password="$_PASSWORD"
}


Now you need to enable this template for wicd (after which you need to close and re-open wicd or reboot):



echo "peap-mschapv2" >> /etc/wicd/encryption/templates/active

[#40103] Friday, May 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
antorchestr

Total Points: 92
Total Questions: 111
Total Answers: 120

Location: Jordan
Member since Wed, Jun 17, 2020
4 Years ago
;