Go Back   Android Forums > Android Phones > Motorola Droid > Droid - How-to and Tips

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old November 13th, 2009, 01:04 AM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 243
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Droid Tethering for all Operating Systems! (tested in Linux)

Rooting not required! Amiga, OS/2, and several others need not apply but this will cover most of you. Providing most of you have Windows, Mac, or Linux.

I simply used these instructions:
Tether an Android Phone Using Proxoid - Linux Magazine Online

Code:
Only difference is that instead of putting what he did into his file put this:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c01", MODE="0666", OWNER="brett"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c02", MODE="0666", OWNER="brett"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct} =="41db", MODE="0666", OWNER="brett"
Change brett to your username. You may have to reload the rules (or just reboot) before things finally fully take off for you but I'm posting this tethered through my phone using this capability in Ubuntu 9.10 right now.

bthoward is offline  
Last edited by bthoward; November 13th, 2009 at 01:05 AM. Reason: Added that rooting is not required for this to work!
Reply With Quote
sponsored links
Old November 13th, 2009, 10:47 AM   #2 (permalink)
Member
 
blazingwolf's Avatar
 
Join Date: Oct 2009
Location: Virginia
Posts: 214
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Very nice find. Thank you.
blazingwolf is offline  
Reply With Quote
Old November 13th, 2009, 11:01 AM   #3 (permalink)
Junior Member
 
Join Date: Nov 2009
Location: NoVA USA
Posts: 31
 
Device(s): Moto Droid
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks will try this on my EEE 901 running Ubuntu 9.10
Ainvar is offline  
Reply With Quote
Old November 15th, 2009, 01:40 AM   #4 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 243
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I wasn't able to get pidgin to connect properly in what little testing that I did. I also can't get vpn access to work properly as network manager isn't managing the connection and therefore wont let you initiate its vpn connections. If you get this stuff please post. Ill try again later but for now meh its there. Kinda worthless for me without vpn but we shall see. All in due time.
bthoward is offline  
Reply With Quote
Old November 16th, 2009, 07:55 PM   #5 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Unfortunately it did not work for me
I get device not found when I run adb
At first I thought it was because my product id was different (which is 41d9 btw). Changed the rules file to reflect that, no go, even after restarting udev and rebooting my system with the droid attached as suggested on the developers page.
aussiedude is offline  
Reply With Quote
Old November 23rd, 2009, 11:08 AM   #6 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nice find. I'll give this a shot with my Dell Mini9 running Ubuntu 9.10
NoisufnoC is offline  
Reply With Quote
Old November 23rd, 2009, 12:08 PM   #7 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 243
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by aussiedude View Post
Unfortunately it did not work for me
I get device not found when I run adb
At first I thought it was because my product id was different (which is 41d9 btw). Changed the rules file to reflect that, no go, even after restarting udev and rebooting my system with the droid attached as suggested on the developers page.
Are you sure that you turned on USB debugging and rebooted? Also if you're using any other USB cables try using the one that came w/ the Droid.
bthoward is offline  
Reply With Quote
Old November 23rd, 2009, 06:08 PM   #8 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yep, did all of the above. I ended up replacing the device as it would no longer boot (unrelated to this for anyone concerned it might brick their phone). Will try again.
aussiedude is offline  
Reply With Quote
Old November 23rd, 2009, 06:27 PM   #9 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by aussiedude View Post
Yep, did all of the above. I ended up replacing the device as it would no longer boot (unrelated to this for anyone concerned it might brick their phone). Will try again.
Ok, so I tried again;
error: insufficient permissions for device
aussiedude is offline  
Reply With Quote
Old November 23rd, 2009, 07:53 PM   #10 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 243
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think your configuration file is either setup wrong or you need to restart to make the file run...
bthoward is offline  
Reply With Quote
sponsored links
Old November 23rd, 2009, 08:19 PM   #11 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bthoward View Post
I think your configuration file is either setup wrong or you need to restart to make the file run...
Rebooted both the phone and my eee-pc, same error. Here is the content of my config file:
Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c01", MODE="0666", OWNER="graham"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c02", MODE="0666", OWNER="graham"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct} =="41d9", MODE="0666", OWNER="graham"
aussiedude is offline  
Reply With Quote
Old November 23rd, 2009, 08:25 PM   #12 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 243
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

have you tried running adb w/ sudo privileges?
bthoward is offline  
Reply With Quote
Old November 24th, 2009, 01:40 PM   #13 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I encountered the “insufficient permissions for device” problem with Ubuntu 9.10. What worked for me was:

1.on phone:
settings->applications->development; enable USB debugging
start proxoid

2.on laptop (after installing Android SDK and adding 90-android.rules)

cd android-sdk-linux/tools
./adb kill-server
sudo ./adb start-server
./adb devices
./adb forward tcp:8080 tcp:8080

