Eken m001 ad hoc networking - wifi routers - Android Software Development

It appears Android normally doesn't support wifi ad hoc networking. I believe this is the only mode used by the wifi routers available for many phones. It would be great to have portable hot spots.
Google has been messing with this for the last two years, but apparently it's a low priority:
Issue 82: wifi - support ad hoc networking
code.google.com/p/android/issues/detail?id=82
The hardware should support it...anyone looking for a useful project?

I'm looking for the same thing also in my HTC Desire...
I found something like this: http://blog.joint.net/2009/07/connecting-android-phone-through-adhoc.html
But the guide says to modify the files but it doesn't say how. And also it refers to another forum wich I can't access...
Edit: This is the guide in Google Cache: http://webcache.googleusercontent.com/search?q=cache:fqqJ3W1PzaEJ:modmygphone.com/forums/showthread.php%3Ft%3D22681+http://modmygphone.com/forums/showthread.php%3Ft%3D22681&cd=1&hl=it&ct=clnk&gl=it

no need to use adhoc. use this http://www.connectify.me/

No, I need the capabilities of something like this: wmwifirouter.com

info5i2002 said:
no need to use adhoc. use this http://www.connectify.me/
Click to expand...
Click to collapse
Very good .. Thank you... But I mainly use Mac OS X and Ubuntu..

ah well perhaps time to move to windows?

I tried to use connectify, but it messedup with my other com hardware and caused windows crashed with blue screen.
What i saw is that Connectify creates virtual device for every hardware and duplicate it with connectify suffice. I use a CDMA modem on laptop to connect with internet and it conflicted with driver.
Though i already have configured ad-hoc wifi on laptop and have used it with my previous ROM (Wildpuzzel V 8.0.1) but it does not work with CM7 ROMs

Related

add internet pass through is it posible?

