Shared publicly  - 
 
Update #1: Tether is now live on the Android Market! https://plus.google.com/103583939320326217147/posts/XGgEppQEYYp

ClockworkMod Tether Alpha (part 2)

The original post hit the 500 comment limit. If you are having any issues or have feedback, you can leave it here.

Original post:
https://plus.google.com/103583939320326217147/posts/1Yy1jb9z4TA
85
14
Alex Goodwin's profile photoJonathan Alonzo's profile photoFelix Estrada's profile photoJake Lafree's profile photo
500 comments
 
+Koushik Dutta I am getting the same error code as some others "Activity not started, its current task is brought to the front". Using GNex with MBA running Lion.
 
Just installed it on 64 bit openSuse 12.1, worked a treat, will check my bill now :D Nice work!
 
+Ash Turner It have no idea if it works on leopard; but it might. It works on Lion and Snow Leopard. What is the error?
 
Any way this could turn into something that would work with tablets? Or is this kind of an interim app until CM9 becomes fully active
 
It's failing for me on OSX 10.7.2. I'm getting this error:

/tmp/tun.kext failed to load - (libkern/kext) kext (kmod) start/stop routine failed; check the system/kernel logs for errors or try kextutil(8).
Error loading /tmp/tun.kext

and this in the system.log:



Jan 3 16:55:57 luke-mac authexec[95776]: executing /Users/ldriscoll/Downloads/android/Tether.app/Contents/Resources/darwin/setuid
Jan 3 16:55:58 luke-mac com.apple.kextd[10]: /tmp/tun.kext has no Info.plist file.
Jan 3 16:55:58 luke-mac com.apple.kextd[10]: Failed to load /tmp/tun.kext - (libkern/kext) kext (kmod) start/stop routine failed.
Jan 3 16:55:58 luke-mac [0x0-0xa56a56].com.koushikdutta.Tether[95774]: /tmp/tun.kext failed to load - (libkern/kext) kext (kmod) start/stop routine failed; check the system/kernel logs for errors or try kextutil(8).
Jan 3 16:55:58 luke-mac com.apple.launchd.peruser.501[256] ([0x0-0xa56a56].com.koushikdutta.Tether[95774]): Exited abnormally: Broken pipe: 13
Jan 3 16:56:37 luke-mac authexec[95843]: executing /Users/ldriscoll/Downloads/android/Tether.app/Contents/Resources/darwin/setuid
Jan 3 16:56:37 luke-mac com.apple.kextd[10]: Failed to load /tmp/tun.kext - (libkern/kext) kext (kmod) start/stop routine failed.
 
+Luke Driscoll Looks like you have a busted download or something; as it is missing a file it seems. Can you go into /tmp/tun.kext and type:

find .

and give me the output?
 
I keep getting this error


Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }
 
yup, here it is:

.
./Contents
./Contents/Info.plist
./Contents/MacOS
./Contents/MacOS/tun
 
here's the contents of kernel.log:

Jan 3 17:11:32 luke-mac kernel[0]: tun: could not register PF_INET protocol family: 17
Jan 3 17:11:32 luke-mac kernel[0]: Kext net.tunnelblick.tun start failed (result 0x5).
Jan 3 17:11:32 luke-mac kernel[0]: Kext net.tunnelblick.tun failed to load (0xdc008017).
Jan 3 17:11:32 luke-mac kernel[0]: Failed to load kext net.tunnelblick.tun (error 0xdc008017).
 
I don't, but I do happen to have Viscosity installed.
 
+Luke Driscoll I think Viscosity might package it's own tun driver; which may be the source of the problem. Can you type "kextstat" in a console window and get me the results?
 
i'm on the gnex, if you're willing to help
 
+Luke Driscoll Yep, looks like a virtual adapter driver is already loaded, probably causing the conflict.

Mind trying this? (None of the changes here are permanent) Exit out of tether, in a command window try this:

sudo kextunload -b com.viscosityvpn.Viscosity.tun
sudo kextunload -b com.viscosityvpn.Viscosity.tap

Then restart Tether. Let me know if it makes it further.
 
I am running on windows 7 64bit with a droid bionic


{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.

Keeps repeating but doesnt go green
 
Sorry for the n00bish question, but is this solely for PC OS tethering, or will it also work tethering an Android tablet to phone?
 
Tons of errors DROID X2 Windows 7 Home Premium
 
Is there an updated Windows msi from the TetherWindowsSetup5.msi you sent earlier since my Win7 32 and 64 still don't work? .net 1.1 and 4.0 are installed and .net 2.0 is preinstalled in Win7 already.
 
Koushik Dutta I have no firewall on my computer, i turned them all off
 
Installed no problems. Ran for a few then bombed out. Might just be my coverage. Will check it again. Mac running Snow Leopard 10.6.8 (refuse to go to Lion) -- and Droid RAZR on VZW. Installation was totally painless. Installed mac and phone separately.
 
would so totally love a bluetooth version of this. heaven.
 
Installed without issue. Windows 7 64bit ... DroidX .Download and upload speeds leave something to be desired. 141 Kbits down 15kbits up 489ms ping time. I'm blaming poor 3G signal.
 
Droid 2 w/CM7 Windows 7 64bit
Everything installs fine. (Tether, Motodrivers, and tether.apk) PC and phone both state they are tethered and there is a Tap Win32 V9 adapter installed. There is just no internet access.

Here is my tether log: http://pastebin.com/Ggt9LGhH
 
Yes I did connect via USB 2. My computer is a fairly recent homebrew with Gigabyte GA-A75M Motherboard, AMD A8-3850 APU and 16 Gb memory
 
Hey all OSX users, I uninstalled OpenVPN Connect and the Tether app started working.
 
+Derek Schartung +Koushik Dutta OpenVPN isn't the only thing that installs its own tun/tap extensions; it looks like Hamachi's are incompatible as well. Unloading them got the tether working for me. (10.6.8)
 
Installer triggers my Visual Studio JIT debugger right when it opens up my browser to show me the adb drivers page (http://puu.sh/cliq). It then complains that the installer broke (http://puu.sh/cliU) and unwinds the whole installation. I'm running Windows 7, 32-bit. Exception follows:

System.ComponentModel.Win32Exception was unhandled
Message=An error occurred in sending the command to the application
Source=System
ErrorCode=-2147467259
NativeErrorCode=1156
StackTrace:
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
at TetherWindows.Program.Main(String[] args)
InnerException:
 
It worked great when I tried it with a Galaxy Nexus (stock, LTE), connected to a Macbook Pro. I had to turn on USB Debugging which the application was clear about in the logs. The only problem I had was it's impossible to quit/exit the program on the phone, even after I cleanly quit on the Macbook and disconnected the USB cable. Can you please add an Exit function?

Oh, I should mention with full 4G LTE bars, I was getting something like 0.29 Mbps down and up through tethering. Kind of pointless.
 
I downloaded it just today at 4:21 PM PST (GMT-8).

Edit:
I got it to work if I already have Firefox open when I run the installer.
 
Downloaded, turned on the USB tether on my Bionic and my computer is connected, and internet works, but the log says this:


C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 3"
Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
STATUS: Phone could not be detected. See log for details.
Phone not detected by adb!
Connect your phone to your computer and make sure "USB Debugging" is enabled.
You may need to set your phone to be in "Charge Only Mode".
You may need to install a driver for your phone to allow the computer to connect to it.
Consult the menu above to install the "adb drivers" for your phone.
If your manufacturer is not listed, please search Google for "adb drivers my-manufacturer name"

I did download the adb drivers for motorola phones...So I'm not sure if I'm tethering through the app or if I added the tether feature to my Verizon plan by connecting.
 
Hi Koushik, thanks for building! Having a bit of a problem on HTC EVO, connected, but no data flowing, looking at my network settings, the connection is "local only" with no internet connectivity, any help would be appreciated!


Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
HT174HL10086 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Testing adb status...
Phone still visible by adb.
STATUS: Tether has connected.
 
Tried the win 7 ver 5. Smoothest yet. Exits when told to exit, quickest connection to data connection on phone. Still a little slow but using 4G...gonna take it out of the house and try it elsewhere tomorrow. Koush, you rock. Win7 64bit Stratosphere unrooted.
 
Just wondering .... can i run the windows version on linux through wine (i think its a stupid question)
 
how do you install the app onto linux system
 
Was having problems until I remembered some people had trouble with Hamachi. I disabled the Hamachi network adapter, and all was well.
TK Soh
 
I tried it with LG P500 (Optimus One) on Window XP SP3 with admin permission, but also ran into the "command was not found" issue on network settings.

C:\Program Files\ClockworkMod\Tether
"Local Area Connection 17"
Checking arguments...
Setting IP Address, mask, and gateway.
The following command was not found: interface ipv4 set address "name=Local Area Connection 17" source=static address=10.0.0.1 mask=255.255.255.0 gateway=10.0.0.2.
Setting DNS server.
The following command was not found: interface ipv4 add dnsserver "name=Local Area Connection 17" address=8.8.8.8 index=1.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
80A354043043216821 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
{}
 
Tried to install on laptop and it did not work, would not finish installing and the phone would not let me turn on usb debugging (droid razor), can you help me out on this one?
 
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
304D19D70F2DEB8E device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected.
Testing adb status...
STATUS: Tether has connected.
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb

The internet works fine, thanks to you and the genius mind of yours. Its supposed to say phone still visible by adb right? At&t wont detect it? the visible term throws you away i guess...
 
New problem on Linux

[jeremy:~/Desktop/tether-linux/linux]$ sudo ./run.sh
[sudo] password for jeremy:

0
~/Desktop/tether-linux/linux/i386 ~/Desktop/tether-linux/linux
~/Desktop/tether-linux/linux
Starting Tether...
opening tun device: /dev/net/tun
adb binary path: ../linux/adb
Testing adb status...

module.js:334
throw new Error("Cannot find module '" + request + "'");
^
Error: Cannot find module './build/Release/linuxtuntap.node'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at /home/jeremy/Desktop/tether-linux/node-tuntap/tuntap.js:103:19
at Object.oncomplete (os.js:51:7)
 
I'm getting the following below, it seems to go green then just go grey and not connect.


C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 3"
Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
31353295F89700EC device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
STATUS: Tether has connected.
STATUS: Tether has connected.
 
Hey I got a Samsung Galaxy S2 Skyrocket on Att. I was able to install the all on my Mac running Lion which did push the apk to my phone. It connected and showed data uploading and downloading on my phone but I had no internet access on my Mac.
 
It works on my Windows 7 64bit SP1 & Stock Rooted At&t Samsung Galaxy S II. At first it wouldn't connect but I killed the node in the task manager and restarted and got right on. I gotta say the speed isn't bad either, can't wait for hotspot functionality!
 
Not Working for me on Linux Mint 12 running ubuntu unity environment
on LG P999 - G2X

~/Tether/linux $ sudo ./run.sh
[sudo] password for dre:

0
~/Tether/linux/i386 ~/Tether/linux
~/Tether/linux
Starting Tether...
opening tun device: /dev/net/tun
adb binary path: ../linux/adb
Testing adb status...
Unable to open tun device! Exiting.
Failure during ioctl.
Suhas P
 
On mac 10.6.8 with rooted GNex, can't seem to get this one working. As soon as I start the computer app, it closes down. Not sure what to do next. I have installed the apk and latest mac (from the link). Where can I find the log files (if any)? Any ideas?
 
+Koushik Dutta Looks like it's the same foo.tun/foo.tap someone reported earlier.

On an unrelated note, my phone (Sprint Epic 4G Touch aka Samsung Galaxy S II) doesn't seem to recognize when the tether is disconnected on the computer's end, or even when the cable is unplugged, I have to kill the apk manually. Is this a known bug, or am I doing something wrong?
 
Didn't work for me, Verizon, Droid 2 global, windows 7 professional 64bit. Verizon's page still popped up asking me to pay for another plan
 
Thanks Koush! I am on the verizon GNex/Win7 x64. I was hoping to get a connection as fast as what my phone gets but it is fast enough. 4.84Mbps down and 5.15Mbps up. Strange that the upload is faster but I'll take it. Good work!!
 
Question, so this will bypass AT&T and blocking them from knowing I am tethering on my device? I ask this because I currently run the risk of having my data plan changed and I do not want it changed from unlimited. Also maybe a suggestion, if it detects the phone is rooted, then it would not require the PC-side installation.
 
I can confirm this works great on an LG P500 (Optimus One) phone. I'm on the Vodafone (India) network. Posting off of the tethered connection, infact :)
 
I got it working on my EVO 4g (Sprint) after having to mess with a few HTC drivers. Thats not your fault, good job! Im running Windows XP 64 bit, the vista x64 bit drivers worked the best for me. My only suggestion is to have an exit option on the phone app so I can just charge my phone without the app running.
 
Same problem as others.... Moto Atrix, running RedPill/CM7 ....... Win7 64x

Found that APK is already installed. Starting tether on phone.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }

http://pastebin.com/kcYwK40t
 
It looks like I am not the only one getting an error about the netsh command. I finally have the interface configuring, but it seems there is no DNS server activity (packets are leaving, but nothing is coming back). i manually ran the these commands to configure the interface, then ran the tethering application from winxp.

netsh interface ip set address "Local Area Connection" static 10.0.0.1 255.255.255.0 10.0.0.2 1

netsh interface ip add dns "Local Area Connection" 8.8.8.8 index=1

the commands are coming back with a response of Ok as can be seen in at http://pastebin.com/EErXTbfp
 
Is there some way to remove the install properly from a Macbook Pro? Ever since I installed it, and tried to remove it (it didn't work with my phone), it has been causing my laptop to freeze/hesitate every 3-4 seconds. Help!
 
I'm also running OSX 10.5.8 and can't run the desktop client. Sounds like it's working well for everyone with newer versions though! Thanks for sharing!
 
Works on my Macbook Air. Had to uninstall old Easy Tether drivers before it would work. I am using it to post this :-)
 
so right now i am connected and is working (i had to download the .apk for it to work(i have an htc thunderbolt and win 7 64bit)) but now im not sure how to connect to the internet. a new wireless network has shown up in the list of available networks but it asks for a password. is their a default password somewhere that i use to connect to the network provided by the tether app? is their a way to change the password if their is one?

edit: im a moron. earlier during installation, my computer asked about a 'network 2' and i set it up and forgot about it. it doesn't shop up in my list of networks because it isnt wireless face palm. at the moment, i am getting no internet connection with it though. will make another edit if i fix.

edit2: i feel like ive just been kicked back 3 spaces. im no longer able to connect my phone to my computer even though i have done everything to the letter. does anyone else with an HTC THUNDERBOLT have these problems??
 
Would love to be able to use something like this to tether a Chromebook to my phone. My CR-48 is showing its age, but its battery life still kicks the pants of a regular laptop...
 
Hmm ok.. I removed it previously from the directory that it was in... is there anything else you can think of that it alters, or are there files located anywhere that would be causing my issues?
 
Still having trouble with the TetherWindowsSetup5.msi on Windows 7 32-bit, keep getting "There is a problem with this Windows Installer package" message. I have the .NET framework 4.0 if that helps.
 
so whatever i did before, im no longer able to connect with the tether. instead it tells me:

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 3"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 3" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 3" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 3" 8.8.4.4 index=2
The object is already in the list.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
STATUS: Phone could not be detected. See log for details.
Phone not detected by adb!

what does it mean that it cant be detected by adb?
 
worked for my device on the 64 bit windows. excellent stuff
 
Win 7 and Samsung Fascinate gingerbread installed and running on both just can't make connections i reinstalled samsung drivers here is my log


C:\Program Files\ClockworkMod\Tether
"Local Area Connection 5"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 5" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 5" 8.8.8.8 index=1
The object is already in the list.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
C:\Program Files\ClockworkMod\Tether
"Local Area Connection 5"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 5" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 5" 8.8.8.8 index=1
The object is already in the list.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
 
Thanks Kaush :) Perfectly working for my mac - android combination.
Mac - 10.6.8 Mac OSX
Android - Rooted Android 2.3.5, RCMiX
I am posting this comment by using the app.
 
