[FIXED] WPA-EAP working? - Gen8 General

Anyone tried WPA-EAP access points?
I cannot connect with my Archos 70 IT 8GB
I put the following on my /data/misc/wifi/wpa_supplicant.conf
network={
ssid="myCorp"
key_mgmt=WPA-EAP
eap=PEAP
identity="xxxx"
password="yyyyy"
ca_cert="keystore://CACERT_my"
phase2="auth=MSCHAPV2"
priority=1
disable_pm=1
}
i've enabled secure store and imported ca.cert file
all Windows laptops are able to connect with this cert only
i doubt that this is not supported by current Archos firmware, but if someone could try...

bobybc said:
Anyone tried WPA-EAP access points?
I cannot connect with my Archos 70 IT 8GB
I put the following on my /data/misc/wifi/wpa_supplicant.conf
i've enabled secure store and imported ca.cert file
all Windows laptops are able to connect with this cert only
i doubt that this is not supported by current Archos firmware, but if someone could try...
Click to expand...
Click to collapse
I use peap at home and leap at work. No certs though. Get yourself WIFI Advanced Configuration Editor from the market. It has all those options. That's how I got leap to work.

I've used this editor too
but it seems that there is a bug with certificates :
code.google.com/p/android/issues/detail?id=8804
Click to expand...
Click to collapse
if someone can build wpa_supplicant with proposed patch ...

Anyone obtain the following files from Eclair 2.1 ?
/system/bin/wpa_supplicant
/system/bin/wlan_loader
/system/bin/wlan_cu

i can`t
i can`t! anydon try?

10x 2 Steve , we have fixed version, but unfortunately it doesn't work on my Archos
http://code.google.com/p/android/issues/detail?id=8804
Let someone else try and confirm pls :
download
just unzip and copy to /system/bin

Anyone tried?
Sent from my A70S using Tapatalk

finally i managed to get it working
with wpa_supplicant module from CyanogenMod for Motorola Droid - see it attached
just unzip and copy to /system/bin and delete /data/misc/wifi/tiwlan.ini
of cource you need root access
you need to delete tiwlan.ini on every restart, because it's been always recovered

wpa_supplicant.conf file looks like :
ctrl_interface=tiwlan0
update_config=1
network={
ssid="MYCorporate"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="XXXX"
password="YYYY"
priority=1
}
Click to expand...
Click to collapse

Related

Editing wpa_supplicant without root access?

Hey guys,
Since there's no way back from rooting the N1 at the moment I'm a little reluctant to do so. The main reason I want it is to be able to manually edit the wpa_supplicant file, as my work network is supported by Android, but not by the wireless settings GUI, so I have to enter the settings manually.
Is anyone aware of any tricks or apps that will allow me to edit this file without root access?
Thanks!
Editing wpa_supplicant.conf
snoopstah said:
Hey guys,
Since there's no way back from rooting the N1 at the moment I'm a little reluctant to do so. The main reason I want it is to be able to manually edit the wpa_supplicant file, as my work network is supported by Android, but not by the wireless settings GUI, so I have to enter the settings manually.
Is anyone aware of any tricks or apps that will allow me to edit this file without root access?
Thanks!
Click to expand...
Click to collapse
Looking at the this file in /etc/wifi and the fact that it commences with a # I'd say not. Like other Linux systems files, you need to be root to edit and save the file.
I guess you are on a 801.1x authenticated wifi network and want it to look like the following (or similar):
##### wpa_supplicant configuration file template #####
update_config=1
ctrl_interface=eth0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="SSID NAME"
scan_ssid=1
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MSCHAPV2"
identity="usuallyfullemailaddress"
password="MY_PASSWORD"
ca_cert="PATH_TO_USER_CERTIFICATE.cer"
priority=1
}
Pity this cannot be done with the SDK.

VPN working on 3.29.651.5