dear friends
is it posible to add intrenet pass through to a build that has not this opption in connection (instal as external ware into a redy for use build )
masa1977 said:
dear friends
is it posible to add intrenet pass through to a build that has not this opption in connection (instal as external ware into a redy for use build )
Click to expand...
Click to collapse
there is no answer to this question ?can someone help me,dear chef plz answer
Do you want to use your phone's internet for your pc? Then yes- it's possible with apps. (called tethering. search for wifi tether or usb tether in market or on xda...)
if you want to use your pc's connection - then probably not.
domenukk said:
Do you want to use your phone's internet for your pc? Then yes- it's possible with apps. (called tethering. search for wifi tether or usb tether in market or on xda...)
if you want to use your pc's connection - then probably not.
Click to expand...
Click to collapse
no i mean i donot have a wifi modem and i have adsl net modem and also with respect to battry problem in hd2 i prefer to use net with prob connection but many of builds did not have the internet pass through option
for this aim i like to know that is it posible to add this option to that kind of build as a for example apk software
I have the same issue,having the Internet Pass-Through function (which uses PC's connection on the phone) of Desire HD builds on the Desire builld would be great.
yap
its easy you can use your pc's wifi and turn it into a access point
and then using it trough the wifi
can't be easier than this
see,you left out the most important part: problem is that not all of the pc's have wifi!!!
There is also USB tethering, although you'll have to check if there's any builds with it working.
I don't bother with it as I use wifi tethering instead.
The program Connectify is working pretty good, to use my netbooks LAN connection as access point. Always use it abroad when in hotels without wifi and only wired internet. Works only with windows7 though.
Sent from my HTC HD2 using Tapatalk
I really feel the need to help the OP here. I don't have an answer to his question, but I do understand what he's asking for, and other people seem to be answering different things!!!
He want's to use a USB cable (not wifi) to allow his phone to use his PC's internet connection.
Tethering is irrelevant (that's using the phone's internet connection on the PC) and he does not have a wireless router so cannot use wifi on his phone.
In response to the OP, the only thing I've ever seen as a conclusive answer is that this cannot be done (there is no software that currently does it). That was an answer on a website from about 7 months ago though, and I am aware of the option on the Desire HD, so there is obviously a way to do it now.
I hope you find what you're looking for
johncmolyneux said:
I really feel the need to help the OP here. I don't have an answer to his question, but I do understand what he's asking for, and other people seem to be answering different things!!!
He want's to use a USB cable (not wifi) to allow his phone to use his PC's internet connection.
Tethering is irrelevant (that's using the phone's internet connection on the PC) and he does not have a wireless router so cannot use wifi on his phone.
In response to the OP, the only thing I've ever seen as a conclusive answer is that this cannot be done (there is no software that currently does it). That was an answer on a website from about 7 months ago though, and I am aware of the option on the Desire HD, so there is obviously a way to do it now.
I hope you find what you're looking for
Click to expand...
Click to collapse
IN the revolution HD 2.2 mdeejay NAND version - you have this option built in in this rom !!!
i used it - its working.
USB tethering is part of the Froyo OS. The problems you may have are that it does not work correctly with a lot of builds. Most of the HTC builds tend to work though.
Hmmm.... I also have the same problem.
I don't want to use the 3G Data connection for internet because it's expensive so it would be really useful to get internet through usb from a computer.
So far I only saw this option on M-Deejay's Revolution HD rom and for me it was kind of a heavy build. Worked kinda slow so I flashed a different rom which doesn't have the usb internet pass through.
I also tried Connectify. My phone connected to the computer's wireless but the internet didn't work. I tried disabling my firewall, opening ports, and other things but it just doesn't work. I think it has to do with the software not supporting all WiFi cards.
So now I'm having trouble getting on the internet with my phone to download apps. I have to go outside and look for some WiFi networks to do it and that kinda sucks
I think it finally works! I installed the latest Connectify beta version from here:
http://connectify.blogspot.com/2010/11/connectify-211-beta-up-for-testing.html
And it kinda works now! I think it's just a bit slow.
Pierrot Lunaire said:
I think it finally works! I installed the latest Connectify beta version from here:
http://connectify.blogspot.com/2010/11/connectify-211-beta-up-for-testing.html
And it kinda works now! I think it's just a bit slow.
Click to expand...
Click to collapse
Does connectify work via USB, or is it just wifi?
johncmolyneux said:
Does connectify work via USB, or is it just wifi?
Click to expand...
Click to collapse
Only works through wifi...
And I'm still having problems trying to make it work :/

[Q] Tethering Adam with a Windows Mobile device Adhoc, usb, or otherwise.

Hey All,
I have been messing with my Adam for a bit. I have been trying to figure a way to tether the device. I know Android 2.3 supports Adhoc networks, but not 2.2.
Although the Adam's kernal seems to be much higher revision than 2.2, the device itself only seems to have native 2.2 config options, with an Adam skin. With that said, I cannot get the Adam to tether/connect to an adhoc network, no matter what I try.
I have a Sprint Touch Pro. I can get it to detect as a 3G Usb modem in windows, and it automatically detects as such when hooked into a linux machine, but sadly does not do anything in Android/The Adam. The adam will pair with it over BT, but will not connect to it, and will not even see it in wifi-tether mode.
Any ideas? Is this something fixable with a settings change? Rooting? An app (on the phone or the adam?)
Any/all help or insight is appreciated.
Edit: I apologize, this was meant for the General Discussion. I don't see a way to move or delete this thread now, either. If the mods can move it, that'd be great. If not, I guess my questions still stand.
Assuming you want to tether to provide a more "mobile" internet connection:
Does your phone have some sort of WiFi tether app for it? If not you could attempt to run Android on your WinMo phone via Haret and then try installing a WiFi tether app and see if it works.
I would imagine to tether over USB Adam would need some type of drivers for mobile devices and that gets tricky. I would first try to tether Adam to a Windows or Linux computer with an Internet connection first, see if you can get that to work. Than go to your phone and try that. If it doesn't work from a computer it probably will not work from a phone.
If you want to tether for other purposes such as transferring files, SSH, SFTP, ADB, logcat, etc there are apps for those.
Correct, tethering for mobile internet.
I've actually tried the XDAndroid 2.2 and the 2.0.6 wifi tether app on my phone, but sadly it seems to create adhoc only, I've been unable to get it to create infrastructure, as well as it sometimes thinks it doesn't have root.
I'd have to get a male/male or female/female USB cable to try tethering to my PC, but i'll see if I can't figure that out.
Honestly, I'd be perfectly fine with Wifi tethering if the adam would detect Adhoc, as the XDA wifi tether android app can do that no problem.
Edit: On the windows mobile side, I've tried PDA net and internet connection sharing. Internet connection sharing supports Bluetooth DUN, but the adam doesn't seem to do anything with it, it'll pair but not connect to it. PDA net also seems to just do adhoc broadcast, which the adam cannot detect.
--removed--
You answered the question before I could post it. (if you have wifi tethering capability on your phone)
Eujin said:
Correct, tethering for mobile internet.
I've actually tried the XDAndroid 2.2 and the 2.0.6 wifi tether app on my phone, but sadly it seems to create adhoc only, I've been unable to get it to create infrastructure, as well as it sometimes thinks it doesn't have root.
I'd have to get a male/male or female/female USB cable to try tethering to my PC, but i'll see if I can't figure that out.
Honestly, I'd be perfectly fine with Wifi tethering if the adam would detect Adhoc, as the XDA wifi tether android app can do that no problem.
Edit: On the windows mobile side, I've tried PDA net and internet connection sharing. Internet connection sharing supports Bluetooth DUN, but the adam doesn't seem to do anything with it, it'll pair but not connect to it. PDA net also seems to just do adhoc broadcast, which the adam cannot detect.
Click to expand...
Click to collapse
So you tried 2.0.6 wifi tether app for WinMo? do you have a link for this app?
Er, no. I tried 2.0.6 wifi tether app for Android, running XDAndroid 2.2 for WM6. Link here to the app
http://code.google.com/p/android-wifi-tether/
I also tried wmwifirouter in windows mobile, link here http://www.wmwifirouter.com/
I had to replace my wpa_supplicant file to get ad-hoc networking working on my Dell Streak. Maybe its similar for Adam.
http://forum.xda-developers.com/showthread.php?p=10514373&highlight=hoc+found#post10514373
http://android.modaco.com/content/d...c-network-connection-for-streak/#entry1381049
http://forum.xda-developers.com/archive/index.php/t-863976.html
http://forum.xda-developers.com/showthread.php?t=754961
I'm trying to get in to modify the wpa_supplicant as mentioned, but I'm starting to think more and more the adam doesn't have superuser/root access like they've said, as all terminal apps I've tried have failed. Thanks for the heads up, though.
If anyone else finds any alternatives in the meantime, let me know.
You would replace the supplicant file on XDAndroid, not on Adam. The supplicant is for the system running wifi tether acting as the hotspot.
Ok, I feel stupid, but ptok's post makes it sounds like he modified the supplicant on his streak so it would see ad-hoc networks.
Wouldn't I want to modify the Adam so it can see ad-hoc, since my phone can already push out ad-hoc even in WinMo?
Eujin said:
Ok, I feel stupid, but ptok's post makes it sounds like he modified the supplicant on his streak so it would see ad-hoc networks.
Wouldn't I want to modify the Adam so it can see ad-hoc, since my phone can already push out ad-hoc even in WinMo?
Click to expand...
Click to collapse
Good luck with that. You're talking about reverse engineering drivers, recompiling kernels, and a lot of time spent for little gain and possibly no gain. It is almost always easier to attempt to get the wifi spewing device to act as an AP than it is to get something else to comprehend ad hoc networks. Besides, security is stronger with the former than the latter.
What about the XDA WiFi Tether from here. Is it any newer, is there an option for WPA? If not thats about all the help I can provide. You are probably going to have to go to XDAndroid forums and ask how to turn the phone into an AP or ask about WPA supplicant info.
Just remembered that some folks on XDA were trying to do the same thing with the Hero I think. They started some stuff and never finished, but did get WiFi Tether to support WPA which is a step in the right direction. You could hunt around the Hero CDMA dev forum and see if anything exists.
Sorry I couldn't help more.
Just read this thread at Notion Ink Hacks that ad hoc should work...
http://notioninkhacks.com/forums/vi...sid=0ee5dff6243da9c4d02433800dd9f4b1&start=60
Sent from my Evo
webs05 said:
Just read this thread at Notion Ink Hacks that ad hoc should work...
http://notioninkhacks.com/forums/vi...sid=0ee5dff6243da9c4d02433800dd9f4b1&start=60
Sent from my Evo
Click to expand...
Click to collapse
I get a "You are not authorised to read this forum" when I try to follow this link. However, I do see that the Notion Ink Hacks update includes Adhoc. Cool.
Tried that on my friend's Adam. It worked.
I can confirm that the NIH updates have enabled ad-hoc tethering, and it works great.
Ad Hoc
What ROM did you use that Ad-Hoc worked on? I am running EdenX and I can connect to an ad-hoc network, but not actually use the internet access through the connection.
[Edit]
I was using WMWifiRouter, which resulted in the scenario identified above. I downloaded the HTC Wifi app that I found in one of the other XDA forums, installed it on my phone and created a hotspot with it and it worked fully. Apparently there is something different in the HTC implementation as compared to the WMWifiRouter app implementation that lets one work fully and the other only to allow a connection, but not access the internet.
WiFi Tethering Adam and Nexus One
Eujin said:
Hey All,
I have been messing with my Adam for a bit. I have been trying to figure a way to tether the device. I know Android 2.3 supports Adhoc networks, but not 2.2.
Click to expand...
Click to collapse
I simply set my Nexus One as a WiFi Hotspot ... configure it with a SSID and WPA2 PSK security and a Password ... then turn on the WiFi on the Adam and enter the Passphrase. Away it goes. That is why I ordered a WiFi only model.

New Desire Z User. Can't use connectify wifi??

So i just got the phone today. In my home I don't have a router, but my laptop is connected, so i usually use my laptop to open wireless via connectify for other wireless devices in the house.
my old sony ericsson mobile phone uses the wifi fine, so does my NDS and gf's iphone4. however my desirez does not even see the wifi network at all.
i did some googling and it seems android phones do not recognize adhoc networks?? is there some simple steps anyone can help me with now?
i have yet to root my phone, and i really dont want to buy a whole new router just for it. thanks.
For connecting your android to ad-hoc network you need to
root and patch ,but there are other ways too ,you can setup
a virtual router if you are using linux there are lots of tutorials around
that you can follow .if you are using windows 7 you can use connectify me.
you mentioned you are using connectiry did you mean
"connectify me" for windows 7 ?? because if you are using that
your phone should see the network and connect to it with no
problem, because connectify me is NOT an ad-hoc network
it act as a virtual router and thats the hole point to it.
i am using connectify on windows 7, and all my other devices see the connection except my desire Z. Connectify says the mode is Ad-Hoc, WEP.
So, I was wondering if that's why my new phone can't see it?
it's funny because a month ago my brother bought HTC Mozart (win7phone) and he couldnt use my connectify and i thought win7 sucks. well i guess it's HTC that sucks.. since my old sonyericsson and iphone can both catch the signal...
would be really great if there is easy way for me to use it..
right now i basically have to use the USB to let the phone use the internet, since i have no phone plans yet.
thunder9111 said:
i am using connectify on windows 7, and all my other devices see the connection except my desire Z. Connectify says the mode is Ad-Hoc, WEP.
Click to expand...
Click to collapse
Ok this is the problem .you are running connectify in ad-hoc mode and
android doesnt support that .you need to switch the mode to access point instead of ad-hoc and then it will work without any problem.
setup connectify again and choose access point instead of ad-hoc.
oh crap i just checked, seems like my laptop doesnt have a win7 compatible device that allows me to share through access point..
sigh.. all i can do is ad-hoc sharing. are there any other ways?
thunder9111 said:
oh crap i just checked, seems like my laptop doesnt have a win7 compatible device that allows me to share through access point..
sigh.. all i can do is ad-hoc sharing. are there any other ways?
Click to expand...
Click to collapse
Buy a cheap router?
Sent from my T-Mobile G2 running Cyanogenmod.
root your phone and patch it is the easiest method. You'll get other benefits from rooting, and it's quite easy now. there are walkthroughs in the development subforum.
If connectify is sharing your network as adhoc mode, is because your wifi card is not fully supported.
You can get a compatible one for few bucks.
Altenatively google a bit for ad hock enabled mods, but I havent tried that mods on DZ.
so i take my laptop to an electronic shop asking for a win7 compatible wifi card?
how much do they usually cost?
i guess this would be easier than rooting my phone n going through the modifications or buying a new router.
thunder9111 said:
so i take my laptop to an electronic shop asking for a win7 compatible wifi card?
how much do they usually cost?
i guess this would be easier than rooting my phone n going through the modifications or buying a new router.
Click to expand...
Click to collapse
Just look on the connectify site for the compatible chipset list, then you can look @ebay or other online resellers to buy one.
Usually they cost less than 20/25$ but is frequent to find one for something like 5$, maybe used.
fix
replace wpa_supplicant file with this one in /system/bin/
http://www.mediafire.com/?tkxg6c0s386cnlc
make sure u have a root access. also don't forget to make a backup of your original file.

Wifi Connection shared as a Wifi Router

Hi,
as there are no threads about this (i havent found anything), i will post a new one.
my main question is: is it possible to get a wifi connection on your phone and share this connection at the same time through wifi (so you get a wifi hotspot or whatever)? (android, windows mobile, windows phone -> whatever, got a HD2)
it works on multiple computers with windows 7, but i never got how to do that with ma HD2.
hopefully,
sallal
EDIT: forgot the [Q] thing, sry
as no one replies
#push
they're are many apps that can do this, just search WIFI tether in the market (android), IDK about WM7 though.
For android you can also run CM7 which has tethering built into it. I use it and it works like a charm, it's fast too.
Sorry for my question ,but with this program i can use my tablet as a router?
I have 3G so i can use this connection for internet and WIFI for make my tablet a router?
the app allows you to "tether"/use your device as a router. SO yes.
The are CMInternetSharing package that is used to share internet connection from a Mobile (that we get using GPRS/3G) as a WiFi Router to others...
If you have a WiFi Connection that your mobile is consuming then what is the need for re-sharing same connection from mobile?
Let me know if I am not sure about the question
Thanks.
Am no expert but i think this is true...
A wireless device can either be used as a client or as a router, you would need 2 wireless interfaces to do what you are looking for. When the tether apps start they configure your wireless interface as a router... I dont believe it can be running as both types at once.
but you most defenetly could use your 3g or whatever cell signal you have and offer it thru a wifi interface, you must have root access.
Cheers
maybe there is a way
you could switch the wifi with a 3g lookalike so 3g uses your wifi and then download a wifi tether i am looking for this quit a time and i diddn't found anything but this is al theory
I do it with a stock app of my device, it's calls "3g mobile's wifi point"
@Motorola Milestone 2
marlonmelieste said:
you could switch the wifi with a 3g lookalike so 3g uses your wifi and then download a wifi tether i am looking for this quit a time and i diddn't found anything but this is al theory
Click to expand...
Click to collapse
hmm that would be a thing i should look at...
i always used on windows 7 "connectify me", a program made for taking wireless internet connection or LAN and sharing it at the same time as a router.
the virtual wifi miniport is used for this i suppose.
maybe there is something like the virtual miniport to manage in windows mobile or android?
sallal said:
Hi,
it works on multiple computers with windows 7, but i never got how to do that with ma HD2.
hopefully,
sallal
EDIT: forgot the [Q] thing, sry
Click to expand...
Click to collapse
I use one from the XDA forums, search for wifi router
It works great on my HD2 with WINMO
sir,i have already mentioned.....try "mhotspot" easily converts ur lap/pc into wifi hotspot(n/w will be detected by android mobiles,worked for my ACE) its better than connectify because..we dont need to install it..and soo we can over come protocol related problems and system instability issues

ADHOC WiFi mode for N7

anyone have adhoc wifi mode working????
I'm also wondering...
But in the mean time, you can use FoxFi on your phone and Bluetooth tether it to your Nexus 7 via PdaNet Tablet.
ya....my media server runs in ad hoc mode......it will be a big bummer if I can't get it to work
anyone??
I also need this as well. My research suggests the wpa_supplicant file requires modification to enable ad hoc. I don't have the skills to accomplish this. Maybe a dev can help out.
janedoesmith said:
I also need this as well. My research suggests the wpa_supplicant file requires modification to enable ad hoc. I don't have the skills to accomplish this. Maybe a dev can help out.
Click to expand...
Click to collapse
i need this bad too but i cant try that wpa supplicant thingy until this weekend when i have more time...
i found a bunch of the "thingys" and none work
someone please help thanks
again?
Ad hoc is a spec that is archaic, and really only supported through 802.11g. For 802.11n chips like the one that N7 is using, I don't recommend using ad hoc before there is no guarantee of interoperability. There is a new WiFi feature called wifi direct that is supported in jellybean that can do what Yu need but it depends if you have this supported on the other side as well.
Thank you. I do understand the downside of ad hoc but due to circumstances beyond my control, I am only able to access the internet via a
ad hoc WiFi connection when I am mobile.
my kindle fire on CM9 had the same issue
I way playing with a Nexus 7 today in store.
checked to see if it would tether to my iphone 4s
newp, same issue, no adhoc
would have bought it there and then otherwise.
Same issue here. Just got a Nexus 7 and didn't know Android still doesn't support connecting to ad-hoc networks. Anyone know if there are any devs actively working on this?
I may have a solution. On prime, we had a similar situation where they nerfed the ad hoc tethering capability For a few firmware versions. How it was solved was by replacing a certain wifi supplicant file. There's a good chance it might work on this device also. Its pretty simple to apply. Here is the link to the thread and a link is in there also to the wifi supplicant file to Insert in your device. Its worth a shot. I believe you must be rooted though to make it work as it requires changing permissions of the newer file.
http://forum.xda-developers.com/showthread.php?t=1438297
Also a good chance one of our custom roms for nexus 7 will add in ad hoc tethering ability. Just ask if it supports it or politely ask for feature to be added.
i too would love and appreciate if anyone could get ad-hoc working. my old phone can only make an ad-hoc network for tethering, and i'd like to be able to tether it if i need to
Also would like ad-hoc so I can connect to my quadcopter.
Are we still in the dark on this one? No one has a solution besides Bluetooth DUN?
Anyone know of a rom that supports ad-hoc?
FOUND A WINNER!!!
This free app works for wifi tethering in "WiFi HotSpot" mode with password protection! All on stock 4.2.1
I hope that y'all find it as useful as I do. I see a paid version by the same Dev, but I don't really get what the difference is. This one seems to be a full version AFAICT.
spam
the app you are pointing to is a totally different thing, it is for sharing "your" android's internet connection with others devices, so please be very carefull when recomend something becasue we could thing you are putting spam here.
pierrejeanes said:
the app you are pointing to is a totally different thing, it is for sharing "your" android's internet connection with others devices, so please be very carefull when recomend something becasue we could thing you are putting spam here.
Click to expand...
Click to collapse
Several of the posts here address people's desire to tether their phone to their N7. And while the app I posted a link to doesn't help us connect to ad hoc networks, it may very well help some in this thread. I don't see how that could be misconstrued as spam.
Hello
I've been doing some research since I got my n7 wifi, I need to connect it with my nokia 808 with joikuspot, so far I got connected and some apps are working but others dont, it requires to root your device, install a custom kernel and copy a patched wpa_supplicant, the main problem seems to be that the android kernel doesnt support at all ad hoc (IBSS) networks, looking for an explanation at code.google.com even the developers complain that the android SDK lacks support to develop apps with ad hoc networks, AFAIK we need some android guru who can compile the ad hoc module into the kernel and patch the wpa_supplicant so it wont filter out ad hoc networks, you can check my findings here.

Categories

Resources