[Q] N1 running CM6, forgets credentials for 802.1x network? - Nexus One Q&A, Help & Troubleshooting

I'm running CM6 Stable on my N1 and I'm able to log into my UBC wifi network (ubcsecure) using my login and password. However, periodically it just seems to lose the ability to authenticate, and I get the message "Disconnected" on the Wi-Fi settings screen. Sometimes it will say "Disabled" under the network name.
If I open up alogcat and review the logs, a few lines stand out:
Code:
E/wpa_supplicant( 238): Ongoing Scan action...
I/wpa_supplicant( 238): EAP-MSCHAPV2: Password not configured
I/wpa_supplicant( 238): CTRL-REQ-PASSWORD-23:Password needed for SSID ubcsecure
V/WifiMonitor( 124): Event [CTRL-REQ-PASSWORD-23:Password needed for SSID ubcsecure]
D/WifiStateTracker( 124): Reset connections and stopping DHCP
D/WifiStateTracker( 124): Disabling interface
When I long-press ubcsecure to modify it, I notice that "Phase 2 authentication" has been set to "None" even though I had selected MSCHAPV2 previously. Also, "Use secure credentials" under Location & Security keeps getting unchecked. If I recheck this, and then select the correct option under "modify network" and re-enter the password in this window, then usually after some consideration it's willing to reconnect.
Once I'm connected, I can go for the rest of the day, and it'll happily disconnect/reconnect any time I to out of or into range. Then at some point during the next day, it starts to disconnect again and I see the error messages once more in alogcat.
On stock firmware the 802.1x was flaky but I never had to re-enter my password. On CM6 it's solid, for about a day, and then I have to re-enter everything.
Any thoughts? Has anyone seen this on other enterprise networks?

Related

Cannot access hidden Wifi / Non-broadcasting SSID with the HTC TyTn II Kaiser