I just installed 3.29.651.5 and to my surprise, I am finally able to connect to our servers using VPN. This is really great.
I was not able to use PPTP with 3.26 nor with CM6. I will stay with 3.29 until VPN works on CM6.
I wonder what changed? i've never been able to connect to my company VPN either. maybe this will fix it.
I read the release notes and nothing mentions changes to VPN. I have not flashed the new radio.
What about l2tp?
really? with pptp encryption enabled? it was the first thing I tested after I got the update this morning and it wasn't working for me.
I just tried connection to my L2TP VPN server at home and it's a no-go even with the latest update.
Maybe I just have bad luck though, I'm really hoping that's the case.
If you are using Cisco VPN use this for the tun.ko. and VPNC. btedeski made this but the source code was not released yet so its based off the 3.26 kernel. It works. It locks up when disconnect but thats fine by me until the source code is released
http://forum.xda-developers.com/showpost.php?p=8285195&postcount=5
Is there any way a guru can explain to someone like myself, who doesn't even know what tun.ko is, how he can connect to his work's l2tp vpn, or if it's even possible?
Running the previous froyo ota stock rooted with king's bfs #9 kernel...
nabbed said:
Is there any way a guru can explain to someone like myself, who doesn't even know what tun.ko is, how he can connect to his work's l2tp vpn, or if it's even possible?
Running the previous froyo ota stock rooted with king's bfs #9 kernel...
Click to expand...
Click to collapse
It all depends on how his work is set up. For example my work uses Cisco IPSec with Group Authentication. I need to use VPNC and am required to install the tun.ko (specific to the kernel) and busybox symlink and some tunneldroid files to get mine to work http://sourceforge.net/projects/tunneldroid/files/
dwertz said:
It all depends on how his work is set up. For example my work uses Cisco IPSec with Group Authentication. I need to use VPNC and am required to install the tun.ko (specific to the kernel) and busybox symlink and some tunneldroid files to get mine to work http://sourceforge.net/projects/tunneldroid/files/
Click to expand...
Click to collapse
If I gave you precise details on the work set up, would you be able to point it me in the right direction?
Thanks.
nabbed said:
If I gave you precise details on the work set up, would you be able to point it me in the right direction?
Thanks.
Click to expand...
Click to collapse
I only figured out the IPSec. I assume the L2TP is self explanatory. If he has IPSec then I can point you in the right direction. He will need to get the pcf file that contains all the connection information.
You could install the tun.ko. I know most of the rom makers put this in. Right now its a so so tun.ko because they source code for the kernel is not released but it does work.
dwertz said:
I only figured out the IPSec. I assume the L2TP is self explanatory. If he has IPSec then I can point you in the right direction. He will need to get the pcf file that contains all the connection information.
You could install the tun.ko. I know most of the rom makers put this in. Right now its a so so tun.ko because they source code for the kernel is not released but it does work.
Click to expand...
Click to collapse
It is IPSec. And I have been using various custom kernels with tun.ko compiled (Netarchy's and Kingclick's.) The problem is that I could never connect to the vpn server.
I'll ask the guy for extra details and that file.
Thanks.
nabbed said:
It is IPSec. And I have been using various custom kernels with tun.ko compiled (Netarchy's and Kingclick's.) The problem is that I could never connect to the vpn server.
I'll ask the guy for extra details and that file.
Thanks.
Click to expand...
Click to collapse
Put the tun.ko in the /system/lib/modules/ by doing the following
>adb push /sdcard/tun.ko /system/lib/modules/tun.ko
-------install the tun.ko
#insmod /system/lib/modules/tun.ko
-------check to see if it installed
#lsmod
----this should show up if installed
tun 10734 0 - Live 0xbf000000000
I replaced and added these files to the /system/lib/
http://sourceforge.net/projects/tunneldroid/files/.
> adb remount
> adb shell
------backup originals
# cd /system/lib
# cp libcrypto.so libcrypto-orig.so
# cp libssl.so libssl-orig.so
------replace files
> adb push libcrypto.so /system/lib/
> adb push liblzo.so /system/lib/
> adb push libssl.so /system/lib/
install VPNC apk
Grab the pcf file from the Cisco VPN on the PC open it with notepad and decrypt the group password use this or just do a search for a decryptor Get the rest of the info from the pcf and fill in the VPNC.
Hope this helps. With the current one I believe it locks up the phone when VPN is disconnected. I think its because this tun.ko is not based on the source code since it has not been released
dwertz said:
Put the tun.ko in the /system/lib/modules/ by doing the following
>adb push /sdcard/tun.ko /system/lib/modules/tun.ko
-------install the tun.ko
#insmod /system/lib/modules/tun.ko
-------check to see if it installed
#lsmod
----this should show up if installed
tun 10734 0 - Live 0xbf000000000
I replaced and added these files to the /system/lib/
http://sourceforge.net/projects/tunneldroid/files/.
> adb remount
> adb shell
------backup originals
# cd /system/lib
# cp libcrypto.so libcrypto-orig.so
# cp libssl.so libssl-orig.so
------replace files
> adb push libcrypto.so /system/lib/
> adb push liblzo.so /system/lib/
> adb push libssl.so /system/lib/
install VPNC apk
Grab the pcf file from the Cisco VPN on the PC open it with notepad and decrypt the group password use this or just do a search for a decryptor Get the rest of the info from the pcf and fill in the VPNC.
Hope this helps. With the current one I believe it locks up the phone when VPN is disconnected. I think its because this tun.ko is not based on the source code since it has not been released
Click to expand...
Click to collapse
I don't think they are running Cisco. I think it's open vpn.
nabbed said:
I don't think they are running Cisco. I think it's open vpn.
Click to expand...
Click to collapse
If they are running open vpn then install the tunnel and files from prior, also add the openvpn file. Download openvpn installer and openvpn settings.
instructions http://android.modaco.com/index.php?showtopic=291919&view=findpost&p=1078175