Works Great
Windows 7 64bit enterprise
Samsung Galaxy Nexus Verizon
3.5 Down
1.5 Up

Slower than my phone by its self but it's great to not have to root your phone.

Thanks
Jeff G
 
Hi There,
I wish I could say this is working but i cant connect to any site once i am tethered, if i am actually tethered..heres the log, thank you so very much for ALL you do!
I should tell you i am on a windows xp and tethering from a verizon galaxy nexus, NO 4g where i am and my 3g seems so slow i am wondering if it is the phone , i just do not know.


C:\Program Files\ClockworkMod\Tether
"Local Area Connection 4"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 4" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Ok.
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 4" 8.8.8.8 index=1
The server 8.8.8.8 is already configured on this interface.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
0146B0000E00B00E device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
{}

my computer says it is connected but i cant connect to any websites, should i have an ip address like 168.10.1.1 or like that because i don't i have a ?10.1.1.1? (sorry i didnt write it down if you need me too i can recreate the situation my bad.)
Thank you so much for this!!!! you rock!
 
Installed on my Mac and connected my HTC Evo 3D without a hiccup. Great piece of software and I'm already recommending it to my friends!
 
Thanks to +Koushik Dutta and CWM team for this. I finally got my CandD from at$t about tethering a couple weeks ago. I got everything working on my Infuse4G and Acer Iconia W500 tonight. I can't wait till I can test out BT functionality when you get it working. TY! :-)
Gene W
 
Still having a problem with DNS lookups failing. Win 7 64bit networking sometimes shows no internet access but internet access is present and other times there is no access. Problem is intermittent.
Eze Uba
 
+Koushik Dutta Any hope of a widget with the final release? And the notification icon on the phone... it could be better. Great app, great effort. I doff my hat for you, sir.
 
cant we have the nothing-to-install-on-desktop version .. ? I thinkg most of the dudes here are rooted (mine too) , so we dont need to install anything on the desktop machine , can you bring that version up ?
 
Hi, i got this problem : (i'm on win7)

Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'usage: am [subcommand] [options]\r\r\n\r\r\n start an Activity: am start [-D] <INTENT>\r\r\n -D: enable debugging\r\r\n\r\r\n send a broadcast Intent: am broadcast <INTENT>\r\r\n\r\r\n start an Instrumentation: am instrument [flags] <COMPONENT>\r\r\n -r: print raw results (otherwise decode REPORT_KEY_STREAMRESULT)\r\r\n -e <NAME> <VALUE>: set argument <NAME> to <VALUE>\r\r\n -p <FILE>: write profiling data to <FILE>\r\r\n -w: wait for instrumentation to finish before returning\r\r\n\r\r\n start profiling: am profile <PROCESS> start <FILE>\r\r\n stop profiling: am profile <PROCESS> stop\r\r\n\r\r\n <INTENT> specifications include these flags:\r\r\n [-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]\r\r\n [-c <CATEGORY> [-c <CATEGORY>] ...]\r\r\n [-e|--es <EXTRA_KEY> <EXTRA_STRING_VALUE> ...]\r\r\n [--ez <EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> ...]\r\r\n [-e|--ei <EXTRA_KEY> <EXTRA_INT_VALUE> ...]\r\r\n [-n <COMPONENT>] [-f <FLAGS>] [<URI>]\r\r\n\r\r\nError: Unknown command: startservice\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.

again and again........ :(
 
+Koushik Dutta this will bypass AT&T and blocking them from knowing I am tethering on my device? I ask this because I currently run the risk of having my data plan changed and I do not want it changed from unlimited. Also maybe a suggestion, if it detects the phone is rooted, then it would not require the PC-side installation.
 
Awesome idea man, although my provider doesn't block or charge extra for tethering.
I'm willing to help with coding or debugging if you'd like.
 
Just installed latest Windows (setup6.msi) on WinXp SP3. Worked Great!! looking forward to any enhancements you bring
 
Works good and installed just fine on 64bit Win 7. It does say though that phone is still visible by adb.
 
Windows 7 Ultimate

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Element not found.
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 2" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 2" 8.8.4.4 index=2
The object is already in the list.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
A0000028BB97C6 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }
Testing adb status...
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
 
+Koushik Dutta It is not every stable. it works for the most part on my evo4g (CM.7.2) but always lose connection.
 
For people that have windows 7 x64 installing issue I found a way around.

Start the installation as usual
When you get the errror message DON'T click on the message box.
Go to installation folder (default : C:\Program Files (x86)\ClockworkMod) and copy on your desktop the folder "Tether"
Then click OK on the message box the installation will remove the folder "Tether"
After is done just take the folder on your desktop and put him in C:\Program Files (x86)\ClockworkMod
All should be working after that. (That worked for me)

Have a good day ad sorry for my english.. I speak french....
 
Why can't I find ROM Manager on my Samsung Vibrant?
 
Running on a Droid X with a MacBook Air 10.7.2, no problems works great!
Any plans for ios5?
 
Just installed on my Windows 7 32 bit....first try was a failure..I got the " There was a problem with this Windows Installer package. A program run as part of the setup did not finish as expected........." message. I redid the install and it worked. When I get a cable for my computer connection I will report on the workings of the connection
 
Working great on Win7x64 with Galaxy Nexus 4G. Great job!
 
Works perfect on Mac OS X Lion (10.7.2) with a Droid Incredible 2 (2.3.4 stock). Really great experience, super easy!
 
Thank you so much for working on this, top job!

I posted the info below before realising there was an updated Windows installer, so uninstalled the original TetherWindowsSetup.msi and installed TetherWindowsSetup6.msi and it works! (I'm using it to post this :D)
Will use it for a bit and report back on stability. Have left the info below in case it's of any use:


Running a fresh install of XP MCE with SP3, connecting to a Orange San Francisco (rebadged ZTE Blade) phone running Ginger Stirfry (Android 2.3.4).
Downloaded the Blade drivers via the link from your tether app which worked fine.
Running tether didn't install the app on the phone so i copied across the apk and installed it manually, which seemed to work fine.

Running tether i get:

C:\Program Files\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
The following command was not found: interface ipv4 set address "name=Local Area Connection 2" source=static address=10.0.0.1 mask=255.255.255.0 gateway=10.0.0.2.
Setting DNS server.
The following command was not found: interface ipv4 add dnsserver "name=Local Area Connection 2" address=8.8.8.8 index=1.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
{}

And the app doesn't load on the phone.
Start the phone app manually, tether doesn't detect this.
Restart tether with the phone app running and get:

C:\Program Files\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
The following command was not found: interface ipv4 set address "name=Local Area Connection 2" source=static address=10.0.0.1 mask=255.255.255.0 gateway=10.0.0.2.
Setting DNS server.
The following command was not found: interface ipv4 add dnsserver "name=Local Area Connection 2" address=8.8.8.8 index=1.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
blade device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
{}


Hope this helps! Let me know if you need any more info.
 
I am running a LG Optimus S and Windows XP SP3. Thanks a bundle Koushik! I'll post down and up load speeds shortly.
 
Ok, I really want to try this. I'm running vista 64 bit & I keep getting the MSI fail message that others are getting. I've tried the windows install original link, the version 2 link, and the version 6 link. These were the only ones I've found for windows. Any suggestions? Thx. Matt
 
tether is working perfectly on win xp / optimus S! speakeasy bandwidth test yields .9 Mbps down and .13 Mbps up!
 
I was having issues with the foo.tun/tap kexts as well. Got tether working, but only getting <1Mbps down and up through it. Have the same problem with android-wifi-tether. Only difference is that your app doesn't constantly crash. ;-)
Any suggestions?
Edit: Running LTE GNexus Rooted but stock otherwise.
 
I'm trying tether my WinXP laptop to my Samsung Fascinate (stock Gingerbread 2.3.5), but it doesn't seem to work. BTW, I do use Azilink without issues. In any case, here is the log:


C:\Program Files\ClockworkMod\Tether
"Azilink Tether Connection"
Checking arguments...
Setting IP Address, mask, and gateway.
The following command was not found: interface ipv4 set address "name=Azilink Tether Connection" source=static address=10.0.0.1 mask=255.255.255.0 gateway=10.0.0.2.
Setting DNS server.
The following command was not found: interface ipv4 add dnsserver "name=Azilink Tether Connection" address=8.8.8.8 index=1.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
313377B297A000EC device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
 
+Koushik Dutta Still a no-go on Win7 64bit and Win7 32bit with msi6 (same errors as posted before) with .net 1.1, 2.0, and 4.0 installed on one and .net 2.0 and 4.0 on the other :(
 
What about reverse tethering, do you plan to implement it to?
 
Apologies if I missed the answer to this in the sea of comments -- is Wi-Fi tethering impossible without root?
 
Koushik, is the source posted anywhere? I'm wanna build this for the OpenPandora community. It runs on a Linux based ARM system. 
 
Without going thru 500+ comments I'm hoping to one day find tethering for zoom tablet wifi
 
If u don't already have an internet connection (mine is down right now) the install is pretty difficult. I have got the drivers downoiaded via my phone but still getting an error in driver install for mdk(?) Driver. Message is gone. May not be quite right. Will post log once I can get to it on my computer. Thanks for the hard work on this. Will be great once it is up and running
 
Windows XP 32bit and Moto Droid X. Works like a charm. You are pro Mr Dutta!
 
Any chance of getting reverse tethering setup with this?
 
Struggling a bit with this one - Running OSX 10.7 on a MBA 11" with a UK Samsung Galaxy S2. Get the following error:

Unloading existing tun/tap kexts.
Testing net.tunnelblick.tun
Unloading net.tunnelblick.tun
Testing net.tunnelblick.tap
Testing com.viscosityvpn.Viscosity.tun
Testing com.viscosityvpn.Viscosity.tap
Done unloading tun/tap kexts.
Loading /tmp/tun.kext.
Starting Tether...
opening tun device: /dev/tun1
adb binary path: ../darwin/adb
Testing adb status...
Unable to open tun device! Exiting.
{ [Error: UNKNOWN, unknown error '/dev/tun1'] errno: -1, code: 'UNKNOWN', path: '/dev/tun1' }

Appreciate any advice / things to try out. Thanks for your efforts so far +Koushik Dutta :)
 
+Koushik Dutta Find anything in the PasteBin I linked you? I am still getting the same output log no matter what I try :-/
 
+Stacy Bruce Can you try the updated mac zip? It looks like for some reason, it couldn't load the virtual network adapter in your log. If you are using openvpn, hamachi, tunnelblick, etc, that may happen.
 
+Greg Raab I'm aware, I plan to let the Android app download the drivers, and then you can get them off the sd card.
 
+Matt Farmer The node.js portion is open source:

http://github.com/koush/node use the tun branch

If you can build that, and tun/tap works on OpenPandora, this app should work.
Err, you'll also need to build adb as ARM, that's part of the android open source project. That may be trickier.
 
+Teddy Wang You may need to uninstall Azilink, as that may be interfering. Also, please update to the latest install package, I see you are hitting the Windows "hang" but (where the last line is {})
 
+Koushik Dutta Is the updated mac zip the link in your original google+ post? Or should I be looking somewhere else
 
+Koushik Dutta You are the man, man!! Works great now. Thanks for your help and all you do for the community :-D
 
+Koushik Dutta thanks, OpenPandora runs a trimmed down debian derivative, so I think tun/tap works. I also found a good writeup on building adb in ARM. So, barring any fits of coding rage involving throwing devices, it should work.
 
64 bit win 7 sp1, samsung prevail on boost mobile unlimited plan running gingerbread ej06 android version 2.3.5 i am getting an endless loop of connected/diconnected. never even a full second of connectivity.
 
+Lawson Ott Sounds like your phone driver is not properly installed, or your phone is not in 'usb debugging mode'. Please send me the log?
 
+Koushik Dutta Only twice has the phone app turned green and seemed connected. No web activity. Pages wouldnt load. All other attempts, the icon on computer turned green and says connected, but icon on phone never turned green nor showed connected. The window on computer keeps repeating as at the end of the log.

Again, thanks!
 
GREAT INSTALLER and work again, Koushik.

It says I have a connection, but I don't (can't ping outside or even the gateway 10.0.0.2 of the connection). The phone does have MTP issues (and SAMSUNG has promised me a new one so that they can have this one for testing, so it maybe related to the device..) Anyway, here is the log.

Do I need to force install .NET on the computer? I only see a update to .NET 4 in Programs & Features,

THANKS, in advance!

Galaxy Nexus STOCK; untouched / Win 7 Ult. 64bit

Paste of "log" follows:
C:\Program Files (x86)\ClockworkMod\Tether"Local Area Connection 3"Checking arguments...Setting IP Address, mask, and gateway.netsh interface ip set address name="Local AreaConnection 3" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1Setting DNS server.netsh interface ip add dns name="Local Area Connection3" 8.8.8.8 index=1The object is already in the list.netsh interface ip add dns name="Local Area Connection3" 8.8.4.4 index=2The object is already in the list.Starting Tether...C:\Program Files (x86)\ClockworkMod\Tether\node-tuntapopening tun device: nulladb binary path: ..\win32\adb.exeTesting adb status...Waiting for interface to get ready... (waiting 5 seconds)List of devices attached 0146910905017019 deviceChecking if package is installed.STATUS: Connected to phone. Waiting for tether connection.Phone detected by adb!Starting the Tether application on the phone...Found that APK is already installed. Starting tether onphone.Setting up adb port forwarding to port 30002.adb port forwarding results:{ '0': null, '1': '', '2': '' }Results from starting Tether activity:{ '0': null, '1': 'Starting: Intent {cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n', '2': '' }Results from starting Tether service:{ '0': null, '1': 'Starting service: Intent {cmp=com.koushikdutta.tether/.TetherService }\r\r\n', '2': '' }{}Tun/tap device IP: 10.0.0.1Reading tun/tap device... Listening on tether port...STATUS: Tether has connected.STATUS: Tether has connected.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...Phone still visible by adb.Testing adb status...
 
No connection in browser; DNS timeout in NSLOOKUP.

I neglected to mention I did install the specific driver for the G-Nex i515
 
+Koushik Dutta +Gary Pasler Mine is doing exactly like garys. Phone says "USB Tether is running. Please open Tether app on your computer", while computer says connected and turns green. Keeps repeating "Testing adb status...Phone still visible by adb."
Again, seems to be the same as Gary's.
 
I'm posting this on my laptop (running vista 64bit) using my phones tethered internet connection. everything is working perfectly. THANKS SO MUCH!
 
Philip: Do you have any issues with MTP (computer connection / transferring files via USB to / from the phone)? I can get it to sometimes work on 2 of 5 PC's. Samsung acknowledges "isolated" issues & wants to get my device back; I'd been waiting for the new device for a week.
 
+Gary Pasler No, Gary, I have had no issues with the phone at all. Transfers are fine in and out.
 
+Gary Pasler +Philip Raines Did you guys allow the firewall exception? If not, mind disabling the windows firewall, and restarting the tether app and letting me know if that works?

I'm also available to do a hangout to debug this live. Let me know.
 
YES: it WAS Windows Firewall. OFF it works fine. I assume you use TCP port 30002?
 
+Gary Pasler Did you not get a firewall notification to allow traffic? I use TCP 30002 on localhost and 50001 on 10.0.0.1.
 
NO; just the network location choice the first time.
 
I don't see your program on the Win Firewall list. How do I permit it?
 
+Koushik Dutta +Gary Pasler ok, that was indeed, the problem. With firewall off it connected right up and browsed very fast! Excellent! Same as Gary, I was asked what type and I said home. There was never any other firewall notification to allow traffic. Ditto Gary, can I get the firewall to allow traffic? WooHoo! Close!

Again, Thanks!
 
I added TeatherWindows to the list (from the exe in program files); enables it for all locations, but it doesn't resolve it. It works only with WFW OFF.
 
+Gary Pasler You need to add win32\node.exe from your install directory. I am updating my app to automatically do this for you.
 
It won't let me add NODE.exe; says it's already there. What it full name that will be listed?

Actually I found it - it's listed twice as Event I/O for V8 JavaScript. Enabling both for locations worked.

I have it and TeatherWindows enables - Correct?
 
Everything seems to have installed correctly but I'm getting this error on Win7

Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }


