New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
gersztoff
Old
#1  
Member - OP
Thanks Meter 0
Posts: 31
Join Date: Dec 2006
Default Tethering the Streak to another phone...

Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?

A friend tried with his Streak and BB (using PdaNet), but didn't have much success.

Thanks,

AG
 
alfri
Old
#2  
Member
Thanks Meter 0
Posts: 93
Join Date: Apr 2006
Location: rome
Quote:
Originally Posted by gersztoff View Post
Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?

A friend tried with his Streak and BB (using PdaNet), but didn't have much success.

Thanks,

AG

i use barnacle to connect with ipad.root necessary.
 
shogunmark
Old
#3  
shogunmark's Avatar
Senior Moderator
Thanks Meter 190
Posts: 3,418
Join Date: May 2006

 
DONATE TO ME
i have a US streak and im having issues getting it to tether to my HTC Aria (using wireless tether). Ive tried the original rom, the O2 1.6 and 2.1 rom. But still no luck, my laptop, and 2 friends ipods will connect through the aria, but the streak doesnt even see it.. So not sure whats going on!
 

Quote:
Originally Posted by y2kalpha
What is "power cycling"? How do you do it.
Thanks again
Will gladly accept Bitcoin donations!
1LV8EHVawmUcQf1kYAQD4UNcmM7F38mzXT
 
Pirates Revenge
Old
#4  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Aug 2010
I have a Sprint EVO 4G that can serve as a hot spot but haven't tried it with my Streak yet. But I plan to. I bought the Streak without activating the AT&T part. Don't need two cell phones.
 
gersztoff
Old
#5  
Member - OP
Thanks Meter 0
Posts: 31
Join Date: Dec 2006
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
 
anest.oem
Old
#6  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Aug 2010
Yeah Barnacle works.
 
