Linux/Ubuntu USB tethering - how-to? - Thunderbolt General

I've been trying to use the built-in USB tethering with Ubuntu 10.10 without any luck. On my previous Android phones (EVO, Nexus One), all I had to do was plug in the phone, select Internet Connection Mode or USB Tethering, and Ubuntu would automatically find a new connection (Auto usb0). That's it...no config needed.
The Thunderbolt has been another story. I can't get Ubuntu to see an internet connection for anything.
Can anyone shed any light on this? I'd really prefer to use the built-in tethering rather than go to something like EasyTether or PdaNet.

I'd still say easytether
All I have to do is type easytether connect and bam
Sent from my ADR6400L using XDA Premium App

Me too
I also have been trying desperately to make this work too, since it worked so well with my Eris and other phones. I think the problem lies in the proprietary HTC drivers - it seems that the driver built into LibUSB for cellular modems doesn't play nice with the HTC software. In Windows, there is an executable that installs the driver, and I have been thinking that I might be able to make it work using Ndiswrapper, but I have not had time to play around with it a whole lot.
I suspect that a release will come along eventually to update libUSB to work with the new HTC software, but in the mean time, EasyTether works great. I made a quicklaunch icon in gnome panel that links to the the EasyTether connection script - it will have to do until I can get native tethering to work.
If anyone else is working on this, I'd be willing to lend a hand with testing and troubleshooting.

Seems like I have the same problem with Ubuntu 10.10 and my rooted HD2 running Android. I think it has got something to do with the RDNIS drivers or something ??? Easytether is no option because it works for like 5 minutes then I need to restart the connection to get it working again ( very annoying ). I would much rather prefer to use the inbuilt tethering option on my rooted phone than yet another pointless piece of software. Maybe another Linux distro that supports this way of tethering ???
Thanks !

Related

Unable to get tethering or internet sharing working on VZW TP2