I hit stop and start and then got this

Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
 
Koushik - THANK YOU for the unbelievable response and GREAT program, again. I especially appreciate that it runs on stock w/o root. Apparently we ran into a Windows issue herein (WFW not notifying of the block); hopefully you can code a fix for everyone.
 
Everything is going fine until install pops up a command window saying something about device, then freezing and asking me to debug.
 
once i install the new setup7 i get this now..but still wont connect with windows 7 64bit on droid bionic

Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
 
+Gary Pasler Gary, can you explain what you added? I cant get node to go, same as you described. Then you found a way. I dont understand. Thanks!
 
+Koushik Dutta Awesome, we made it further down the list now it's saying this over and over again.

Testing adb status...
Phone still visible by adb.
 
Works perfect on my win 7 64 laptop tethered to my Droid x Liquid ROM. Installed easily, connected phone and hit start, no issuses at all. A big thank you for this!!!!!
 
Look in WFW programs list, apparently node.exe is really called "Event I/O for V8 JavaScript" find it and enable it on locations
 
Cool; WOW that was FAST! Is this still a 1/7 expiration version?
 
+Koushik Dutta not working for unroot epic4g. windows 7 x64
C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 3"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 3" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 3" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 3" 8.8.4.4 index=2
The object is already in the list.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
3532203A559500EC device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Testing adb status...
Phone still visible by adb.
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
 
That answers the question I was about to ask ===> Where to send a donation for your efforts. It's going to be an Android Market App for a PC?
 
I tried the new one with the firewall exception (just in case you changed something else) and it still won't install.
 
+Koushik Dutta +Gary Pasler ok, I uninstalled the original and installed the new one. It works perfectly! I wish I was smart enough to do this stuff like you, Koushik! Awesome! And thank you very much for your talent and time! Gary, thanks for your help too! Koushik, where should money or proper thanks be applied?

BTW, posting while tethered now!
 
+Michael Grasser do you have openvpn or any other vpn software installed? That would prevent your driver from being installed.

Screenshot your list of network adapters for me?
 
Installed while my phone was plugged in, device drivers are installed and ADB sees the phone. (Samsung Galaxy S II Skyrocket).

Encountered a problem:

Step by Step:
I opened the program in windows (Win 7 Home Premium x64)
I clicked start
Realized that the .apk never installed to my phone.
Downloaded .apk
Installed .apk
Opened .apk
Clicked the USB symbol
Nothing happened.
Closed the app on the phone as well as the application in windows.
Reopened the windows application.

Got this:

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 3"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 3" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 3" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 3" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
 
ok for all of those not getting it to run on windows 7..you need to uninstall pdanet or easytether, it has installed drivers that are making it not work with this one
 
+Braden Pitts You have any other virtual network adapters installed? openvpn? pdanet? easytether? Is that the full log? it seems to have ended suddenly.
 
+Koushik Dutta I do have Virtual Box installed, I'll uninstall and restart to see if that resolves anything. Do you have an IRC setup, I think that would be a good place to handle all of the testing traffic. Seeing as there is a 500 reply limit :-(
 
+Braden Pitts Yes, ping will not work (though I plan to add support). Maybe try restarting your browser?

If you can get me a screenshot, I can maybe figure it out. (I get a 403 error with your link)
 
+Braden Pitts I'm on freenode as koush. There's also a #koush channel for all general clockworkmod related stuff.
 
+Koushik Dutta No, It repeats the "Phone still visible by adb" but over to the side it still says Connected to phone. Waiting for tether connection. Eventually it will stop trying and the start/stop button switches from Stop to Start. It recognizes it in the network and sharing center but it says no network access.
 
+Koushik Dutta I seem to have it going now, Virtual Box's interfaces seemed to be causing the interference. I do have two additional questions:

Out of pure curiosity, why does ping not work?
Second, why did you setup the virtual adapter to run at 10Mbps? I'm in an LTE area and can pull 30Mbps on a good day. Wouldn't that become a bottleneck? USB 2.0 supports 480Mbps, right?

Thanks!
 
+Koushik Dutta I can if you can tell me how or point me where to look. I'm rooted on GNex running Peter Alfonso's rom but I wouldnt think that would have anything to do with it. And I made sure to download the Nexus drivers and not the samsung ones.
 
+Braden Pitts I have not handled ICMP yet. Just UDP and TCP. I will add ICMP support.
I think the 10Mbps is purely visual. I know people that get 20Mbps. If I tether it using the wifi on my phone (vs 3g), I get 20/10 speeds.

Your USB speed will be limited to the speed of your slowest device on USB (that's how USB works).
 
Ah, I see. Thanks! Working good so far. I'm going to abuse it for a few minutes and see how it holds up.
 
+Koushik Dutta

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
The object already exists.
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 2" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 2" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
016B7DFE0100F013 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
 
+Kevin Cox Do you have another firewall running? Can you try restarting your computer maybe? Or exit tether, and see if node.exe is running in task manager and kill it?

Something is preventing Tether from acquiring port 50001: EADDRNOTAVAIL.
 
+Koushik Dutta Downloaded Ubuntu while using tether, topped out at 1.2MB/s steady and network utilization was 99%. Works good!
 
+Koushik Dutta Uninstalled AVG Anti Virus, Restarted computer, stopped PDANet, node.exe wasn't running. Started Tether, hit start and got this
C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
The object already exists.
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 2" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 2" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
016B7DFE0100F013 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
 
+Kevin Cox I think you need to uninstall PDANet. I recall another user stating that as well in a post above.

Though I understand if it is not worth the trouble :)
 
+Koushik Dutta I'm taking a break for a few, once I get back I'm going to do a fresh install of Ubuntu 11.04 on one of my test bench PCs and see how tether works there.
 
+Koushik Dutta Yep, PDAnet was the problem. Thanks! Sorry for wasting so much of your time. I appreciate all your help!
 
+Koushik Dutta hi there, just to let you know that I just got it to work on my desktop running on Windows XP SP3...(LG Optimus Slider phone) was having a little trouble but resolved it by downloading the LG driver. So far so good...thanks for a job well done...my phone is rooted so I guess that doesn't create a conflict...also use wireless tether for my laptop(Win7 Ult)...keep up the good work!
EDIT: rebooting your phone and computer after installing the program/drivers might help if you're having trouble.
 
+Brandon Jacobs This acts as a proxy, not actual tethering/nat. Does not use the same technique as the built in tether.
 
+Koushik Dutta Tried msi7 and uninstalled Easytether from the laptop but still no go on PC or laptop :( Any logs I can get you from Win 7?
 
Have you updated the Windows version? I keep getting the "There is a problem with this Windows Installer package" error.
I am using Win7 64 bit.
 
+Koushik Dutta Installed on both successfully :) It did not prompt my phone to install the apk but I grabbed it from the beginning of the thread. Testing tethering now with HTC Thunderbolt
 
+Brent Yager Does the tether work? Shoot me a log please.

That message is not an error. It's just status.
 
+Brent Yager Seems a little slow; can you try plugging your USB into a socket not near peripherals and see if it is faster? USB will run at the speed of the slowest device, so if you have some older USB device on there, it may be slowing it down.
 