adhoc "not in range" issue

Hi all
I am facing a problem with HyperDroid-CM7-v2.0.1 build. Its when I try to connect to wifi adhoc connection it says "not in range".
I reinstalled the ROM but no gain. Someone suggested to use correct recovery size and I did use 150Mb only and its fresh installed ROM there are no other programs in phone right now. So please guide me how to solve this issue. Any solution will be appreciated.
Thanks
I have the same issue in HyperDroid-CM7-v2.0.1 & TyphooN CyanogenMod 7 Nightly v3.2.9, with HyperDroidGBX-v12 everything works fine
Try installing the latest SuperUser app from the Android Market, maybe that will help. It fixed my none working HotSpot on HyperDroid-CM7-v2.0.1.
not working
I had to install a specific adhoc fix using clockwork, called: wpa_supplicant_adhocfix_v0.6.10ah_update.zip
There may be a new version but i don't know, do a search for the file above and install. This allowed my phone to connect to adhoc networks
Thanks for all of the answers, now I have already installed GBX ROM and its working fine with it.
Though I could not locate this wpa_supplicant_adhocfix_v0.6.10ah_update.zip file anywhere.
I found a way to solve this problem
1) ADD your ad-hoc connection (it will appear at the end of the list)
2) go to data/misc/wifi and edit the wpa_supplicant.conf file like this
ctrl_interface=eth0
update_config=1
ap_scan=2
network={
ssid="Ad Hoc name"
mode=1
scan_ssid=1
key_mgmt=your_password
priority=41
}
3) turn on your wifi
sorry for my bad English
WiFi error after changing the wpa_supplicant.conf file
Just in case anyone who goes through the same grief as I did with a wifi error after changing the wpa_supplicant.conf file as detailed above here is what my problem was and the solution:
Problem: I used droid explorer to copy the original wpa_supplicant.conf to my desktop as a backup and then edit it with notepad. I then copied it back to the device with droid explorer.
In doing this process I changed the group and the ownership of the file to 'root' rather than 'wifi'. The startup process 'wifi' couldn't do what it needed with the file because it was now owned by 'root' (which droid explorer uses)
Solution: To check if this is the problem go to a terminal and type:
su
cd /data/misc/wifi
ls -l
it should come out with something like
-rw-rw-rw- 1 root root *size* *date/time* wpa_supplicant.conf
to change it type:
chown wifi wpa_supplicant.conf
chgrp wifi wpa_supplicant.conf
it should come out with something like
-rw-rw-rw- 1 wifi wifi*size* *date/time* wpa_supplicant.conf
I hope this helps. It might be becuase I am a complete noob to android but if this post had of been here it would have saved me a lot of grief.
I'm trying to set up ad-hoc networking with a new Casio Commando. I have another embedded Linux box with a working ad-hoc network.
The Casio is rooted. I've "adb push'd" the wpa_supplicant.conf to the Casio. I added these lines to the beginning of the /data/misc/wifi/wpa_supplicant.conf on the Casio as follows:
ctrl_interface=DIR=/data/misc/wifi/wpa_supplicant
update_config=1
ap_scan=2
network={
ssid="Ad Hoc"
mode=1
scan_ssid=1
key_mgmt=NONE
priority=41
}
When I restart WiFi on the Casio, the "Ad Hoc" network appears in the list, but it also says "Not In Range".
I know the "Ad Hoc" network in my embedded Linux device is in range - its right next to the phone. What am I missing?
Permissions and ownership of the wpa_supplicant.conf is
rw-rw-rw system root
thx.

[Q] Cifs unicode module for Android 3.1 (Prime 1.4)

