As we don't have a Droid forum here yet, or anything for Android 2.0 AFAIK, this seemed like the best place to start the conversation. Feel free to move it, if there is a better place, but the question is specifically on networking and how two different phone OSs handle it.
If you don't know what an ad-hoc network is, I'll summarize by saying that, in my lexicon, it is a way for wireless devices to form connections with each other, allowing any Internet connection on the network to be shared by all. A more precise definition is here: http://en.wikipedia.org/wiki/Mobile_ad_hoc_network See also "mesh network" and "Wifi Tethering".
So.. I am considering upgrading my Titan to a Droid. Frankly, the main thing that is keeping me from doing this is that I can't give up WMWiFiRouter. WMWiFiRouter sets up an adhoc wifi network with (or without) security, thus sharing my 3g connection with all I give my network key to.
After finding & buying this program, I was able to drop my $60/mo (or w/e) EVDO card account. So. it is worth it to stay on a Titan till I am sure my phone can be used to connect my laptop/netbook/wife's ipod to the Internet while I am out of my house. I work from home so if I don't have portable wifi access I go stir crazy after a few weeks. I hear "Wifi Tethering" is going to become a product for VZW, but we all know that means it could be a year or three away. Can you all help me decide if upgrading to a Droid is possible. Do any of you have any experience with ad-hoc networking on a Droid?
Here's what I've found so far:
It's possible to have a G1 access an ad hoc network if you "root" your phone and change ini settings to allow it. (Also assign a permanent IP address to all adhoc network members). See: http://modmygphone.com/forums/showthread.php?t=22681
I do not know if this works on Android 2.0. I do not know if Verizon has put something in place to block this. Does anyone have any experience in this area or have a Droid that they can test with?
Your help would be appreciated!
Additional info I've found:
"Rooting" is not yet possible on a Droid. Eliminating the fix mentioned above.
http://droidie.com/2009/11/10/can-android-tether-today-for-0-extra/#comment-121
PDANet is a program that allows USB and bluetooth tethering on all "recently released Motorola and HTC [Android] phones" kkww
For those following along, this is the most promising thread I've found on rooting the Droid.. http://www.alldroid.org/viewtopic.php?f=210&t=431&start=280 This link starts you around page 29, which will be near the end for a little while...
I'm really beginning to wonder if I shouldn't just stick to a touch pro2 since I have a slick setup atm and google maps will release turn by turn voice to all in due time.
The problem is that I want to play!!! and android is calling me..
Have you made any progress on getting a Droid to recognize the WMWifiRouter network? I have a Droid with the router program running on a HTC TP2...there's an app called Hidden SSID Enabler which should resolve thi problem but I haven't been able to figure out what the SSID # is for the TP2...any thoughts?
Bump. Similar situation for me. I run WMWifiRouter on my Sprint Touch Pro and use it several hours a day. I'm ready to switch to a newer phone but want to make sure I can set it up as a ad hoc wifi spot. I'm torn between the Droid and the Nexus One but doubt T-Mobile's network is robust enough for what I need so at least for now, the Droid is the front-runner (I'll believe the N1 will work on Verizon when I see it -- could be 6 months or more).
Any update? Thanks!
I contacted the support folks over at WMWifiRouter and got this reply:
Our apologies for not getting back to you sooner.
Indeed, Android devices by default cannot connect to ad-hoc networks. A rather silly restriction, as the
device is more than capable to use these networks - Google just didn't build it into the interface.
Note that an ad-hoc network and a Hidden SSID are two unrelated things.
Unfortunately, there is no way around this issue unless your device is rooted. In that case we still cannot
tell you which commands to execute to be able to connect, but we know it is possible if you have root.
Kinds regards,
WMWifiRouter Customer Support
In looking through the "rooting" thread above it seemed way too complicated for me to attempt...if anyone can post or direct me to an "idiot's guide" tutorial for rooting a Droid I'd be most appreciative.
Hey guys, rooting for the droid is here already, some info can be found here
"i cannot post outside links..."
so what happends after you root your droid?
Bump, and I've found this thread:
code.google.com/p/android/issues/detail?id=82
about the official development of this feature, and I saw, although there are tricks that works for the G1 and the older phones, it is not working for the droid or those newer ones.
Hi
I have found the solution. I am using Ubuntu 10.04 and Using superfroyo2.2 on my HTC dream. I can connect to wifi adhoc network of my PC and enjoying internet on it.
I have attached the zip file. Please extract the file to get tiwlan.ini and wpa_supplicant.conf file. Replace your mobile's file with these ones and enjoy ad-hoc wifi.
You can use below commands, with mobile connected to PC via usb to replace the files:
adb shell
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# exit
> adb push tiwlan.ini /system/etc/wifi/tiwlan.ini
> adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
> adb shell
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
# exit
I was using ubuntu bash and I placed both files in the tools folder of SDK. and then I ran the commands from that directory so that no path issues arise.
One more thing, You should create adhoc wireless with SSID iBM and leave it open without security key.
Hey, all apologies if it DOES work, since I havent tried it yet, but when I view the tiwlan.ini file you've included in the zip file, it still says wifiadhoc=0
the .conf file IS setup to use your SSID name if iBM like you were saying though...
so I THINK you might have included the wrong file... but hell, I've been wrong before... I screwed up my wifi messing with this, so I'm just gonna try your files anyway, since they'll probably at least set me back to where I was...
adol
OKAY, so I guess I've gotta apologize- I just tried it, and danged if your files didn't work like a charm... so, my next question is; how did they work, when wifiadhoc=0?
Am I somehow seeing the contents of the file incorrectly, or is it something along the lines of you having set up a static ip or something? I'm gonna look into it a bit, which I haven't done yet, so if either of the things I just said made no sense, just disregard them and go ahead with the explanation...
Anyways, thanks for posting those files; I was starting to get rather frustrated with my inability to get this stupid crap to work.
adol
ok a few quick questions
has any one tested this on a sprint epic
is there a 1 click install for this pack
ive got some skill but this is defiantly out of my range
thanks
installing cyanogen mod 7 should resolve your problem...
guys y to roor the phone?install cyanogen 7 etc??
i think only some expert guys(i.e who can deal the problems their on without any suggestions) can deal with such kind of thngs...insted if we creat a virtyal access point,,thats better i think..
try using mhotspot...
Wifi Connection shared as a Wifi Router...see this thread...
Indeed CM7 does solve ad hoc networking problems. I've yet to find a suitable solution on froyo, although google gave me plenty of stuff to try.
cm7 ?
I have CM7.1 running but I still cant see any ad-hoc wifi networks!
I tried replacing the tiwlan and wpa_*.conf files but that just messed up my wifi worse.
jumblies said:
Indeed CM7 does solve ad hoc networking problems. I've yet to find a suitable solution on froyo, although google gave me plenty of stuff to try.
Click to expand...
Click to collapse
Related
Hello,
I was searching the forum and the internet and apparently android does not support ad-hoc wifi networks. While I don't want to comment the reasons behind this I would like to find out if it is also possible to connect X10 to an ad-hoc wifi network and how. Do we need to wait until somebody will root the phone or...?
Thanks,
Mugur
http://mugur-ionescu.ro/tag/xperia
i'm not sure if this has anything to do with that but there is an app on the market which allows you to share files via ad-hoc
it's called hoccer and works fine with my x10
I tried the same thing.
It doesn't detect any ad-hoc wifi which sux.
I tried adding it manually but is not connecting.
If you find something, please let me know.
My X10 will happily connect to an adhoc network running on my Mac
MobileBritain said:
My X10 will happily connect to an adhoc network running on my Mac
Click to expand...
Click to collapse
More details please. Did you try with windows ad hoc wifi networks?
Mugur
http://mugur-ionescu.ro/tag/xperia
What do you want to know ?
Mac running OS X 10.4.11 connected to a Vodafone USB modem for mobile broadband shared via ad-hoc network via internal airport (WEP protected). X10 connects to network and can use internet connection.
I haven't tried it with a Windows PC but I can try it with an XP machine if you want.
does your x10 can also select the wifi key index?
I have not figured yet how.
MOD EDIT - Moved to general forum as not related to android development
anyone have any answers to this? If there's a way to connect to ad-hoc.
do you guys think this will work with the x01? found this thread: http://forum.xda-developers.com/showthread.php?t=754961
In Windows 7 and maybe Vista, there is another solution.
Turn the adhoc into a virtual AP, if it is capable of making an adhoc, then it will provide a virtual AP, some adapters are not capable.
using the cmd line in windows 7 type in the following, with your own SSID and Key of course;
netsh wlan set hostednetwork mode=allow ssid=yourSSID key=YOUR PASSWORD keyUsage= persistent
Share the internet connection with the virtual AP now present in the adapter list.
Use either automatic IP configuration or manual to setup wireless devices.
I use automatic setup for the virtual AP and manual for everything else. This seems to be the most reliable method for me.
The connection will be setup with WPA2-PSK.
It will not reset on rebooting and will need to be restarted in order to become active again. The command for this is:
netsh wlan start hostednetwork
and to stop it:
netsh wlan stop hostednetwork
Connectivity with the x10 minipro is not consistent but with every other device on this virtual AP there is no issue, my son uses it to play online with his Xbox, DSi can browse the net and the WIFI toaster burns toast using it too. (JK)
I am arguing with SE about the connectivity issues in my phone, and I doubt they will admit to it being crap.
for any more info on setting up a virtual AP:
search for netsh wlan commands, the forum won't let me post links.
what about using a wifi tether from one phone and connect the x10 to that connection???
tried and my x10 didn't recognize it, my x1 did it tho
It is very annoying actually. Windows 7 folks use Connectify, while others simply connect through a router. Took me sometime to figure out it does not support ad-hoc connection. And so, I searched this forum, and someone had posted a method that required root.
It annoyed me that I had to root and edit files to make my laptop ad-hoc work on my phone, but oh well, after a month, I tried it yesterday. It does work, works great actually.
You'll need root access, and the root explorer. Start an ad-hoc connection on laptop, turn on wifi on X10, and add a network of the same name. Turn off wifi. In the root explorer, go to data/misc/wifi and edit the "wpa_supplicant.conf" file.
Add "ap_scan=2" right under the line which says "update_config=1". Also, add "mode=1" at the bottom of the code. It should look something like this then:
wpa_supplicant GROUP=system
update_config=1
ap_scan=2
network={
ssid="xperia"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Note: ssid is the name you give to your adhoc connection, in my case it is simply called xperia.
Save & Exit, and turn on wifi. It should connect to your adhoc connection. Works like a charm; however, I noticed the added lines can sometimes vanish by themselves, no idea about that.
The easiest way:just go virtualaccespoint.com and cr8 your acces point now u can coonect any device to the ad-hoc.
Of course its just 4 win7 and I tries it and works.
Sent from my X10i using Tapatalk
Akeeq said:
It is very annoying actually. Windows 7 folks use Connectify, while others simply connect through a router. Took me sometime to figure out it does not support ad-hoc connection. And so, I searched this forum, and someone had posted a method that required root.
It annoyed me that I had to root and edit files to make my laptop ad-hoc work on my phone, but oh well, after a month, I tried it yesterday. It does work, works great actually.
You'll need root access, and the root explorer. Start an ad-hoc connection on laptop, turn on wifi on X10, and add a network of the same name. Turn off wifi. In the root explorer, go to data/misc/wifi and edit the "wpa_supplicant.conf" file.
Add "ap_scan=2" right under the line which says "update_config=1". Also, add "mode=1" at the bottom of the code. It should look something like this then:
wpa_supplicant GROUP=system
update_config=1
ap_scan=2
network={
ssid="xperia"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Note: ssid is the name you give to your adhoc connection, in my case it is simply called xperia.
Save & Exit, and turn on wifi. It should connect to your adhoc connection. Works like a charm; however, I noticed the added lines can sometimes vanish by themselves, no idea about that.
Click to expand...
Click to collapse
Thank you so much..... this worked fine for me. I bought an Parrot ARDrone with this solution IT WOKRS very well .
yesterday i search about 5 hours to connect to ad-hoc networks.
sorry for my english
have a nice day i am so lucky
for xp useres
go to bzeek.com
download the small software
install it on your pc or laptop
it will create a hotspot for yo
then you can connect your phone to the internet through it
I tried this and sometimes it works and sometimes it will try to obtain IP then say Unsuccesfull. Then when I tried to add more wifi connections, now I cannot make it to work.
Did you change other settings? Thanks
Akeeq said:
It is very annoying actually. Windows 7 folks use Connectify, while others simply connect through a router. Took me sometime to figure out it does not support ad-hoc connection. And so, I searched this forum, and someone had posted a method that required root.
It annoyed me that I had to root and edit files to make my laptop ad-hoc work on my phone, but oh well, after a month, I tried it yesterday. It does work, works great actually.
You'll need root access, and the root explorer. Start an ad-hoc connection on laptop, turn on wifi on X10, and add a network of the same name. Turn off wifi. In the root explorer, go to data/misc/wifi and edit the "wpa_supplicant.conf" file.
Add "ap_scan=2" right under the line which says "update_config=1". Also, add "mode=1" at the bottom of the code. It should look something like this then:
wpa_supplicant GROUP=system
update_config=1
ap_scan=2
network={
ssid="xperia"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Note: ssid is the name you give to your adhoc connection, in my case it is simply called xperia.
Save & Exit, and turn on wifi. It should connect to your adhoc connection. Works like a charm; however, I noticed the added lines can sometimes vanish by themselves, no idea about that.
Click to expand...
Click to collapse
I have connectify running on my windows 7 pc and my phone is unrooted.
Still its get connected and everything is running just perfect.
I bought it just 3 days before. I recently updated to 2.1 through SE update service.
soujiro_50 said:
I tried this and sometimes it works and sometimes it will try to obtain IP then say Unsuccesfull. Then when I tried to add more wifi connections, now I cannot make it to work.
Did you change other settings? Thanks
Click to expand...
Click to collapse
What I have noticed is that if I restart my laptop, I have to remove the wireless connection, and make it again (only on my laptop, no changes on the phone). Only then the phone connects. But as my laptop is on for days at stretch, I don't really find making it again all THAT troublesome.
Akeeq said:
It is very annoying actually. Windows 7 folks use Connectify, while others simply connect through a router. Took me sometime to figure out it does not support ad-hoc connection. And so, I searched this forum, and someone had posted a method that required root.
It annoyed me that I had to root and edit files to make my laptop ad-hoc work on my phone, but oh well, after a month, I tried it yesterday. It does work, works great actually.
You'll need root access, and the root explorer. Start an ad-hoc connection on laptop, turn on wifi on X10, and add a network of the same name. Turn off wifi. In the root explorer, go to data/misc/wifi and edit the "wpa_supplicant.conf" file.
Add "ap_scan=2" right under the line which says "update_config=1". Also, add "mode=1" at the bottom of the code. It should look something like this then:
wpa_supplicant GROUP=system
update_config=1
ap_scan=2
network={
ssid="xperia"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Note: ssid is the name you give to your adhoc connection, in my case it is simply called xperia.
Save & Exit, and turn on wifi. It should connect to your adhoc connection. Works like a charm; however, I noticed the added lines can sometimes vanish by themselves, no idea about that.
Click to expand...
Click to collapse
Hello, I'm reading this forum for a month now and I've learned very much...
But I've got problem with connecting my rooted x10 Mini pro 20i firmware .24 to my laptop's AdHoc. It's still saying that "android isn't able to connect to adhoc" or something like that...
I wanted to modify wpa_supplicant.conf but I'm using windows 7 and after almost 1,5 day of googling I just can't find a way to edit the file....
I've got no experiences with Linux and in win apps I can't edit it...
It's looking like this in PsPad: songokussj4.abonas.com/screeny/2011-04-17_132913.png
Please, help me with the correct way to enable the connection to my AdHoc through my Laptop. It's essential for me.
And and "Virtual server" and "Connectify" -> I've tried that 2 weeks ago without success. I can't be AP I think. I've got Lenovo Thinkpad R61 15,4''.
Edit:
Ok. There was a problem in between chair and the computer... I was trying to edit wpa_supplicant [system/bin], not wpa_supplicant.conf [system/etc/wifi].
Well but the end is still the same.
I tried: copying 2/3 different kinds of wpa_supplicant [system/bin] files that are on this forum. The first one, that is correct with my version 5.6.x - wifi don't even start... Second one, 6.0.x - wifi started on the second try but can't scan anything. There is error and it's repeating to disconnect.
So I put there the original wpa_supplicant [system/bin] and I tried to modify the [wpa_supplicant.conf system/etc/wifi] and... without succes.
I was trying to edit it many times and -every time- the same notification when I was trying to connect to the AdHoc on my ntb... "Android don't support ad-hoc ... bla bla".
I'm at the end of .... I don't know what to do more...
My last spark in the night is that I'll try the Cyanogen rom 3.2 / 3.3. I read there is implanted AdHoc support...
Please, if you can, help me. Ask anything, I'll try to answer and I'll try anything that will help it to work.
Thanks.
SonGokussj4 said:
Hello, I'm reading this forum for a month now and I've learned very much...
But I've got problem with connecting my rooted x10 Mini pro 20i firmware .24 to my laptop's AdHoc. It's still saying that "android isn't able to connect to adhoc" or something like that...
I wanted to modify wpa_supplicant.conf but I'm using windows 7 and after almost 1,5 day of googling I just can't find a way to edit the file....
I've got no experiences with Linux and in win apps I can't edit it...
It's looking like this in PsPad: songokussj4.abonas.com/screeny/2011-04-17_132913.png
Please, help me with the correct way to enable the connection to my AdHoc through my Laptop. It's essential for me.
And and "Virtual server" and "Connectify" -> I've tried that 2 weeks ago without success. I can't be AP I think. I've got Lenovo Thinkpad R61 15,4''.
Edit:
Ok. There was a problem in between chair and the computer... I was trying to edit wpa_supplicant [system/bin], not wpa_supplicant.conf [system/etc/wifi].
Well but the end is still the same.
I tried: copying 2/3 different kinds of wpa_supplicant [system/bin] files that are on this forum. The first one, that is correct with my version 5.6.x - wifi don't even start... Second one, 6.0.x - wifi started on the second try but can't scan anything. There is error and it's repeating to disconnect.
So I put there the original wpa_supplicant [system/bin] and I tried to modify the [wpa_supplicant.conf system/etc/wifi] and... without succes.
I was trying to edit it many times and -every time- the same notification when I was trying to connect to the AdHoc on my ntb... "Android don't support ad-hoc ... bla bla".
I'm at the end of .... I don't know what to do more...
My last spark in the night is that I'll try the Cyanogen rom 3.2 / 3.3. I read there is implanted AdHoc support...
Please, if you can, help me. Ask anything, I'll try to answer and I'll try anything that will help it to work.
Thanks.
Click to expand...
Click to collapse
im sitting with the same problem...r u sorted? i read that connectify only works on 2.2 and upwards
I didn't see this mentioned in this EVO subform, so thought it might help others.
I got sick of dealing with terminal when there's a fully functioning, full size keyboard right in front of me. There had to be some way to telnet into the phone, or something similar.
Searching other subforums on here revealed "Adb over wifi" widget. http://forum.xda-developers.com/showthread.php?t=767353
http://www.appbrain.com/app/adb-over-wifi-widget/bohlool.net.wifiadb
This lets you use a wireless link instead of usb cable to access adb. Pretty slick! Also seems to work well over 3g and I imagine 4g - basically any network connection the phone has.
Download, install. There is no app, just add as a widget to one of the screens. To change settings, delete widget and readd.
Makes life so much easier!
Thanks, I'll give it a look.
Searching "ADB" in the Market revealed several similar apps, inlcuding a SSHd tool. This can make life much easier... I will test them all.
works pretty good, albeit a little slower
As expected. The more I got into tinkering with this, the more I wanted to see the source code. Since connections over 3g are possible, you can imagine the security issues this brings up.
VaelPak has had ADB over WiFi pre-installed for the last few revisions, though I've never used it.
gpz1100 said:
Since connections over 3g are possible, you can imagine the security issues this brings up.
Click to expand...
Click to collapse
First thing I thought when I saw this thread.....I like having the security of at least someone having to steal the device to get to anything on it...i don't want to help them out....
gpz1100 said:
... Since connections over 3g are possible, you can imagine the security issues this brings up.
Click to expand...
Click to collapse
I've tried tinkering with many of these, and none of them seem to work over 3G.
I'm not terribly worried about the security threats behind that, since I really only require this sort of connection for seconds at a time.
But it would be nice to be able to have a sort of system set up with tasker or something -- where I can send my phone a text message, force it to enable the ADB over network, and adb into my phone, even if its connected to 3G. (Perhaps Tasker may have to send a text back with the IP address to connect to, but you see, such a thing is not very far fetched, and from what I gather, this would be much easier than setting up an SSH).
I have it working just fine over WiFi, but how is it possible to enable ADB over the data network?
As it stands now, enabling ADB over a non-WiFi network returns an invalid IP (0.0.0.0)
Perhaps I would simply have to ignore the 0.0.0.0 IP it returns and get the IP with
Code:
# ip addr show
? Any ideas?
cool, but adb didnt pull my entire sd card when wired so why would this do any different.
cool, but adb didnt pull my entire sd card when wired so why would this do any different.
Click to expand...
Click to collapse
You can mount your entire sd card onto a PC using webdav servers.
In addition, you can now use adb over wifi on non-rooted Android 11 and up...you can now use adb over wifi
Some time ago I rooted my Eris and flashed KaosFroyo v37. Very pleased with this rom and liked the ability of having root privileges. I naturally installed Wireless Tether for root users and was able to share my 3g with my laptop, although this does not help me with my desktop as I don't have wireless on my desktop. I do however have bluetooth on my desktop. I was pleased to see that I could also bluetooth tether to my desktop using the same program. I paired the two together and enable the bluetooth option of Wireless Tether, got my desktop to connect to it and was all set to go. Opened my web browser, tried to go to google, no luck. Checked the phone and it was rebooting. What??? So I tried it again, same result. Tried it a few more time and kept an eye on my phone to find out at what point it was rebooting. I could have my computer connected to it through the bluetooth tether until I tried to surf the web from my desktop.
At first I thought that maybe the wireless program was just not completely compatible with the Eris. I tried different roms (KaosFroye v38, v39, Tenzo 2.2.1, Nonsensikal v13.2, 15.2,16.1) all with the same results. Just yesterday I was messing around with this little problem again. Did some digging around the internet and found alot of information about bluetooth networking with android and Linux. Was able to run pand command from android shell and found that it has Bluetooth PAN daemon version 4.47. I believe that all the correct bleutooth tools are installed, so than I ran "pand -l -r NAP" and was able to get my phone to be a bluetooth network access point. Connected my computer to it, tried to access it throught the bluetooth network, and guess what, the phone rebooted. Now I do not think that it has anything to do with Wireless Tether for root.
I did some more digging on the internet and found that the bluetooth network interface is supposed to be bnep0. I can not find and interface on my phone for bnep0. Ok. More digging, bnep0 interface is part of the kernel built from the module bnep.ko. I can no find that module on my phone. Do I not need that module? Is that module not built at compile time of the rom? Does the Eris hardware not evan capable of Bluetooth PAN?
Could some one shed some light on this subject. Would really like to tether my desktop to me phone as that is the only way I can get internet at home. Thanks
P.S. My desktop and laptop are both dual boot into Windows Vista or Ubuntu 10.10 and they both use identical bluetooth usb cards.
I don't have an answer for you, but just wanted to add that I'm curious if anyone is knowlegeable about this, too.
You can use wired tethering. If you need help doing so, I've done it a lot as it's my and my girlfriend's only internet and has been for the past five months, too. I use wired because the wireless seems to use battery power faster than it can be charged on the phone, plus it gets even hotter for me. As it is, even with wired tethering, I take the back off and let it sit in front of a fan face-down to keep it cooler.
You're mileage may vary, of course. In my experience both wired and wireless is fairly unreliable and easy to overburden so much that the phone loses it's internet until I do an APN Restore and reboot the phone. Sometimes a reboot of my PC is necessary, too. I don't know if you've had this experience with the standard wireless tethering. I also download a LOT, so this could be a factor.
Thank you for the reply. Yes i can use wired tether to do internet as well, and yes the phone does heat up. It has never gotten so hot that I had to do a restore on it yet though. If that happens I think I would have a stroke and probably keep the phone in the freezer while tethering.
I have been trying to find some type of answer to this problem. I have been searching around and trying to figure out how to compile this module but since I am not versed enough in the whole compile process I am kind of lost. I have downloaded and installed EasyDev v6 on my laptop running Ubuntu 10.10, nut that won't even compile the complete rom. I believe it downloaded all the source code it needs(took about 8 hours), when it was finished it told me where to find my new rom, but when I go there it's only a little over 4 megs in size. I will keep plugging away and if I come across some kind of info I will pose it here.
Well I think I figured out how to compile the bnep.ko module. Using my laptop, I found my kernel source and typed
'export CCOMPILER="$PATH_TO_SOURCES"/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-' and then
'make ARCH=arm CROSS_COMPILE=$CCOMPILER menuconfig'
I was able to select the options for compiling a new kernel. Under networking → bluetooth → bnep
I noticed that it was already enabled. Must be included in the defualt build of the kernel. I told it to build a new bnep module. Saved my config file, and then ran the make -
'make ARCH=arm CROSS_COMPILE=$CCOMPILER modules'
To my surprise it actually build me a bnep.ko module. I copied module to phone into /system/lib/modules/ and tried to install the module.
'insmod /system/lib/modules/bnep.ko' and it told me “insmod: init_module '/system/lib/modules/bnep.ko' failed (Exec format error)”
Great now what. Well I tried the whole bluetooth tether again and guess what, now the bluetooth won't even turn on. I removed the bnep.ko file and was able to enable bluetooth again. Well I guess I am no further along now then when I started, except I have a little more understanding of how to build a kernel.
I have installed PDANet on my Eris and the Toshiba Bluetooth Stack on my Laptop. I am able to use Bluetooth DUN without a problem. The wireless tether for root app would always crash my phone. I am going to try a android tablet in a few minutes. I am running TazzFroyo.
Hey guys just curious if there is a solution to reverse tether via usb on the motorola atrix. I've searched every post imaginable but nothing works for the Atrix. Come on XDA turn water in wine for me
Sent from my MB860 using XDA App
I was wondering how to tether via usb normally, I can't seem to find an option anywhere on my AT&T branded Atrix
It should be in your list of apps... there should just be an app called "Tethering" to preform your task. It's super simple to use as well just click of the "USB Tethering" option and your done but for further detail on tethering try just going in google and typing USB tethering on windows XP.
Sorry I would post a link to a good site but I'm a newbie and I need to do 8 posts before I can post links to external websites.
If you don't have the APP let me know and I'll find a way to get it to you.
But someone please help me out with my problem...
Thanks,
Ghettosean
ahh I see, unfortunately I don't have it and I assume it's because I'm running gingerblur without bloatware.. Would be great if you could somehow get it too me and in relation to your problem I don't think it would be easily possible unless you used wireless. Ad-hoc network with internet connection sharing.
Sent from my MB860 using XDA App
ghettosean said:
It should be in your list of apps... there should just be an app called "Tethering" to preform your task. It's super simple to use as well just click of the "USB Tethering" option and your done but for further detail on tethering try just going in google and typing USB tethering on windows XP.
Sorry I would post a link to a good site but I'm a newbie and I need to do 8 posts before I can post links to external websites.
If you don't have the APP let me know and I'll find a way to get it to you.
But someone please help me out with my problem...
Thanks,
Ghettosean
Click to expand...
Click to collapse
What? did I get ripped off? I haven't seen an app for tether that came with my phone. If that is true, then all the time the DEV's put into hacking to get it working was for not? use the search and look for tethering. the answer is close to what you said, but does not involve an "app". It is a setting within the wireless network settings, but selecting it alone does not get you tethering.
Ahh I have seen wireless tethering (but use barnacle instead) I was curious about USB tethering though
Sent from my MB860 in Australia
If any newbies want this app just email me and I will send it as for the people clogging my post I will send it by the end of the day... I just want help with my problem now and I know it wont be easy unless its wifi but it can be done with other phones on xp... im going to try and get it working effortlessly in linux this weekend... help xda!!!
Sent from my MB860 using XDA App
Maybe I am not understanding what your question. tethering is usually referring to being able to use the phone as an access point so you can surf the web from your computer using the phone as a "modem". what are you wanting to do with reverse tethering? If you are wanting to do what i described, go into the development threads and look for ARoot or gladroot. also I think most of the roms have this built in now also.
pdanet allows tethering through usb
mrphil101 said:
Maybe I am not understanding what your question. tethering is usually referring to being able to use the phone as an access point so you can surf the web from your computer using the phone as a "modem". what are you wanting to do with reverse tethering? If you are wanting to do what i described, go into the development threads and look for ARoot or gladroot. also I think most of the roms have this built in now also.
Click to expand...
Click to collapse
By reverse tethering I mean the opposite of what you have described and that is to use the internet provided on the computer onto your phone. This can be done and I will do it with red hat linux I'm positive that I can get this to work but to get this to work on windows XP is a different challenge with the Atrix in particular.
If anyone has any information please help a brother out!
ghettosean said:
By reverse tethering I mean the opposite of what you have described and that is to use the internet provided on the computer onto your phone. This can be done and I will do it with red hat linux I'm positive that I can get this to work but to get this to work on windows XP is a different challenge with the Atrix in particular.
If anyone has any information please help a brother out!
Click to expand...
Click to collapse
I don't know about USB tethering, but if your computer has a wireless adapter you could use it to create an ad hoc network to which your phone could connect. You could then use ICS (Internet Connection Sharing) in Windows to bridge your internet connection to your wireless one. That way your Atrix could use your computer's interntet connection wirelessly!
kevp453 said:
I don't know about USB tethering, but if your computer has a wireless adapter you could use it to create an ad hoc network to which your phone could connect. You could then use ICS (Internet Connection Sharing) in Windows to bridge your internet connection to your wireless one. That way your Atrix could use your computer's interntet connection wirelessly!
Click to expand...
Click to collapse
True but as far as reverse usb tether. I don't know about android but with winmo just by having the phone synced would allow for this. Have you tried the medi sync or any of the other option when you connect via usb to see if they allow for this?
Sent from my MB860 using XDA Premium App
ghettosean
if what you want is to find workaround of WiFi problems on unlocked Atrix, you'd better look for AT&T SIM (even nonworking, just to report the phone it's operator ID - there are lot at eBay). Currently this is the best solution. Also, member crnkoj is developing the solution HERE, but it is very complicated for now.
Old trusted WinMo born when WiFi on phone was just a miracle, so it was able to get internet through USB, but Android never dreamed there is an AT&T whith its stupid intervention in phone firmware.
Thanks for all the replies... I've found a solution and I can actually reverse tether over USB two different ways and I will share my findings in a week... I have one last snag. Full internet access but I can't download apps from the market even though I took down my firewall on windows... Give me one more week but if anyone has a solution to that new problem that doesn't include opening port 5228 let me know. Cheers!!!
Sent from my MB860 using XDA App
Solution
Hey all... I'm still having no luck downloading from the market or using other internet apps but browsing on the web seems to be fine with reverse usb tethering. here's what I have done:
1. I connect to my laptop via usb and I start up regular usb tethering (as if I'm going to give internet to my computer from my phone)
2. When I complete step 1 on the windows computer I see a new network icon pop up representing my atrix as an RNDIS networking device
3. From here in windows I right click on the internet connection that is providing the internet to the laptop or computer and select properties from here I click on the advanced tab and check the box that allows "internet connection sharing" there is also a dropdown to pick which networking device you want to share with I select the networking device that represents the atrix and click ok.
4. From here I restart my internet connection and then I right click on the internet connection for the atrix and select properties. On the general tab I select internet protocol (TCP/IP) and click the properties button and change my ip address manually and pick --> 192.168.2.1 with a subnet mask of 255.255.255.0 then click ok and ok again
5. From here I start adb shell (or you can use terminal on your phone if you wish) and type the following
su (to go into root or super user mode)
ifconfig usb0 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 dev usb0
setprop net.usb0.dns1 192.168.2.1
setprop net.dns1 192.168.2.1
iptables -F
iptables -F -t nat
setprop net.dns1 8.8.8.8
setprop "net.gprs.http-proxy" ""
after this ping www.yahoo.ca to be sure everything is working properly and if you get a response your good to go.
I'm assuming that everyone who is using these instructions has android sdk installed and there windows machine recognises the adb drivers for there phone as i'm convinced this will work with any android phone not just the atrix and I will test to confirm.
I wrote up these instructions pretty quick and I'll probably shorten them up as there is a few unessesary parts in the script for adb shell but everything will work and you should be able to but this will only allow you to use the internet and browse the internet with your phone this will not allow the market and other internet apps to work if anyone finds a solution to this it would be much appreciated.
Cheers all and ANDROID RULES!!!
Ghettosean
On the Atrix there is no USB tethering built in!
Chubby_Skunk said:
On the Atrix there is no USB tethering built in!
Click to expand...
Click to collapse
Should you have taken some time to read the thread, what you actually wrote wouldn't be an epic fail.
joyo22 said:
Should you have taken some time to read the thread, what you actually wrote wouldn't be an epic fail.
Click to expand...
Click to collapse
lol
reading comprehension is not this forums users' strong suit
good work too btw ghettosean, i know youve been working on this for some time as i saw op
There's a free software for windows call connectify that can convert ur xp into a wireless station...
Sent from my MB860
Ok since I have done this myself AND IT WORKED!!! What I have done is not a fail.... My atrix did come with tethering software and the app itself is called "Tethering" so sorry for those who do not have it but I will post another message today attaching the APK for this and how to install it. I'm at work and can't do this right now.
Why do people start bashing others before taking the time to ask for help?!?
I've attached the APK to this post you ungrateful whinny blood sucking... )@#$(@[email protected]*)[email protected]*)($*)@($*!!!
YOUR WELCOME BY THE WAY TO THE UNGRATEFUL ONES WHO WILL BENIFIT FROM THIS!
Anyone who has contributed to this post in a positive way a big thank you to them.
ok, I'm a total noob. I chose to buy the iconia because it had ports which the ipad doesnt have. I would like to teher with my iphone 3gs running pdanet. I read your forums. I rooted the iconia(thank you very much btw) n installed the new wpa supplicant. I also installed root explorer as per the instructions. I couldnt get the iconia to see the wifi hotspot eventhough I could see it on my laptop. I noticed that in the system/bin I had 2 wpa supplicant I removed the original one and after that the wifi woulndt work all I would get was an error. Even after I put it back it wouldn't work. Anyway to make a long story short I fiddle with the permissions on the original n got my wifi working again. Howeverr I still can't get the iconia to see the iphone hotspot. If you have any solutions I would greatly appreciate it. Also if u have a solution please consider that I'm a noob n would appreciate some sort of tutorial. Thank you very much.
domnoob said:
ok, I'm a total noob. I chose to buy the iconia because it had ports which the ipad doesnt have. I would like to teher with my iphone 3gs running pdanet. I read your forums. I rooted the iconia(thank you very much btw) n installed the newIt is not possible to have two files in the same place with the same name wpa supplicant. I also installed root explorer as per the instructions. I couldnt get the iconia to see the wifi hotspot eventhough I could see it on my laptop. I noticed that in the system/bin I had 2 wpa supplicant I removed the original one and after that the wifi woulndt work all I would get was an error. Even after I put it back it wouldn't work. Anyway to make a long story short I fiddle with the permissions on the original n got my wifi working again. Howeverr I still can't get the iconia to see the iphone hotspot. If you have any solutions I would greatly appreciate it. Also if u have a solution please consider that I'm a noob n would appreciate some sort of tutorial. Thank you very much.
Click to expand...
Click to collapse
It is not possible to have two files in the same place with the same name. Remember to put the tablet into airplane mode first. Then just rename the original to wpa_supplicant.bak, copy in the new one (make sure name is wpa_supplicant), and edit permissions on the new file to have execute for all. Turn off airplane. Copy the .bak to somewhere safe. That should be all you have to do.
Thank you for your answer. I moved the original file n put it on my sd card. Left the new wpa_supplicant_a500_wifi_adhoc in the system/ bin n changed the permissions but still got wifi error. Maybe I have the permissions wrong is it all check on read, first two check on write n 3 checks on execute?? N the special no checks ??
Moved as not development, please read the rules and post in the correct section ONLY.
I would like to do this as well. Right now, I have PDAnet on my iphone 3gs (jailbroken) and set it up as a wifi hotspot, but this is tedious and drains the battery. Bluetooth or hard tether would be preferable, but I think I'm just going to get an android phone and be done with this iOS crap.
I think android phones have the same issue. Read the forums if the wifi connection is an adhoc such as pdanet android os stick isn't designed to see it, which to me seems like a huge oversight.
I agree, it seems stupid that there is no native support for adhoc stuff. One should not have to root their phone for that functionality.
It like these manufacturers want you to buy their product, but are hell bent on preventing you from using it as anything but a expensive web browser. Just look at the list of all the stuff you can't do without "bending the rules" and rooting/hacking something.
There is no good reason for it!
Has anyone tried tethering via MyWi off Cydia? I just installed it to try out the trial but will not be able to test it out until later today. I'll give you guys and update, but I believe it also creates an adhoc network.
MyWi works, but has anyone been able to establish an L2TP over IPSEC connection over this kind of adhoc network tethering?
I took a look at the logs on the VPN server and looks like it never gets a response after the initial contact and just closes the connection because it declares the peer dead.
ipigi said:
Has anyone tried tethering via MyWi off Cydia? I just installed it to try out the trial but will not be able to test it out until later today. I'll give you guys and update, but I believe it also creates an adhoc network.
Click to expand...
Click to collapse
I tried to get MyWi to work, and it just doesn't. The wifi tethering hotspot seems to work (with the correct wpa_supplicant file), but PDAnet already does this for free. I was interested in either the hard wired or bluetooth functionality.
Simply put, bluetooth and USB tethering does not currently work on Honeycomb 3.1. I wish someone would prove me wrong, but everything I've read indicates that the support isn't there. I've seen a few people claim that they've gotten it to work, but they've never been able to back it up by explaining how.
Bluetooth tethering needs a specific profile, which does not appear in the settings window under the device when your iphone is paired. This should show up under "profiles" when you click the little wrench icon, but it doesn't appear to be there. Looks like you can pair with the iphone, but you cannot connect, which is the required step to get the profiles to show up. If you try to "connect" from the iphone side, it says A500 is not supported.
Furthermore, Honeycomb seems to have no embedded support for USB tethering. Hopefully someone can create an app which will allow an android tablet to be a USB tethering client.
Cheers,
-PW