Hi there,
Can someone please help by advising me on how to overcome this problem.
If I broadcast my SSID, the device connects fine, but when I stop broadcasting, the device will show that the network is unavailable. Even though I did check the "This is a hidden network" checkbox option, in the settings.
Configure Wireless Network-
Network Name: MyWirelessNetwork
Connects By: The Internet
This is a hidden network: CHECKED
Configure Wireless Authentication-
Authentication: WPA2-PSK
Data Encryption: TKIP
The Key is Automatically Provided: unchecked
Network Key: **********
Key Index: 1
Please help,... many thanks!
Kind regards,
JonD
My device is the HTC TyTn II (Kaiser) running Windows Mobile 6 Professional
Additional information about my WiFi Router:
I'm using a D-Link DI-524 wireless router that I set as a hidden network (disabled SSID broadcast).
I also enabled the MAC filtering, and of course the device's MAC address is already added to the approved list for connections, so I think there is no issue with the router or network (like I mentioned before, when I enabled the SSID broadcast all devices connect perfectly and all is good, but when I disabled the SSID broadcast, the Kaiser & the vista laptop will say the network is unavailable and can't connect).
No problems with connections at all with my other laptop that runs on XP.
Stupid question...but are you able to connect to the network with another devcie. Also have to tried running a third party program that can scan for wireless AP's from the device.
And can you connect to any other hidden network..
It might be in a really good hiding spot.
JonD said:
Hi there,
Can someone please help by advising me on how to overcome this problem.
If I broadcast my SSID, the device connects fine, but when I stop broadcasting, the device will show that the network is unavailable. Even though I did check the "This is a hidden network" checkbox option, in the settings.
Configure Wireless Network-
Network Name: MyWirelessNetwork
Connects By: Work
This is a hidden network: CHECKED
Configure Wireless Authentication-
Authentication: Open
Data Encryption: WPA2-PSK
The Key is Automatically Provided: unchecked
Network Key: **********
Key Index: 1
Please help,... many thanks!
Kind regards,
JonD
My device is the HTC TyTn II (Kaiser) running Windows Mobile 6 Professional
Click to expand...
Click to collapse
Somethings wrong with what you posted. WPA2-PSK is a form of authentication, and it would use either AES or TKIP as it's method of encryption. There is no such thing as a WPA, open network (WEP, open yes, but not WPA).
gwnorth, thanks for pointing that out.... the following is the correct configuration:
Configure Wireless Network-
Network Name: MyWirelessNetwork
Connects By: The Internet
This is a hidden network: CHECKED
Configure Wireless Authentication-
Authentication: WPA2-PSK
Data Encryption: TKIP
The Key is Automatically Provided: unchecked
Network Key: **********
Key Index: 1
As for the other questions (for Arlop & ChumleyEX), I've got no problems connecting to my non-broadcast SSID network with my laptop running XP.... but I face the same problem with my other laptop that runs on vista.
of course, when I enabled the SSID broadcast, everything connects fine (the Kaiser and the vista laptop).
If anybody faced this similar problem and knows a solution, please let me know. Appreciate your help in the matter.
What is the point to have the system acknowledging that the network is hidden or not (checkbox option "This is a hidden network:" CHECKED or UNCHECKED ), but still fail to connect to it.
cheers,
JonD.
I'm not sure if this will help ...
I'm using a Netgear wireless router provided by my company which is set to an hidden network.
To set up access via my Kaiser I enter:
Setting > Connection > WiFi > Add New ...
Network name > Mynetworkname
Connects to > The internet
Hidden network > Checked
Authentication > Open
Data Encryption > WEP
The key is automatically provided > Un-Checked
Network Key > ****************************
Key Index > 1
What you haven't mentioned, but something that I needed to do ... The router needs to know my PDA mac address to allow access in its settings to support authorisation.
Since our IT department control the access rights (unless you have the password ), I do not know if the mac address information is a company protocol or part of a 'hidden network' setting.
PS. I always keep the WEP key in a text file on the PDA to copy and paste, because it's too troublesome to type it out each time I change the ROM's and have to set it up again.
I hope this helps.
JonD said:
gwnorth, thanks for pointing that out.... the following is the correct configuration:
Configure Wireless Network-
Network Name: MyWirelessNetwork
Connects By: The Internet
This is a hidden network: CHECKED
Configure Wireless Authentication-
Authentication: WPA2-PSK
Data Encryption: TKIP
The Key is Automatically Provided: unchecked
Network Key: **********
Key Index: 1
As for the other questions (for Arlop & ChumleyEX), I've got no problems connecting to my non-broadcast SSID network with my laptop running XP.... but I face the same problem with my other laptop that runs on vista.
of course, when I enabled the SSID broadcast, everything connects fine (the Kaiser and the vista laptop).
If anybody faced this similar problem and knows a solution, please let me know. Appreciate your help in the matter.
What is the point to have the system acknowledging that the network is hidden or not (checkbox option "This is a hidden network:" CHECKED or UNCHECKED ), but still fail to connect to it.
cheers,
JonD.
Click to expand...
Click to collapse
Sounds to me like you have a network issue, not a Kaiser issue since you said your having the same issues on Vista.
I do not broadcast my SSID and my tilt has no problems connecting.
Maybe you have MAC-address filtering enabled?
I have seen routers giving problems with MAC-filtering disabled and SSID broadcasting disabled.
Devices that had a working connection, disconnected when we disabled SSID-broadcast.
Strange, but enabling the MAC-address filter list solved that.
To ajs007, jallenclark & johanromijn thank you for your replies.
I'm using a D-Link DI-524 wireless router that I set as a hidden network (disabled SSID broadcast).
I also enabled the MAC filtering, and of course the device's MAC address is already added to the approved list filter for connections, so I think there is no issue with the router or network (like I mentioned before, when I enabled the SSID broadcast all devices connect perfectly and all is good, but when I disabled the SSID broadcast, the Kaiser & the vista laptop will say the network is unavailable and can't connect).
ajs007, do you think different authentication protocols (you use WEP, but I use WPA-PSK) make any difference?
jallenclark, is there anything you did differently?
Thanks.
JonD
I have the same issue with mine. I cannot connect to a hidden network....initially.
I turned on SSID broadcast, the Tilt connect immediately and then unchecked the SSID Broadcast.
Now it connects always.
Seems like it should work.. other devices connect fine as long as the name is specified.
online142154 said:
I have the same issue with mine. I cannot connect to a hidden network....initially.
I turned on SSID broadcast, the Tilt connect immediately and then unchecked the SSID Broadcast.
Now it connects always.
Seems like it should work.. other devices connect fine as long as the name is specified.
Click to expand...
Click to collapse
Sadly, I tried that, connects immediately when the SSID is broadcast, and while it remains connected, I turn off the broadcast and the device lost connectivity immediately too.
Man... I don't understand this......
here are some more info (ROM version and stuff), just in case you guys out there can help figure this out...... many thanks!
ROM version: 2.50.771.0 WWE
ROM Date: 10 March 2008
Radio version: 1.27.15.32
Protocol version: 22.51.88.13H
I have similar problem, Hermes with wm6.1. When my router is set up to use WEP I have no problem to connect, but I prefer WPA2-PSK and my PDA gets stuck on "connecting".
My iBook and a PC laptop can connect without problem...and so does my buddy's iPhone...
Change the radio version. try flashing a radio that end in 36. xD
i have similar problem with my x1. radio version ends with 18. firmware version is R2AA010. exists one with newer radio? thx.
Works on mine?
I went to a customer site recently where they were deploying a Wireless LAN. As they were using a hidden SSID & WPA2-PSK & AES I tested it with my Kaiser and after a couple of attempts it connected OK (I think typos on my part were why it took two attempts..).
Hidden SSID's are pretty useless anyway as they are easy to discover. I think beefing up the back end security is a much better option - use WPA2 with PEAP or EAP-TLS instead of just hiding the SSID and using Pre-Shared-Keys. If the key is leaked then think of the number of devices you need to manually reconfigure.
Andy