Hello,
Just got my new TF and thanks to XDA I've already rooted it and installed rom Prime 1.4 to get a rooted 3.1 android version.
Everything goes fine except for mapping network shares. Mounting network shares with cifs manager is ok except that I'm French so some directories in my network got unicode characters and I can't mount them.
Does anyone know how to bypass this limitation ?
On my understanding, I should install a cifs.ko module compiled for the TF and the 3.1 Android version in /system/lib/modules but I don't know where to find such module.
Thanks in advance
Try es strongs file explorer. It allows you to add network shares.
Sent from my Transformer TF101 using XDA Premium App
Thanks, but I've already done it without success.
The issue is not to map a share, this is working. The real issue is that share with unicode characters (like é, è, à...) are not working.
Thanks anyway
Im also rooted with prime 1.4 buf cant get any shared volume to mount via cifs manager. What am i missing here?
Have you tried adding 'iocharset=utf8' to the mount point options?
Don't know if this can help you or not, but my 1st mistake with cifs manager when I tried it fist time was that I haven't put anything on mount point.
What you need on the fields of cifs manager is:
Share Path: The path to your share ==> ex: 192.168.1.5/share (this is the shared dir on your server)
Mount point: The name of the "false" directory that will simulate that your share is on your tablet ==> ex: /sdcard/cifs/share (this is up to you but keep close to this)
Plus of course username and password (I thinks that anonymous connection is not allowed anyway)
Hope this help
Tortel1210 said:
Have you tried adding 'iocharset=utf8' to the mount point options?
Click to expand...
Click to collapse
I don't know how I can do that. Is it an argument to parse in a field of cifs manager ? If so how should I do that ?
Can you help me with this please.
XPNect said:
I don't know how I can do that. Is it an argument to parse in a field of cifs manager ? If so how should I do that ?
Can you help me with this please.
Click to expand...
Click to collapse
If you edit the settings for a mount point (Long press on it, then choose edit), there is an options text field at the bottom. Put it in there, save, and try mounting it.
XPNect said:
Don't know if this can help you or not, but my 1st mistake with cifs manager when I tried it fist time was that I haven't put anything on mount point.
What you need on the fields of cifs manager is:
Share Path: The path to your share ==> ex: 192.168.1.5/share (this is the shared dir on your server)
Mount point: The name of the "false" directory that will simulate that your share is on your tablet ==> ex: /sdcard/cifs/share (this is up to you but keep close to this)
Plus of course username and password (I thinks that anonymous connection is not allowed anyway)
Hope this help
Click to expand...
Click to collapse
Thanks!!! Dont know how or why but now it works!
Tortel1210 said:
If you edit the settings for a mount point (Long press on it, then choose edit), there is an options text field at the bottom. Put it in there, save, and try mounting it.
Click to expand...
Click to collapse
It works fine a big thanks.
I've been abused by the comment and I was thinking that this box was only for a domain name... feel stupid sometime

[Solved] 2+ Kindle Fires on Same Wifi Router Disrupt Each Other