It's easier if I just post a link to the thread over at smartappsworld so I'm not stuck re-writing it all. http://smartappsworld.com/thread-t...-getting-error-692-hardware-failure-in-modem
I still have not been able to resolve these issues. Tethering worked without problems on my Q9M, but on the TP2 it gives me error 692 -There was a hardware failure in the modem - . Internet sharing isnt cooperating either. New hardware wizard in XP pops up for Generic RNDIS device. When I tried to feed it some drivers for Internet Sharing (pulled by another xda member in another thread here somewhere), XP gives me some bogus error about a missing entry in one of the .inf files that I pointed it towards. It doesnt specify which file, then it closes and there is a big yellow ( ! ) over Internet Sharing device in network devices (Driver not installed).
Thats a quick run through of the issues I'm dealing with. I really need this working as this is my only way to connect my PC to the internet. I live in boonie land where cable is nowhere in my neighborhood and dsl is too far to connect.
Yes I searched. I spent a great deal of time going through xda forums and Google... before I decided to post here. Thanks for anyones help in advance.
T.C.
I have not had a problem tethering my tp2 with verizon using Win XP Pro x64, or XP home x86.
The way that works for me is:
Run the internet sharing program, Not the VZW access manager crap.
Tell it to connect
After it connects, then plug in usb from pc to phone
The pc recognizes it as another network connection
It gets its IPs and all no problems.
Open up your choice of browser and off you go.
I have never had to install drivers to do any of this, and also it doesnt use active sync when doing it this way.
hope this helps.
I pulled the internet sharing program out of the Windows folder (made a shortcut ). The problem is when I connect to the PC. The install new hardware wizard comes up for Generic RNDIS device. This is after I clicked "Connect" in IS. I have clicked cancel , then it says install failed, your new hardware may not work properly. IS disconnects and Activesync starts syncing. I tried it the first way , letting AS sync once then turning IS on, same problem.
I dont use VZ Access Manager. I was forced to uninstall that and Activesync when suddenly the PC wouldnt recognize anything while the phone was plugged in. After that, the phones internet wouldn't work either so I then had to restore the phone to factory defaults via a hard reset. After resetting, I found that 228 wouldn't program the phone. The next day I nearly took it in to VZW. tried 228 again and it worked finally. Got my phone internet back and I'm back to trying to get IS working. I didn't install VZAM, but I do have the USB driver installed.
Are there certain files that are needed on XP for this? I am still running 32bit XP Pro if that makes any difference. Service packs maybe? I'm up to the point where I'm about to go out and buy a WiFi card and try connecting it that way. Something Has to work here.
The generic RNDIS ( Remote Network Driver Interface Specification ) drivers are part of the ActiveSync install and are needed for TCP/IP between the PC and the phone.
Install ActiveSync.
Plug in the phone.
Don't cancel the New Hardware Found - let it install the drivers.
Set up a sync relationship with the PC if you like - not needed.
When you tell ICS to connect, it should drop any other connection to the PC (Hard Drive, Active Sync) and make the Windows connect sound. Then you should see the network negotiation icon in the System Tray as it sets up the internet sharing.
When I dont cancel New Hardware wizard, it doesn't find any drivers to install. This is if I let it search for drivers automatically, and after Activesync is installed. See what the problem is here? What should normally work, doesn't. Are there key files missing in the copy of Activesync that is included on the CD from VZW? What am I missing here? When I turn Internet sharing on, on the phone, it always says something like ''Check USB cable connection'' and it never changes. The hardware wizard never finds the drivers, and when I try to point it towards driver files, it says theres an entry missing and wont install.
Grr..if you read through the other thread link above, you know how long i have been trying to get it to work. Frustrating!!
Wallking HotSpots
THE-COPS said:
It's easier if I just post a link to the thread over at smartappsworld so I'm not stuck re-writing it all. http://smartappsworld.com/thread-t...-getting-error-692-hardware-failure-in-modem
I still have not been able to resolve these issues. Tethering worked without problems on my Q9M, but on the TP2 it gives me error 692 -There was a hardware failure in the modem - . Internet sharing isnt cooperating either. New hardware wizard in XP pops up for Generic RNDIS device. When I tried to feed it some drivers for Internet Sharing (pulled by another xda member in another thread here somewhere), XP gives me some bogus error about a missing entry in one of the .inf files that I pointed it towards. It doesnt specify which file, then it closes and there is a big yellow ( ! ) over Internet Sharing device in network devices (Driver not installed).
Thats a quick run through of the issues I'm dealing with. I really need this working as this is my only way to connect my PC to the internet. I live in boonie land where cable is nowhere in my neighborhood and dsl is too far to connect.
Yes I searched. I spent a great deal of time going through xda forums and Google... before I decided to post here. Thanks for anyones help in advance.
T.C.
Click to expand...
Click to collapse
I myself use WalkingHotSpots http://www.walkinghotspot.com/. It is 24.99 for a lifetime license and currently they allow you to use the license over and over when you upgrade your phone. I used it first when I had the Touch Pro and now I am using it with my TP2. It is a program that allows me to add up to 5 connections and use my TP2 as a Hotspot. Now of course it would requre you to have your TP2 connected and charging via wall outlet. But basically it will allow me to connect 3G using my WiFi. I just used it Tuesday night while at church to connect back to my business server and resolve some databases issues. My laptop was running at an excellent speed and I was online over 2 hours with no drop connections. The walking hotspot website says that it will not work with Verizon but I can personally say that it does. I do not have the Internet connection software installed on my TP2 so I am going all WiFi for my connection. I added a password and name for my Walking HotSpot so no random joe could just drive by and conect lol and I was up and running in about 10 minutes. They don't offer a free tiral but you can try it for 1 month for 6.99 and if it doesn't work you will not have wasted 25.00. Just choose to use it for a Touch Pro and you should be able to get the download. I have had it over a year now and it has come in very handy especially when I go home to visit Mom as she has no internet and walking hot spots runs my husband's laptop and mine without any issues. So whatever you ultimately do I hope you get it worked out
WMWifiRouter
I use WMWifiRouter on my phone for internet sharing. It works great. This may be an alternative for you.
http://www.wmwifirouter.com/
(the site appears to be down at the moment)
I just loaded a program called PdaNet and was really amazed at how easy it was to install. Hooked up on Verizon @ 2.4mbps - actually faster than my DSL!!!
I've only tried it a couple times but I recommend going to here http://www.junefabrics.com/pdanet/index.php and download a trial version.
WMWiFiRouter
I second the vote for WMWiFiRouter. I used it on my Mogul and now on my TP2 (both with Sprint) -- no issues whatsoever -- more importantly, no tethering fees.
For me now, when i use USB or Bluetooth over ICS, my browser has to go to 3g.vzwdun.com. It didn't use to do that before. How can I keep the device from reporting that I'm tethering...

