Wifi network with 64 character psk - Samsung Galaxy Core

Hi, I have wifi network with WPA2 PSK code with 64 characters and Samsung Galaxy Core don't allow me to type in so long passcode.
When I try to copy paste my code it alerts me that it support 8 to 64 characters long code, but actually it doesn't (allow only 62 characters).
I try to manually insert that code in wpa_supplicant.conf file and then wifi worked, but after phone reboot I can't turn on wifi until that long code is located in wpa_supplicant.conf file.
I can use that code on all others devices (all android devices including Samsung Galaxy, Ace, LG, Sony Xperia, Nokia, Nexus,...).
So it it clearly error on that device default rom UI.
Does someone have idea how can I fix that issue? I can't change rom on phone, because it's not my and it's under warranty, and I don't wane to change wifi code, because it's already included in many other devices.

easy solve, change your wifi password.

Who on this earth keeps such a long Password for the WiFi...
Sent from my GT-I8262 using xda premium

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?

[Q] WPA Enterprise with PEAP and MSCHAPV2 Using wpa_supplicant.conf

As a point of reference, I am using a rooted HTC G2 running GingerVillain 1.5.
I have been trying to manually connect to my University's wifi (UT of Arlington if it's any help) The Xpress connect app they recommend does not work as it does not detect the network or something or rather. I don't want to mess with it anymore as it would be better to have the settings OS based than app based unless there is no other way.
So, I tried to set it up manually according to what my computer had set up: PEAP with MSCHAPV2. Android only offered "none specified" for user or CA certificates. It acts like it is going to connect, then promptly disconnects.
I think my problem is similar to this topic which was resolved: http://forum.xda-developers.com/showthread.php?t=576407
However, whenever I pull wpa_supplicant.conf and change anything, Wi-Fi won't start on the phone. Is there something else I need to do to get a modified one to work? I'll probably still have to play with some settings to get it to actually work with my university.
Ok, I found this topic http://forum.xda-developers.com/showthread.php?t=692254 which fixes the wifi crash when rebooting after modifying wpa_supplicant.conf I'll have to see if I can get the network to work next time I can go to school.

[Q] Eduroam