+Koushik Dutta C:\Program Files (x86)\ClockworkMod\Tether
"Conexi¢n de rea local 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Conexi¢n de rea local 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Conexi¢n de rea local 2" 8.8.8.8 index=1
El objeto ya est en la lista.
netsh interface ip add dns name="Conexi¢n de rea local 2" 8.8.4.4 index=2
El objeto ya est en la lista.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANTE: "netsh firewall" est desusado;
use "netsh advfirewall firewall" en su lugar.
Para obtener informaci¢n sobre el uso de los comandos
"netsh advfirewall firewall" en lugar de "netsh firewall", vea el art¡culo
947709 de Knowledge Base en la direcci¢n
http://go.microsoft.com/fwlink/?linkid=121488.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
HT0BGPY12229 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected.
Testing adb status...
Phone still visible by adb.
STATUS: Tether has connected.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
 
Unplugged older Microsoft USB mouse and got ping = 22ms / Down 12.20 mbps / Up 7.79 mbps over 4G 2 bars. WOW! What a difference! Still concerned about the log saying "Phone still visible by adb." Logfile: http://dl.dropbox.com/u/2771/tetherlog.txt
 
+Brent Yager Yea, don't worry about that. It's really not an issue. It's just periodic logging every 5 seconds that I put in intentionally when I check to see if the phone is still connected.
 
+Sergio Garcia I dont see anything wrong in there. You are disconnected from the other networks right? Can you try this in a command prompt:

nslookup google.com
 
Ah ok...for some reason I thought that if it was visible to adb, it is visible to the carrier but that is clearly NOT the case ;) I think I am good now then! Thank you so much for all of your hard work on this and all of your other projects for our Droid community!!! Good night!
 
Thanks for the work, hoping to get this awesome app working. I have a Droid Incredible. After searching and reading the comments, I'm some what stuck. I did have pdanet and I did uninstall it since others had issues with that. I have Win7 32bit. I installed the .msi and .apk and put the apk on the phone SD and used an app to install it as having it connected when I did the msi did not install the apk for me. I did do a google for the adb drivers for the incredible per the log instructions, and I didn't have any luck finding a real solution as I can connect my phone to the computer just fine and view my phone just fine. Any suggestions? Thanks.
_________________________________________________________
Starting Tether...
D:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
STATUS: Phone could not be detected. See log for details.
Phone not detected by adb!
Connect your phone to your computer and make sure "USB Debugging" is enabled.
You may need to set your phone to be in "Charge Only Mode".
You may need to install a driver for your phone to allow the computer to connect to it.
Consult the menu above to install the "adb drivers" for your phone.
If your manufacturer is not listed, please search Google for "adb drivers my-manufacturer name".
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Testing adb status...
STATUS: Phone could not be detected. See log for details.
Phone not detected by adb!
Connect your phone to your computer and make sure "USB Debugging" is enabled.
You may need to set your phone to be in "Charge Only Mode".
You may need to install a driver for your phone to allow the computer to connect to it.
Consult the menu above to install the "adb drivers" for your phone.
If your manufacturer is not listed, please search Google for "adb drivers my-manufacturer name".
 
I am getting the libssl.so.1.0.0 not found error on ubuntu 11.04 natty. It's a church computer with no internet access and I've got no way to upgrade from libssl.so.0.9.8. At least not that I know of, same problem with libcrypto. I tried making symlinks to 0.9.8 as 1.0.0, but that didn’t work either. Any ideas?
 
+Robbie Powell I will be providing a source distribution for Linux a little later tonight. That will let you compile against whatever openssl you have.
 
+Koushik Dutta when the paid version is released, will the node source be still available? if not, you mind if i build a version you can sell on the OpenPandora store (assuming I get it working at all, still working on it)?
 
+Matt Farmer The node portion will always be open source. There's not much changed there, just some code to interact with tun/tap.
The APK and node application code are copyright ClockworkMod, and can't be distributed without my permission.
 
+Sergio Garcia I am wondering if they block UDP/DNS to anything outside of their dns servers. Try putting your phone on wifi, and tethering using your phone's wifi connection. Let me know if that works, so I can rule that possibility out.
 
+Koushik Dutta So if I have adb 1.0.26 working on ARM, and just keep node updated (always using adb 1.0.26), it should always work properly?
 
+Matt Farmer Yep, basically. Don't even need to keep node up to date. I don't plan on changing that at all anymore.
 
+Koushik Dutta OK, now I gotta ask, whadaya mean "basically"? And, if node is staying the same, what's the premium version?
 
+Koushik Dutta Honestly, I have no idea. I saw your project and thought it'd be the perfect OP tether solution. I haven't tried it on win or linux yet, so don't even know the difference.
 
+Koushik Dutta i tried to tether my phones wifi and this happened:

C:\Program Files (x86)\ClockworkMod\Tether
"Conexi¢n de rea local 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Conexi¢n de rea local 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Conexi¢n de rea local 2" 8.8.8.8 index=1
El objeto ya est en la lista.
netsh interface ip add dns name="Conexi¢n de rea local 2" 8.8.4.4 index=2
El objeto ya est en la lista.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANTE: el comando se ejecut¢ correctamente.
No obstante, "netsh firewall" est obsoleto;
use "netsh advfirewall firewall" en su lugar.
Para obtener m s informaci¢n sobre el uso de
los comandos "netsh advfirewall firewall"
en lugar de "netsh firewall", vea el art¡culo 947709 de
Knowledge Base en http://go.microsoft.com/fwlink/?linkid=121488.
Aceptar
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
HT0BGPY12229 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected.
STATUS: Tether has disconnected.
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
STATUS: Tether has connected.
STATUS: Tether has disconnected.
Tether connection closed...
Tether connection closed...
Tether connection closed...
STATUS: Tether has connected.
Testing adb status...
STATUS: Tether has disconnected.
Tether connection closed...
Tether connection closed...
Phone still visible by adb.
STATUS: Tether has connected.
STATUS: Tether has disconnected.
Tether connection closed...
Tether connection closed...
STATUS: Tether has connected.
STATUS: Tether has disconnected.
Tether connection closed...
Tether connection closed...
STATUS: Tether has connected.
STATUS: Tether has connected.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
STATUS: Tether has disconnected.
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether error:
{ '0': { [Error: write ECONNABORTED] code: 'ECONNABORTED', errno: 'ECONNABORTED', syscall: 'write' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Testing adb status...
Phone still visible by adb.
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
 
I got it to install on my Wifes PC running Windows 7 just fine. It does say the whole Phone Still Visible by ADB thing and the connection is very weak 1.09 up and .64 down but at least it is installing and connection. On my PC running the same OS, I cannot even get through an install. It gets to the part about the drivers, then I get an error and it aborts the install. Any idea's Koush?
 
+david Viger Your USB connection is limited to the speed of the slowest USB peripheral you have connected. Got an old mouse or something attached slowing it down? Try to use a dedicated port that is not near other connecter peripherals.

Not sure what the error on your wife's PC would be. Shoot me a screenshot or something?
 
The error is on my PC and I had no other peripherals connected to my wifes PC. I will shoot a screen shot, let me try the latest MSI. THanks for all the help..I have been a follower/fan since release day of the OG!
 
It tells me there was a problem with the installer package.
 
i think i have problems with both carrier and antivirus software. i talk to you later, i have to go to sleep its 5:30am here in Spain...
 
Alright, I downloaded the 8th msi, lets see if this does the trick! I will get back to you shortly!
 
Connection is null...here is my log:


C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 3"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 3" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 3" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 3" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
 
Ok, I added the exception to Avast and was able to get the program to say I was connected, however, I have no internet access. Here is my log:


C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 3"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 3" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 3" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 3" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
0A3BBFB21301A018 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected.
STATUS: Tether has connected.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
 
C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 2" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 2" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
0146917E0E01E016 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected.
STATUS: Tether has connected.
Testing adb status...
Phone still visible by adb.


my pc is WIndows 7 64 bit
Phone is Droid Razr
US Verizon.
Its setup is completed and up and running but no internet access.

Thanks for doing this!!!
 
+david Viger What exception did you add to avast? You need to allow node.exe access to ports 50001 and 30002.

+Jay Wengang Ji Everything looks fine there. You using a firewall or something? What color is the icon on the phone?
 
I just went in and added the whole clockworkmod folder
 
+david Viger Can you just disable avast completely and see if it works? Restart tether afterwards.
 
Disabled avast and still no connection
 
It shows me as connected via home network 3, just has not connection..
 
//Win 7 64, HTC Incredible, rooted running MIUI-112020 build. App installed fine, had to install apk manually. On initial start up got this and no internet:

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 2" 8.8.8.8 index=1
The configured DNS server is incorrect or does not exist.
netsh interface ip add dns name="Local Area Connection 2" 8.8.4.4 index=2
The configured DNS server is incorrect or does not exist.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected

//I hit the stop button then started it back up, and windows firewall popped up asking for permission, I allowed it. Everything connected fine after that. Speedtest.net has me at, 10.28mb down, 3.57mb up, and 21ms ping. Working great, looking forward to full version, especially if Verizon can't tell i'm using it.
 
Not able to tether.

What could be the problem On win7 64 Bit Optimus 2x

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
0288420342603657 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Installing Tether APK on the phone.
Results from APK installation:
{ '0': null,
'1': '\tpkg: /data/local/tmp/Tether.apk\r\r\nSuccess\r\r\n',
'2': '1272 KB/s (229309 bytes in 0.176s)\r\n' }
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected.
STATUS: Tether has disconnected.
Tether connection closed...
Testing adb status...
Phone still visible by adb.
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
STATUS: Tether has connected.
STATUS: Tether has disconnected.
Tether connection closed...
Tether connection closed...
Testing adb status...
Phone still visible by adb.
STATUS: Tether has connected.
STATUS: Tether has connected.
Testing adb status...
Phone still visible by adb.
Testing adb status...
 
Well, I had a brief and VERY slow connection. It loaded up google, then nothing else
 
Is it supposed to be in any special mode? I just have it in USB mass storage mode
 
wow, really great piece of software. good job, I think I could get even my retarded family to learn how to set it up. lol
 
I wonder if you could get the app to complete a wireless tether with tablets. Now that would be awesome. If it is possible please let me know how it can be done without rooting the phone
 
Not sure what the difference is between the downloads today, or yesterday, ( I uninstalled both the app as well as the PC based program and reinstalled with fresh downloads today before trying them again ) if any but I'm running win7 extreme,64bit with a rooted Droid X on 605. Today I had more issues with getting the phone to be recognized by tether on my laptop, actually had to toggle the usb debugging on and off multiple times to get tether to finally recognize the phone was there, despite my laptop recognizing it immediately. Today it seems that after getting everything working together I was able to have more consistent speeds, as well as connection status; yesterday it seemed to drop the connection with the phone if I was inactive long, today I see it constantly checking for the connection in the debugging screen on Tether on my laptop, and I left it running for about 90 minutes with no activity, came back and everything was still running fine. My speeds are better today, but I have better signal on my phone (4 bars of 3G) and averaging 1.1-1.4 Mbps down and 100-225 kbps up, so not bad, definitely better than my old blackberry Storm running "Tether" back in the day. Looking forward to seeing your official version hit the Market, I am excited to have this for my laptop and truly looking forward to seeing what you can do with a tablet and bluetooth.
 
I hate to say this but I expected to have a difficult time to get this to work. But my MyTouch 4G and my Windows 7 (64-bit) PC NoteBook worked well. It failed the first time out but I shut down and restarted USB debugging and restarted Tether and everything worked smoothly. I made sure my LAN and Wi-fi connections were off. Network connection was noticeably slower but I was able to browse with Firefox and use Thunderbird to check my email.
 
I tried it on my MacBook Pro, OS 10.6.8 and I got it to work with two different smartphones (LG Optimus and HTC Tattoo). However if I stop the tether program on the computer and then try to restart it I get the following error:


Unable to open tun device! Exiting.
{ [Error: UNKNOWN, unknown error '/dev/tun1'] errno: -1, code: 'UNKNOWN', path: '/dev/tun1' }
 
I'm not sure how to respond to a post but I posted last night and to your reponse: I have the debugging checked, charge only, and the HTC site does not have the incredible listed. I do have HTC sync installed and working properly before this. I also closed everything and restarted and did what I could to keep trying to see if it would start and it would not. Any help from incredible users is much appreciated
 
i have an htc thunderbolt with a toshiba laptop running windows 7 64 bit. so i have been able to get the tether to work and connect between my phone and laptop, but i can not seem to get internet connection on my laptop. usb debugging is on, my phone is on charge only and the tether says it is connected successfully.
 
Works great on my stock VZW samsung galaxy nexus 4.0.2 paired with my 32-bit Win 7 PC, although I can't see the minimize/close button when the window isn't full-screen on my PC. However, that could be because I have the "android skin" overlaying the windows 7 theme
 
having speed problems...i have 4 bars of 4G LTE and only getting around 3 Mbps down and 0.7 Mbps up. Any solutions? Have a 2007 Macbook white version, test performed with no other usb devices plugged in. Galaxy nexus LTE.
 
Great job!!! I downloaded and installed your application and I'm using it on my laptop writing this comment right now!! My specs are: Asus A6 with win7 64 bit, Samsung Galxy Next. All is running fine.
 
Installed on a Windows 7 64 and a HTC Inspire and it worked perfect. By the way, I love the tether log on the PC. Being techy you just can't have enough information.
 
+Christopher Hong For reference, your USB speed is limited to the speed of the slowest peripheral. So if you have old peripherals attached, or your phone is connected on the same USB hub as another slow peripheral, that will slow it all down. Try disconnecting all the USB devices you can and see if it gets faster. A lot of people experience this problem.
 
+Diego Fazi I ran into this problem myself and should be able to fix it. A full log would be useful!
 
+Christopher Hong I have the same problem (only slower) with my Nexus LTE. I also get the same speeds out of android-wifi-tether. Speed on my phone is blazing whether or not I'm tethered, but the speed that I get over tether is terrible.
2009 MacBookPro running Lion with only the phone plugged in. Phone is rooted but is stock otherwise.
 
Koushik, It is not allowing to install it on my hp laptop using Vista 32-bit. It comes back with "The system administrator has set policies to prevent this installation." I have rebooted, re-downloaded, disabled the firewall as well as the antivirus program and I still cannot get this to install. I am using the Administrator account and made sure all the privileges for this file to work. But it is not installing. Any thoughts?
 
Thank you for this much needed application. Just joined Verizon Galaxy Nexus and need to use laptop when i travel. Your a dedicated dev can't wait to unlock my phones full potential.
 
Works just fine with Ubuntu 11.10 and HTC Wildfire.
Great! thank you.
 
After fighting with uninstalling EasyTether...I got this working nicely on my Hackintosh(Lion) and Galaxy Nexus. Nice Speeds.
 
I downloaded and installed the updated version (Windows 7 64-bit with an HTC Incredible running Cyanogenmod 7.1.0). I'm no longer getting the "{ [Error: listen EADDRNOTAVAIL] code: 'EADDRNOTAVAIL', errno: 'EADDRNOTAVAIL', syscall: 'listen' }" error or the forever repeating "Testing adb status... Phone still visible by adb", but it still isn't working for me.

Pastebin.com is down right now, so here's my log file:


C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 2" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 2" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
The service has not been started.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Checking phone status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
HT05WHJ01593 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
{}
 
I was able to install the universal drivers for HTC. Restarted the machine and phone just incase and ran it. I had to stop/start 3 times to get it to connect, but now connected showing 97 bytes up and 323 bytes down. I have the log from each time I had to stop/start if anyone wants it to see any of that info. Just let me know if you want the spam and I'll post. Thanks for the help/feedback.
Edit - Just saw the pastebin stuff... here you go: http://pastebin.com/LJzWeU96
 
FYI, Win 7 x64 with MB200 cyanogenmod 7.1.0.1 (Android 2.3.7) works perfectly, thank you very much.
 
Ok I'm so lost!!! I got the file on my (Linux) computer. Now what?? I've never tethered at all so I have no idea where to go from here. I need instructions fit for a child. Wait, they're pretty smart these days. How about instructions like you're walking your grandma through it? :-) PLEASE!!
 
Doesn't work for me. I tried 5, yes FIVE times from scratch, and at the end each time I click "Start" on the Windows program and nothing happens, literally nothing. I have a Thunderbolt with Windows 7 64bit, I have the HTC drivers installed like I should....literally nothing happens. I don't have a clue what I am doing wrong.
 
Koush, installed on Win 7 with HTC Incredible with rooted stock Gingerbread. Installed with ease...I already had drivers so I just closed browser when prompted. Speed test at bandwidth place is 654 kbps down with -77dBm to -81dBm and 364 kbps up same signal range. Second test was 508 Down/562 Up. Third test was basically the same as second. Hope this feedback helps. Great app.
 
FYI.. Now working on Ubuntu 11.10 and Dx (cm4dx) after downloading latest linux tar ball. Very Nice! Thanks for all your hard work Koushik!
 
running bionic and windows 7 64bit. windows app says connected, network as well as phone app says otherwise. have uninstalled/reinstalled twice with no luck. any ideas??
Here is the read out

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 2" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 2" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Checking phone status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
emulator-5554 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Checking phone status...
STATUS: Tether has connected.
Notifying client of Tether version: 1
Phone is still connected.
Checking phone status...
Phone is still connected.
Checking phone status...
Phone is still connected.
Checking phone status...
Phone is still connected.
But like I said above the phone never reacts to it and network never connects. Can anyone help??
Jeff G
 
Thanks! for all you do!
Freak Freely!
 
This works beautifully on Win 7 64 bit and a non-rooted Samsung Exhibit II phone. Great work and thank you, thank you, and thank you again!
 
Just found this tonight, and I want to say I love it. Runs perfect between HP Pavillion with Windows 7 and rooted Casio Commando. Great work, and thanks!
 
have w7 64 ult the first day i had this app it ran fine but today its dropping any net access not 3g dropping just as if the connection is not sending the net to the PC anymore till i stop the app on my phone and on the pc then restart and its fine aging for a bit i have a Motorola bionic rooted with the ota no rom also found that phone has to be in usb mass storage fro adb to see the phone. any help would be great. +Koushik Dutta
 
Since it acts as a proxy, could we run it "proxyless" by doing the following:

1. Connect to VPN where we route all traffic via vpn, then:
2. Tether using USB or wifi (driverless) and be able to specify DNS servers and route all of that traffic (already encapsulated) via the VPN connection.

I think if your thether app could stop tethering and require (autoconnect) the VPN, it could well be trackless by the carrier. If the carrier SAYS you are tethering without a plan, then they would be trying to look inside encrypted packets, which is arguably very illegal in and of itself.
 
Works for me, running windows xp pro on a compaq presario laptop, rooted htc hero on sprint running teamheroc-7.2.0-RC0-30nov
 
Will this app broadcast a wifi signal?
cause it would be great to tether via wifi instead of usb cable
 
Working nicely on XP Pro laptop and a HTC HD2 phone running NexusHD2-Gingerbread V2.8 on the SD card, fails to tether on first attempt to run the PC program but always seems to connects on the second time. Good!
 
I tried to connect to my X2 with Eclipse root yesterday and I couldn't make it work. I have been wanting to unroot/sbf anyway so I bit the bullet last night and did. After gettng things back in order I tried to reinstall on PC/vista - 64bit and X2. I am using it right now and it is working well. Thanks so much for your expertise, creativity and hard work. It is greatly appreciated as I'm sure you know, but probably don't hear engough.
 
+Koushik Dutta : Hi! I just tried this and it is working nicely on my Galaxy S2(rooted though) with my friend's PC. I was wondering though, and this is just a thought, can you also make an app for Reverse USB Tethering?? So that we finally have a way to use our PC's wired internet on the phone?? I think HTC phones can do this, but i have not yet come across a way of doing this effectively on other androids... Can you turn your wonderfully brilliant mind's attention on this when free??
Loco Mo
 
Has anyone been hit by verizon for doing this? I had a friend tell me that he was hit with a charge by verizon
 
On Ubuntu 10.04 32-bit I'm getting an error "~/Tether/linux/i386/node: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory"

I have not been able to look to see if there is a package to install that will fix the error...I currently don't have internet on my laptop where I am.
 
When do you expect your APP release will hit the market? (Yeh, I see yourr post on Market Billing Issues...). Concern is DL post of another app. which I assume is NOT yours, hit market today, "Wifi Hotspot and USB Tether"... I like yours, & appreciate your incredible support (and history with other porgrams). I'd like it even better, if there were an alternate method of distribution (since PC driven install) and could be distributed in a way that carriers could not block. Keep up the GREAT WORK! .. Gary
 
This works great! But Steam (by Valve) refuses to connect.
 
Great work Koushik. Any plans for making this work with the hotspot feature? That would be very, very sweet.
 
awesome job! had to put my d3 in charge only mode once i figured that works like a charm. Im getting 180.927 kb for upload and 4.932mb for download
 
Is there currently any way, or are there plans to in the future allow the program to provide a connection for programs that normally can't be proxied, specifically programs such as Steam? I can surf fine now with the windows version (thanks for an awesome app, by the way) but I can't get Steam to work
 
Thank you so much for working on this! I have a Droid X that I'm trying to use this on, Windows Vista 32-bit on the computer. I have found several helpful posts in this list so far, and have made some headway, but still no tether. Here is my log:


C:\Program Files\ClockworkMod\Tether
"Local Area Connection 5"
Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
015A474B06016016 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
...

And that last part loops forever. I know I'm close to getting this working, just not sure what else to try at this point. Any help would be greatly appreciated!

Thanks again!
 
Works for me on my LG Optimus S. Basically, everything was very straight forward, and it worked first try. I have my laptop tethered right now at 10Mb/s, which is 3x faster than my home cable connection.
 
+Brandon Wood That can either be because somehow two Tethers are running (try restarting). Or, more likely, a firewall issue of some sort. If you are using something other than the Windows firewall, that may cause it.
 
+Koushik Dutta I installed the software but everytime it runs windows tells that an error has occured and the program ended unexpectedly so I wanted your help in running it. Also when I installed it asked me to install a service. I installed it but at the end it asked me whether the service should run at the startup to which I denied so if this is causing the problem then please can you tell me the name of the service so that I can start it.
 
+Mohit Gurnani There should be no service installed. Can you try uninstalling and reinstalling? Get me a screenshot of the error?
 
+Koushik Dutta Thanks to you as you replied me immediately.
Here's the link for the screenshot

http://dl.dropbox.com/u/33390741/Tether%20Clock%20Work%20Mod.bmp

Also I had forgot to tell you
I am having Windows XP with Service Pack 2
Microsoft .Net Framework 4.0
Also I use to connect to internet using my Nokia S40 mobile with Nokia Suite so hope they don't have any clashes between each other.
One more thing which I have found out is that I can still use the program till I dont close the error but as I close the program also exits.
I haven't tried connecting to internet yet but I will try it soon.
 
+Mohit Gurnani At the moment, I have only tested on XP SP3. Any chance you can update? I am hesitant to support older operating systems (8 years old now!), as I can't even find a copy of XP SP2 :)
 
Hi, I write the command for Ubuntu after extracting the file, but the terminal answers me 'command not found'. Why??? Help me please, thank you!
 
+Koushik Dutta Sorry but my internet is too slow
As I told you that I am running a 56 kbps modem and if I will update to SP3 then it will take 5 to 6 hours and also it can't be paused therefore a single call can cancel the whole process so sorry I can't but I will try it in my friends pc and tell you if it runs or not. Thanks for your help
 
Working great on Win 7 home premium with mobile droid og cm 7.1... have not tasted behind VPN though...
 
+Koushik Dutta Hi, I write the command for Ubuntu after extracting the file, but the terminal answers me 'command not found'. Why??? Help me please, thank you!
 
+Koushik Dutta I write this command in the Terminal after excrat the file: 'sudo linux/run.sh' . And the answer is 'command not found'. Now I've just downloaded the App from Android on my Galaxy S. The phone says 'USB tether is running. Please open the Tether app on your computer. But i can't run the app on my Ubuntu indeed. :S
 
+Koushik Dutta tar (child): tether-linux.tgz: funzione "open" non riuscita: File o directory non esistente
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
 
Verizon Galaxy Nexus with Windows 7 64bit. I have tried four different versions over the last week including the lastest one in the market and have not gotten it to work. Here is my log running the lastest version from the market both on my phone and my computer.

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 4"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 4" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 4" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 4" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Checking phone status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
0146B50408012013 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
{}
 
Just a few more details from my previous post I disabled the firewall, rebooted the computer and phone several times, reconnected the usb cable several times, tried uninstalling and re-installing both on the computer and phone, and just about anything else someone mentioned working in previous posts.
 
+Koushik Dutta dear koushik, I tried to install the tether software (on my friends pc) it got installed but when i ran it, nothing happened even that application didnt started after a long wait.

Please help....
 
Droid X running firstEncounter's beta 3 ICS build, and Windows 7 x64 Ultimate. Works flawlessly, Love the automatic version detection/download. Works from both Wifi and 3G connections.
 
It works on my Droid (original droid) Android version 2.2.3 Motorola, on Verizon.
Thanks, good to get over on Verizon! Those bastards!
 
Won't run. My phone is a Garmin Asus (Garminfone). Android OS

Here's the log...


Ok.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
C:\Program Files\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 2" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 2" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
 
Working perfectly on Samsung Moment (Android Basic EB28 2.2.2, SDX EB28 Kernel 2.6.32.9) and Win7x64.I had to install it on Windows and then also manually install it on the phone before it would recognize the phone. Suddenly it is not recognizing my phone anymore. Can't get it to work again.
 
Got this working my thunderbolt. I was just wondering if it is possible to bridge this connection to the ethernet port on the computer. I tried but as soon as it was bridged I no longer had access to the net. Just curious and thanks for your work.
 
win 7 64 bit and optimus 5 on virgin mobile was running pda net fine for a while pdanet was still installed on comp opps
and ty for the app i get free full internet now btw does internet sharing work?
edit:problem fixed
 
node doesnt configure itself i have to configure it manually, for linux, you have to have openssl packages to run correctly am i right?
i have everything in place...
been at it for almost a week now and still cant get this app to even work on my linux distro......... or any distro i have tried for that matter

annoying that i bought the app for 5 dollars and it doesnt wrk

~/Tether/linux
Starting Tether...
opening tun device: /dev/net/tun
adb binary path: ../linux/adb
Checking phone status...
Running interface setup script: ./linux/interface-setup.sh
List of devices attached
033c11c940e0d217 device


Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\nWarning: Activity not started, its current task has been brought to the front\r\n',
'2': '' }
 