Wifi Tether to Ubuntu 9.10

Hey everyone, just finished installing Ubuntu to my dell mini 10v netbook. I really like it so far but I have hit a problem that may be a potential deal breaker. Has anyone running Ubuntu 9.10 been able to tether their phone to their computer?. It does not seem to connect to my phone running this app for me. It sees the SSID, and i tell it to connect, and then I just get that circle thing for a couple of minutes then it gives up and connects to my main router if its in range.
Anyone have any ideas? I'm not sure if its Ubuntu or the app, it worked perfect with XP
I don't run Ubuntu on my netbook so it may be slightly different, but I have it working great on mine running Arch Linux. Wifi tether uses an Ad-Hoc mode where most routers/access points use Infrastructure mode. You may have to tell network-manager or whatever controls your wireless settings to use Ad-Hoc. If that doesn't work you could set it up manually through the command line or make a little script with those commands to do it so you don't have to type them in every time.
thanks for the reply. I did some searching and came across this page http://www.ubuntugeek.com/creating-an-adhoc-host-with-ubuntu.html and i hooked my phone up to my windows computer, copied the info verbatim to my ubuntu netbook setting up a manual connection like that page suggested and it says it connects, but my phone doesnt show anything is connected and it wont go online
I am able to tether just fine via my Dell mini9 running Ubuntu 9.10. Are you able to connect to other networks?
yeah i can connect to my home fios router just fine
FoxRacR17 i was having the same issues with my dell 1501 laptop.. Looks like your laptop might be using the bcm43xx chip-set from broadcom which doesn't support ad-hoc fully native yet on all cards.
from http://forum.xda-developers.com/showthread.php?p=1863357#post1863357
Keo-Keo said:
I was having issues trouble shooting WMWifiRouter and Ubuntu.
I couldn't pin down if it was Ubuntu or WMWifiRouter which was having the problem connecting.. I could see the Ad-Hoc network in Ubuntu when i would try to connect it would just hang. I played with all the settings in WMWifiRouter to no avail.
Turns out it was my wireless driver.
https://help.ubuntu.com/community/WifiDocs/Adhoc
http://forum.xda-developers.com/showthread.php?p=1863357#post1863357
I had to revert back to Ndiswrapper.. But it worked!!! Those having Linux issues check the driver.. I didn't have a windows box with wireless to check.. So took me longer hopefully this might save you some time!
Click to expand...
Click to collapse
https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper
Try Ndiswrapper from the windows drivers on HP's site. Let us know the results..
I'm having this problem with an atheros 5G chipset
Thanks for the replies guys, i got it fixed. I saw people saying to try the netbook remix version of ubuntu so I went ahead and installed it. At first it wasnt detecting any hardware drivers so it wasnt even giving me the option to install drivers for my wireless this time. But i went into terminal (with my ethernet cord plugged in and netbook connected to the internet) and issued "sudo apt-get update" and it went thru and downloaded a bunch of stuff that took a while, and then i went back to restricted drivers and this time I had TWO options for my wireless card, one that was licensed propitiatory from broadcom themselves labeled "Broadcom STA wirless driver" and one that was licensed as free and labeled "Broadcom B43 wireless driver" I installed the STA one and now my netbook connects perfectly to my hero and i can go online again thru my phone. Hope this helps you guys out

Wifi BSOD - should I yell at HTC or Intel :P

This is Crazy :/
When I connect to the Hotspot my One S makes, my 4 year old Dell XPS BSOD's like a teenage girl given a pony.
I've tried the wifi driver from dell, the MS driver, and the newest driver from Intel (4965agn).
I've installed Barnacle Wifi Tether, but that only works in ad-hoc mode (here I'm thinking I should yell at HTC )
Is anyone else experiencing anything remarkably similar? (or is it my old pc f*cking up?)
Other than that: I'm still so in love with the finish of this device, though it'll see a miui rom or two when they arrive
4thfloorcaveman said:
This is Crazy :/
When I connect to the Hotspot my One S makes, my 4 year old Dell XPS BSOD's like a teenage girl given a pony.
I've tried the wifi driver from dell, the MS driver, and the newest driver from Intel (4965agn).
I've installed Barnacle Wifi Tether, but that only works in ad-hoc mode (here I'm thinking I should yell at HTC )
Is anyone else experiencing anything remarkably similar? (or is it my old pc f*cking up?)
Other than that: I'm still so in love with the finish of this device, though it'll see a miui rom or two when they arrive
Click to expand...
Click to collapse
Intel. The hotspot can't possibly be telling the machine to do something crazy. Sounds like an issue with the wifi drivers for your machine. Also, don't use Barnacle. Use Open Garden, as it works fine. Standard security does not work (options are ipconfig and wpa_supplicant, which makes no sense), however it has Access Control so any device that wants to join must get permission from your phone (and therefore YOU) before it'll allow a connection.
I'm so glad I'm not alone! I got the exact same problem with my One S and 4965AGN. Too bad I haven't found a solution yet though...
Have the exact same issue....
You can try digging a little deeper by analyzing the minidump file using windows debug tools.
http://support.microsoft.com/kb/315263