Me and my best friend both have Kindle Fires now. I rooted & flashed the latest MIUI onto both of them successfully over the past week, so we're running the latest version available. What we've found is that when we both try to attach to his wireless router, they seem to disrupt each other or confused the router and eventually our wifi goes bye-bye on our Kindles. When just one of us is trying to attach to his router, it goes through fine & seems to stay connected well without any issue.
Can anyone offer any recommendations on how to perhaps customize the wifi connection on either the Fire or the wifi router to try and resolve this issue?
Thanks much for your help in advance! Please ask any questions if I left out any details that could help : ]
Does MIUI have the MAC address problem? That'd be the first place I'd check. THen I'd check the router and see exactly what they're trying to do. My thoughts:
Either they have the same MAC, same name, or are vying for the same IP.
http://forum.xda-developers.com/showthread.php?t=1406845
Thanks for the feedback, guys! And thank for that related thread link! I reviewed that post and I have to admit, I'm a lil lost with where to start or what to do with that. I have a feeling both devices may be running the same MAC address, but I'm in the process of confirming that today. I also tried forcing a static IP on the Fire when connecting, but that didn't seem to resolve the problem.
Anyone have any, dare I say, more simple instructions for how I might go about altering my devices MAC address with MIUI? I'm not sure that the information in that post is fully applicable to the MIUI rom, so I'm hesitant to begin trying to give it a go, and plus, I might need something a little more noob-friendly... I could use a little more handle-holding with this, as I'm fairly fresh to rooting & flashing ROMs (but fairly computer literate).
look at post #24 in the linked thread - seems to be a easier solution
Oh, thanks! ... That does look much more manageable Now to just figure out where to get the file from the stock ROM and replace it. I did a backup of my stock stuff via TWRP prior to flashing MIUI, so does anyone know where I can locate this file from the stock amazon ROM after I've completed a backup of stock via TWRP?
I then assume that after locating the stock version of the file, that I would just replace the file in the root directory/system/bin right on the Kindle when it's attached to my PC via USB.
Yah.. I'm a noob, but trying! : \
Stock file I need to find: /system/bin/wlan_loader
there is one attached 2 or 3 posts after #24 - that should do it for your needs
Great! Thanks again!!!
This part of the post gets me a little lost. I assume I need to purchase & download Root Explorer ($3.99 in Market). As for performing the same thing this person did, I'm not quite sure how to go about doing that. One question I have is: Is Root Explorer absolutely necessary to perform this file replacement? It seems a little more involved than just simply replacing the file on the device while it is plugged in to my PC via USB.
I used root explorer, mounted as r/w, made a copy of the original JIC, overwrote the existing file within /system/bin and modified the permissions to appear as the original (rwxr-xr-x) rebooted leaving the system as r/w
Sure enough mac address is the same as when I was in 6.1 Kindle Fire OS.
Click to expand...
Click to collapse
Specifically, here are the things I'm not 100% clear on:
1) 'mounted as r/w' - I assume this means mounting as read/write; is this performed via Root Explorer?
2) 'made a copy of the original JIC' - I do not understand what is meant by 'JIC'
3) Can file permission changes as described above be performed in Root Explorer?
I greatly appreciate any insight! This appears to be the solution to my problem, not it's just a matter of execution on my part. Thanks, guys!
would use file explorer from the market - no cost and does the same
if you activate "root explorer" and "mount as root" in the settings all at the bottom
here the link:
https://market.android.com/details?id=com.estrongs.android.pop&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5lc3Ryb25ncy5hbmRyb2lkLnBvcCJd
1) 'mounted as r/w' - I assume this means mounting as read/write; is this performed via Root Explorer?
Click to expand...
Click to collapse
file explorer does this with the above settings automatically
2) 'made a copy of the original JIC' - I do not understand what is meant by 'JIC'
Click to expand...
Click to collapse
would mean he means the file to exchange
3) Can file permission changes as described above be performed in Root Explorer?
Click to expand...
Click to collapse
you can also do with file explorer - long tap on file - properties - change permission
Awesome - b63 - you're excellent
Ummmm... But I have to ask a really stupid question. I can't seem to find the /system directory on my Fire. I already had ES File Explorer... and I'm in it now, and I can only look around on my SD card it seems... Is the /system directory on the main internal storage of the device, or on the 'SD card?' Any help in finding this directory on my device would be appreciated! Sorry for the nooby questions n such
are the root settings made in the settings of es ?
then you can set your start directory to / somewhere in the settings
or simply go one directory up
when you are on / then you see the system directory like all the others (sdcard also)
OK... I'M SO CLOSE!
I got up to the root directory ( / ) and found the /system/bin directory... I have the new (well, old stock version) wlan_loader file from the linked thread that I downloaded on my Kindle on the SDCard ready to overwrite the existing file.
I definitely have Root Explorer on in ES File Explorer - it prompted me to allow and I did every time it asked. I then tried to copy the stock version of the file over my current version in /system/bin, but it said that the copy failed. I then went and tried to delete the existing file in /system/bin, but it said something like 'this file cannot be deleted' I'm not sure what is keeping the file locked. Do I need to modify the permissions of the file to be writable or something?
I hard-pressed on the file and tried to play around with it, but the only close option I have is 'Properties,' which didn't seem to allow me to change anything about the file though. So, I'm stuck : \ Help!?
OK, I got it! I didn't flip the 'Mount /, /system as writable option after switching on Root Explorer :\ My bad! But I was able to overlay the file now Let's test my MAC address now after rebooting.
looks promising ...
GET-R-DONE!
Yahoo! I got it!
I rebooted and everything seems to be functioning just fine - I'm connected to Wifi like normal, no big deal... AND, my MAC address is totally different than what it was before, so I think this did the trick!
Now to test it concurrently with my best friend's Kindle to ensure we can sit on the same network / router together. If it doesn't work, then I'll look to replace his wlan_loader file as well
Thanks for all your persistent assistance b63! I really appreciate it : ]
Was fun, and I learned a lot : ]
but take care if you change his one as well not to end up with the same mac again ...
and as allways - glad to help ...
please mark the subject of the topic (edit first post) with [Solved]

Categories

Resources