a question about ad-hoc - Xoom Q&A, Help & Troubleshooting

I know the Android 4.0 has launched,But ad-hoc was not added to the latest rom,it`s important to me ,so ,i want to know if or when it will be able to add to 4.0.
thanks

Someone over in the prime have a guide to get ad hoc to work with the prime. I'm on EOS 1.0 and unable to find the file which need to replace in order to get ad hoc working. Only wpa_supplicant exist in system/bin not wpa_supplicant2, so I'm unable to try the fix. Hopefully team EOS can explain why wpa_supplicant2 is missing from system/bin. Here's the link to the fix for the prime.
http://forum.xda-developers.com/showthread.php?t=1438297

bigrushdog of Team EOS addressed this a couple days ago
The root of the problem is that adhoc is a depricated technology. That being said, the reason we are having issues is adhoc conflicts with wireless peer2peer, or p2p. This is a new wireless technology possible because ics has implemented the config80211 Linux wireless api stack. Some of you may have noticed a new wireless interface named p2p0 which is a member of the wlan0 control group. Also you may have noticed that p2p is also broke. I believe this is why some ics devices utilize two wpa_supplicant binaries. Also it looks like the kernel filters ibss beacons when the p2p0 interface is up. But Im pretty sure I found the source and its an easy fix. ICS is a very different Android from past releases. ICS is very forward looking and continues to merge with Linux common. Adhoc looks doable but I recommended adhoc fans upgrade their phones
Click to expand...
Click to collapse
source

Related

VPN--PPTP w/MPPE (encryption) on Samsung Epic

I've read that it's a common problem with other android 2.1 devices, and from what I've gathered, it appears that pppd and the kernel were compiled without MPPE support, so you can't connect to a PPTP VPN that requires encryption with the device.
I'm considering trying to dig into recompiling the kernel to support MPPE (we can just steal pppd from another device, or recompile it, as well)... but I didn't want to jump into that if someone else has already done so or is already working on/releasing a custom kernel and can just fix this in theirs with less effort.
Soooo... anyone else working on or interested in this issue?
i second this. The earlier we begin implementing security into our devices the better .
I could use IPSec with challenge response like bluefire for winmo has
Alright, sounds like this hasn't been fixed yet, so I'll start digging to find out exactly what is missing from the kernel--my guess is GRE protocol support, but I'm not sure.

[Q] PPTP VPN on TnT Lite

I use the pptp VPN with both my G1 and my Vibrant, and I've set it up for others at work in Droids and Evo's. No such love on the tablet.
Right now I'm having a hard time getting a viable error (or anything) from the tablet. It just seems to fail silently. Perhaps I'm using logcat wrong.
If anyone has gotten it working and knows the trick I'm all ears. Thanks in advance.
linuxrebel said:
I use the pptp VPN with both my G1 and my Vibrant, and I've set it up for others at work in Droids and Evo's. No such love on the tablet.
Right now I'm having a hard time getting a viable error (or anything) from the tablet. It just seems to fail silently. Perhaps I'm using logcat wrong.
If anyone has gotten it working and knows the trick I'm all ears. Thanks in advance.
Click to expand...
Click to collapse
There isn't a tun object compiled for the kernel. I compiled some using the tegra 10.8.2 source from the nvidia developers' site and pulled the /proc/config.gz from the pad to get the config (modified the CONFIG_TUN=m) and created a tun.ko but it wasn't compatible.
I tried a few different versions with different compilers and such but none worked. I noticed the strings for my new tun objects after I compiled them were showing up as ARMv7 whereas the pad shows ARMv7l. Also the pad shows 10.8.2-dirty (instead of 10.8.2).
So I ran out of ideas on how to get a working tun object without the kernel source.
I also tried the PPTP VPN (no encryption) the same way I set up my Droid. The error messages I find in the GTablet's syslog are:
Creating PPPoX socket
Socket() Address family not supported by protocol
Would love to hear a solution to this issue...
I was afraid that what I saw was true. Blocked until Viewsonic complies with the law.
This thread should probably be moved to the Android Development forum.
In any case, I was wondering if now with the release of the kernel some progress can be made on the VPN support? I really appreciate the assistance!

IPv6 - now working on Android! (no matter if your provider supports it)

I searched xda-developers a lot about IPv6 (Android related) but only questions, no one seamed to get it to work. Now I got IPv6 working on my Android phone and I want to share it.
Of course I can not held any responsibility for anything. I am no developer, just a user, who used Google a lot and who put a lot of single things together. Rather I am not sure why it works, but it does work.
Quick guide:
1. find out if Linux (Debian) is available for your Android phone and learn how to use it
2. find out if a tun module or a kernel with tun support exists for your phone
3. learn how to use IPv6 on Windows (if you are a Windows user) (I was happy with gogo Client at http://gogonet.gogo6.com/page/download-1) and on normal Linux (normal in meaning of running on PC) (I used miredo first)
4. learn what aiccu is and how to use it on PC
5. install Linux (Debian) on your phone
6. load the tun module (or use a kernel with tun support)
8. register aiccu
9. request tunnel at aiccu
10. install aiccu on your rooted Android phone (with tun) inside Debian chroot
11. done, test "ping6 ipv6.google.com" inside console, should work, and test in Android stock browers, it should also work!
Comprehensive guide:
First of all, before you start fiddling with Android and IPv6, which is quite tricky, I highly recommend to learn how to use IPv6 on Windows (only if you are a Windows user) and on some Linux distribution (Debian or Ubuntu recommend, as Debian is imho the most easy to get Linux for our Android phones).
On Ubuntu, which was running in VMware, I installed a package called miredo.(used this guide https://wiki.ubuntu.com/IPv6 look for miredo) It is a great piece of software. I just installed it and afterwards an apache2 webserver and the server was reachable from outside the virtual machine. Furthermore I did run another virtual machine with XP, both virtual machines, XP and Ubuntu where behind NAT (standard network configuration in VMware, setting up port forwardings is quite complicated) and also my router has a NAT and Windows firewall on host computer was also activated. Still... From the XP virtual machine I could access the apache2 running on Ubuntu. Great. You do not need VMware to learn how to use IPv6, of course, you can also use real hardware, but for me, VMware is very convenient.
Also learn what aiccu is and how to use it (https://wiki.ubuntu.com/IPv6#Get_connected_with_SixXS).
After you just learnt how to use IPv6 on normal Linux (normal refers to the normal end user version, no hacked stuff for Android) you have to learn how to use Linux (Debian) on your Android phone.
I used this guide http://forum.xda-developers.com/showthread.php?t=1254283 but you will need another guide for your phone, because this is phone specific. Google the name of your phone in conjunction with chroot, Android, Linux, Debian or search xda. It may not be possible to install Linux on all Android phones. I do not know that and I can not help you with that because I am a Linux noob. Of course, maybe you don't have to use Debian on your phone, I just like Debian because imho you'll find most informations in conjunction with Android about it and because it's more newbie friendly in general compared to other Linux distros. So maybe you prefer some other distro.
Then you need to get a tun module for your phone/kernel or a kernel with tun support for your kernel. Load the module.
You need to register for aiccu and also request a tunnel.
Afterwards, last step, install aiccu. I think I edited aiccu.conf and entered username and password.
ping6 inside Debian chroot is working for me and also in Android stock browser I can access IPv6 websites.
There are quite a lot requirements and things to learn before, I am sorry, because I can not ease this process.
Right now I also can not tell you nothing about how stable this works, how reliable it is or what the benefits are.
Update:
Working - 3g connection on phone (everything only IPv6 of course)
- apache2 webserver
- SSH server - access with Putty
- SFTP - access with FireFTP or WinSCP
Native aiccu for Android
Some time ago, I hacked together a native aiccu port for Android. I only tested it with AYIYA tunnels. It worked greatly both on Android 2.1 in a Xperia X10 mini pro and on Android 2.3 in a Galaxy Tab.
To use, copy the aiccu-android-bin.7z contents to your phone and put your config at /data/aiccu/aiccu.conf.
Please note that you HAVE to use the provided "ip" executable. The one provided with busybox is incomplete for usage with aiccu, and won't work.
The aiccu-android-src.7z contains the source code if someone is interested in hacking deeper. In particular, testing heartbeat tunnels and seeing if any changes are needed to the source would be nice. Also, cleaning up and trying to push upstream would be great.
Nice thx
Sent from my MB860 using Tapatalk
thotypous said:
Some time ago, I hacked together a native aiccu port for Android. I only tested it with AYIYA tunnels. It worked greatly both on Android 2.1 in a Xperia X10 mini pro and on Android 2.3 in a Galaxy Tab.
To use, copy the aiccu-android-bin.7z contents to your phone and put your config at /data/aiccu/aiccu.conf.
Please note that you HAVE to use the provided "ip" executable. The one provided with busybox is incomplete for usage with aiccu, and won't work.
The aiccu-android-src.7z contains the source code if someone is interested in hacking deeper. In particular, testing heartbeat tunnels and seeing if any changes are needed to the source would be nice. Also, cleaning up and trying to push upstream would be great.
Click to expand...
Click to collapse
Very nice. This simplifys the process a lot.
Unfortunately this does not work on my x8. Maybe because busybox is preinstalled with my ROM?
When I do acciu test, it complains about the ip executable. But I already copied both.
Can I get ride of the old buybox ip? Should it work on x8 as well?
T-Mobile USA has an beta native IPv6 service for ICS Nexus S and Galaxy Nexus UMTS phones. You can google the details. It is natively supported on the stock ICS software now using the UMTS network.
New solution:
https://code.google.com/p/gogodroid/wiki/GogoDroid
drawback:
needs ROM (kernel) with TUN (but any app could null that dependency)
First of all thanks for your work of putting all these information together!
I am using a Galaxy Nexus which allready has tun built in to the stock rom (ICS 4.0.4).
Unfortunately I cant get gogoDroid working. It seems it doesnt recognize the built in tun functionality.
So I tried it with the tun.ko module - no luck there neither, since there is no compiled version for the IMM76I Build :-(
Any suggestions on how to get it working anyways?
Edit: I also found another app which supports 6to4 tunneling called IPv6Config - you can find it on the Play market. Unfortunately 6to4 doesnt get thru NATted mobile networks...
Hello all !
Sorry to dig out this old thread again but here some infos about running IPv6 tunnels on a rooted Android phone.
I wrote a little app to simplify the installation, configuration and running the binaries posted by thotypous:
The app is called Androiccu and you can find it in the google market. Sorry, I'm not old enough to be allowed to post a link to it.
It's still in an early development stage but it does basically work for me and I would enjoy some feedback about success or failure.
This application downloads and installs the binaries, creates a config file with your login infos and can start and stop aiccu. All from a GUI, no need to play on a terminal.
Cheers and have fun testing.
why tunnel when you can have native ipv6 https://sites.google.com/site/tmoipv6/lg-mytouch
elgato99 said:
why tunnel when you can have native ipv6
Click to expand...
Click to collapse
Because most mobile network operators don't provide native IPv6 yet. You're among a few lucky ones that has such an operator. I'm not. When i'm at home i don't need this app as my router provides natively an IPv6 address to my phone over the wifi network. But on my router itself i have to run a tunnel as well as my provider is also not able to provide IPv6.
The biggest aim of this application is to become quickly obsolete when finally all mobile network operators will be able to provide IPv6 natively.
Best regards,
Martin
ty for info. my phone now running sixxs and route it on hostpot.
core7x said:
ty for info. my phone now running sixxs and route it on hostpot.
Click to expand...
Click to collapse
I have a sixxs tunnel. But how can I route this to wifi tethering? My ipad is connected to the wifi hotspot from the android, but the ipad can not resolve ipv6.google.com, but the android can do this.

ICS and Group Authentication VPN without Root (NOT AnyConnect)

Hello,
I will preface this by an apology if I am putting this in the incorrect place, or this is a topic that is well covered; but I so far have not been able to get solid information on this.
From what I understand, ICS is going to include and/or support Cisco AnyConnect . However, that does not help the many users out there still using legacy Cisco VPN solution at our workplaces.
Specifically AnyConnect (at least on android, the only flavor I have had experience with) does not support Group Authentication, and neither do the default VPN clients included on Android.
So far I have had success on my Samsung Epic 4G running Froyo using VPNC to connect to my corporate network, but now I am shopping for a tablet. Likewise I have friends at work who want an android tablet but since they can't easily connect to work to do very basic things, they haven't bought.
I don't want to need root just to get a proper VPN connection up and running. For one thing that leaves me dependent upon a tun.ko being available for the tablet, not to mention just getting root in the first place isn't always easy as it was for the Kindle Fire or my Epic. And I certainly am not going to recommend that for my less technical friends.
So all that exposition out of the way, it comes down to this simple question - will ICS have a built in client that will support IPSEC group authentication , or will such client be available to install without root and needing to install modules?
Thanks for your patience if this is covered elsewhere, but most everything I have found in searches here (and elsewhere) for is based on AnyConnect and my company's VPN doesn't support that, and they aren't going to change that anytime soon.
I apologize - this should probably have been in the Question forum.
I would also like to know the answer to this to. my work uses group authentication and there is no apps or anything that will do this!
I am looking for this information as well. I certainly wish Google and Cisco could sit down and get this figured out. Apple did and the iPads at work can VPN in but not my Transformer Prime. I knew this before I purchased it, but went ahead with it hoping this would be added/fixed with ICS.
I havent had a chance to try it yet on my GN but you can now create "IPSec XAuth with PSK" (AKA Cisco VPN). If you have the GSM version of the GN you might run into problems though:
http://forum.xda-developers.com/showthread.php?p=20627062
I have a VZW GN device which someone in that thread mentioned works. Since the key for my VPN is quite hard to type I'll try it tonight and post if it works tomorrow.

[Q] [q] ICS + Adhoc - Looking for information

Okay, as the title indicates, I am seeking information on whether any individual or group has put any effort into reimplementing adhoc wifi in ICS.
I've run around the Android AOSP specific groups and the posts from Google mods indicate that adhoc was dropped for being "deprecated" and replaced by WifiDirect. The problem here is, there's absolutely no support for WifiDirect in Windows until Windows 8 is released, and the last time I checked, having millions of devices that rely on or use adhoc wifi is not what I'd call deprecated.
I've come across a couple of modified wpa_supplicants that work for other devices with ICS, but as of yet, there's nothing for ICS for the Xoom.
I am setting up a build environment in preparation for putting my own time into readding support for adhoc wifi, which I will then make available for everyone else to use as they wish (maybe the 'big' ROM developers will toss it into their builds /shrug) but first I want to ensure that I am not redeveloping the wheel.
Are there any out there that have already started (or done) this? If so, where are they hiding? Google is either failing, or these people are not making their work public as of yet.
Do you know tha last version of CM9 can see the HOC but can't connect
I'm also looking and the only rom to see HOC is CM9 but when you try to connect the only do is saved If i can help let me know

Categories

Resources