wifi instead of gprs.

when ever I open Google maps or IE, it tries to connect to GPRS even if it is connected to WiFi. How can I make apps to use WiFi instead of GPRS when wifi is connected.
Two options - Either make sure the WiFi profile is set to connect to 'The Internet' or leave it set to connect to 'Work' but make sure you have a Proxy configured in the 'My Work Network' under Connection Settings.
Both of these settings work perfectly on my Kaiser. I have two SSID's broadcast from the same APs where I am - one which is authenticated & encrypted (WPA2-Enterprise with EAP-TLS Authentication & AES Encryption) and is considered 'Work' the other is Open and has no authentication/encryption and is considered 'The Internet', however this SSID is restricted on bandwidth and what protocols are allowed (ports 80 & 443 only). I have a proxy configured for 'My Work Network' and none for 'My ISP' and if either of these SSID's are connected when I open an Internet application then GPRS doesn't kick in. If they are not connected then GPRS does kick in.
HTH
Andy
Another way is is to download a cab called no gprs (its in my cab corner, see signature for link). Run it and disable gprs, connect trough wifi and browse away
ADB100 said:
Two options - Either make sure the WiFi profile is set to connect to 'The Internet' or leave it set to connect to 'Work' but make sure you have a Proxy configured in the 'My Work Network' under Connection Settings.
Both of these settings work perfectly on my Kaiser. I have two SSID's broadcast from the same APs where I am - one which is authenticated & encrypted (WPA2-Enterprise with EAP-TLS Authentication & AES Encryption) and is considered 'Work' the other is Open and has no authentication/encryption and is considered 'The Internet', however this SSID is restricted on bandwidth and what protocols are allowed (ports 80 & 443 only). I have a proxy configured for 'My Work Network' and none for 'My ISP' and if either of these SSID's are connected when I open an Internet application then GPRS doesn't kick in. If they are not connected then GPRS does kick in.
HTH
Andy
Click to expand...
Click to collapse
Thanks. That helped.

WLAN Times out while entering user credentials

Hi,
On our corporate LAN, we use certificates and user credential authentication, meaning that after properly loading the required certificates, we still have to enter a domain/username/password combination before we're allowed to log onto the network.
Moving from TD1 to TD2, I notice the following change in behaviour for WiFi:
On the TD1: there's ample time to enter all this data
On the TD2: a 'connection rejected' message occurs before I'm able to enter all data
Anyone knows where a sort of timeout value can be tweaked?
Thanks,
Max

Connecting to 802.1x encrypted Wifi