Sony Ericsson Indonesia
Old
#7  
Junior Member
Thanks Meter 0
Posts: 13
Join Date: Nov 2008
Quote:
Originally Posted by gersztoff View Post
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
the archos 5 will not tether if u are using adhoc. found out the hard way... (long time ago before the streak came out i thought i could use that and tether with my iphone and it didint work.. apparantally it doensnt support adhoc wifi. but bluetooth tethering worked fine on the archos 5
 
rgsekula
Old
#8  
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Dec 2007
Default Maybe someone can get this to work?

Tried to connect to to my WM Omnia via WMWiFiRouter- No Dice.

tried using wpa_supplicant file attched below- i can see and connect to ad hoc network(s), but can not establish IP --> copied to /system/bin

the apk and files below look more promising but perhaps need editing by someone who actually knows what they are doing. the app installs and runs but there is a location mismatch.



then ran across this info here: http://www.slatedroid.com/pandigital...look-here.html
"Okay, I'm not taking 100% credit for this because all I did was modify the work that this user did:

'Originally Posted by YasinSiddiqui
NOTE: I'm using Rogerbraun Custom ROM 5.1 on Rockchip APAD, but I don't see any reason why this shouldn't work on the PDN too.

Hi Guys,

Finally figured this out.

Since the wpa_supplicant.conf file is read-only, an Android app can't modify the file. Hence, we were having to go back to connecting the APAD to the PC and use DroidExplorer to overwrite the wpa_supplicant file everytime we wanted to enable Adhoc Wifi.

I realized that when you upload a file to the APAD using DroidExplorer, it gets write permissions

And once you have the file with write permissions, an app CAN modify the file.

So, I've created a small app for easy switching between Normal and Ad-hoc wifi modes.

Here are the steps:
1. Step removed because the files were replaced (see below!)
2. Use DroidEXplorer to copy the 3 files: wpa_supplicant.conf, wpa_supplicant.conf.adhoc and wpa_supplicant.conf.normal to /data/misc/wifi folder
3. Install AdhocAble.apk using any File Manager or even DroidExplorer

Now, start up adhoc wifi tethering on your phone (Barnacle Wifi Legacy on Android, JoikuSpot on Symbian, WMWifirouter on Windows Mobile, MyWi on IPhone etc.) and set the adhoc SSID to: adhocable with NO password.

Remember that you have to Turn wifi off and on everytime you switch modes.

For experts: How the app buttons work:
1. Switch to Ad-hoc Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.adhoc
So if you want to change the adhoc SSID or give it a password, edit the wpa_supplicant.conf.adhoc before copying it via Droidexplorer

2. Switch to Normal Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.normal

3. Backup Normal Settings: Overwrite wpa_supplicant.conf.normal with wpa_supplicant.conf
This allows you to avoid having to type the normal wifi passwords every time. But, remember not to use this button when you are in ad-hoc mode, otherwise you'll lose all your saved wifi passwords.

4. Do let us know: opens up an email compose window so that you can tell me whether you like the app or not. Do write your name, country and details of which devices and ROMs you have.

My modifications to these instructions are as follows:

Instead of the supplicant files supplied by the user above use mine
Also feel free to open "wpa_supplicant.conf.adhoc" and change the SSID to whatever you want, i.e. I called mine "AndroidTether"

Also I didn't bother with any security because I'm just using the access control feature on my tethering program, I'm not sure if they all have this feature but basically, my phone tells me when someone is trying to connect and asks if I want to allow the connection before the device is assigned an IP.

1. download: "wpa_supplicant_files_WORKING.zip and unzip
1.1 Open "wpa_supplicant.conf.adhoc" and edit SSID to whatever you want
2. place "wpa_supplicant.conf" , wpa_supplicant.conf.adhoc & wpa_supplicant.conf.normal into the sdk's "tool" folder (where adb.exe is)
3. download "AdhocAble_apk.zip" and unzip
4. Place "AdhocAble.apk" into the sdk's "tool" folder (where adb.exe is)
5. Open the command prompt and get to the folder where your adb.exe iscd c:/where_your_sdk_is/tools
6. enter: " adb push wpa_supplicant.conf /data/misc/wifi "
7. enter: " adb push wpa_supplicant.conf.adhoc /data/misc/wifi "
8. enter: enter: " adb push wpa_supplicant.conf.normal /data/misc/wifi "
9. check to see the files are there by entering " adb shell ls /data/misc/wifi "
10. install the apk, you can use my batch file to do this if you'd like here
11. unzip the file manager batch script and place it in the sdk's "tools" folder (where adb.exe is)
12. open the batch file (it should open a new cmd window)
13. select 2
14. select 1 (install an app)
15. it'll ask for the name of the apk. Enter " AdhocAble.apk " exactly, its case sensitive.
16. reboot the PDN
17. Start your cell phone tether and set the SSID to whatever you set in the .conf.adhoc file at the begining
18. Open up the AdhocAble app and select "backup your normal settings", this should save all of the remembered infrastructure network's SSIDs and passphrases
18.1 select Enable Adhoc, it will prompt you to make sure to turn your wifi connection off and back on.
19. Do so.
20. You should see your cell phone's SSID in the connection list (remember the SSID is hardcoded into the .conf.adhoc file so you have to set it to the same thing in the tether program or vice-versa.
21. If you don't see the tether connection enter it manually

To get back to infrastructure - simply open the app and select enable normal mode and turn the wifi off then back on again - after a short bit you should see the networks as usual. It might take a bit longer to obtain an IP, but it should work...if not reboot the PDN and try it again.
Attached Files
File Type: zip wpa_supplicant.zip - [Click for QR Code] (129.3 KB, 277 views)
File Type: zip wpa_supplicant_files_WORKING.zip - [Click for QR Code] (2.6 KB, 307 views)
File Type: apk AdhocAble.apk - [Click for QR Code] (9.9 KB, 294 views)
The Following User Says Thank You to rgsekula For This Useful Post: [ Click to Expand ]
 
JouleNet
Old
#9  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Nov 2010
Location: San Jose, CA
Smile Another success - Flytouch2 / Eclair

What an adventure... I tried lots of different approaches to getting my 10" Flytouch2 running Eclair to my Moto Cliq the instructions in this thread formed a good basis for success. I had to make a few changes which I will describe.

First, I am using a rooted Moto Cliq (1.5 I think) running Barnacle to serve up Ad Hoc Wi-Fi. It worked great with my PC and iPad but I really wanted my Flytouch2 to have network access through the Cliq.

So far I have not yet been able to get the Flytouch2 to connect to my PC using ADB; this is a problem for another day. As such I was side loading until I realized that I could place APK's in Dropbox (great free app) and net-load?? them. I also had to get creative with Root Explorer and other file managers / editors to make the required changes

To accomplish this I did the following on my Flytouch2 (less the stuff that didn't work including a couple of bricking episodes)
- Rooted (permanent) painlessly using Z4Root
- Installed Root Explorer (essential for copying and renaming R/O system files)
- Installed TED to edit files
- Install ASTRO File Manager which is helpful for non root file manipulation activities
- Used Root Explorer to mark the /data/misc/wifi directory as R/W so files could be added/modified (the default is RO)
- Installed AdhocAble.apk which is nice but it turns out not really needed in my case
- Disabled Wi-Fi until done
- Installed the wpa_supplicant.conf.adhoc (after editing - attached and below)
- Renamed old wpa_supplicant.conf file as wpa_supplicant.conf.normal)
- Replaced wpa_supplicant.conf using wpa_supplicant.conf.adhoc (basically leaving backups of each in the directory)

After doing this and enabling Wi-Fi I was able to see and connect to my Cliq running Barnacle. I am also able to connect to my standard Access Point as well without any configuration change. The only issue is that I am not running any security but I think this is not a difficult update to the .conf file. I may add a second network SSID entry with a PSK and use "Wireless Tether" on my Cliq to test. For now I am just happy to connect and Barnacle allows me to screen and block all connection requests. The primary deviation from the great instructions earlier in this thread that got me up and running was the content of the wpa_supplicant.conf file. I used part of my original file and part of the file .adhoc file from earlier in this thread.
ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=system
update_config=1
eapol_version=1
ap_scan=2

network={
ssid="JJJ"
scan_ssid=1
key_mgmt=NONE
mode=1
priority=1
}
Obviously my SSID is set to JJJ (I like J's). I got my inspiration from a file I found buried in my Android file system (attached as ...notes.txt). It is not very interesting reading but it provides lots of clues and it explains the meanings of all the parameters.

So, Ad Hoc connection is possible possible on A Flytouch2 under Eclair.

Now, my rant... it is unconscionable that this is not supported natively in Android. I would speculate that this was a conscious decision by Google resulting from pressure from the big carriers. What I don't understand is how this capability is available in the iPad!? Apple would certainly bow to external pressure (witness the iPhone) from carrier relationships. They also come with $40/mo built in service... so go figure. Now I am delighted to use both my Android Tablet and my iPad with Ad Hoc WiFi served up from my Cliq on T-Mobile!

I hope my additional notes help someone else.
 
urphonesux
Old
#10  
urphonesux's Avatar
Senior Member
Thanks Meter 35
Posts: 380
Join Date: Jun 2008
Location: Captiva
Im gonna have to look at this tomorrow and see if i can finally connect to my omnia 2 running wmwifirouter


XDA PORTAL POSTS

Dos and Don’ts of Android Design

As long as you’re coming from some type of programming background, the unseen part of app … more

Expand Your Choice of Icons with Icon Themer

Icons are some of the most commonly themed elements of the Android UI, and there is certainly no … more

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more