Change Network settings to manual proxy configuration with HTTP Proxy=localhost and Port=8080

And that worked perfectly.
iefbr14 is offline  
Reply With Quote
Old November 26th, 2009, 12:26 PM   #14 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

@bthoward Yes I tried running as sudo, same problem

@iefbr14 Thanks, I'll give that a shot when I have an opportunity
aussiedude is offline  
Reply With Quote
Old November 26th, 2009, 01:18 PM   #15 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 243
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by aussiedude View Post
@bthoward Yes I tried running as sudo, same problem

@iefbr14 Thanks, I'll give that a shot when I have an opportunity
I'd think that what aussiedude mentioned was a restatement of what was in the article. So yea hopefully you can follow that and get there from here.

The only issues i've got so far is that the connection isn't managed by NM so you can't use its VPN facilities and you can't properly resolve DNS addresses from the console because its trying to go out directly and its not accepting the system wide Proxy setting that I've already configured.

I think that Pidgin wasn't working either.

I find that usually I have an ability to get on from the locations where I frequent so its not all that needed. But one of these days when I really need it I'll move forward and debug that further.
bthoward is offline  
Reply With Quote
Old November 26th, 2009, 01:49 PM   #16 (permalink)
New Member
 
Join Date: Nov 2009
Location: Long Island, NY
Posts: 5
 
Device(s): Motorola Droid
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Works great in Mac OS X.
IslesFan is offline  
Reply With Quote
Old December 19th, 2009, 05:29 PM   #17 (permalink)
New Member
 
Join Date: Dec 2009
Location: Seattle, WA
Posts: 3
 
Device(s): Verizon Droid
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Tether your Verizon Droid to Ubuntu GNU/Linux

If you're looking to tether your Verizon Droid to Ubuntu GNU/Linux, checkout this page:
Linux + GNU = Humans Enabled: How to Tether your Verizon Droid (as an Internet modem) to Ubuntu GNU/Linux 9.10

Cheers!
Shannon V.
Shannon_VanWagner is offline  
Reply With Quote
Old December 23rd, 2009, 01:23 PM   #18 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 25
 
Device(s): DROID!!!
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

+1 for Shannon V.'s suggestion.

azilink works great, and since it uses VPN rather than a proxy, you can use it with any internet applications on your laptop, not just http.
d-man is offline  
Reply With Quote
Old February 18th, 2010, 09:07 PM   #19 (permalink)
Senior Member
 
Join Date: Oct 2009
Location: Washington, DC area
Posts: 1,362
 
Device(s): Motorola Droid 2 R2D2 edition, Motorola Xoom with over 100 RELEVANT, working apps added (NE2 2/17/20
Carrier: Not Provided

Thanks: 150
Thanked 116 Times in 93 Posts
Default

Is the source for that linux method available? I am hoping to recompile it to Xandros to work with my stock EEE PC. Is that a fool's errand?
3devious is offline  
Reply With Quote
Old February 25th, 2010, 01:29 PM   #20 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 25
 
Device(s): DROID!!!
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

3devious - The only things you'll need to install on the Linux side is:
1. The Android SDK - it's Java, so no compilation needed
2. OpenVPN - it's open source of course - I don't know about Xandros, but it's probably easier to get the packages for your distro rather than compiling it yourself

Have fun!
d-man is offline  
Reply With Quote
The Following User Says Thank You to d-man For This Useful Post:
3devious (February 26th, 2010)
sponsored links
Old February 26th, 2010, 06:53 AM   #21 (permalink)
Senior Member
 
Join Date: Oct 2009
Location: Washington, DC area
Posts: 1,362
 
Device(s): Motorola Droid 2 R2D2 edition, Motorola Xoom with over 100 RELEVANT, working apps added (NE2 2/17/20
Carrier: Not Provided

Thanks: 150
Thanked 116 Times in 93 Posts
Default

I now have a project tomorrow morning. Thanks.
3devious is offline  
Reply With Quote
Old February 28th, 2011, 02:34 PM   #22 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using motorola quench xt3 xt502. The above method is failing me. When I connect the phone to pc, it is not recognizing it. I had to buy the usb cable from the service centre, as no cable came with the phone. Is this a reason why my phone is not recognised ?

pls help.
farmerjohn73 is offline  
Reply With Quote
Old November 27th, 2011, 07:19 PM   #23 (permalink)
Junior Member
 
rottenpixies's Avatar
 
Join Date: Nov 2010
Location: New York
Posts: 52
 
Device(s): Droid X2, HTC Thunderbolt
Carrier: Not Provided

Thanks: 0
Thanked 5 Times in 4 Posts
rottenpixies
Default

this works with macs: USB Tether No Root Required
rottenpixies is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - How-to and Tips
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:39 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.