Tether an Android Phone Using Proxoid
Productivity Sauce
The Android Market features a few tethering applications, so it should be easy to use your Android phone as a wireless modem. Well, that's how the theory goes, anyway. In practice, however, these applications require root access to your phone's system, so you have to "root" your phone before you can tether it. Rooting an Android phone is not for the faint of heart, though, and there is the ever-present risk of bricking your device. Meet Proxoid, a proxy server application that lets you use your phone as a modem without hacking its system. Making Proxoid work does require a few steps, but the entire process is simple enough even for uninitiated users. Here is how to make Proxoid work with an Ubuntu-based system.
Start with installing the Proxoid application on your Android phone from the Android Market. On your phone, navigate to Settings - > Application -> Development and enable the USB debugging feature. On your Ubuntu machine, create the 90-android.rules file:
gksudo gedit /etc/udev/rules.d/90-android.rules
Add the following line to it:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
Save the file and quit the text editor. Download and unpack the latest release of Android SDK. Connect the phone to the Ubuntu machine via USB and start the Proxoid application. Open the Terminal, navigate to the tools directory in the Android SDK folder and run the following command:
./adb forward tcp:8080 tcp:8080
The proxy server should now be running, but to be able to use it with Firefox, you have to modify the browser's proxy settings. In Firefox, choose Edit -> Preferences and switch to the Advanced -> Network section. Press the Settings button in the Configure how Firefox connects to the Internet group. Select the Manual proxy configuration option, then enter localhost in the HTTP Proxy field and 8080 in the Port field. Press OK to save the settings and close the window. Now you can browse the Web using the created connection.
Comments
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
Link to platform-tools ADB Everyone is missing!
unpack in android SDK folder
Link to platform-tools
navigate here and run
./adb forward tcp:8080 tcp:8080
there you go! the new SDK makes you launch the android shell in the tools folder. I had a hell of a time seeing as how i am in an RV and have not ethernet and could only download mac ADB. I used the motorola permission in the android rules and all has worked great. Im looking to forward all traffic but I am a novice with android !
proxoid tether
Motorola use:
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
If you have an HTC Android phone - use this rule instead of the one above:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
If you have the Samsung Galaxy Android phone, use this rule instead of the one above:
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
If you have the Sony Ericsson X11 Android phone, use this rule instead of the one above (Thanks to Steven from the comments):
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
adb command problem
when I tried to execute ./adb command, it says no such command or directory.
In the SDK i downloaded, there is a txt file which says :
"The adb tool has moved to platform-tools/
If you don't see this directory in your SDK,
launch the SDK and AVD Manager (execute the android tool)
and install "Android SDK Platform-tools"
Please also update your PATH environment variable to
include the platform-tools/ directory, so you can
execute adb from any location."
when I tried to execute android, it says : exec:113 java not found.
What should I do?
pls help.
Beware
"No such file or directory
So, obviously I'm missing something pretty basic, if you all are satisfactorily working with this.
But if anyone has a hint it would be greatly appreciated.
Thanks,
Mark
If you cant find no adb command in tools directory
To install it, after you install the SDK, go to the "tools" directory and execute “android”. A GUI will show up then click on “Available Packets” and under “Android Repository” , mark "Android SDK Platform Tools" . Click on "Install Selected". Done!
Regards,
Alexandre Andrade
http://www.androidnews.com.br
Like others I see no adb command in tools directory
Downloaded latest Android SDK.
Doesn't work for me
Any idea?
plan's cap
working on Ubuntu 10.10
tether
Bluetooth
I wonder if something like this could work over Bluetooth
Great!
I created a simple script to set this up for you - Also includes a Launcher on the Desktop.
http://www.humans-enabled.c...her-your-verizon-droid-as.html
Works fine with opensuse 11.2 as well
thanks for the description - I got it working with opensuse 11.2 and opera as a browser.
First I received the error
./adb forward tcp:8080 tcp:8080
* daemon not running. starting it now *
* daemon started successfully *
error: device not found
but then the permission hint worked.
Capitalism finally working
Tether Android
network proxy
Why Proxy
Thanks!
THANK YOU
I would like to say THANK YOU! I was struggling with this problem since I bought my G1 (1 year) and now finaly I made it, thanks to Proxoid!
Again, thanks a LOT!!
./adb problem
unable to execute ./adb: No such file or directory
same thing if i try sudo ./adb, but ls -l adb gives:
-rwxrwxrwx 1 petter petter 340920 2010-02-05 23:53 adb
probably a newbie mistake, but I have no idea where to go from here.. any help is appreciated!
Chrome
Is there a way to forward all IP traffic through the proxy? I would like to be able to use SSH, Ping, etc. I setup Google Chrome similar to how the instructions for Firefox are posted. I used the pull down menu "Customize and control Google Chrome" and chose options. A new dialog window pops up with three tabs. I chose "Under the Hood". There towards the bottom you see "Network" and below that a button "Change proxy settings" I then select the "Manual proxy configuration" radio button and select the checkbox "Use the same proxy for all protocols" Enter "localhost" for the "HTTP proxy" and port "8080" was selected already.
There is a button at the bottom called "Apply System-Wide" but I still cannot use my Virtual Machines and other ports. Any ideas???
insufficient permissions for device
For those who are getting the "insufficient permissions for device" error, try this:
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
3. Change network settings in your browser to manual proxy configuration with HTTP Proxy=localhost and Port=8080
All credit goes to iefbr14 at this post: http://androidforums.com/ho...s-tested-linux.html#post136254
teather droid
I can't follow it.
error: cannot bind socket
Hi There,
unfortunately it not working for me.
Everything is fine until:
./adb forward tcp:8080 tcp:8080
* deamon not running. starting it now *
* deamon started successfully *
error: cannot bind socket
Trying it via sudo doesn't help either. Is there anyone who knows what to do?
TIA Julian
Not a real solution
On Android it seems all this is not possible. Having to configure clients and then only being able to use a proxy for access instead of full internet connectivity is too much of a pain and a real downgrade.
Worked perfectly - Thank you.
thanks
works perfectly, thanks!
Works beautifully!
/etc/udev/rules.d/90-android.rules file as described on another forum (http://androidforums.com/ho...ing-systems-tested-linux.html) as follows
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"
Just changed the OWNER="brett" to OWNER="myusername" and yahoo!
Sending this comment over 3G!
THANKS!!!!!
Working well but unable to log into encrypted? sites.
No luck - until now
http://androidforums.com/ho...ting-systems-tested-linux.html
The secret is in the udev rules file.
sudo needed
sudo ./adb
the sudo command is needed for many administrative functions
No luck
I think the sticking point is with the adb command. When I ran it, I got the following output.
$ ./adb forward tcp:8080 tcp:8080
* daemon not running. starting it now *
* daemon started successfully *
error: insufficient permissions for device
$
Any thoughts? I'll check back.
Why the problem with providers?
Luckily I don't have a problem tethering and I never go over my cap. My provider blocks SIP which again is a sin in my eyes, what I run is my business since I also pay for a cell plan in addition to a data plan. This is why I didn't have any kind of cell phone until Android came along and brought some hope to this brutal industry. Still sucks being in N.A. but much better than before.
Motorola Milestone
SUBSYSTEM=="usb", ATTRS{idVendor}=="41d8", MODE="0666"
Tethering
According to http://www.t-mobile.com/Tem...p.aspx?PAsset=Pln_Lst_DataPlan , tmobile allows up to 10gb per month.
But, as you said, be careful. The same page specifically says tethering is prohibited.
Regards,
Christopher
Tethering
Reload configuration
sudo /etc/init.d/udev reload
and then it will all work.
New Linux phone from Vodafone
http://www.linuxphone.ru/fo...f=5&t=909&p=4339#p4339
The screenshots show social activity possible on phone.
depressing
depressing
Fortunately it's not like this in (most of) Europe, where I happen to live. We don't even have a word for tethering in my language, because it's something we consider so obvious. I've been "tethering" for pretty much all of this millenium and never gave it a second thought.
If a device is restricted in this way, I simply won't buy it - thanks but no thanks, especially to Apple!
Tether an Android Phone Using Proxoid