[Q] USB tethering on SK4G?

just wondering if there is any way to get usb tethering working on Linux. My last phone (LG Optimus T) worked out of the box, but my SK4G has never tethered. I've tried on Ubuntu, Debian and OpenSuSE to no avail. FWIW I just tried tethering on my old phone and it does not work either, but that could be because I am running an unstable ICS build. The last time I used it, I was on Cyanogenmod7.1 and everything was fine.
Could it be a kernel module is no longer present in the generic Linux kernel? Weird thing is though that I just built the latest kernel and made sure the Android modules were included and still, no tethering.
PDA Net works fine on OSX. I don't have a Windows install to test with though so I can't confirm whether it works on Windows.
I do believe PDA net works in Windows, but I've never been able to do any kind of usb tethering in Ubuntu. I was under the impression it just doesn't work, unless someone else knows a way?
All you should need is a generic "NDIS" driver. Not sure if one exists for *nix or not, but I would think one would.
The Sidekick is just really not a good phone when it comes to drivers and things like that.
Sent from my SGH-T839 using XDA
InvisibleNinja98 said:
The Sidekick is just really not a good phone when it comes to drivers and things like that.
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
...but for USB Tether that shouldn't matter. The generic ALL SAMSUNG PHONES driver should work, and on top of that, the generic NDIS driver should work with ANY android phone. (again, there is a generic Microsoft NDIS driver for windows, not sure about *nix, but I'd be very surprised if such a thing didn't exist)
not to split hairs but incorrect on all accounts. There is no need whatsoever to use NDIS drivers since Android support is built specifically into the Linux kernel. NDIS is not really a solution that is used anymore. The vast majority of regular ethernet and Wifi NICs work out of the box with the exception of some that have proprietary kernel modules that aren't shipped by default with distros due to licensing conflicts.
that being said, USB tethering is a whole different ball game. And as far back as Ubuntu 9.10 USB tethering has worked out of the box on Android phones. But since I think 11.04 (probably with kernel 2.34 I believe) it has ceased working. I came across a kernel patch for the USB ethernet modules used by Android devices, but I have yet to have any success with tethering, even on the patched kernel.
As I said, I don't have a Windows install on any of my computers, we're all Linux and OSX here. PDA Net works just fine on OSX.
wired tether doesn't work on my old phone either, but that may be because it's running a very bleeding edge unstable ROM.
Interesting. All I know is my CarPC uses tinyXP which includes no drivers. I downloaded the microsoft NDIS driver (just a .inf file), and it allowed my USB Tether to start working. I hope that clue helps you in your search for a solution.
UPDATE: Actually, I guess this most recent reinstall I did use samsung drivers. The drivers I used are attached in a zip. I know it's not *nix drivers, but maybe it will help you find the right thing.

Any AOSP/AOKP/CM based ROM (or any app) to get usb tethering ?

hi guys,
I just installed CM 10.2 on my Evita - and for the most part I love it. There is just one problem - I work very frequently from coffee shops and need to tether with USB to be able to run it all day (wifi tethering consumes too much power even on connecting to the laptop).
Is there any non-Sense based ROM that lets me get USB tethering ? Or is there any app that allows me to do it ? Doesnt matter if it is paid.
(although I would rather contribute that money to someone who can fix the CM kernel in the first place)
easytether and pdanet should still work fine. i have easytether installed now on illusionrom. built-in usb tether should work on operating systems vista and later, it won't work on xp or earlier though.

Categories

Resources