It worked fine for me with my Macbook Pro, OS X 10.6.8 and Galaxy Nexus over Verizon 4G LTE
.20 Mbps up, .16Mbps down, 50ms ping
.18 Mbps up, .11Mbps down, 44ms ping
 
Hi +Koushik Dutta

I'm getting the following error while 'make' in my linux laptop (Please let me know where to properly report this):


DEST_OS: linux
DEST_CPU: ia32
Parallel Jobs: 1
Product type: program
[33/35] cxx: src/platform_linux.cc -> out/Release/src/platform_linux_5.o
/usr/bin/g++ -pthread -m32 -g -O3 -DHAVE_OPENSSL=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_FDATASYNC=1 -DARCH="ia32" -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -IRelease/src -I../src -IRelease/deps/http_parser -I../deps/http_parser -IRelease/deps/uv/include -I../deps/uv/include -IRelease/deps/uv/src/ares -I../deps/uv/src/ares -IRelease/deps/v8/include -I../deps/v8/include -Ideps/v8/include ../src/platform_linux.cc -c -o Release/src/platform_linux_5.o
../src/platform_linux.cc:53:21: fatal error: stropts.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/apps/tether/Tether/node/out'
Build failed: -> task failed (err #1):
{task: cxx platform_linux.cc -> platform_linux_5.o}
make: * [program] Error 1

As first I got an error about missing dependencies, so I installed openssl-devel. Then I got the error above.

My Details:

LSB Version: :core-4.0-ia32:core-4.0-noarch
Distributor ID: Fedora
Description: Fedora release 15 (Lovelock)
Release: 15
Codename: Lovelock

Kernel
Linux 2.6.38.6-26.rc1.fc15.i686 i686

Thanks,
/Renz
 
Hi Koushik! I installed the app on my Mac (Snow Leopad OS) and using my Motorola Razr (android) to tether. I have also dl the app directly to my phone, but I am not able to connect to the internet. I'm getting the following log:

Unloading existing tun/tap kexts.
Testing net.tunnelblick.tun
Testing net.tunnelblick.tap
Testing com.viscosityvpn.Viscosity.tun
Testing com.viscosityvpn.Viscosity.tap
Done unloading tun/tap kexts.
Loading /tmp/tun.kexts.
Error loading /tmp/tun.kext.

Please let me know what I can do to resolve this. Thanks!
 
On mac OS 10.6.8, on pressing button start:

Unloading existing tun/tap kexts.
Testing net.tunnelblick.tun
Testing net.tunnelblick.tap
Testing com.viscosityvpn.Viscosity.tun
Testing com.viscosityvpn.Viscosity.tap
Done unloading tun/tap kexts.
Loading /tmp/tun.kexts.
Error loading /tmp/tun.kext.
 
Windows Vista Service Pack 2, Evo 3D lastest update, after pressing start on desktop client:


C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 4"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 4" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
The object already exists.
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 4" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 4" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Checking phone status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
HT16RHX03815 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}

Any help would be great!
 
+Kenton Goldsby Let me install vista and see if I can reproduce this problem. You seem to have a lot of network adapters. Do you mind screenshotting the list of adapters you have?
 
will there be a way to wire tether tablet? or tether tablet at all with this app?
 
If you would check back on the photos I posted, I'm having a new problem. So sorry that I'm bugging you with this, you have done a great thing for the community.
 
On Mac 10.7.2, Droid2G 2.3.3. If I quit Tether on Mac/phone and want to reconnect, it cannot access tun device. Need to open Terminal and ps ax | grep fork-server | head -n 1 | cut -c 1-5 | xargs sudo kill. Then reopen Tether for phone, then Mac. Getting 20kb down. Enough for Google+.. Bluetooth PAN is faster, but has been finicky ever since Gingerbread OTA update. Thanks +Koushik Dutta
 
Mr. Koushik, just installed it, (WIN7/64BIT) / Bionic / VZW). Worked great so far. 5megs dn / 1meg up (same speed I get normally in this area).
 
Bought the full app today and got it installed on Fedora 14. When I run "sudo linux/run.sh" I get the following:

Sickman@Sickman Tether]$ sudo linux/run.sh
/home/Sickman/Tether
Starting Tether...

opening tun device: /dev/net/tun
adb binary path: ../linux/adb
Checking phone status...
Running interface setup script: ./linux/interface-setup.sh
List of devices attached
HT173HL07522 device

Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected.
Notifying client of Tether version: 1
STATUS: Tether has connected.
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.

adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\nWarning: Activity not started, its current task has been brought to the front\r\n',
'2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\n',
'2': '' }
Checking phone status...
Phone is still connected.

Keeps repeating the last line (e.g. Checking phone status..., Phone is still connected. No indication of a wired connection in connection manager. Does not seem to be able to connect. Any thoughts?
 
hi there just got your app wking on my linux box, ubuntu 12.04 with gnome-shell wks great :-)
I had to ./configure node first and then sudo ./run.sh and then everything wked great :-)
keep up the good wk :-)
 
I figured out what was wrong. My Comodo Firewall was preventing it from running correctly.
 
I started having problems, and tried updating. Then tried uninstalling and reinstalling (both on phone and computer). On Casio Commando and Windows 7 connection, nothing changes ("Checking phone status... Phone is still connected."), but after a few minutes of blazing speeds (2-5 minutes usually, sometimes longer) I get the little yellow error icon in the taskbar on the computer, and suddenly I have no internet access. The phone keeps sending and receiving data according to the 3g icon, but not through the tether app.
 
+Koushik Dutta dear koushik, I tried to install the tether software (on my friends pc) it got installed but when i ran it, nothing happened even that application didnt started after a long wait.

Please help....
 
SOLUTION--MOVE TO ANOTHER COUNTRY??? In Thailand and AUSTRALIA TETHERING IS NO PROBLEM/ NO EXTRA CHARGES FOR ANDROIDS (I AM PAIRED WITH LINUX MINT11). BUT ITS GREAT TO KNOW SOMEONE IS WORKING ON THE RIGHT SOLUTION. ACTUALLY, I USE UP MORE DATA BY USING MY COMPUTER SO IT WORKS OUT BETTER FOR THEM TOO.
 
Mac OS X 10.5.8 no dice on software "can't run on this version"... but, thanks for all the awesome software, if you can update it for this older version of MacOS, that would be super awesome!
 
Tether Software - Have a Nexus One with N7.1.0-N1 with MacBook Air 10.7.2 Have the following error message Error: connect ECONNREFUSED. Debugging is enabled, USB Storage is not on. Any suggestions? Thanks
 
i have a verizon galaxy nexus and windows 7 x64... it doesnt seem to work... is the app/program supported on x64 windows 7 and/or galaxy nexus?
 
+Koushik Dutta No man, I'm not trolling you at all. I've downloaded the zip. Then what I have to do? I have to put the file in a specific folder? I've just run the terminal and put in the 'sudo' command...but it answers me...'command not found'...
 
+Matteo Regina I'm sorry Matteo, I had figured most Linux users would be command line savvy. I am unsure why you are unable to find the extracted package directory. I will work on making a Linux UI like the other operating systems so users have a better experience.

Do you have a Linux/console savvy friend that can help you out?
 
I'll try to post my little starting problem in the Ubuntu forum...I'll let you know my progress. Thank you anyway!
 
+Koushik Dutta I'll solve the starting problem! ;)
Now I've another one: "Please compile the included node.js package before running Tether!"
I've made the configuration but the terminal answers this:
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /usr/bin/gcc
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for gcc : ok
Checking for library dl : not found
Checking for openssl : not found
Checking for function SSL_library_init : not found
Checking for header openssl/crypto.h : not found
/home/matteo/Tether/node/wscript:374: error: Could not autodetect OpenSSL support. Make sure OpenSSL development packages are installed. Use configure --without-ssl to disable this message.
matteo@matteo-HP-Pavilion-ze2000-PS722EA-ABZ:~/Tether/node$ make
Project not configured (run 'waf configure' first)
make: * [program] Errore 1

What I have to do?
 
+Koushik Dutta The process stop at n.18/34 with this alert:
/usr/bin/g++ -pthread -m32 -g -O3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_FDATASYNC=0 -DARCH="ia32" -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -IRelease/src -I../src -IRelease/deps/http_parser -I../deps/http_parser -IRelease/deps/uv/include -I../deps/uv/include -IRelease/deps/uv/src/ares -I../deps/uv/src/ares -IRelease/deps/v8/include -I../deps/v8/include -Ideps/v8/include ../src/node_zlib.cc -c -o Release/src/node_zlib_5.o
../src/node_zlib.cc:28:18: fatal error: zlib.h: File o directory non esistente
compilation terminated.
Waf: Leaving directory `/home/matteo/Tether/node/out'
Build failed: -> task failed (err #1):
{task: cxx node_zlib.cc -> node_zlib_5.o}
make: * [program] Errore 1

Suggest?
 
Nexus One with N7.1.0-N1 with MacBook Air 10.7.2
Thanks for the suggestion. Removed Easythether. Have a VPN, but not in use. Please see below:

Unloading existing tun/tap kexts.
Testing net.tunnelblick.tun
Unloading net.tunnelblick.tun
Testing net.tunnelblick.tap
Testing com.viscosityvpn.Viscosity.tun
Testing com.viscosityvpn.Viscosity.tap
Done unloading tun/tap kexts.
Loading /tmp/tun.kext.
Starting Tether...
opening tun device: /dev/tun1
adb binary path: ../darwin/adb
Checking phone status...
Running interface setup script: ./darwin/interface-setup.sh
STATUS: Phone could not be detected. See log for details.
Phone not detected by adb!
Connect your phone to your computer and make sure "USB Debugging" is enabled.
You may need to set your phone to be in "Charge Only Mode".
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...

Will look through the comments of others, but most seem to be relating to Windows.
Thanks - Dick
 
Working really great on Ubuntu 32 bit. If you're having trouble with openssl, it's because you don't have the development libraries. Try sudo apt-get install libssl-dev. That will install the development libraries that Tether needs for the ./configure (make sure you either reboot or do a sudo apt-get update afterwards!). After that, I just did a make, make install, added the tun interface, rebooted, ran the sh, and was working beautifully. Thank you, +Koushik Dutta ! I'll send a couple bucks your way for the great app!
 
Finally got it to work, even though it was for a minute or so. i ended up downloading the my touch 4g tether driver and it somehow worked with my htc thunderbolt. i would be willing to pay quite a bit for this once its got the bigger kinks worked out.
when i was connected i was recieving download speeds of about 2 mb/s and upload speeds of about 320 kb/s.
i am running windows 7 64 bit with an htc thunderbolt os 2.3.4.
 
im just wondering but would this work with an android tablet, specifically the toshiba thrive?
 
+Koushik Dutta The configuration crash at 18/34 and I don't know why. It answers me like that:

[18/34] cxx: src/node_zlib.cc -> out/Release/src/node_zlib_5.o
/usr/bin/g++ -pthread -m32 -g -O3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_FDATASYNC=0 -DARCH="ia32" -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -IRelease/src -I../src -IRelease/deps/http_parser -I../deps/http_parser -IRelease/deps/uv/include -I../deps/uv/include -IRelease/deps/uv/src/ares -I../deps/uv/src/ares -IRelease/deps/v8/include -I../deps/v8/include -Ideps/v8/include ../src/node_zlib.cc -c -o Release/src/node_zlib_5.o
../src/node_zlib.cc:28:18: fatal error: zlib.h: File o directory non esistente
compilation terminated.
Waf: Leaving directory `/home/matteo/Tether/node/out'
Build failed: -> task failed (err #1):
{task: cxx node_zlib.cc -> node_zlib_5.o}
make: * [program] Errore 1
matteo@matteo-HP-Pavilion-ze2000-PS722EA-ABZ:~/Tether/node$

What I have to do?

Thank YOU!
 
Having problems I have Windows 7 x64 and VZW Nexus Galaxy. This is what I get when I click Start on the Tether program.
http://i42.tinypic.com/kajte9.jpg

After I click Start it runs for a little while, those scripts come up and and the just stops.
 
+Harold J a couple things here, for me, i havnt had this problem but your best bet is to make sure that it is an exception in windows firewall. also, make sure you download the tether driver from your phone manufacturer website
*note your computer may tell you to download a driver for a phone that isnt yours. it doesnt matter, download it. it should work after.
 
Hi,
My Linux install failed.

Build failed: -> task failed (err #1):
{task: cxx platform_linux.cc -> platform_linux_5.o}
make: ** [program] Error 1*

Linux 3.1.6-1.fc16.x86_64 #1 SMP Wed Dec 21 22:41:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Here is the paste bin:
http://fpaste.org/atXj/

Let me know if you need more details
 
Windows 7 64 bit produces the following. No errors are returned, Tether.exe simply stops trying to connect.

Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
{}
C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 4"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 4" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Element not found.
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 4" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 4" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Checking phone status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
4641198102A5C1AE device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
{}
 
+Matteo Regina , let's start over from the beginning and get you up and running. Since you seem to have limited experience with compiling Linux programs, I'll walk you through it.

(1). Download the newest Tether tar file.
(2). Extract the tar file using your Archive Manager to /home/matteo/Tether/. If this directory does not exist yet, you will have to create it.
(3). Open terminal.
(4). Enter cd /home/matteo/Tether/node/ into terminal. If this is not the directory path to node, find the correct directory path to node and use that instead.
(5). If you do not have openssl-dev installed, please type in terminal: sudo apt-get install openssl-dev. I would recommend doing this anyhow, as there are no negative consequences to doing so.
(6). Now, in terminal, ensure that you are still in the node directory. Then type: ./configure
(7). This should take some time, so grab a cold drink.
(8). When the configuration has finished, type: sudo make
(9). When make has finished (also might take a while), type: sudo make install
(10). You have just compiled node! Now let's run the executable.
(11). Type: sudo /home/matteo/Tether/linux/run.sh into terminal.
(12). Give it a minute, make sure your phone is plugged in, you have a signal, and the Tether app is installed, and it should get going! If you do not have the tun interface set up, you might need to type this into terminal: sudo ip tuntap add mode tun

This worked for me, using Ubuntu 11.10 32-bit on a Moto Droid 1. Good luck, soldier!
 
I'm seeing the same issue +Maxwell Bloch is seeing, where the adb process stays running after the desktop client is closed. I'm running Linux. I end up needing to kill -9 it to reconnect, a simple SIGTERM wouldn't do the trick.

All in all I am very pleased and immediately paid the $4.99 license for the Tether APK. Thanks, +Koushik Dutta!
 
I'm also experiencing +Erik Johnson 's issue. Would it be possible to add a hotkey for terminating the program and adb when I want to disconnect?
 
It's also occurring on Linux, if you happened to have updated it as well. I can give it a go before the release.
 
+Maxwell Bloch The way USB works is that it is limited to the speed of your slowest USB peripheral. Try unplugging all your peripherals and see if it is faster (it should be). Then track down which peripheral you have is the culprit :P

This is the same reason that USB memory cards can sometimes be "slow".
 
+Kendrick Mausolf That is so bizarre. What if you disconnect the phone physically? Will that clean it up?

I'd really hate to force a kill-server, as the adb process is finicky (and slow) about detecting the device. It's supposed to remain resident and manage connections.
 
It remains after disconnecting the device too. It's really odd.
 
+Kendrick Mausolf Strange. adb isn't even the process that opened the tun device, it was the node process, which exits cleanly. I think some lingering tcp/ip connection can maybe cause this. Let me make sure I am cleaning those up too.
 
+Koushik Dutta Okay. I think I found it. If I start tether and connect successfully, then disconnect without trying to access any websites, both node and adb-fork-server close and bring down the tun interface. If I access a website before disconnecting, the problem happens where adb-fork-server doesn't close and the tun interface stays up.
 
I can confirm the same behavior that +Kendrick Mausolf is describing. I typically stop the tether app on the phone, then disconnect the device, and finally ^C the shell script. The script says that it is closing the tether adapter, but the adb process still remains (as does the tun interface), needing to be killed to clean up the tun interface. If I connect and immediately disconnect, adb exits normally.
 
+Kendrick Mausolf Thank you! Your step-by-step was usefull to me. There is another problem. When I try to run "(11). Type: sudo /home/matteo/Tether/linux/run.sh into terminal." It answers me "sudo: run.sh:command not found". WHY??? Thanks!
 
+Kendrick Mausolf +Koushik Dutta Don't mind the last comment, I'll manage to solve the problem. Now the tethering is started on the terminal! It says " Checking phone status...phone is still connected." What I have to do? I try to open the browser, but it doesn't work!
 
+Koushik Dutta +Kendrick Mausolf I'll solve the last problem too men!!! I'm connected from my laptop with my Galaxy S! Thank you Koushik for this app and the patience! And thank you Kendrick for the 'donkey' manual that save my day!!! Best wishes from Italy!
 
Thanks for your work on this Koushik. I am on a fresh install of Linux Mint 12 on a Dell Vostro laptop, phone is a Samsung Galaxy Nexus. Here's my bullet-list of stuff that can be improved: 1) The README seems to say that it will run the config and make first time by itself, but it does not, you have to run that yourself. 2) Running the make the first time errored out, I of course had to install g++. The response from the Makefile about this could be cleaner. 3) After installing g++, I ran into the same "Could not autodetect OpenSSL support." OpenSSL is already installed, I don't know why it can't find it. I moved past by using the --without-ssl flag but the Makefile message is unclear as to whether this will affect the build negatively. I looked for a package called "openssl-dev" as others have mentioned but there is no such package for my environment. 4) Finally got the Linux client running, it's overly-chatty with its output for the general user. The info/warning messages should be controlled by a flag. 5) Once it was running, generally the phone app and the Unix client worked together OK. There could be better synchronization. 6) Like the Mac users, the first time I killed the Unix-side, I could not restart it without first having to do "sudo kill {pid for fork-server process}", and actually every time I ctrl-c'd the Unix side, I had to kill fork-server before I could restart. This is ugly for the general user. Once working, it worked and I got decent throughtput. With my phone connected to WiFi I got about 5 MBit download, and the phone connected over WiFi gets about 13 MBit download. With my phone connected to 3G (awful in my area) I got about 0.3 MBit download on my laptop, and that's the same as my phone gets. Great work! I just feel it needs to be tidied up in the user-install and usability areas. Thanks.
 
Bluetooth Excellent!! +Koushik Dutta I'm not as tech savvy as many here. Will others be able to get on my connection? It seems that you did a lot of work so I will purchase your app. Once the Bluetooth is created will that be a separate app with an additional fee or just an update? ETA on the bluetooth? My Asus Prime is arriving soon.
 
Will not work on my HTC Droid Incredible. Any suggestions??
 
+Peter Antonio Lindsay nobody else will be able to get on your connection as it is effectively a 'wired' connection. The only types of connections that you would have to worry about someone else trying to connect to would be a wireless connection, such as WiFi hotspot. With this software package, your phone has a single connection from itself to the Internet, and your computer has a single connection from itself to your phone, over your USB wire.
 
+Mike Ugino Everything seems to be working. I assume you dont have any other adapters active/running when using tether?

Can you try nslookup google.com in a command window?
 
here is what I keep getting when I try to start the tethering on the PC side:

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 5"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 5" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1

Thanks in advance for any help on how to get this up and running. : )
 
+Mike Ugino So it seems that it is working, for UDP at least. What happens when you browse? what error do you get in the browser?
 
In a good 4G area, I'm getting 10 MBit+ to my laptop. :)
 
installed per instructions both for Toshiba Satellite Notebook with win7 and older Gateway emachine desktop running Ubuntu 11.10 inside of windows vista ... using Samsung Nexus S gingerbread with USB debugging ON and your website apk, I found from the link on your website the correct driver for the notebook and tested both wifi and cingular mobile (3G) with satisfactory results. some initial quirks, but with a bit of reloading at least have been able to stabilize the performance. For the linux on ubuntu, had to kill the fork process manually after initial starting. instructions for linux install slightly confusing..maybe just some additional user-friendly phrases or notes might be of help to less tech-savvy individuals.. But most importantly, your app does seem to work satisfactorily enough for my purposes. The premium tether app I could not find, and the setting to BUY TETHER and using android market with credit card would NOT provide the option to complete.. the wording ACCEPT and BUY was 'greyed' out and not functional.. I doubt I provided much useful feedback, but did wish to comment on my personal experience with your app. Any additional info will be appreciated. I am pleased to have this additional functionality for my android device, since it can be quite useful.
 
thanks.. It seems that the problem was that my credit card info was old. I had to re-enter the info and update the card expiration date on the google check-out, but then it completed the transaction with no problem. I also notice now the number of days remaining for the trial perioid lettering has disappeared, so I am assuming I am 'good to go' ..
 
Still trying to get this to work with my HTC Incredible...
Any help would be Greatly Appreciated. Thanks~
WiFi Tether works great. This however just won't start.
Suhas P
+
2
3
2
 
Tried with updated app, and no success on Galaxy Nexus (Rooted). I keep getting


Unloading existing tun/tap kexts.
Testing net.tunnelblick.tun
Testing net.tunnelblick.tap
Testing com.viscosityvpn.Viscosity.tun
Testing com.viscosityvpn.Viscosity.tap
Done unloading tun/tap kexts.
Loading /tmp/tun.kext.
Error loading /tmp/tun.kext

Not sure what am I missing.

UPDATE:

I did find what is wrong.... Try following if someone is getting following error...

1. Remove Tunnelblick
2. Open Terminal
3. Type kextstat
4. At the bottom you may find foo.tun and foo.tap, got to remove those
5. Type sudo kextunload -b foo.tun
6. sudo kextunload -b foo.tap
7. Type kextstat again just to check the foo.* are gone

That did for me.... hope it helps some one else also...
 
I've read where other Mac users have had speed problems and you've suggested it was usb related. I'm getting awful speeds over tether on 10.7 and great speeds on the phone. It is the only thing plugged into usb.
 
+Koushik Dutta I've come to my wits end on why I cant get it to work. What it does it go solid green for 3 or 4 seconds then back to the starting color. I've included a pastebin for you. I'm on sprint with the Nexus S 4G. Running win7 64bit http://pastebin.com/5bh5MvXe
 
