You are not logged in.

#1 2014-04-02 20:28:41

Haliyon
Member
Registered: 2014-03-23
Posts: 3

Issues with MSCHAPV2

Hey Arch forum.

I really wanted to avoid having to ask a question on the forum, and try and fix myself, but I'm clueless on how to go about with this one. I've been using Arch for a couple of months now, and this issue has only really started getting on my nerves.

I've got my system set up mostly the way I want it now. I really like Arch Linux. When I wake my laptop up from hibernation, I have to manually connect to my school's network again. Every time. When I boot it up however, it automaticly opens the login menu and all I have to do is hit enter. When I'm home and wake it up from hibernation it automaticly connects to wifi though. I have no clue what is causing it. I use NetworkManager and my laptops an ASUS KV55M. It worked fine when this computer ran Windows for a short period. Any suggestions on how to tackle this?

Offline

#2 2014-04-03 05:14:08

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Issues with MSCHAPV2

Could you post the output of (after resuming):

nmcli nm
nmcli c

Inspect the output before posting as it could contain sensitive information. Furthermore, I want to know what network you use at school and what network you use at home.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-04-03 06:43:07

Haliyon
Member
Registered: 2014-03-23
Posts: 3

Re: Issues with MSCHAPV2

nmcli nm

KØRER           TILSTAND        WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN     
kører                tilsluttet           aktiveret                 aktiveret  aktiveret                      aktiveret

tilstand = state or status
kører = running
tilsluttet = connected
aktiveret = activated

nmcli c

NAVN                      UUID                                   TYPE              TIDSSTEMPEL-ÆGTE                 
School                    fd50876f-55ac-4a6e-99b3-057cb01b2f27   802-11-wireless   tor 03 apr 2014 08:07:05 CEST     
Home                      d5c68fa2-3692-40e8-aee0-f01e45d22864   802-11-wireless   tor 03 apr 2014 00:21:08 CEST     
c28cac                    4bc9e255-1c92-40aa-b9ee-260e0f6450d5   802-11-wireless   fre 28 mar 2014 17:22:17 CET     
Wired connection 1        9731803c-9c50-4d54-bc84-8299d283858d   802-3-ethernet    ons 02 apr 2014 19:37:34 CEST     
Test-2014                b1c4b95b-9fc6-40db-9b9f-859ef86f41bb   802-11-wireless   man 17 mar 2014 12:50:22 CET     
xxx-GUEST                 5b0b7281-2dce-4e12-975d-b3d0472eda10   802-11-wireless   tir 25 feb 2014 10:40:36 CET     
c279fe                    d082c8e5-533e-4a01-af33-919716029f05   802-11-wireless   lør 29 mar 2014 00:35:32 CET

At home, WEP 40/128
At school, WPA & WPA2 Enterprise (PEAP automatic version)

Offline

#4 2014-04-03 06:53:37

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Issues with MSCHAPV2

Now, please:

export LANG=C
export LC_ALL=C
nmcli c list uuid fd50876f-55ac-4a6e-99b3-057cb01b2f27
nmcli c list uuid d5c68fa2-3692-40e8-aee0-f01e45d22864

Again, check for sensitive information.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2014-04-03 08:44:53

Haliyon
Member
Registered: 2014-03-23
Posts: 3

Re: Issues with MSCHAPV2

nmcli c list uuid fd50876f-55ac-4a6e-99b3-057cb01b2f27

connection.id:                          School
connection.uuid:                        fd50876f-55ac-4a6e-99b3-057cb01b2f27
connection.type:                        802-11-wireless
connection.autoconnect:                 yes
connection.timestamp:                   1396513658
connection.read-only:                   no
connection.permissions:                 
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.secondaries:                 
802-1x.eap:                             peap
802-1x.identity:                        xxxxxxx
802-1x.anonymous-identity:              --
802-1x.pac-file:                        --
802-1x.ca-cert:                         /etc/ssl/certs/Security_Communication_Root_CA.pem
802-1x.ca-path:                         --
802-1x.subject-match:                   --
802-1x.altsubject-matches:              
802-1x.client-cert:                     --
802-1x.phase1-peapver:                  --
802-1x.phase1-peaplabel:                --
802-1x.phase1-fast-provisioning:        --
802-1x.phase2-auth:                     mschapv2
802-1x.phase2-autheap:                  --
802-1x.phase2-ca-cert:                  --
802-1x.phase2-ca-path:                  --
802-1x.phase2-subject-match:            --
802-1x.phase2-altsubject-matches:       
802-1x.phase2-client-cert:              --
802-1x.password:                        --
802-1x.password-flags:                  1 (agent-owned)
802-1x.password-raw:                    --
802-1x.password-raw-flags:              0 (none)
802-1x.private-key:                     --
802-1x.private-key-password:            --
802-1x.private-key-password-flags:      0 (none)
802-1x.phase2-private-key:              --
802-1x.phase2-private-key-password:     --
802-1x.phase2-private-key-password-flags:0 (none)
802-1x.pin:                             --
802-1x.pin-flags:                       0 (none)
802-1x.system-ca-certs:                 yes
802-11-wireless.ssid:                   'xxxxxxxxxxxxx'
802-11-wireless.mode:                   infrastructure
802-11-wireless.band:                   --
802-11-wireless.channel:                0
802-11-wireless.bssid:                  --
802-11-wireless.rate:                   0
802-11-wireless.tx-power:               0
802-11-wireless.mac-address:            Here goes the wireless.mac-adress
802-11-wireless.cloned-mac-address:     --
802-11-wireless.mac-address-blacklist:  
802-11-wireless.mtu:                    auto
802-11-wireless.seen-bssids:            Here goes the wireless.seen.bssids
802-11-wireless.security:               802-11-wireless-security
802-11-wireless.hidden:                 no
802-11-wireless-security.key-mgmt:      wpa-eap
802-11-wireless-security.wep-tx-keyidx: 0
802-11-wireless-security.auth-alg:      --
802-11-wireless-security.proto:         
802-11-wireless-security.pairwise:      
802-11-wireless-security.group:         
802-11-wireless-security.leap-username: --
802-11-wireless-security.wep-key0:      --
802-11-wireless-security.wep-key1:      --
802-11-wireless-security.wep-key2:      --
802-11-wireless-security.wep-key3:      --
802-11-wireless-security.wep-key-flags: 0 (none)
802-11-wireless-security.wep-key-type:  0 (unknown)
802-11-wireless-security.psk:           --
802-11-wireless-security.psk-flags:     0 (none)
802-11-wireless-security.leap-password: --
802-11-wireless-security.leap-password-flags:0 (none)
ipv4.method:                            auto
ipv4.dns:                               
ipv4.dns-search:                        
ipv4.addresses:                         
ipv4.routes:                            
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv6.method:                            auto
ipv6.dns:                               
ipv6.dns-search:                        
ipv6.addresses:                         
ipv6.routes:                            
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.dhcp-hostname:                     --

The CA Certificate I used was random, as I remember from my first Linux times I couldn't connect without using a CA-Certificate (they are not required).

Currently not at home, so I will post the other one later.

Offline

#6 2014-04-03 08:52:33

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Issues with MSCHAPV2

The password is 'agent-owned' I guess this means nm-applet. You could make the connection systemwide (for all users). This might help, but will save your password in cleartext to the disk (again).


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB