[Request]wpa_supplicant.conf comparing - Atrix 4G Android Development

Hey guys i have a minor problem with my wifi on the atrix4g and was only wondering if anyone whose wifi is working fine, would be so nice to paste me here whats in his wpa_supplicant.conf file written if you open it with vi in the terminal if you have a wpa2+psk network remembered (just let the pass and ssid out, for privacy reasons).
and on a seond note could somone upload his working wpa_supplicant.conf file (obviously without remembered networks, or with a wpa2 rememberd network and removed ssid and pass)
thanks very much guys

Related

Connection lost while using WLAN

When i use WLAN the 3G/GSM connection is lost after a few minutes and i have to reboot the phone to get it back. Does anybody know why this might be? Could it be the Radio?
I think its turning it off because your connecting to the internet through the wifi, when you disable wifi it should re-enable the 3g connection, but if it doesnt you can turn on the data connection...
thats what it sounds like is going on from your post. When I turn on wifi it will drop the data connection but has always reconnected to it once I disable wifi or I go outside of my wifi's range and something try's to connect to the net...
Yes, it is logical, you could not have opened two types of connection concurrently. One type closed another one.
ive had the same problem, when i connect to wi-fi i lose the data connection and it doesnt let me browse until i turn wi-fi off...i dont understand the point of wi-fi if u cant browse with the speed since the data connection is lost?
Thanks men! By turning on the data connection after i used wifi it reconnected!
timace said:
ive had the same problem, when i connect to wi-fi i lose the data connection and it doesnt let me browse until i turn wi-fi off...i dont understand the point of wi-fi if u cant browse with the speed since the data connection is lost?
Click to expand...
Click to collapse
What Wifi allows you to do us connect wirelessly to another connection, at home its my DSL, which is much faster than the edge network, and if I did not have an unlimited data plan wouldnt add to my phone bill. In that way its very usefull. Seeing how its faster and available at home or in places where your cell signal might not be strong or available you can use it to get online.
But you need to tell it your no longer using wifi for it to reconnect through the network to deliver data to you again.
10332007 said:
What Wifi allows you to do us connect wirelessly to another connection, at home its my DSL, which is much faster than the edge network, and if I did not have an unlimited data plan wouldnt add to my phone bill. In that way its very usefull. Seeing how its faster and available at home or in places where your cell signal might not be strong or available you can use it to get online.
But you need to tell it your no longer using wifi for it to reconnect through the network to deliver data to you again.
Click to expand...
Click to collapse
ok so when it comes to wi-fi im a big newbie, i have a tmo wing and have flashed (upgraded) rom...i also have dsl at home how is it i can connect and access this...when i search for wi-fi it usually only picks up my neighbors connections never my own...?
If you have a wifi router or your modem has a build in wifi option you go into your modem to set it up. Most modems / routers come with it broadcasting the SSID so you should see something (usually the default is the name of the manufacturer)
If you have your paperwork you can open your web browser and type in the address to open the internal OS and make changes as you see fit. For example mine is a linksys and its default address was http://192.168.1.1, most routers used to default to that but since a lot of modems are coming out with build in os and firewalls they have that IP so routers can be changed like mine. Once in the OS you can set up your pw so no one else can play with your settings
Navigate to the Wireless section and there should be a bunch of settings. I renamed my WiFi name to match my home network, and disabled the SSID broadcast. Then changed the chanel for some of my other devices, if you dont have anything that requires this leave it alone. Then enable WEP or other protection, 128 bit wep is pretty decent and anyone hacking through it will probably be disappointed with your lack of juicy goods.
Once you have the SSID and the Key encription you go to your phone and mirror the information into the WiFi settings. The web will be a 26 or so string of letters / numbers that will equal the password you set. These must be typed in perfectly or it will not work, took me 6 or so tries to get it typed in correctly but once its in you wont need to do it again unless you reset the phone or change the network settings.
If all that goes through open IE on the phone and hit up google or something, if it loads your online.
Thats a jumbled and messy tutorial, I can fix it to be more user friendly if you need me to do it, but with you not seeing any SSID but your neighbors your wifi is either non existant or disabled...
10332007 said:
If you have a wifi router or your modem has a build in wifi option you go into your modem to set it up. Most modems / routers come with it broadcasting the SSID so you should see something (usually the default is the name of the manufacturer)
If you have your paperwork you can open your web browser and type in the address to open the internal OS and make changes as you see fit. For example mine is a linksys and its default address was http://192.168.1.1, most routers used to default to that but since a lot of modems are coming out with build in os and firewalls they have that IP so routers can be changed like mine. Once in the OS you can set up your pw so no one else can play with your settings
Navigate to the Wireless section and there should be a bunch of settings. I renamed my WiFi name to match my home network, and disabled the SSID broadcast. Then changed the chanel for some of my other devices, if you dont have anything that requires this leave it alone. Then enable WEP or other protection, 128 bit wep is pretty decent and anyone hacking through it will probably be disappointed with your lack of juicy goods.
Once you have the SSID and the Key encription you go to your phone and mirror the information into the WiFi settings. The web will be a 26 or so string of letters / numbers that will equal the password you set. These must be typed in perfectly or it will not work, took me 6 or so tries to get it typed in correctly but once its in you wont need to do it again unless you reset the phone or change the network settings.
If all that goes through open IE on the phone and hit up google or something, if it loads your online.
Thats a jumbled and messy tutorial, I can fix it to be more user friendly if you need me to do it, but with you not seeing any SSID but your neighbors your wifi is either non existant or disabled...
Click to expand...
Click to collapse
thanks for the quick reply, ill give it a try...might need the more user friendly version lol sorry
Its no problem, the biggest thing will be weather or not you have a wifi router or modem. Then depending on the brand the IP you have to type in to log into the modem. Each router / modem will have paperwork with it that tells you how to do it, some are different but thankfully most are the same.
The un is usually blank and the pw is usually admin, sometimes now they dont even put one unless you specify it. Once your in the OS its pretty self explanitory, there are lots of things to not mess with, but in the wifi area you can look over my post and figure most of it out,
if you get hung up on somethin just post what it is and ill see what I can do

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

Cannot connect to wifi router

hello guys.
My HD7 cannot connect to wifi router. After putting in the password, it keeps trying to connect and after one min throws an error that sorry couldnot connect to the wifi connection. I am using a simple wifi router and not any N router
Authentication type is WPEA2
Thanks in advance
I found this article ( i am not allowed to post link) which says something about a bug in HD7 and venue pro which doesnot allow them to connect to wifi. Any workaround guys
Wifi problem...
Hi,
What is your network SSID name?
I had the wifi problem with my HD7 while my network SSID name had mixed capital and lowercase characters like "GedikNet"
Try to change your network SSID name to all capital or all lowercase characters. (like "gediknet").
Good luck.
Bye.
ssid is SHARAD. still unable to connect
can't have hidden ssid
Hi, if your network is hidden, unhide it. The darn thing cannot connect to a hidden network. I know it is extreamly annoying but that is what Bill-ware gave us.
Hopefully, they will fix it in the update.
Initial connection to my home Wifi was unsuccessful. I had to restart the router and all went fine. Setup: WPA2/AES, b/g/n mixed and SSID is not hidden. It is a Linksys/Cisco device. Check your MAC filter if it blocks your device. DHCP server has to be turned on.
Regards,
Cina.
i did not have an issue with the wifi router... all i had to do is get my mac id as i filter my pc, notebook and pda by mac id..
i heard the ssid must be visible it cant connect to those hidden ones...
maybe lowering the security level will help as well..
HAVE YOU resolve the problem? i can not connect my home wifi as well.
thanks
Seen an app in the HTC hub called hidden wifi but not sure if it helps
Sent from my HD2 using XDA App

[Q] wifi adhoc issues

