Join now - be part of our community!

Problems with wpa2 enterprise connection wifi

mautra
Visitor

Problems with wpa2 enterprise connection wifi

I got an xperia M (c1905) 15.1.C.2.8 firmware android 4.1.2

My problem is I can't always connect to the corporate wifi.
Sometimes i connect, sometime i cannot. Operation to do for connection are: erase and reconfigure network or retype password reconfiguring connection, and may be it work properly.

This problem usually appens after a wpa / wpa2 psk connections


My settings are

Sid UNIVAIR-WPA2 or EDUROAM

SECURITY 802.1x EAP

EAP METHOD: PEAP

pHASE 2 AUTHENTICATION: MSCHAPV2

CA certificate - UNSPECIFIED

Client certificate - UNSPECIFIED

Identity - MYPERSONALID

password - personal password

 
CA certificates needed are AddTrust AB (AddTrustExternal CA Root) and The USERTRUST Network (UTN-USERFirst Hardware) both included in phone trusted CA

We can use either another network SID Eduroam (international roaming wifi) but I've the same problem.

My previous smartphone did not have this problem, and all other devices works properly.
I upgrade firmware to 15.4.A.0.23 but the problem was not solved so I downgrade to previous version firmware.
Any suggest??
I've posted this topic one month ago but no Sony member or developer give me a reply, so i'll post this topic many many times.

5 REPLIES 5
roshp
Visitor

I had a similar problem with my home wifi. Solved it after a lot of googling...

The problem is with the wifi channel the router is using. Most routers hop between channels 1 to 14 based on traffic. But Xperia M (not sure about other models) cannot lock onto a few of these channels (12 and above I think .. don't remember exactly).

I set my home router to only use channel 11(which had the least traffic in my apt block)... Problem solved..:smileysmileythumbsup:

But since you are on a corporate wifi, I guess you can't set the channel. You could use Wifi Analyzer app to check which channel the wifi is on ... just to confirm..

mautra
Visitor

thank you roshp i will try with wifi analyzer, but it is a nonsense that no sony member reply to my answer, and it is the third time I posted it

roshp
Visitor

I guess it is a pretty obscure issue. I had to go to a lot of trouble to find the solution.

JHOG
Visitor

I have a brand new Xperia L with 4.2.2 build 15.3.A.1.14. The wireless works fine at home with WPA-PSK.

At work I have several WP2 Enterprise networks which I use everyday from my Linux netbook and from

my older android Xperia J.  Unfortunately with the Xperia L when I added the Enterprise networks it worked

fine for the very first connection but when I connect to another network and try to get back to the previous one

it fails.

I discovered that reentering the password in the configuration panel enables me to connect again to that

network but only once. The connection works fine while I continue connected to this Enterprise network, but

once I connect to any other network (Enterprise or not) and try to reconnect again to the Enterprise network

I have the same problem. The phone indicates "Connecting" and then fails.

It is annoying and since I know a bit of Linux I decided to root the phone and have a look at wpa_supplicant.conf

What I discovered is that something (likely the wpa_supplicant daemon) is deleting the password="djflgfjkjg"

fields from all WPA enterprise network entries !!!!

So my enterprise network entries once created from the wifi panel appear in wpa_supplicant.conf as:

network={

  ssid="LALALA"

  proto=WPA RSN

  key_mgmt=WPA-EAP IEEE8021X

  eap=PEAP

  identity="[email protected]"

  password="mysecretpassword"

  ca_cert="keystore://CACERT_cacert"

  priority=2000015

}

This works ok, but once I disconnect and connect to another network the configuration is

changed and the password entry disappears becoming:

network={

  ssid="LALALA"

  proto=WPA RSN

  key_mgmt=WPA-EAP IEEE8021X

  eap=PEAP

  identity="[email protected]"

  ca_cert="keystore://CACERT_cacert"

  priority=2000015

}

Obviously if I reenter the password using the wifi configuration panel it will be added back and

I'm able to connect once more.

Is there someone else having the same problem ? This is quite annoying.

Obviously since my home network uses WPA-PSK the password is stored via psk="myothersecret"

and so far the psk fields have not been deleted therefore they work fine.

Notice thatt he phone is brand new and that I have this issue from the very first day while my Xperia J

with an older build works fine under the very same conditions.

JHOG
Visitor

Yesterday after submitting the previous message I went from work to home. When I arrived home I checked

the content of wpa_supplicant.conf and the password of the Enterprise network to which I was previously

connected at work was still there, although the phone had automatically connected to my home network.

So I did a test: I specifically connected to a neighbour network via the wifi settings panel. In the precise

moment I connected to that network the password of the Enterprise network was deleted from the

wpa_supplicant.conf file. I checked the log and I found the following log entries:

D/WifiNative-wlan0( 8727): doBoolean: ENABLE_NETWORK 3
D/WifiNative-wlan0( 8727): doBoolean: AP_SCAN 1
D/WifiNative-wlan0( 8727): doBoolean: SAVE_CONFIG
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 ssid "xxxxxxx"
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 key_mgmt WPA-EAP IEEE8021X
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 proto WPA RSN
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 pairwise TKIP CCMP SMS4
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 group WEP40 WEP104 TKIP CCMP SMS4
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 priority 2000023
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 eap PEAP
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 phase2 "auth=MSCHAPV2"
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 identity "[email protected]"
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 password NULL
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 engine 0
D/WifiNative-wlan0( 8727): doBoolean: SET_NETWORK 2 ca_cert "keystore://CACERT_cacert"

The ENABLE_NETWORK 3 is the connection to my neighour network, but then the phone makes

a SAVE_CONFIG of network 2 which is the Enterprise network !!! The password is set to NULL !!!!

Could it be that somehow WifiNative looses the password content ? and when tries to save it is nil

and thus the password entry is not saved ?

I think this is the exact same problem reported in this thread by mautra.

This seems a real BUG please SONY have a look at it !!!