Hi all, this is my first post and sorry for my english
I have a big problem with my galaxy sl, i can't use wifi connection (eduroam) in my uni (http://venus.unive.it/wifi/index.php?cmd=eduroam_android Venice)
I have followed the istruction of my uni, but wifi don't work
I have read http://forum.xda-developers.com/showthread.php?t=1477743, i have tryed all versions but the connection don't work
I use miui rom v2.3.23 (http://forum.xda-developers.com/showthread.php?t=1538234) with default kernel.
Do u have a solutions???
thanks to all
Hey there!! I also have eduroam in my University and I have never been able to connect it. Sorry then!!
Same problem here (with eduroam and another similar wifi network in my university).
Actually I was able to connect, but it worked few times. Usually after a full wipe my phone connects flawlessly to wifi, but after that connection, another full wipe is needed.
In my case, it seems that the phone is unable to get a valid IP, because using a fake IP, gateway etc (in wifi settings press the menu button and then go in advanced) it will immediately enstablish a connection (no internet connection of course). I tried to put valid infos once (I had with me my laptop connected and I copied all the infos from it, I only changed the last number in the IP) and it worked. That's why I think is an IP problem, but maybe it was luck .
Maybe doing a sort of "wifi config reset" solves the problem (at least in my case), but it means that everytime I should reconfigure it... I simply gave up and I use my 3G connection .
I found this weird workaround time ago, but I never tried it. I think it worths a try.
===
EDIT:
Strange, you use a different config. I thought all Eduroam networks would have used the same config. Here mine's:
SSID: eduroam
Security: 802.1x Enterprise
EAP method: TLS
CA certificate: "Not specified"
Client certicate: the downloaded certificate
i will try ur config next week but, my friend can use edoroam with a acer liquid (2.2 foryo) with config written in university site.
IMO there are a bugs in the kernel of galaxy sl because a lot of android phone can connected to eduroam
Up
I tried again after I saw this thread and I now I'm quite sure that my problem is an IP problem. I played a little with airplane mode/static IP in a random way (as suggested in the link I posted) and finally I enstablished a connection.
Usually, right before the connection, my phone asks the credential password. And that's weird.
Anyway I discovered something interesting. In our /system/build.prop we have:
Code:
...
wifi.interface=eth0
...
wifi.interface=tiwlan0
but
Code:
getprop wifi.interface
gives as result tiwlan0 and that's ok, this is our wifi interface.
But after that I went to see some other config files and I found that in our /system/etc/dhcpcd we have
Code:
interface eth0
I think this should be
Code:
interface tiwlan0
(I found reference to eth0 in /system/etc/wifi/wifi.conf too, but I don't what this file is used for).
I wanted to see if changing eth0 with tiwlan0 in /system/etc/dhcpcd/dhcpcd.conf and removing wifi.interface=eth0 from build.prop would have helped, but I had no time and now I'm on holiday.
If your problem is similar to mine, try to do that change, it won't break anything, I already did that and wifi works (at home of course, where I've never had a problem).
I have also eduroam in my university and i am using eduroam fixer and it is working perfectly. İt is in google play and free you can use it
Sent from my GT-I9003 using Tapatalk
Try this app: Transparent Proxy. Input your wifi proxy and port.
It may work...
I also have eduroam in my university and I've managed to make it work.
You just need to enter eduroam config and set it like this (I have my phone in spanish, so the names could be a little messed up ):
Code:
EAP method: TTLS
Phase 2 authentication: PAP
Identity: [I]"your university mail"[/I]
Password: [I]"your university mail password"[/I]
And leave everything else blank. Hope it works for you guys!!

[APP][BETA][ROOT][4+] Wifi Codes - Change Country Codes - Enable Wireless Channels

Wifi Codes for Android 4+
What I'm Doin?
This application allows you to change your phone's wifi country code ( which is set by your simcard ), to be able to see wifi networks on all channels. This application also helps people who can't see any wireless networks while the simcard is in their phone ( like me ) which is again caused by the bad country code.
What I Need?
1.You have to be rooted.
2.Anything else?
Ok cool, How To Get?
You can get the application .apk from here : http://d-h.st/bi2
I will be uploading the application on the market by the time the beta period is over and I'm sure that it works fine on every phone.
Ok gotcha, How To Use?
1. First make sure that wifi is on. ( will be fixed in next releases )
2. Open the application, and put in your desired country code to fly to!
3. You can see 2 main country codes which are already there for you, feel free to use them if they meet your needs!
4. Click `Change It`.
5. Now if it's the first time you are running this application, you will be asked for root permissions. Grant Please!
6. Now If everything goes well you will see a message which says that the country code is changed.
7. Go on and turn off your wifi and turn it back on.
8. You will see all the networks showing up.
Note:You don't have to do this every time the phone boots up... This only needs to be done once. Unless you factory reset your phone.
I can't see any wireless networks
It is caused by new android 4 roms arriving to the devices ( mainly htc phones ) which use some carrier and country specific files to set Wifi Regulatory Domain options ( which was present in wifi settings until android 2.3, but been removed from android 4 and later roms ). If your country code seems unknown to android system, then it fails to set right options and it fails to intiate wireless scan.
To solve this all you need to do is to change your country code manually to a known one, so that android system can determine what channels it should scan for networks.
Change Log
09 Nov. 2012 - V1 - Initial Release
Click to expand...
Click to collapse
Known Bugs
1. If you run the application when the wifi is off, then you will face issues and you will need to restart your phone. ( I'm trying to solve this, but I believe it's nothing with my application, it's an android bug )
2. You Say!
About Beta
This application is still in beta section, and won't get to final releases without the help of you guys.. Feel free to post here if you faced any issues while working with the application.
Hey
I just want to say thank you. I have been faced with this problem and it has been driving me bonkers. I've been trying to run scripts to fix, have tried wifix and others .. File permissions on wps_supplicant. All no luck
But your app here seems to be working. No more reboots and wifi has locked on for half an hour. Looking very positive
Thanks again
WiFi
Well might as well give it a whirl and see. Will let you know my findings and recommendations
MAC address
Does this country code change affect the MAC address on my device ? I have applications that are sensitive to the MAC address and if this address is changed, it will cease to work. Otherwise, I want to try this ASAP. I also noticed that some of the wireless networks will be seen in the discovery, but I cannot connect to those. Can this country setting change fix my problem ?
Thanks
can't open the app with cm10 :/ downloaded it three times but it never worked...
Awesome
awesome job mate!!!and by the way can i juzt enter my country name or is there any specific code for each country pls list the countries and their codes..
no US?
Kudos!
Works Perfectly on the AT&T Motorola Atrix HD running stock ICS rooted.
ADHOC ?
will it show adhoc network also ?
it works !!
Thank you very much for the app and your information. :victory:
Helped me to run SlimBean3.0 using wifi channel 13 in Germany. Maybe there is something wrong with my simcard - but whatever, your little app made my day.
Will this be of any use to someone in the USA who doesn't travel outside the USA? Will the app enable ALL possible channels? Or is it useful mainly for people in a country who get a ROM which isn't properly coded for the channels in their particular country?
I'm not having any problems finding Wifi signal with the stock AT&T ROM, so far as I know. But if there are any wifi channels available out there in the USA that are not currently enabled by the stock ROM, this might be useful to me, if only to see them.
?
I've had a heck of a time trying to get wifi to stick on a sd card install of cm10 on my nook color,ya'll think this might help but i dont see any way to install app cause i cant get pass greyed out wifi and cant sign into google and no internet..thanks..
Thanks for this wonderful utility. Will be better if the app can display current setup.
Thanks again!
Thank you very much for the app
Thank you very much for the app
Does not work with my HP Touchpad running CM9, works on my Samsung Galaxy S2
Isn't work on Xperia Neo
:crying:
jfmessier said:
Does this country code change affect the MAC address on my device ? I have applications that are sensitive to the MAC address and if this address is changed, it will cease to work. Otherwise, I want to try this ASAP. I also noticed that some of the wireless networks will be seen in the discovery, but I cannot connect to those. Can this country setting change fix my problem ?
Thanks
Click to expand...
Click to collapse
No, It doesn't have anything to do with your wlan MAC Address, It just changes the country code. So It is safe to use in your case.
P.S: Sorry for the late reply.
fipsib said:
can't open the app with cm10 :/ downloaded it three times but it never worked...
Click to expand...
Click to collapse
Can you please give me more details about the nature of the problem? Whether it's an installation issue? FC? etc?
yeshwanthvshenoy said:
awesome job mate!!!and by the way can i juzt enter my country name or is there any specific code for each country pls list the countries and their codes..
Click to expand...
Click to collapse
I think it can be almost any country code.. ( It has to be 2 upper-case letters.) ie. JP = Japan, EU = Europe, US = United Status, DE = Germany, UK = United Kingdom, ...
no US?
Click to expand...
Click to collapse
It does work with US. However setting to US, will enable channels from 1-11.

MAC address changes for each hotspot activation

Hello,
i detected by the linux-tool "iwconfig" that the mac-address of the hotspot is changing on every new hotspot activation. There is also a bug-report for it:
https://code.google.com/p/android/issues/detail?id=57452
In the comments is stated that doomlord fixed that problem. Is there any kernel in here for the nexus 5 from doomlord or others, which have this problem solved?
Very annoying with WICD forgetting the password and Windows always creates a new network.
Thanks for help.
Hi,
that's a serious problem for me too.
I would like to use the online services in my Mazda MZD Connect System.
Unforunately the system identifies an Hotspot by its MAC Address.
So whenever i switch the Hotspot off and on again a new entry is created in the car entertain system and i have to enter the password again.
This renders the function nearly unusable.
As i read yesterday, VW drivers have the same issue.
As there is only one line in the source randomizing the last three bytes of the WiFi Hotspot MAC, it would be enough to simply comment it out.
But building a complete new ROM on my own is far beyond my capabilitys yet.
Currently all Nexus phones are affected as well as CM 13.
ElementalX Kernel didn't help either.
HTC doesn't randomize the MAC nor does en iPhone.
But i won't change my phone just for a Car Entertain System.
Another option would be a little Mobile-WiFi standalone Hotspot with an additional SIM Card.
But this would mean extra costs each month which i would certainly like to avoid.
So here my questions:
Is there any Kernel to switch off MAC randomization?
Or any tweak to freeze one MAC?
Or a way i could start a script on switching the Hotspot on to override the MAC?
Or an completely different approach?
Any help is appreciated.

Categories

Resources