[Q] WiFi Never AutoConnects - Galaxy Note 10.1 Q&A, Help & Troubleshooting

After updating to the latest official Rom (n8010 august rom), my WiFi doesn't auto connect to any 5GHz wifi networks.
I tried two different routers, both with dual bands.
Android:
1.)
Remember 2.4GHz Password
Forget 5GHz Password
=====
AutoConnect
2.)
Forget 2.4GHz Password
Remember 5GHz Password
=====
NO AutoConnect
Why is this happening? Is there a fix?

Solution:
k1mu said:
There's a better fix for this.
In /system/etc/wifi there are two files:
nvram_net.txt and nvram_net.txt.us
The installed one is for Great Britain, and the other one (.us) is for the United States.
Rename nvram_net.txt to nvram_net.txt.gb and rename nvram_net.txt.us to nvram_net.txt
This makes two changes. changes "ccode" to "ccode=US" and adds "regrev=5".
Click to expand...
Click to collapse
This problem affects many of the galaxy line.

Related

WPA Enterprise Auth - confirmed working

WiFi on campus here uses WPA enterprise auth - good. I was shocked when I saw that the phone seemingly didn't support it. Network didn't even appear in the list, and Add Network only supports WPA Personal / WEP. How Apple of them. But WHY? It's wpa_supplicant behind the scenes.
I've been using campus wifi successfully for a few days now. It seems to integrate well enough - the wifi settings menu doesn't seem to break at all, the enterprise-authed network and status are listed correctly including the 'lock' icon, etc.
These instructions are slightly modified from being specific to the particular university (posted locally too, you see). If you can rub some braincells together, this can be adapted. The parts regarding a certificates file may or may not be needed in your setup, for example.
* Get a root shell
* cd /data/misc/wifi/
* cat wpa_supplicant.conf
* The existing supplicant config is displayed - copy and paste it into a text editor (the beginning bits are important, as are your existing networks)
* Paste in a working wpa_supplicant.conf section for your network at the end
* Fill in username and password in the new section. Replace the path for cacerts.pem with /data/misc/wifi/cacerts.pem
* Save the new config onto the SD card
* Save the cacerts.pem (same site) onto the SD card also
* On the handset: In the settings/storage menu, disable the SD card for USB storage (otherwise, can't access it from the shell)
* rm wpa_supplicant.conf
* cp would be used here normally, but it isn't in the stock image: dd if=/sdcard/wpa_supplicant.conf of=wpa_supplicant.conf
* chmod 666 wpa_supplicant.conf (Warning! Readable/Writable by EVERYONE! Use 664 such that only root can write it if you want, but this will possibly disallow changes by the settings app - if chown was available, ownership would be reverted back to wifi:wifi)
* dd if=/sdcard/cacerts.pem of=cacerts.pem
* chmod 444 cacerts.pem (needs to be readable by wifi user)
* The network should appear in the wifi menu and connect if you enable wifi. Reboot if not maybe?
Problems:
* Permissions are a bit wonky due to lack of chown. The process would be cleaner with busybox installed (possible with root), but this process is written to work on a stock RC29 handset.
* It will almost surely fail following an update. Try not to give up root before the WiFi UI is patched
* Maybe there's a reason that enterprise auth is absent from the settings UI
* WiFi settings page may or may not break. WiFi settings page may or may not undo your changes.
A quick troubleshooting tip: if you've dealt with wpa_supplicant before, note that wpa_cli is available to root. Helpful to diagnose any issues that crop up.
Enjoy.
How Apple of them. But WHY? It's wpa_supplicant behind the scenes
Click to expand...
Click to collapse
I suspect it's because the majority of consumers only access wifi networks secured through psk or mac-address. iirc my university used mac-address too. Not sure if that's changed by now. In any case, I wouldn't hold my breath for official support on the G1. Maybe on some future Android device with enterprise in mind.
Anyway, good tips and good first post. Welcome to the forum
busybox has chown
WPA2
Can I ask a question?
The SSID for your campus wifi is not broadcasted, correct? if this is true, then it won't show up and the only way to get access is to add it manually.
Now when you go to add it manually, did you try to change the type of security before you flipped out the keyboard? Just wondering since WPA2 is clearly seen if you have the keyboard in and if you have it out it looks like WPA2 isn't an option but if you try to move the security box with a swipe up with your finger, WPA2 will be shown. I haven't had a single problem attaching to my home or work network using WPA2 PSK since RC19 and beyond.
Yep, busybox has chown - which makes the whole thing cleaner and safer. My instructions were written originally with no assumptions as to previous modding, incl how to get telnet.
The wifi network here does broadcast, but is filtered out due to "unsupported" security. Add network lists wpa2 personal but not enterprise.
I modified my wpa_supplicant.conf file using your instructions and it worked!
Thanks!
Dave
vSymm said:
How Apple of them. But WHY? It's wpa_supplicant behind the scenes.
Click to expand...
Click to collapse
Because there's a substantial amount of UI work that needs to be done for WPA2-Enterprise compared with the relatively common WPA2-PSK.
My advice? If official support is something you'd like, go write it and submit a patch to the Android devs.
Not working
I can't get this to work. It says "failed to start wifi".
My non-enterprise wifi won't even work now. It connects but apps say network error.
I am trying to connect to my university's wifi that is "Secure 802.1X authentication and EAP-TTLS with PAP inner-authentication (anonymous)"
Can anyone give me an example config for this? It doesn't use a certificate.
Confirm that the permissions were set correctly on wpa_supplicant.conf
I'm sure you can find an example for that particular setup online somewhere.
happyface_0 said:
I can't get this to work. It says "failed to start wifi".
My non-enterprise wifi won't even work now. It connects but apps say network error.
I am trying to connect to my university's wifi that is "Secure 802.1X authentication and EAP-TTLS with PAP inner-authentication (anonymous)"
Can anyone give me an example config for this? It doesn't use a certificate.
Click to expand...
Click to collapse
try this:
adb shell
cd /data/misc/wifi
chown 1010:1010 wpa_supplicant.conf
Worked for me too, but the connection was really unstable. I've added the option bssid to wpa_supplicant.conf to prevent roaming. Now it works really well on my desk, but I haven´t tried the rest of the company.
need help connecting
I'm trying to connect to a campus network, I see the SSID detected (as following), and It tries to connect and aborts by itself.
my wpa_supplicant.conf shows this:
network={
ssid="Techwifi"
scan_ssid=1
key_mgmt=NONE
priority=2
}
hey guys,
will this also work with WPA2 and EAP/TTLS with PAP?
or do you know when this feature will be integrated?
thaks a lot
linulli said:
hey guys,
will this also work with WPA2 and EAP/TTLS with PAP?
or do you know when this feature will be integrated?
thaks a lot
Click to expand...
Click to collapse
Yes, I have it working.
Code:
network={
ssid="ssidname"
scan_ssid=1
key_mgmt=WPA-EAP
eap=TTLS
identity="user"
password="pass"
phase2="auth=PAP"
}
Note: It seems to drain my G1's battery pretty nicely and it starts to get hot after being connected for a bit. Also, my G1 added disabled=1 to the end of this network after the ADP1 v1.1 update, strange.
Thanks happyface_0,
so I will have a few minutes online.
Is there a way to alter your wpa_supplicant settings on an unrooted German G1 , or how can i downgrade and then alter the settings, does anyone know?
I'd love to know that too, i really want to use wifi at work.
Can we do anything to help you help us?
Maybe someone with a US RC33 can look if the WPA 2 Enterprise support finally made it into the gui of the G1 , then our problem would be solved ,
can´t find something on the net which says that WPA 2 Enterprise was part of the Internet .
So please can somebody look up his or her connection settings for wlan and tell us if WPA 2 Enterprise is available now?
Gedomania said:
Maybe someone with a US RC33 can look if the WPA 2 Enterprise support finally made it into the gui of the G1 , then our problem would be solved ,
can´t find something on the net which says that WPA 2 Enterprise was part of the Internet .
So please can somebody look up his or her connection settings for wlan and tell us if WPA 2 Enterprise is available now?
Click to expand...
Click to collapse
Neither WPA-Enterprise nor WPA-2 Enterprise are available yet without actually editing the wpa_supplicant configuration manually, even on RC33.
Hmm thats pretty sad, is it actually possible to write a program which can edit the Wpa_supplicant file so that we can manually insert the settings we need to get WPA 2 Enterprise working , even on phones without root?

Could we get a new user sticky guide?

IF this device is sold in the thousands on Black Friday, there will probably be a "couple" or more people interacting with this forum. Perhaps the following would be handy:
1. Start from scratch guide (CW and non-CW methods)
2. Pros and cons of CW vs non-CW (assuming non-CW will be an option with the OEM update based roms)
3. Survival kit if in boot loop
4. Links to roms & add on apps (with dates of when updated)
If Roeb, Roth and others could consider a guide and approach it from a general audience level (not clueless, but not a root vet either), this could save a LOT of posts due to questions related to how to do it or fix it when doing it wrong.
I thought i was already doing that.
If a user can't do a firmware update, then they might as well stick to TnT stock. I think the biggest issue they'd face is the infinite reboots, since the fix sometimes requires cwm or even nvflash.
EDIT: I have a general FAQ in tegratab - - I'll port it over.
Good point
BTW, anybody able to get the Gtablet to work with either USB or wifi tethering? I have struck out with both using my Incredible, which works fine with my laptop.
rushless said:
Good point
BTW, anybody able to get the Gtablet to work with either USB or wifi tethering? I have struck out with both using my Incredible, which works fine with my laptop.
Click to expand...
Click to collapse
WiFi tethering worked for me using my Nexus One. I had to do nothing special to get it to work. At the time I was running Zpad 0.2. I'm on Cyanogen Beta 2 right now, but I've been running on my home WiFi. I'll try the wifi tether and report.
rushless said:
Good point
BTW, anybody able to get the Gtablet to work with either USB or wifi tethering? I have struck out with both using my Incredible, which works fine with my laptop.
Click to expand...
Click to collapse
Does the Incredible (like the Droid1) only provide Adhoc (vs. Infrastructure/AP) Wireless tether???
If so, then you will need to make the 2 wpa_supplicant.conf file edits SIMILAR to what I described for the ZT-180...
http://www.slatedroid.com/zt-180/69...o-static-ipaddr-required-edit-files-once.html
I say Similar, as the ctrl_interface=wlan0 on Gtab vs. =ra0 on ZT-180... but otherwise it's just edit the same 2 files the same way...
jtbnet said:
Does the Incredible (like the Droid1) only provide Adhoc (vs. Infrastructure/AP) Wireless tether???
If so, then you will need to make the 2 wpa_supplicant.conf file edits SIMILAR to what I described for the ZT-180...
http://www.slatedroid.com/zt-180/69...o-static-ipaddr-required-edit-files-once.html
I say Similar, as the ctrl_interface=wlan0 on Gtab vs. =ra0 on ZT-180... but otherwise it's just edit the same 2 files the same way...
Click to expand...
Click to collapse
Not sure, but I do know this works with my M11X, but I mainly do USB tether, which I am guessing does not work either (since I could not get it to work on the Gtablet). Not had to mess with settings before...
Dang, if I can not fix this, my love affair with the G will be but a short fling- need to be able to tether.
I can not even get the blue tooth to pair.
I was so focused on the PSX gaming and web & Flash at home, but never figured in a million years that I could not connect to my Inc.
There is a bunch of options in the app I use, simply called "Wireless Tether".
The Gtablet will sometimes say "network available", but does not show it (probably work's, but even my Inc will show the network here). Then again, I turn my Inc off and the G still says "network avialable", so go figure.
rushless said:
Not sure, but I do know this works with my M11X, but I mainly do USB tether, which I am guessing does not work either (since I could not get it to work on the Gtablet).
Dang, if I can not fix this, my love affair with the G will be but a short fling- need to be able to tether.
There is a bunch of options in the app I use, simply called "Wireless Tether". Not had to mess with settings before...
Click to expand...
Click to collapse
All you need to know is the SSID... for your phones tether... I believe I used what was the default for the Droid1 which is likely the same... you can enable Wifi Analyzer on the GTab to determine the SSID when you enable tether on the phone and that should be the only thing you need to know for Adhoc with Not change of settings to the phone... then the 2 file edits... my example locks my 2 home networks and my Adhoc tether configured and overwrite/updte disabled so when I temp find roaming nets I can cannect but Not sane them for later but that works just fine for me... so I'd say copy the networks you have saved Now in your /data/misc/wifi/wpa_supplicant.conf and use them to replace my jtb* networks... and try just using my adhoc network as is, with same globals I show in the examples...
Are there not sub-mod's that can do this stuff on this sub-forums? If not, this will be really annoying trying to get a sticky.
jtbnet said:
All you need to know is the SSID... for your phones tether... I believe I used what was the default for the Droid1 which is likely the same... you can enable Wifi Analyzer on the GTab to determine the SSID when you enable tether on the phone and that should be the only thing you need to know for Adhoc with Not change of settings to the phone... then the 2 file edits... my example locks my 2 home networks and my Adhoc tether configured and overwrite/updte disabled so when I temp find roaming nets I can cannect but Not sane them for later but that works just fine for me... so I'd say copy the networks you have saved Now in your /data/misc/wifi/wpa_supplicant.conf and use them to replace my jtb* networks... and try just using my adhoc network as is, with same globals I show in the examples...
Click to expand...
Click to collapse
How can I do both at the same time? Using same device (using Inc for wifi analyzer and wifi tether at same time should not work)
Gtablet does not see my phone, but connects to my home system and see area networks fine at home Traveling on the road is the killer for me
I am not understanding the file edits you mention. Is there a highlight of what parameters to edit, or is this all new script?
Update.
Even using PDAnet is a bust with Bluetooth. The devices pair, but no connection.
rushless said:
How can I do both at the same time? Using same device
Gtablet does not see my phone, but connects to my home system and see area networks fine at home Traveling on the road is the killer for me
I am not understanding the file edits you mention. Is there a highlight of what parameters to edit, or is this all new script?
Click to expand...
Click to collapse
Yes, my example does both... I can turn on tether sitting in my home lab and sometimes the gtab even switches from my weaker AP to the phone adhoc... usually I just toggle wifi off/on to get it to switch... if I stop tether it jumps to my AP...
Really the only params that are required are the ones I set in the example...
These global params would be same for you...;
# Globals
ctrl_interface=wlan0
update_config=0
ap_scan=2
This Adhoc specific network would be same for you I believe just verify your ssid all else is definitely same as default in tether from market...;
network={
ssid="AndroidTether"
scan_ssid=1
mode=1
key_mgmt=NONE
priority=30
}
Then paste what you currently have saved for networks you frequent below these like my 2 home AP nets, so your currently saved networks would differ here...;
# Lab default
network={
ssid="jtbnet-lab-wireless-3"
key_mgmt=NONE
auth_alg=OPEN SHARED
wep_key0=16593b8024
priority=20
}
# Home default
network={
ssid="jtbnet1"
key_mgmt=NONE
priority=10
}
Once you have the /data/ short version of your file like above... just also paste that piece to top of the /etc/wifi sample file that the tablet uses as a starting template and comment out the 2 differing settings further down in that original template file...
# update_config=1
# ap_scan=1
And you should be good to go to work on your current saved local nets as you can now, plus your Wifi Adhoc Tether.... the update_config=0 says don't overwrite these files with any found nets, or change any of my default settings... , but you can still roam and connect... just won't save any of the temp nets you find roaming as they will change some of the critical settings like ap_scan=2 if you let them update... you can always manually edit and change or add locked down nets later...
rushless said:
Good point
BTW, anybody able to get the Gtablet to work with either USB or wifi tethering? I have struck out with both using my Incredible, which works fine with my laptop.
Click to expand...
Click to collapse
Most likely an android issue.
If you are using barnicle or wifi tethering your laptop will see it fine, the laptop can normally see what is called Ad Hoc networks.
Android cannot (unless tweaked?) normally see an Ad Hoc Network, they need what is called infrastructure mode, which is what a normal wireless router transmits at (unless modified to something else), so the GTab will not see your incredible's signal like your laptop will.
I am using the droid X and the 3g hotspot app, the 3g hotspot transmits in infrastructure mode by default and the gtab sees it fine.
There are hacks to get 3g hotspot for free, but I would not guarantee Verizon can't still see a connection and charge you, use at your own risk.
rothnic said:
Are there not sub-mod's that can do this stuff on this sub-forums? If not, this will be really annoying trying to get a sticky.
Click to expand...
Click to collapse
Yes there are See my profile
theimpaler747 said:
Yes there are See my profile
Click to expand...
Click to collapse
Awesome, so would you rather on person PM you if we need a sticky?
rothnic said:
Awesome, so would you rather on person PM you if we need a sticky?
Click to expand...
Click to collapse
Yeah, that would be the best way to do it, and then I'll review it and deem it as worthy
rushless said:
Good point
BTW, anybody able to get the Gtablet to work with either USB or wifi tethering? I have struck out with both using my Incredible, which works fine with my laptop.
Click to expand...
Click to collapse
i'm connected to my incredible right now, it works fine using wifi tether from the market.
I am still having no luck with Incredible and getting the Gtab to see it. No problem with my router at home.
I am using TnT 1.02, wifi tether app and even tried the binary file add on from the EVO.
1) This thread seems to have turned from sticky to tethering -- different but extremely useful info. May I suggest the moderators to move the relevant posts to a new **sticky** thread?
2) Speaking of tether: Have anyone managed to do USB tether with the g-tablet? This could very well be the key factor in my decision to keep or return the g-tablet, and I'd be most appreciative for any help and advice from the advanced users here.
Thanks!
I have tried everything software likely, but still no wifi tether being seen by the device. I can activate hotspot and the Gtablet sees it and ask for a password, so at least the G can see my Inc- just not in straight wifi mode. Does not see it at all and I do think it is the ad-hoc issue. Gtablet not seeing it for some reason.
Could it be due to having TnT lite 1.02? Perhaps the people having luck are using Z-Pad .03 or CM?
Wonder if it is possible to create drivers for USB tether?
Here is what I had to do after the newest dec 2010 update
#
#
# Connecting your viewsonic gtablet to your Ad-HOC wifi
#
#
adb pull /system/etc/wifi/wpa_supplicant.com
cp wpa_supplicant.conf wpa_supplicant.conf.orig
[Edit WPA_supplicant.conf]
ap_scan=2
network={
ssid="YOUR-SSID"
scan_ssid=1
key_mgmt=NONE
mode=1
priority=99
}
{YOUR OTHER NETWORKS HERE}
adb push wpa_supplicant.com /sdcard/wpa_supplicant.conf
use androot or root explorer to delete the current wpa_supplicant.conf file and copy the modified version to /data/misc/wifi/wpa_supplicant.conf
chown the wpa_aupplicant.conf file to owner wifi group wifi (ie #chown wifi.wifi wpa_supplicant.conf)
[notes]
Your ad-hoc network should be the first in the list as outlined above. make sure that the priority is set to a high number.
when enabling your teather on your phone you may need to disable the wifi on your tablet then reenable. wpa_supplicant will always attempt to
connect to the first network with the highest priority first so it should connect right up. If you have problems you can use logcat to debug.
you will see wpa_supplicant getting enabled and if there are any errors you will see it there. You should not need to set the update_config option
but if you have problems with your conf getting overwritten you can set update_config=0 and this will not allow wpa_supplicant to update the config.
The only downside to that is that you will not longer beable to save new network blocks to the file, You can still connect it just will not save them.
I just loaded TNT 3.0 and the supplements yesterday. I jus tried the Wireless Tether app from the market on my Droid 1 and my G Tab sees and is able to connect.

Android passive wifi survey - hidden networks / ssid not seen

I am using a samsumg galaxy tab to conduct WIFI site surveys of both work and other wireless networks. The issue is that it can only see hidden networks / ssid's which the device is connected to. If there is a network next door and it is hidden, the device can not see it. I have been using wifi analyser and wifi manger, plus tried many other apps but none of them could see the hidden networks.
From what I can tell, android can not see hidden wireless networks (unless you know about them and connect to them). Is this correct? if so, has anyone come up with a workaround or fix? I know from a PC, there is many apps that I use to see all these networks. It is just easier to take the tab then to take a laptop. I also use it to identify faulty AP's, works a treat if you know the network.
Thankyou.
I also have faced the same problem with my HTC Hero! :S
Per default a hidden network can not be seen because it doesn't broadcast it's SSID. If you know the SSID though, you can connect to the network.
WiFi stumblers that show hidden networks basically just grab packets from the air and grab the SSID from them. (simplified explanation)
I understand that hidden network do not broadcast the SSID, however they still broadcast management frames that a WIFI analyser can pick up. For example, on a PC using netstumbler, you can see AP's without the SSID being broadcasted. This at least shows you what AP's are in adjacent buildings, channel they are on and their mac address, regardless if the network is hidden or not. I am wanting to know, if there is an app around that can do the same but on the Galaxy Tab.
I am not trying to connect to these networks, I am just wanting to know if they are or might be interferring with out company's wireless network. (ie same channel)
Can anyone assist me please or answer my question?
scre80 said:
Can anyone assist me please or answer my question?
Click to expand...
Click to collapse
I can't even connect to my wifi from my Android phone if I shut off SSID broadcast...
I'm not sure if it's even possible!
m3t4lw01f said:
I can't even connect to my wifi from my Android phone if I shut off SSID broadcast...
I'm not sure if it's even possible!
Click to expand...
Click to collapse
It definitely is, I just tried it.
frosty_ice said:
It definitely is, I just tried it.
Click to expand...
Click to collapse
What device/rom/modem?
I'm on an I9000 with Darky 10 and zsjpg modem, and I cannot use a wifi with hidden ssid.
I revise my question to: is it not possible on certain devices/roms?
You can connect to hidden networks if you know the SSID, however I am trying to see all hidden networks around me without connecting to them. The same as you can do with netstumbler on a laptop. I have tried the netstumbler android app and this can also not see hidden networks. So far, all apps I have tried can not see them. I am thinging this might be a restriction of Android. Can anyone confirm this?
I haven't found one that does either, but like I said my phone doesn't seem to be able to even connect to a wifi with hidden SSID, so that may be why for me.
I have a buddy with a Xoom here at work, I'll see what he says. It runs Honeycomb though, so not an apples to apples comparison.
Yes please. Would be good to know if a xoom can see hidden networks.
scre80 said:
Yes please. Would be good to know if a xoom can see hidden networks.
Click to expand...
Click to collapse
He isn't 100% sure, but he doesn't think it does.
Can anyone assist? Any android experts?
I would also like to know. How can we get this working on Android?
bump for answer
I had this problem on my Galaxy S2 I9100 with kernel UGKG2 but the problem went away after flashing kernel XWLA4.
Not sure if that will help anyone or not but it now works correctly with the new kernel for me.

[Q] [GT-P6210] WIFI problems after updating to Official JB

Hello,
I got my good ol' GT-P6210 back from my brother, the tab was in Stock ICS. Everything was functional, WiFi was set and working, then I decide to move on into Official JB, Odin did the job normally, then I did Wipe everything in order to start fresh, but now I cannot join my Home Network. There is a strange message saying that there is a problem with the authentication, I saw this error in some Galaxy S3 post but I don't see any reports of this on GT+
The funny thing is that I can join an iPhone Hotspot perfectly, so that will discard any problem with the WPA2, but i'm not sure how to fix this, should I return to ICS?
Regards,
darkshadowx07 said:
Hello,
I got my good ol' GT-P6210 back from my brother, the tab was in Stock ICS. Everything was functional, WiFi was set and working, then I decide to move on into Official JB, Odin did the job normally, then I did Wipe everything in order to start fresh, but now I cannot join my Home Network. There is a strange message saying that there is a problem with the authentication, I saw this error in some Galaxy S3 post but I don't see any reports of this on GT+
The funny thing is that I can join an iPhone Hotspot perfectly, so that will discard any problem with the WPA2, but i'm not sure how to fix this, should I return to ICS?
Regards,
Click to expand...
Click to collapse
Delete (forget) your network then connect to it again. You will have to re-enter the security info
Yup, I did that
I see that the tablet tries to do the connection for around 30 or 40 secs, then by some reason it desists. After some minutes it displays a message saying about the authentication problem.
I'm going to try to back to ICS, maybe I miss or did something really wrong
darkshadowx07 said:
Yup, I did that
I see that the tablet tries to do the connection for around 30 or 40 secs, then by some reason it desists. After some minutes it displays a message saying about the authentication problem.
I'm going to try to back to ICS, maybe I miss or did something really wrong
Click to expand...
Click to collapse
I haven;t seen any issues with authentication on the JB ROM. I have seen issues where the channels don;t show up in the US, because this a UK ROM. Try installing an app like WiFi analyzer and see if it gives you any clues. IS your router WPA2 AES?
DigitalMD said:
I haven;t seen any issues with authentication on the JB ROM. I have seen issues where the channels don;t show up in the US, because this a UK ROM. Try installing an app like WiFi analyzer and see if it gives you any clues. IS your router WPA2 AES?
Click to expand...
Click to collapse
Yes, it's the DLINK 2640T (a classic)
DigitalMD said:
I haven;t seen any issues with authentication on the JB ROM. I have seen issues where the channels don;t show up in the US, because this a UK ROM. Try installing an app like WiFi analyzer and see if it gives you any clues. IS your router WPA2 AES?
Click to expand...
Click to collapse
With the Wifi Analyzer I see a lot of message saying that the Suplicant is associating, So i did install a Wifi Fixer tool in order to get a log of something and this what i got:
HTML:
<code>
Current dBm:-44
Supplicant State:DISCONNECTED
Supplicant State:ASSOCIATING
Build:0.9.5.6:983 :Sat Jun 29 21:30:53 CST 2013
Supplicant State:DISCONNECTED
Supplicant State:SCANNING
Supplicant State:ASSOCIATING
Supplicant State:DISCONNECTED
Supplicant State:SCANNING
Build:0.9.5.6:983 :Sat Jun 29 21:31:13 CST 2013
Supplicant State:ASSOCIATING
Supplicant State:DISCONNECTED
Supplicant State:SCANNING
Supplicant State:ASSOCIATING
Build:0.9.5.6:983 :Sat Jun 29 21:31:33 CST 2013
Supplicant State:DISCONNECTED
Supplicant State:SCANNING
Supplicant State:ASSOCIATING
GT-P6210
4.1.2
</code>
could it be the WPA_Supplicant?
I tried joining my home network without password and I still got the error.
actually I was more interested in what it reports your DLINK 2640T as , channel, security, etc.
DigitalMD said:
actually I was more interested in what it reports your DLINK 2640T as , channel, security, etc.
Click to expand...
Click to collapse
I think i have a defective router, it just logs events from ADSL communication
darkshadowx07 said:
I think i have a defective router, it just logs events from ADSL communication
Click to expand...
Click to collapse
My Current WiFi SSID settings are:
Security; WPA2 with WPA2 Pre-authentication
Channel: 6
Group Key Interval: 3600
Beacon interval: 200
DTIM Period: 2
Hidden SSID: Nope
Antenna transmit power: At Full
RTS Threshold: 2347
Frag Threshold: 2346
b/g Mode: Using both b and g
User Isolation: No
QoS Support: No
I also test it today by disabling the whole security (leaving my Wifi open) but without luck
darkshadowx07 said:
My Current WiFi SSID settings are:
Security; WPA2 with WPA2 Pre-authentication
Channel: 6
Group Key Interval: 3600
Beacon interval: 200
DTIM Period: 2
Hidden SSID: Nope
Antenna transmit power: At Full
RTS Threshold: 2347
Frag Threshold: 2346
b/g Mode: Using both b and g
User Isolation: No
QoS Support: No
I also test it today by disabling the whole security (leaving my Wifi open) but without luck
Click to expand...
Click to collapse
Looks normal. Have you tried saving your settings and resetting the router to factory default as a test.?
DigitalMD said:
Looks normal. Have you tried saving your settings and resetting the router to factory default as a test.?
Click to expand...
Click to collapse
Yup, I did that yesterday
Also I was able to rollback into ICS (I took the latest official rom, FOP, i guess), and the WiFi worked normally. Once again, after updating into JB, it cannot join my home network except my iPhone hotspot.
darkshadowx07 said:
Yup, I did that yesterday
Also I was able to rollback into ICS (I took the latest official rom, FOP, i guess), and the WiFi worked normally. Once again, after updating into JB, it cannot join my home network except my iPhone hotspot.
Click to expand...
Click to collapse
Tried any other wifi outside your house? Are you by chance running the offending router in adhoc mode vs. infrastructure?
DigitalMD said:
Tried any other wifi outside your house? Are you by chance running the offending router in adhoc mode vs. infrastructure?
Click to expand...
Click to collapse
Let me try, I will let you know
DigitalMD said:
Tried any other wifi outside your house? Are you by chance running the offending router in adhoc mode vs. infrastructure?
Click to expand...
Click to collapse
I tried several router brands (Linksys and a weird huawei model) and the tab was able to connect perfectly, but not on DLINK routers, except one actually, with a 2011 firnware.
I guess I have to buy another router since my 2640T is not updated anymore since 2007

Workaround: How to access non-US wifi channels 12 and 13 on CM (and derived ROMs)

Until it's fixed the proper way, there is this workaround:
Make a copy of your /persist/WCNSS_qcom_wlan_nv.bin file and open it in hex editor.
Locate the three character default regulatory domain country code string in there - USI in the case of xt897 (United States, indoor). It should be at offset 0x1825.
Change it to your own country code (in my case Czech Republic, indoor - CZI; in the case of Germany - DEI).
Put this edited file to /system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin (replacing the symlink to /persist/WCNSS_qcom_wlan_nv.bin), set its owner and group to wifi, mode to 660.
After reboot, you should be able to see and join the networks on channels 12 and 13 (if allowed in your country).
(If it works fine for you, you've secured a backup of your own original WCNSS_qcom_wlan_nv.bin file and you're brave enough, you can directly replace the WCNSS_qcom_wlan_nv.bin file in /persist, in order so this change will persist any future ROM updates.)
If I understand this correct, this is only for 2.4 GHz.
Sadly I was not able to get my Photon Q to see 5 GHz WLAN APs.
Do you have another workaround for this?
edit: To be sure, I will test it in about three hours.
Loader009 said:
If I understand this correct, this is only for 2.4 GHz.
Sadly I was not able to get my Photon Q to see 5 GHz WLAN APs.
Do you have another workaround for this?
edit: To be sure, I will test it in about three hours.
Click to expand...
Click to collapse
Well, I'm not sure if it has been mentioned in this forum before (it's very well possible), but the statement in Photon Q FCC application is quite clear:
Note that, while the hardware in this implementation is capable of supporting 5 GHz operation, this device has been designed for operation solely in the 2.4 GHz band. Operation in the 5 GHz band is locked out in the device’s firmware.
Click to expand...
Click to collapse
https://apps.fcc.gov/oetcf/eas/repo...lledFromFrame=N&application_id=820177&fcc_id= (Attestation Statements 2.3)
Unfortunately, I don't have any 5GHz capable AP currently available to be able to conduct any experiments.
All other family devices Razr HD, Razr M and Atrix HD officially support 5GHz wlan, so it may be worth to explore usage of their firmware files (/firmware/image/wcnss.xxx and /persist/WCNSS_qcom_wlan_nv.bin) on xt897 to see if 5GHz could be enabled. Though I can also imagine that it's disabled by some obscure NV item we'll have a hard time to find...
Interesting, I didn't know that.
I was always convinced that our Photon Q is able to operate in 5GHz.
(I didn't test that on stock firmware because the 5GHz router came later.)
I realized that I can turn the new Mac Pro (urn) that's accidentally available here at the moment into a 5 GHz wifi AP.
No chance. Even when using wcnss.mdt/.b0x files and WCNSS_qcom_wlan_nv.bin from Razr HD that supports 5 GHz wlan, Photon Q couldn't see the AP, while both Note 2 and iPhone could connect to it without trouble.
He has got a mac... burn him!
Just kidding
So it must be some NV item, maybe one which we can't even change/see >.<
Loader009 said:
He has got a mac... burn him!
Just kidding
So it must be some NV item, maybe one which we can't even change/see >.<
Click to expand...
Click to collapse
In another thread, someone is claiming to be able to connect to 5G networks with CM10.2 nightlies by skrillax LINK
http://forum.xda-developers.com/showpost.php?p=41335670&postcount=11
Can somebody confirm this?
My Photon is in heavy productive use right now, so I won't be able to check it out the next few days.

Categories

Resources