+Koushik Dutta tested yesterdays Mac zip. Now typing on connected Tether with 1.0.0.1 (haven't updated to 1.0.0.3 yet). Second time opening Tether.app as usual is a charm. Quit Tether.app. adb-server not running. OK. Reopen Tether.app. This time I get "could not find phone. might have to disconnect and reconnect." However, stopping Tether.app and reopening (again) works smoothly. So, every other time Tether.app is opened, it works perfectly. Will update to 1.0.0.3 to see if this resolves that issue. Thanks!
 
+Koushik Dutta Ran into a weird Application Not Responding error in Tether.app: Tether is connected OK, then I flick-scroll the Tether Log text area to the very top, so that the text "bounces" and creates a white area above the first line, before snapping back. During the "bounce" I click in the "header" zone, and cause Tether.app to become unresponsive. Works every time.
 
+Koushik Dutta Can you provide the latest download package for linux. I've had some issues with getting it to run and I want to start fresh after 2 other failed attempts. Thank you.
 
+Koushik Dutta I'm running xubuntu and run the following, this is what I get



unknown@Da-xububntu:~/Tether$ sudo linux/run.sh
Please compile the included node.js package before running Tether!
cd /home/unknown/Tether/node
./configure
make

Now I saw that someone suggesting doing this apt-get install libssl-dev followed by this sudo apt-get update for those having issues with openssl, But when I run ./configure and ./configure --without-ssl I get the same message which is

Checking for program g++ or c++ : not found
Checking for program icpc : not found
Checking for program c++ : not found
/home/unknown/Tether/node/wscript:261: error: could not configure a cxx compiler!

There for, I can't run make. If you or anyone can help, I would be most grateful.

Edit: Seems that I got it to work. The app is running. For those getting the error: could not configure a cxx compiler run this:
sudo apt-get install build-essential libssl-dev curl git-core

then run ./compile
 
It seems to work for me on my Epic 4G, but I am getting a lot of command received messages (maybe 10 a second?) in the Tether window on the PC.
 
And the tetherwindow is using 50% of the cpu.
 
I installed the latest version after having used the original version without issues. Now I am getting a continuous stream of "Command received"\\Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.
Command received.

What is the reason for this? I can't give you a version number since the version still shows 1.0.0.0 but has a Date created of 1/11/2012 so that is certainly the latest file since I installed this originally right after it was released on 1/3/2012.

Win7 32bit.

Any ideas?
 
i'm seeing the same thing as Larry. I was able to connect and after i did i got a popup on the phone that the desktop client was out of date. Once i updated i just get hung with a ton of Command received messages. Here is the full log (minus the redundent coomand received messages)

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Element not found.
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 2" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 2" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
Ok.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Checking phone status...
Waiting for interface to get ready... (waiting 5 seconds)
Command received.
...
Command received.
List of devices attached
0A3BB5B61502100E device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Command received.
...
Command received.
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
Command received.
...
Command received.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Command received.
...
Command received.
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
Command received.
...
Command received.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Command received.
....
Command received.
{}
 
Jason, where did you find the log? I checked the computer and didn't see a log anywhere.
 
Working great with Verizon Galaxy Nexus and Windows 7. However, I noticed an issue - you cannot launch the Steam Client with it. I know the client works with wifi because I just installed (and ran it) yesterday. However, when it tries to connect with tether running, it fails then quits.
Omari C
 
Loop claiming the phone is connect, but not internet connection. Turned off firewall to no avail. EVO 3D/Win 7. Could be my ROM. Could be my faulty USB cord. Probably just the Technology God cursing me.
 
Worked great on HTC Thunderbolt. Only tried it once so far so we will see how it goes from here. Nice work.
 
Larry, just scroll up higher in the box. All you are seeing is the last 40 lines or so of the log
 
QUESTION: Will tether work without a PC side if the phone is rooted? My Linux compile experience failed. Here's the sequence I followed on Centos 6.2

Downloaded Tether tarball, logged in as superuser, typed: sudo linux/run.sh and hit enter which returned

Please compile the included node.js package before running Tether!
cd /home/paul/Downloads/Tether/node
./configure
make
Since the script didn't run I followed the script manually. I did a cd to node and typed: ./configure which returned


Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /usr/bin/gcc
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for gcc : ok
Checking for library dl : yes
Checking for openssl : yes
Checking for library util : yes
Checking for library rt : yes
Checking for fdatasync(2) with c++ : yes
'configure' finished successfully (0.711s)
I typed make. The compiler ran for several minutes with successful output until I received the following:


../src/platform_linux.cc:53:21: error: stropts.h: No such file or directory
Waf: Leaving directory `/home/paul/Downloads/Tether/node/out'
Build failed: -> task failed (err #1):
{task: cxx platform_linux.cc -> platform_linux_5.o}
make: * [program] Error 1
I put it aside for now but maybe it will help in the long run.
 
do you plan on fixing the fact that games dont work? like steam mainly steam. i saw you say something about pings not working and im assuming the problem is related to that if not then im clueless
 
Hey man, great app. Will this work with an android tablet to an android phone?
 
I'm seeing the same thing as Edgar. "Activity not brought forward"
 
Worked on rooted OG Droid with Liquid ROM connected to Windows 7 64bit PC. Got 1.15 mb/s on 3G network. Noticed that I had to turn off the wifi on phone because it acts as a bridge which actually could come in handy. Thanks for the no-cost solution.
 
+Koushik Dutta I run an iptables firewall on my laptop, can you let me know the ports used by Tether so that I can properly write my firewall rules? I don't like the idea of disabling my firewall completely to use tethering. I tried allowing the ephemeral port range inbound (TCP only), but it doesn't quite work. The Tether app on my phone says I am connected, but I can't get out to the internet.
 
Working with a Galaxy Nexus on Verizon and a Macbook Pro 10.6.8, but speeds are very slow. In a weak 4G area, I get 2.5 to 4 Mbps download speed on the Android (speedtest.net), but only 0.21 to 0.29 Mbps on the computer, and only 0.10 in upload speed.
 
I am having issues with windows suddenly stopping transmission of data. The tether app will work for about 3 mins then the yellow exclamation point appears on the network status symbol in the notification task bar and tether stops working. Even though the log says everything is running and working, its not. Running Windows 7 64-Bit and Droid 2 GB 2.3.3 no custom ROM install. Please help. Thanks! Log file http://pastebin.com/SPgVE0L1
 
At first I couldn't get Tether to run on my mac (snow leopard). Looking over the comments and responses I found that running "kextstat|grep tun" showed a potential conflict with foo.tun and foo.tap. I have no idea where those came from, but kextunload -b for both of them took care of it! Shutting off my wifi and still online with my phone! This rocks! Thank you so much!

I can't wait for the bluetooth version!

My old Droid3 running gingerbread was able to bluetooth tether without a tether plan. Upgraded to Galaxy Nexus running ICS and now I can't bluetooth tether any more without paying verizon AND giving up my unlimited data plan. This app nicely avoids those issues!

Nice work!
 
Unsatisfactory performance with HTC Amaze 4G on T-mobile. Configured Windows HTC BMP USB and USB drivers, and Tether app, on Windows XP SP3 16-bit. Installed APK on Android 2.3.4 Amaze. Connected fine, but speed was terrible. Barely 800kbps down, where as Ookla Speedtest measured 12Mbps and 17Mbps in the same location on the phone. No errors noticed, just TERRIBLE throughput. 50% of the time Firefox timed out, unable to reach a WWW server for a page. Finally getting through to Broadband Reports, I used a "mobile" test to measure ~800kbps down.
 
UPDATE: I fixed the following problem (install on 64bit linux) I had by installing the following:

sudo apt-get install ia32-libs

.....

I have read through both threads here, and I apologize if I missed it, but where does this project stand on linux 64bit platforms? I think I saw where one Suse user got it working on 64 bit, but thats it. I just attempted to install on Ubuntu 11.10 64bit and it fails when running ./run.sh. Here is the specific error I receive:

[Error: Command failed: ./linux/../../linux/adb: error while loading shared libraries: libncurses.so.5: wrong ELF class: ELFCLASS64

Which looks like a 64 vs 32 bit issue. I can certainly provide more details if/when necessary.
 
Hey +Koushik Dutta , Thanks for all your great work. I tried finding a solution in this thread but I can't find a similar problem. The Tether.exe doesn't launch at all on the PC side (Windows XP SP3). I disabled firewall and virus protection but the program itself won't even launch. Uninstalled, restarted, re-installed with no luck. Tried looking for an event crash but there are no logs. Click to launch, split second of the hourglass pops up, then nothing happens. Thank you in advance!
 
Success with Tether on DroidX/WinXP SP3/Fujitsu laptop from 2005 and DroidX/Win7 Starter Gateway netbook. It was necessary to add permission through the ZoneAlarm firewall. I clicked 5 stars and paid the $4.99 upgrade. Well deserved.
 
for linux you should add a comment about requiring git-core curl build-essential openssl libssl-dev i had to look around to find that it did not work untill i had those files
 
Great App! Why do I have a negative bytes download reading during certain times while using this app?
 
+Matt Martin Please try unplugging all your usb peripherals except your phone. Make sure you're using a quality data cable as well. Your USB speed is limited to the speed of the slowest peripheral. So if you have a slow/old usb device, that will bog everything down.
 
+Matt Martin You and I have the exact same setup. 2011 macbook, galaxy nexus. Though I am using a GSM model, but I think that is irrelevent. I assume your macbook is not connected to any wifi.
 
hello im running windows 7 ultimate x64 i have installed both the pc client and the client on my droid charge everything runs and connects correctly on the pc side yet no connection on the phone side it just continues to say "usb tether is running. Please open the Tether app on your computer" here is my log.. no internet connection.

update. so now im having a different error... now every time I press start this happens "{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed... " This happens in constant loop.... Any Ideas?
Update2: Got it to work! found a tun.ko file for my droid charge
1: added it to /system/xbin and /system/modules
2:reset my phone
3:opened tether app on pc
4:pressed start
5:tether opened on my charge
6:go into network settings and choose get obtain Ip address automatically
7:click ok
8:wait for reset
9:connected!
 
Hi and thanks for your great apps!
I still have the tun.text loading error on a MBA (10.7.3).
I tried some of the suggestions posted in the comments but with no luck. Is it a MBA related problem?
 
Hi Koushik,I downloaded &succeeded to tether my Toshiba laptop to my Samsung galaxy s2, which is rather a miracle as I know next to nothing about computers.my problem is, while laptop says i'm connected & my signal strength is excellent it tells me i'm working offline each time I click on internet explorer, i've tried turnoff off my firewall as has been suggested but still getting that i'm connected but cannot connect to internet.its very frustrating to get this far, but stuck at the final hurdle.please can you suggest anything I can try?I would really appreciate a bit of your time & help.thanks for listening, rob shore.
 
Hi Koushik,

The app worked great last week and then this week I get a message saying phone is detected but cannot tether the connection. Then the tether software continues to try to connect to the phone but I get a Phone not detected by adb! error. I am running MBA 10.7.4 on a HTC Thunderbolt. Below is the log. Thank you for reading. Andy


Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Error listing pacakges. Assuming Tether.apk is already installed.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0':
{ [Error: Command failed: error: device not found
] killed: false, code: 1, signal: null },
'1': '',
'2': 'error: device not found\n' }
Error forwarding:
{ [Error: Command failed: error: device not found
] killed: false, code: 1, signal: null }
Tether connection closed...
 
Runs in Windows great. Trying to run in Ubuntu 12.04 64-bit and get the following. Any suggestions?


sudo ./run.sh
~/apps/Tether/linux
Starting Tether...
opening tun device: /dev/net/tun
adb binary path: ../linux/adb
Checking phone status...
Running interface setup script: ./linux/interface-setup.sh
{ [Error: Command failed: /bin/sh: 1: ../linux/adb: not found
] killed: false, code: 127, signal: null }
STATUS: Phone could not be detected. See log for details.
Phone not detected by adb!
Connect your phone to your computer and make sure "USB Debugging" is enabled.
You may need to set your phone to be in "Charge Only Mode".
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
 
Installed on phone (Samsung Epic) working fine. Installed on OG Asus Transformer, through the USB port on the keyboard. Not successful in getting online. Not showing any errors, just not connecting.
 
Would this work through an android tablet or ipad by using an android phone as the internet source? Also would this work any differently since my phone is rooted? Thanks.
 
Hai Kaushik,

I have been trying to connect my Samsung Galaxy S2 with macbook pro. But have failed. I have the vodafone sim in Italy.

the following error message I get.

Tether error:
{ '0': 
   { [Error: connect ECONNREFUSED]
     code: 'ECONNREFUSED',
     errno: 'ECONNREFUSED',
     syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Then the following message too:
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Error listing pacakges. Assuming Tether.apk is already installed.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': 
   { [Error: Command failed: error: device not found
   ] killed: false, code: 1, signal: null },
  '1': '',
  '2': 'error: device not found\n' }
Error forwarding: 
{ [Error: Command failed: error: device not found
] killed: false, code: 1, signal: null }
Tether connection closed...

Any solution? thanks.
 
Hey Koush,

First off awesome program, it's been working flawlessly on my Windows 7 desktop. However I recently upgraded my laptop to Windows 8. It has .NET Framework 4.0 installed, but every time I try to run the .msi to install the PC software, I get the following error message:

This setup requires the .NET Framework version 2.0. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?

Upon downloading and attempting to install the .NET Framework package from the website, Windows tells me that I already have the latest version installed on my computer. I don't know if there's some sort of compatibility issue installing this on Windows 8, but any help would be fantastic.
 
Does this work with ICS?  I can't find a "charge only" USB option once my Droid RAZR was upgraded to ICS, and I can't get the PC to connect.  This worked, albeit somewhat intermittently, before I upgraded the phone to ICS.  Here's the log.  It just hangs at this point and the main window says "Tether is not running."  [PC is Win7 Pro 64b]

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 3"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="Local Area Connection 3" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Element not found.
Setting DNS server.
netsh interface ip add dns name="Local Area Connection 3" 8.8.8.8 index=1
The object is already in the list.
netsh interface ip add dns name="Local Area Connection 3" 8.8.4.4 index=2
The object is already in the list.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
IMPORTANT: "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
The service has not been started.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
 
I got such error when compiling:
##########################
../src/node_os.cc: In function ‘v8::Handle<v8::Value> node::SetupTun(const v8::Arguments&)’:
../src/node_os.cc:267:55: error: ‘ioctl’ was not declared in this scope
make[1]: * [/home/roamerchan/Program/Tether/node/out/Release/obj.target/node/src/node_os.o] Error 1
make[1]: Leaving directory `/home/roamerchan/Program/Tether/node/out'
make: * [node] Error 2
#########################
I am using Fedora 16 (64bit) version... is there any one encounter this before?
 
Did anyone encounter this in Linux version?
I googled it and still could not find the answer for the above error.
 
I'd gladly buy this app if it had instructions.  I'm very new to Android and can't figure it out to save my life.  I'm trying to tether an Android phone to and Android tablet.  I'll give myself one more day of internet searching before I give up.
Drew R
 
Trying to install the tether msi on windows 8 and getting tapinstall.exe failed.
 
Trial version,App worked Flawlessly for first five days,Galaxy S3 4.1.1. Installed both .apk files,including the .apk for Sprint.Got home last night,"Could not connect to proxy server.Access denied " Have checked to make sure firewalls are off,etc.It appears that your app is running fine,but,no access on my end.Stock phone,non-rooted,Windows Vista Ultimate.Any guesses?I was about to buy the app.....and now this.GREAT WORK,btw,would appreciate any and all input,Thanks in advance !!
 
Just found extra firewall,darn Micro$oft...,will try again...
 
"Connected to phone.Waiting for tether connection." Still,no connection,will try restart / reboot.
 
Works with Mountain Lion / Nexus 4 / Three network except that the speed is very slow - strangely I get average 6Mbps in the 'Speedtest' app on my phone but only 0.5 Mbps when running 'Speedtest' on the Mac.

If I tether 'normally' this runs at the higher speed. Wonder what is happening to cause the slow-down?
Abdi V.
 
Got a error message: "Therewas an error running tapinstall.exe". Windows 8 user.
 
looking for directions to use my tether app connection to connect to my router so WIFI will work?? any link would be appreciated....paid running app. I'm using Windows XP 32 bit with an original Droid Razr (not that the phone makes a difference). email would be appreciated. or email me pv2smurf@gmail.com
 
 
It appears windows xp is not allowing installations for some reason. Perhaps they want us to purchase windows8. Anyway can't install the tethering app. I'll have to keep swapping sims with my BB which appears to have auto tethering - a function I've never heard of til today.
 
would tethering work with an Android to a Google Chromebook?
 
the phone carrier still able to block after installed the tether, i can only go to google or yahoo website. please advise
 
I actually returned my chromebook to the store for an Asus Windows OS and was able to install and i tether with FoxFi just fine, hope my phone carrier doesn't come up with a way to charge me since i have unlimited data plan