hi guys,
i have been breaking my head to sort this out.
i'm not able to connect to my laptop internet via wifi on the Note. i have this application called connectify that automatically creates a wifi hotspot on my laptop (i don't have a router). with this im easily able to connect symbian devices on it (my old phones)
but the Note doesn't even detect this hotspot. so i researched a lot and finally found a galaxy sii modified file "wpa_supplicant" which i replaced in the system/bin folder of my GNote. now the phone detects the hotspot but remains stuck at "Obtaining IP address". the status doesnt change from this and not able to connect.
so again i played around and enabled static IP on the phone. i entered some ip address, gateway, netmask and DNS values i got on the net (for another internet connection bsnl 3g). (my own ip is not static, im trying to share a mts mblaze datacard connection) now im getting the "connected" status but when i go to browser it doesnt load up any website. please help. hope i am clear
in ipconfig my values show as follows
ipv4 address: 180.215.40.199
subnet mask: 255.255.255.255
default gateway: 0.0.0.0
i tried with the above values and its not even reaching the "obtaining ip address" status.
Sorry...had a question, but just figured it out myself...can't help you either though.
Regards,
ChaosDM
anjath said:
hi guys,
i have been breaking my head to sort this out.
i'm not able to connect to my laptop internet via wifi on the Note. i have this application called connectify that automatically creates a wifi hotspot on my laptop (i don't have a router). with this im easily able to connect symbian devices on it (my old phones)
but the Note doesn't even detect this hotspot. so i researched a lot and finally found a galaxy sii modified file "wpa_supplicant" which i replaced in the system/bin folder of my GNote. now the phone detects the hotspot but remains stuck at "Obtaining IP address". the status doesnt change from this and not able to connect.
so again i played around and enabled static IP on the phone. i entered some ip address, gateway, netmask and DNS values i got on the net (for another internet connection bsnl 3g). (my own ip is not static, im trying to share a mts mblaze datacard connection) now im getting the "connected" status but when i go to browser it doesnt load up any website. please help. hope i am clear
in ipconfig my values show as follows
ipv4 address: 180.215.40.199
subnet mask: 255.255.255.255
default gateway: 0.0.0.0
i tried with the above values and its not even reaching the "obtaining ip address" status.
Click to expand...
Click to collapse
I had the same problem before, what I did is to use a different wpa_supplicant then copying it to /system/bin, changing its permission (just copy the original wpa's permission) and rebooting afterwards.
It worked for me in stock LA4 Firmware (2.3.6). But most of the time i had to set the wifi setting to static ip so that it will connect instantly so I recommend you do the same if it doesnt connect automatically.
Advali said:
I had the same problem before, what I did is to use a different wpa_supplicant then copying it to /system/bin, changing its permission (just copy the original wpa's permission) and rebooting afterwards.
It worked for me in stock LA4 Firmware (2.3.6). But most of the time i had to set the wifi setting to static ip so that it will connect instantly so I recommend you do the same if it doesnt connect automatically.
Click to expand...
Click to collapse
sorry to bring this old thread up,
but since the ICS update it seems that the wpa_supplicant replacement no longer worked ,,,after replacemant you wont be able to even turn the wifi on
wondering if there's any other way or could someone plz modify the wpa_supplicant file from the new ICS rom so to creat a new wpa_supplicant that works on ICS?
thanks!
after the latest update of Connectify, my note can connect to the hotspot by connectify without any problems
Yes indeed

Not working: 802.1X / WPA2 / PEAP TTLS MSCHAPV2

Hi,
I'm trying to connect to a WiFi network that is protected with WPA2 with PEAP / TTLS.
It simply is not working. No problems connecting with my HTC Desire though.
Anybody experiencing the same bug? I already installed the required root certificates, tried various combinations of user account / password. The thing is, that the network is provided by my university (Eduroam if you are familiar with that) and it is very annoying that I have to fall back to HSDPA consuming my data quota.
Cheers,
chross
Normally with eduroam wifi there isn't wpa2 or other key. Just connect your phone to it, open your browser and you will be redirect to the website of your university and then you can log with your id.
Envoyé depuis mon XT890
Yes!! This is the exact same problem I'm having with my university wifi
http://forum.xda-developers.com/showpost.php?p=33962871&postcount=2
I'd configure the settings on my uni wifi choosing PEAP and then MSCHAPV2 and put in my log in username and password according to the instruction and as soon as press connect or save it looses the signal immediately to very low and never connects. We also have eduroam as an alternative they tried that and same problem just doesn't want to connect.
It works perfect on my htc one x. I'm beginning to believe the phone has a bug.
It does have a bug. It doesn't connect to 802.11 n!
My problem was solved by reconfiguring my AVW Fritz!Box 7270 to 802.11 b+g only and limit the phones wifi frequency to 2,4ghz only. You can find that in advanced wifi configuration.
I'm lucky i only recognized this bug in my own wifi network and not others i don't have admin rights for...
eduroam works for me with PEAP/TTLS but I guess it's 802.11g
I'm on the 40002 rom, but worked also on the 31006
After receiving the 4.0.4 update yesterday, WiFi now works flawlessly.
Cheers,
chross
Hi there,
I got the same problem with my university network in hamburg. I updated the razor to android 4.0.4 (Stock-Rom: 81.5.40002.XT890.Retail.en.EU), also the phone is rooted but still not working. Our IT advices to use WPA2 Enterprise TTLS/PAP authenthication in combination with a t-com root certificate. Every time i safe these setting the wifi signal drops as told by previous posters and the connection fails. When i enter the settingspage again, all settings are reverted to default. This also happens, while trying to connect to eduroam
any further advices?
Thanks in advance!
I have no problems connecting to eduroam at Braunschweig and other citys. Maybe you can visit the IT Desk at your university?
jagwar1 said:
I have no problems connecting to eduroam at Braunschweig and other citys. Maybe you can visit the IT Desk at your university?
Click to expand...
Click to collapse
Yep, me and and a fellow student went there and told them about the problem. But they also gave up, after trying about an hour or so. It seems to be a general problem in the used android build, at least there are a lot of post reporting this at the google code repo -> code.google. com /p/android/issues/detail?id=15631 (sorry for that but I'm to new here to post links). I'll try the provided tips like changing the wpa_suplicant file tomorrow and report the results. Seems to be strange issue, if it works for you (and probably others), because a fellow student got the same Phone and has the same issues
Thought I'd just give an update as I have the same issue
Motorola knows about it, it's been reported to them before and said it'll be fixed with the next update.
Working smooth here with WPA2-Enterprise, PEAP and MSCHAPv2. Using it every day.
But I'm not using TTLS, you might want to disable that if you don't have a valid certificate for your mobile/user.
Also important, fill out the "anonymous user" field with your username. Depending on the RADIUS configuration of your IT this might be required.
[edit]
Just checked my mobile. I don't use a Phase 2 authentication, only EAP = PEAP, no certificates.
Got it working!
After 2 hours of searching the web and playing around, I got it working now, following this guide posted on google code repo:
Razr I (XT890), retail eu, running android 4.0.4 (stock), no root
after endless hours of trying i was able to connect to my university network a couple of minutes ago with the combination of two apps.
1. WiFi Connection Manager
Enter SSID manually
Security "802.1x EAP"
EAP Method "PEAP"
Phase 2 authentication "MSCHAPV2"
Identity "your identity"
Anonymous identity "your identity"
password "your password".
2. WiFi Advanced Configuration Editor
Check Hidden SSID
Key Management: unselect IEEE8021X, select WPA_EAP
AUTH Protocols: select LEAP
Enterprise configuration: make sure Identity and Anonymous Identity are set to your identity, Enter your password
check whether the settings are saved in WIFI Advanced Configuration Editor. If not switch of stock WiFi and repeat step 2 (!!!). Now it should work.
Turn WiFi on and connect to network (Stock WiFi; don't care about settings there, phase 2 authentification is still not saved)
After switching the device off and back on it did still work. Same when leaving and returning to WiFi area.
hopefully it will keep on working. i just tested the browser and play store. didn't discover any problems so far.
Click to expand...
Click to collapse
Connection is stable, but there seem to be some problems regarding to the speed. Whatever it's usable for stuff you do regularly @university.
Hope that helps others, thanks to klemens
hey.qb said:
Hope that helps others, thanks to klemens
Click to expand...
Click to collapse
Thank you for sharing, this made me so happy!
It's those two apps which made my connection possible.
My eduroam configuration is quite different, but the apps did the trick. I fiddled with advanced wifi config editor alone for hours without any result.
Now I just hammered the config into those two apps and what can I say - proxydroid reported a connection a few seconds later.
I dont't know what Moto's Problem with 802.1X is.
Defy latest stock rom - no connection. With CM -> no problem.
Milestone 2 with stock rom - no connection. With CM -> no Problem.
Rarz I no connection with stock wifi manager . . .
My fellow students with their samsung devices seem so have no problem at all. ^^
(even Win Mobile 6 works, thats a little bit depressing)
btw, speed is fine here. 16Mbit up&down is more than I need on a phone.
Greetings from Kiel.

Categories

Resources