My school has campus-wide wifi that is encrypted using 802.1x enterprise encryption and I can't get my N1 to connect to it. Under the wifi settings the network shows up in range, but it shows up as a WEP wifi connection which isn't the case. I can manually add a connection and choose 802.1x and configure it as it should in order to connect, however when I do that it shows up at the bottom of the list as "Not in range, remembered" despite the fact that the SSID of the same name still shows up as that incorrect WEP encrypted connection.
Has anyone successfully connected to a 802.1x encrypted connection using their N1?
Do you need to install a security cert?
My N1 doesn't arrive until tomorrow, and I haven't tried connecting to my current school's wireless network. My last school had enterprise security, and I had to install a certificate on my laptop, and special software on my Windows mobile.
If no one else gets back to you, I'll see if I can screw around tomorrow evening.
Some googlin' brought up some maybe relevant info:
http://www.google.com/support/forum/p/android/thread?tid=5507f5155591aeda&hl=en
http://www.google.com/support/forum/p/android/thread?tid=4be67146eafe4365&hl=en
ATnTdude said:
Do you need to install a security cert?
My N1 doesn't arrive until tomorrow, and I haven't tried connecting to my current school's wireless network. My last school had enterprise security, and I had to install a certificate on my laptop, and special software on my Windows mobile.
If no one else gets back to you, I'll see if I can screw around tomorrow evening.
Some googlin' brought up some maybe relevant info:
http://www.google.com/support/forum/p/android/thread?tid=5507f5155591aeda&hl=en
http://www.google.com/support/forum/p/android/thread?tid=4be67146eafe4365&hl=en
Click to expand...
Click to collapse
i've tried a few different methods mentioned in the google forums and still no luck...
anyone able to connect using 802.1x?
with 2.1 update 1
i got it to work. not sure if that's what fixed it as my SA gave me the wrong sid the first time ... but it works great post update!
Nexus One -- Android 2.2 and 802.1x WiFi Authentication
flomid said:
My school has campus-wide wifi that is encrypted using 802.1x enterprise encryption and I can't get my N1 to connect to it. Under the wifi settings the network shows up in range, but it shows up as a WEP wifi connection which isn't the case. I can manually add a connection and choose 802.1x and configure it as it should in order to connect, however when I do that it shows up at the bottom of the list as "Not in range, remembered" despite the fact that the SSID of the same name still shows up as that incorrect WEP encrypted connection.
Has anyone successfully connected to a 802.1x encrypted connection using their N1?
Click to expand...
Click to collapse
I am using a stock Nexus One on Android 2.2. I got it running by entering the following (be sure to 'FORGET' the SSID that automatically comes up in favour of manually creating it) at 'Settings' >> WiFI:
EAP method: (I can choose b.w. PEAP, TLS or TTLS) and I choose PEAP
CA certificate: no choice … merely shows in brackets (unspecified)
User certificate: (unspecified)
Identity: (I enter) [MY-USERNAME, e.g., [email protected]]
Anonymous identity: (leave blank)
Password: [MY_PASSWORD]
Our university relies on WPA2/EAP/MS-CHAP .... but in our case putting the entire username did the trick.
I believe the Android 2.1 UI is deficient and will not let you enter the above, and from what I have read those who have 'rooted' their phone (and voided their warranty) have placed something like the following wpa_supplicant.conf file in /etc/wifi :
##### wpa_supplicant configuration file template #####
update_config=1
ctrl_interface=eth0
eapol_version=1
ap_scan=1
fast_reauth=1
Network={
ssid="MY_SSID"
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MSCHAPV2"
identity="MY_USERNAME"
password="MY_PASSWORD"
}
Some have mentioned that any certificate (e.g., Thawte) should be .p12 configuration and placed in the root directory of the SD Card. The best info for those who want to 'root' their Nexus one is Joe Levi's commentary at: http://pocketnow.com/tweaks-hacks/video-flashing-froyo-on-your-nexus-one
But as I stated, I have mine running the Net locally, and just need the proxy turned off by the uni. to get out.
Hope this helps.
I'm having the same issue at work. It appears as a WEP network and adding it as 802.1x says the network is not in range.
I'll give that wpa_supplicant.conf hack a go later.
I solved this issue, with the WiFi Advanced Config Editor (available in the marketplace)
my WIFI is 802.1x, with PEAP,MSCHAP v2
connect to the listed wifi with wep enabled, use any password
then modify the configuration with the WiFi Advanced Config Editor set as 802.1x, PEAP, MSCHAP v2, set user identity and password remove and remove any WAP settings
a enjoy
In my case, i have ICS 4.0, i try all suggestions above, but not work.
Someone can help me? Please

Setting static IP prevents device remembering WiFi password, prevents auto-connect

Note4, N910T3, rooted, but otherwise stock Android 5.1.1 from T-Mobile/Samsung's OTA update. Having trouble with WiFi and static IP:
If I use DHCP, WiFi works fine. It'll remember my LAN's WiFi password and auto-connect when available.
However, problems occur when I try to use a static IP (yes, I have reason to want a static IP within my LAN, but the reasons aren't relevant to the issue here):
First (this is the smaller issue, but still goofy and annoying), when I go to "Modify Network Config" Android won't allow me to set a static ip unless I'm already connected to the given network. It'll let me change "IP settings" from "DHCP" to "Static", but the "IP address" setting is greyed out. I have to connect using DHCP first, only then will it allow me to change the "IP address" setting for a static IP.
But here's the far bigger problem: Once I have worked around that issue and actually set a static IP, the next time I leave the network and come back (or just turn WiFi off and back on) it no longer auto-connects. When I try to manually connect, it's forgotten both the WiFi password and the static IP setting.
How can I make Android remember WiFi network settings AND use a static IP for a given connection?
Nothing at all? This is a major pain, and it's bizarre that Android apperently can't even get something as basic as static ip working realiably.

Categories

Resources