EAP, WPA Enterprise Honeycomb 3.2 - Vega Android Development

hi there,
first of all, i am no developer, so do not except anything. i think i got lucky in some case.
here is my wpa_supplicant that works with EAP, MSCHAP2 Wpa Enterprise at my university.
i am using viewcomb at the moment, so i do not know if it works with vegacomb. but the possibility seems kind of high!
greets from germany
btw: this file has to replace the existing one in /system/bin
something like that:
adb remount
adb shell mv /system/bin/wpa_supplicant /system/bin/wpa_supplicant.old
adb push wpa_supplicant /system/bin/
adb shell chmod 755 /system/bin/wpa_supplicant
adb reboot

Hi,
What did you changed in this file, can you be more specific?
Thanks in advance.

Wow, I've tried multiple supplicants and couldn't find one that worked correctly... Can anyone will access to an EAP network confirm this please?
Zeb

rionline said:
hi there,
first of all, i am no developer, so do not except anything. i think i got lucky in some case.
here is my wpa_supplicant that works with EAP, MSCHAP2 Wpa Enterprise at my university.
i am using viewcomb at the moment, so i do not know if it works with vegacomb. but the possibility seems kind of high!
greets from germany
btw: this file has to replace the existing one in /system/bin
something like that:
adb remount
adb shell mv /system/bin/wpa_supplicant /system/bin/wpa_supplicant.old
adb push wpa_supplicant /system/bin/
adb shell chmod 755 /system/bin/wpa_supplicant
adb reboot
Click to expand...
Click to collapse
OK, I have been PM'd confirmation that this works for university networks, REALLY good job!
I have packed this into a CWM-flashable zip, download it here!
Thanks for the good work man!
newbe5

Is provided with this update the capability of thethering to 3G phone via wif ad-hoc mode?
My HTC HD2 phone provides wifi ad hoc tethering capability: I´m able to tether my Win7 laptop to it, but not my Vega!
Best regards and thanks

sirgawain123 said:
Is provided with this update the capability of thethering to 3G phone via wif ad-hoc mode?
My HTC HD2 phone provides wifi ad hoc tethering capability: I´m able to tether my Win7 laptop to it, but not my Vega!
Best regards and thanks
Click to expand...
Click to collapse
Nope... I just tried.

Hi, everyone. I have tried to flashed Vegacomb 3.2 Build 9n and Viewcomb 3.2 Build 6 to my Viewpad 10s (3G version). In both case, I was not able to use the 3G although the Viewpad 10s did detect the SIM card. What can I do to activate the 3G function?

Did you configured the APN for your network?

vujke025 said:
Did you configured the APN for your network?
Click to expand...
Click to collapse
Thanks! But I was not required of such with the original ROM. Would you kindly tell me how to do it?

js_crusaders said:
Thanks! But I was not required of such with the original ROM. Would you kindly tell me how to do it?
Click to expand...
Click to collapse
Apps > Settings > Wireless & networks > Mobile networks > Access Point Names > New APN (or select existing)

vujke025 said:
Apps > Settings > Wireless & networks > Mobile networks > Access Point Names > New APN (or select existing)
Click to expand...
Click to collapse
Thanks! I tried but the 3G just did not work still though my Viewpad 10s did recognise the existence of the SIM card and there already an APN. In the original ROM, though no settings is needed, I had to switch on the '3g/GPS' through Settings > Wireless & networks > Mobile networks. Is it necessary to activate somenthing after the installation of the Viewcomb 3.2 or do I need to install some other driver for the 3G function?

no luck with eduroam in university in Germany using VegaComb HC3.2 EAP WiFi Fix
I am new in scripts and all that stuff, but in updater script of VegaComb HC3.2 EAP WiFi Fix I could not find anything concerning wpa_suplicant file. Only blacklists and bluetooth stuff.. :-|

Neither in my.. maybe the problem is the .zip update is bad configured?

Vegaics 3 works on eduroam network

rionline said:
hi there,
first of all, i am no developer, so do not except anything. i think i got lucky in some case.
here is my wpa_supplicant that works with EAP, MSCHAP2 Wpa Enterprise at my university.
i am using viewcomb at the moment, so i do not know if it works with vegacomb. but the possibility seems kind of high!
greets from germany
btw: this file has to replace the existing one in /system/bin
something like that:
adb remount
adb shell mv /system/bin/wpa_supplicant /system/bin/wpa_supplicant.old
adb push wpa_supplicant /system/bin/
adb shell chmod 755 /system/bin/wpa_supplicant
adb reboot
Click to expand...
Click to collapse
hello!
nice to know that someone is trying to make this work with our tablets.
But sadly... it doesn't work for me
When i tried to apply your file (using your method) i lost the wifi capability's of the tablet so maybe it doesn't work with Vegacomb (i'm using the latest version)

Related

Ad-Hoc Wifi on Acer A500 Tablet (Honeycomb)

I was able to get wifi tethering up an running using the information in these posts:
Root the device using these instructions:
http://forum.xda-developers.com/showpost.php?p=13292713&postcount=82
Enable Ad-Hoc wifi access using these instructions:
http://forum.xda-developers.com/showthread.php?t=1033314
Worked very smoothly and it was my first foray in to Android and rooting....
BTW... I am tethering to a WinMo 6.5 phone using WMWifiRouter. It works nice too!!
Thanks for pointing out the thread that worked on your A500. I am going to try it this week. I'm also new at this and have been able to root and do a few other things thanks to everybody that posts the great walk-throughs here.
I got adhoc working on my A500 also (tethering to a jailbroken iphone with PDANet). I was running into issues trying to run the ADB REMOUNT command, with the error "Operation Not Permitted" being returned. There is probably a more skilled & elegant way do do this, but I modified the instructions I found here:
You need to turn on Airplane mode to disable wifi, or you will get an error when trying to copy the wpa_supplicant file with ADB PUSH later on in the instructions...
adb shell
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 777 /system/bin/wpa_supplicant (Or any subdirectory you want to push to inside system)
# exit
adb pull /system/bin/wpa_supplicant <local path on your computer> (this is to backup your original file in case you have to restore it)
adb push <local file> <device location>
and eventually you should restore the original directory permissions by going back into the shell:
# chmod 755 /system/bin/wpa_supplicant (Or any subdirectory you modified permissions to)
Now turn off Airplane Mode, and give it a test.
Click to expand...
Click to collapse
I also got adhoc wifi working on my A500 too by manually update wpa_supplicant via Root Explorer since the Acer new OTA version Acer_A500_1.126.03_COM_GEN1 still don't fix this issue.
I accidentally did it without turning the wifi off, now wifi doesn't work. Is there a way to recover it?
That's weird, it wouldn't even let me overwrite the file unless airplane mode was on (disabled wifi). If you made a backup copy of the file, just restore it. If you didn't, here's my original backup (which is not modified)....be sure to unzip it first before using it though.
Shrike9 said:
That's weird, it wouldn't even let me overwrite the file unless airplane mode was on (disabled wifi). If you made a backup copy of the file, just restore it. If you didn't, here's my backup....be sure to unzip it first before using it though.
Click to expand...
Click to collapse
Nothing, still get the same error, i think something happened in some other files because it was connected when i changed the file. Any idea of what could it be?
What error are you getting? I would also try rebooting your tablet. I am, unfortunately, no expert at this...I've only had exposure to honeycomb for 5-6 days now. So, I'll have to defer to all the experts in the forum.
I even tried a factory data reset but still get the same error, it just doesn't connect.
Any idea of what could be the problem?
Maybe i should wait for the os update?(can i do it without internet connection?)
A500 rooted/recognizing wifi, but pages don't load
I followed the steps: rooted my A500, uploaded the wpa_supplicant file, changed the permissions. I use WMWifiRouter on my HTC HD2 phone. Now, my A500 recognizes the ad hoc wifi and connects, but the browser fails to download any pages. My Acer netbook (Windows) works fine using the same connection. The A500 has Dolphin, Firefox, and pre-loaded browser - none of them will download pages. Also, the A500 browsers work fine on my home wifi and other wifi networks. Just not on the ad hoc wifi. Any ideas?
Damn, it took me hours to stumble upon this thread, but thank god I did! Now I finally have ad-hoc wifi working, though I couldn't follow the instructions: adb just kept complaining about device not present error. Had to do it another way.
Dear Sir
I have same problem with you.
My cell phone is HTC tough diamond and the soft is Windows Mobile 6.1.
My A500 can link with my cell phone but can't run browsers neither internet.
How do you conquer this problem? Can you share it?
Pretty sure your issue is with permissions.
I used a terminal app and entered the following for permissions w/ wifi disabled:
su root
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Reboot and try again.
I so want to do this, as I could really use a WiFi AdHoc connection, but do not want to brick my WiFi. Are there a few other people who can confirm this as working?
I am using Acer_A500_4.010.13_COM_GEN2. Thanks
NDMerritt said:
I followed the steps: rooted my A500, uploaded the wpa_supplicant file, changed the permissions. I use WMWifiRouter on my HTC HD2 phone. Now, my A500 recognizes the ad hoc wifi and connects, but the browser fails to download any pages. My Acer netbook (Windows) works fine using the same connection. The A500 has Dolphin, Firefox, and pre-loaded browser - none of them will download pages. Also, the A500 browsers work fine on my home wifi and other wifi networks. Just not on the ad hoc wifi. Any ideas?
Click to expand...
Click to collapse
I have the same problem. Someone did it fix?
This worked for me using root explorer. Thanks for the post, I was getting a little mad that the ipad could see my phone but the a500 wouldn't see it.

[Q] USB WWAN - How To On Wifi Xoom?

Hello, I Know there are correct wifi usb dongles drivers in Tiamat Kernels, i have tried everything possible to get the Mobile Settings option in the Wireless setting of android with no luck, Can anybody point me to the correct procedures on how to do it? btw i have tried the methods of doing that on Acer and Asus and it didn't work, i had to flash new kernels to boot again in some cases. Thanks
Why those drivers are present but nobody want to write dialer script and instruction?
Launchpad kernel for Xoom!
Alright, Forget about Tiamat kernel, i have Team Tiamat Moray Rom on my Wifi only Xoom with the launchpad kernel from this post :
http://www.xoomforums.com/forum/lau...nel-launchpad-1-2-2-new-6-11-11-3-1-only.html
you will find in the addons (WWAN USB Addon) which is used on the launchpad to show the Mobile Menu and enable tethering as the kernel should have everything required, so why when i use it on the Xoom it doesn't work? BTW i have also disabled the Zero-CD option on the USB stick to make sure it reads as a modem when connected to usb port, i made sure that my 3g stick is compatible with the operation.
Its really interesting when i see 153 views and only one reply
You can try this http://forum.xda-developers.com/showthread.php?t=1118639
And I will try with CDMA modem I found one non-english article.
But just yesterday I got trouble with OTG connections, all devices are with error:
usb 2-1: new low speed USB device using tegra-ehci and address 6
usb 2-1: device not accepting address 6, error -71
hub 2-1: unable to enumerate device on port 1
It was working last night. Wtf? Do you know how to fix this? I tried to restart tablet with no luck, otg cable not working anymore.
Update 1: Nevermind, cable was broken. Fixed.
Update 2: I tried that method on link I gave you - zore result, reflashed.
P.S: Just tried your launchpad kernel - too bad that 3.1 only. I'm using Rogue now. By the way usb_wwan can be installed everywhere.
I found also this universal installer for Huawei modems attached below.
Dunno how to "dance" with this. After installing just nothing happend or I doing wrong.
thanks for you effort, OTG cables are horrible, most of the time when you get failures its caused by cables or adapters anyway,
i downloaded the attached archive and pushed all modules to my Xoom with MORAY Rom and Odachi Kernel, rebooted and nothing happened too no Mobile Settings menu, will keep trying and keep you posted
Actually I'm not sure if there should appear some menu. After this you have to see in dmesg you modem to be recognized like GSM converter but I don't. So it looks like option.ko isn't loaded. Maybe this file has to be in defferent place instead of /system/lib on Xoom? I also tried to put it in /system/lib/modules/ , also nothing happend after.
Maybe it works on older versions of ROMs? I'm using 3.2.2 stock rooted with rogue kernel + usb_wwan
Maybe, i have tried it with many roms, even the 3.1 but no luck, i think Team Tiamat would be the right ppl who would clarify everything to us, i have tried setting the kernel to launch all the modules on boot but nothing happened,we need somebody experienced in those things to help us out
Hmm... as you see there is nobody who want to help with this. Because they have 3G models or expencive portable hotspots and nobody need this.
Anyway. Did you try to put option.ko and usb_wwan.ko in system/library/modules folder and right after that set up "modules on boot"? Restart tablet, connect modem and see in dmesg. I don't have this option in my rom, so try to do that.
:s
I've tried placing the modules and loading them on boot, but it didn't work too, its not about money, actually i have 3G portable wifi router and my other android devices have the built-in wifi hotspot ,but its about doing the thing...its about the concept, why it's not working while we have everything in place, thats the weird thing, i think we will have to wait until somebody feels sorry for us then decide to help us! :s
Problem definitely in /system/build.prop it should be edited somehow, according to manual for A500 tablet.
Neolo said:
I found also this universal installer for Huawei modems attached below.
Dunno how to "dance" with this. After installing just nothing happend or I doing wrong.
Click to expand...
Click to collapse
hi, where to put this module pack? i mean how to install?
How to connect manually using Huawei 3G dongle:
You need:
- rooted xoom with Tiamat kernel (or any other which has usb_wwan.ko and option.ko attached)
- 3g dongle
1. Backup files from /etc/ppp in case when this solution don't work
2. Download attached zip and extract to /etc/ppp
3. edit /etc/ppp/gprs-connect-chat in line
Code:
'' AT+CGDCONT=1,"IP","internet"
replace 'internet' with APN name for your network
4. Now run terminal (Terminal Emulator) and type
Code:
su
stop ril-daemon
insmod /system/lib/modules/usb_wwan.ko
insmod /system/lib/modules/option.ko
pppd call gprs
Now you should have working connection (Xoom doesn't show this, but if you run browser it should work).
For me it works on Verizon Xoom with Huawei e1750, but i'm living in area where only edge is avaliable, so this is very slow connection - i need to check connection speed in other location this weekend.
For Xoom Wifi owners: this should also work for you, but with small change - after inserting modules you should check on dmesg which port(s) is using your dongle and change port number in first line of /etc/ppp/peers/gprs . It's probably /dev/ttyUSB0 but you must check.
Porzeczek said:
How to connect manually using Huawei 3G dongle:
You need:
- rooted xoom with Tiamat kernel (or any other which has usb_wwan.ko and option.ko attached)
- 3g dongle
1. Backup files from /etc/ppp in case when this solution don't work
2. Download attached zip and extract to /etc/ppp
3. edit /etc/ppp/gprs-connect-chat in line
Code:
'' AT+CGDCONT=1,"IP","internet"
replace 'internet' with APN name for your network
4. Now run terminal (Terminal Emulator) and type
Code:
su
stop ril-daemon
insmod /system/lib/modules/usb_wwan.ko
insmod /system/lib/modules/option.ko
pppd call gprs
Now you should have working connection (Xoom doesn't show this, but if you run browser it should work).
For me it works on Verizon Xoom with Huawei e1750, but i'm living in area where only edge is avaliable, so this is very slow connection - i need to check connection speed in other location this weekend.
For Xoom Wifi owners: this should also work for you, but with small change - after inserting modules you should check on dmesg which port(s) is using your dongle and change port number in first line of /etc/ppp/peers/gprs . It's probably /dev/ttyUSB0 but you must check.
Click to expand...
Click to collapse
bro,
how can we connect any other company's usb modem? it is same as huawei modem or new driver files to be downloaded?
raihankabir_1 said:
bro,
how can we connect any other company's usb modem? it is same as huawei modem or new driver files to be downloaded?
Click to expand...
Click to collapse
What modem you have?
Porzeczek said:
What modem you have?
Click to expand...
Click to collapse
i was successful with huawei 3g modem according to the tutorial. i have an wimax usb modem and i didnt find any tutorial related to wimax usb modem on xoom
raihankabir_1 said:
i was successful with huawei 3g modem according to the tutorial. i have an wimax usb modem and i didnt find any tutorial related to wimax usb modem on xoom
Click to expand...
Click to collapse
Ask google for linux support for this wimax modem. If it works on linux it also should work in android. And most of linux tutorials are saying which driver is needed.
I also have different modem need to use, because gprs is slow and expencive.
I have Cmotech U300 (Dual mode - WiMax + CDMA Rev.A) branded for Sprint. Have no idea where to get a driver for xoom.
Looks like my modem is working under Linux, http://jebus.nu/tech-corner/sprint-u300 Dut generally I have no idea how to make it for Xoom.
My Huawei is recognized well. I set APN name, but what about APN username and password. Where are setted?
Are there any updated ppp files for the xoom on jelly bean as it does not seem to work with my one....... Also try something called "ppp widget" which seems to be easier to do but still its not worked for me on my xoom...... HELP

[DEV] ICS ad-hoc mod

Dears,
I found many methods to patch android to connect to ad-hoc networks,
method 1:
Manually configure the wpa_supplican in this way
http://www.olsr.org/?q=olsr_on_android
but this method is for Galaxy S and cant apply it on Galaxy Nexus or ICS devices.
method 2:
to patch wpa_supplican
removes the [IBSS] flag from scan results,
masquerades and demasquerades ad-hoc ssid with (*) prefix
sets mode 1 (ad-hoc) if the ssid is for IBSS
permits the supplicant to select an IBSS when associating to a given ssid
and i don't know any of these as im not a developer but i need this function BADly.
+1 to this thread, i also need the adhoc features. hope the great devs here will give us hope
I also need this feature
chinopski said:
+1 to this thread, i also need the adhoc features. hope the great devs here will give us hope
Click to expand...
Click to collapse
Indeed I am in a hotel with cable only Internet and I would like to share my laptop connection with an adhoc wifi network but my galaxy nexus doesn't see the network.
I am instead connected with my asus transformer which sees the adhoc network, so some android device works
Actually, the method1 you mentioned works perfectly.
I just tested it with a UbuntuAdhoc network on a ICS 4.0.3 ROM.
Just one remark,
it will fail when you run:
su -c "/system/bin/wpa_cli -p /data/misc/wifi/"
You have to modify as:
su -c "/system/bin/wpa_cli -u"
Hy all, so this is reported working on ICS ???
I tried by myself on my Prime but I'm not good enough to do it ( yeah I know I'm a leecher...)
IF A DEV COULD please make a patch would be great ;-)
Best regards
Can somebody confirm whether or not this will work on an Asus Transformer Prime thats been updated to ICS?
So wait.. you started a whole thread about ad hoc under ICS BUT (1) just posted info already found elsewhere and (2) posted the first "fix" but yet it cannot work under ICS despite this thread having an ICS title and (3) mention wpa_supplicant files and nothing about how to edit them or the fact ICS has 2 wpa_supplicant files.
fail.

[Q] Wifi adhoc network recognition

Hi,
Anybody knows a working method to make the Galaxy R recognise adhoc wifi networks ?
I think some changes need to be made to wpa_supplicant config .
Replaced the wpa_supplicant located at /system/bin with one provided in this thread : http://forum.xda-developers.com/showthread.php?t=754961
rebooted the phone.
Now its working !

[ANDROID L][SCRIPT/FIX] - WiFi & USB Tethering fix for Android L

We know that Android L Preview release have same issues : One of this is Wifi/USB Tethering not works.
I find on xda a temporary fix for this issue (thanks buraktamturk) http://forum.xda-developers.com/showpost.php?p=54067884&postcount=3041
I simply done a shell script that give you and install the default gateway ip for your active data connection.
So every time you active a new data connection and you must done a tethering Wifi/USB condivision,
remember to run before this script.
Whats you need for make it work.
FIRST INSTALLATION
Your device must be rooted and you must have busybox installated link: https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Install Root Explorer from play store (is not free) https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&hl=en
You need it for execute wifi-tethering-lpv-fix.sh (you can also use terminal emulator even if you need more steps)
Download and Unzip the script attached and save it on your Nexus5 folder (i.e. /system) and give permission rwx (read-write-execute) with root explorer apk. (or chmod 777 wifi-tethering-lpv-fix.sh with terminal emulator)
RUN WIFI/USB TETHERING SCRIPT
After that every time you start a new data connection done this steps:
1. Run wifi-tethering-lpv-fix.sh with Root exlorer apk
2. Enable and disable tethering ; After that re-enable it. (this step is important otherwise dhcp server is not started - internal bug from Android L preview)
Now your USB or WIFI tethering connection would be work.:good:
An interesting problem...
davidmore said:
We know that Android L Preview release have same issues : One of this is Wifi/USB Tethering not works.
I find on xda a temporary fix for this issue (thanks buraktamturk) http://forum.xda-developers.com/showpost.php?p=54067884&postcount=3041
I simply done a shell script that give you and install the default gateway ip for your active data connection.
So every time you active a new data connection and you must done a tethering Wifi/USB condivision,
remember to run before this script.
Whats you need for make it work.
FIRST INSTALLATION
Your device must be rooted and you must have busybox installated link: https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Install Root Explorer from play store (is not free) https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&hl=en
You need it for execute wifi-tethering-lpv-fix.sh (you can also use terminal emulator even if you need more steps)
Download and Unzip the script attached and save it on your Nexus5 folder (i.e. /system) and give permission rwx (read-write-execute) with root explorer apk. (or chmod 777 wifi-tethering-lpv-fix.sh with terminal emulator)
RUN WIFI/USB TETHERING SCRIPT
After that every time you start a new data connection done this steps:
1. Run wifi-tethering-lpv-fix.sh with Root exlorer apk
2. Enable and disable tethering ; After that re-enable it. (this step is important otherwise dhcp server is not started - internal bug from Android L preview)
Now your USB or WIFI tethering connection would be work.:good:
Click to expand...
Click to collapse
Ok, so between your post and the other fix that you have posted, i have had SOME success, but is this significant?
I have a Nexus 5, that generally has a sim card i use primarily for data, which is on Aldimobile (MVNO using the Telstra 3g network), at the time i first tried this, i had an Amaysim (MVNO using Optus 3g network) inserted. So heres what happened -
I first followed your procedure (Amaysim card inserted, unsure how or if this is significant) , which allowed me to create a wifi hotspot connection between the laptop and the mobile. The effect was actually almost immediate when i ran your script. This did not allow any data throughput.
I then used the procedure you have provided in your link above, and bamf, i had a working wifi tether connection. Easy as pie.
I can report that it is repeatable, and you can enable then disable tether at will, until you reset the phone, and you have to go through the whole shebang again (i presume due to your mobile provider updating your ip address)
BUT - I then wanted to use my Aldi mobile in it, as the Amaysim is the one i generally use in my general purpose mobile, so i slapped the Aldi sim into the mobile... and.... nothing.
No amount of fiddling around with resetting the tether, changing settings, your script, the other script, would allow either a tether or data throughput.
Any ideas?
No need more this my script !! New Android pre-relase lollipox (LPX13D) have fixed it. Wi-fi and USB thethering works no more bug
Awesome
davidmore said:
No need more this my script !! New Android pre-relase lollipox (LPX13D) have fixed it. Wi-fi and USB thethering works no more bug
Click to expand...
Click to collapse
Cheers for that info, i hadnt found anything mentioning updates fixing this. Ill go download it.
Thanks for the quick reply, and good work.
This is a massive bump but it might help someone:
I had an issue on my Nexus 5X running 7.1.2 (beta), it had the same symptoms as OP; no default gateway, WiFi & USB tethering not working
Ran this script and now it works again, so the bug has either returned or wasn't fully fixed

Categories

Resources