PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Titan (http://forum.ppcgeeks.com/forumdisplay.php?f=44)
-   -   USB Tethering under linux (http://forum.ppcgeeks.com/showthread.php?t=29134)

kupo 06-12-2008 09:56 PM

USB Tethering under linux
 
Has anyone managed to usb tether the mogul under linux and get it working?
I've found some half completed guides on www.ubunuforums.org but nothing comes close to a decent step-by-step or guide.

EtherealRemnant 06-12-2008 10:11 PM

Re: USB Tethering under linux
 
If you're running Ubuntu, its rather easy.

And its ridiculously fast to boot.

sudo apt-get install subversion
svn co https://synce.svn.sourceforge.net/sv...usb-rndis-lite
cd usb-rndis-lite/
make
sudo ./clean.sh
sudo make install

Then just launch internet sharing on your phone, hit connect, then plug in the USB cable.

Scrufdog 06-13-2008 12:02 AM

Re: USB Tethering under linux
 
I followed this tut and it works fine for ubuntu 8.04 and evolution email

http://www.synce.org/moin/FrontPage

kupo 06-14-2008 11:34 AM

Re: USB Tethering under linux
 
I'll try both, guys and report back how it goes tonight.
Thanks for the quick response. Do you find you get better battery life out of this technique than using WmWifiRouter?

kupo 06-14-2008 12:17 PM

Re: USB Tethering under linux
 
Wow Ethereal,
I got impatient and grabbed all the stuff on the train and tried it out works great!
Mind if I cross post your info to www.ubuntuforums.org ?
I like how it pauses the connection if I recieve a phone call

neckermann 08-19-2008 10:36 AM

Re: USB Tethering under linux
 
I am really new to linux, so bare with me. The commands you have listed are if I currently have an internet connect correct? But I don't at my house without my phone. How would I download these files via windows??


Then I would assume I would extract them to my linux computer and then find the directory for the files I extracted and run the command as follows..




sudo apt-get install subversion
svn co insert directory prior to files?
cd usb-rndis-lite/
make
sudo ./clean.sh
sudo make install

johnh123 09-26-2008 11:52 AM

Re: USB Tethering under linux
 
Awesome, it works! Thanks!

http://www.speedtest.net/result/329499812.png

MrObvious 09-26-2008 08:48 PM

Re: USB Tethering under linux
 
I used this when I ran Ubuntu. It works great.

jerryyyyy 09-27-2008 10:27 AM

Re: USB Tethering under linux
 
Nothing for Fedora or SuSe?

MrObvious 09-27-2008 02:17 PM

Re: USB Tethering under linux
 
This should work on both.

AndrewZorn 09-27-2008 04:15 PM

Re: USB Tethering under linux
 
WOW. I'm going to try that first suggestion later. I have had SO MUCH TROUBLE with tethering on my Linux laptop. Bluetooth doesn't work and often crashes the laptop. So I went to WMWifiRouter, which is great for everyone that uses Windows... but my wireless drivers have trouble with Ad-Hoc. Eventually wrote a script to 'fix' this by switching to ad-hoc mode in a different driver... among other things.

chainfire 10-01-2008 08:38 PM

Re: USB Tethering under linux
 
Care to share that script? :)

thenuge 10-04-2008 12:44 AM

Re: USB Tethering under linux
 
if you just need to sync your contacts with evolution, try this

http://cristiantm.wordpress.com/2007...ut-activesync/

it uses a free online exchange server to sync both your phone and pc.

johnh123 10-14-2008 12:27 PM

Re: USB Tethering under linux
 
Quote:

Originally Posted by EtherealRemnant (Post 313139)
If you're running Ubuntu, its rather easy.

And its ridiculously fast to boot.

sudo apt-get install subversion
svn co https://synce.svn.sourceforge.net/sv...usb-rndis-lite
cd usb-rndis-lite/
make
sudo ./clean.sh
sudo make install

Then just launch internet sharing on your phone, hit connect, then plug in the USB cable.

So i did this, but I get this when I make:

make: *** /lib/modules/2.6.24-22-eeepc/build: No such file or directory. Stop.
make: *** [install] Error 2


any thoughts as to how to fix this?

MrObvious 10-14-2008 02:08 PM

Re: USB Tethering under linux
 
Do you have the compiling tools installed john? I think it's sudo apt-get install automake and you should have what you want. But frankly you could get better help if you pop on IRC and get on Freenode channel #ubuntu and get help there.

namopereht 10-15-2008 05:48 PM

Re: USB Tethering under linux
 
EtherealRemnant:

You rock! Been banging my head into the wall trying to get ics working under Kubuntu. Settled on wmodem and was working until I swapped my apache to my titan. Maybe the rom I flashed or maybe the titan, but wmodem doesnt work and the usb-serial driver just returns "CLIENT" when trying to initialize the modem. For those of you that need to download this in Windows because you have no connectivity under linux, google "tortoiseSVN", a windows explorer addon that lets you use subversion under windows. Checked out the SVN, copied to my /home partition, and then did just like it says. I rebooted just to be safe, but added the modules and it just works.

John1234:

You need the developer tools installed. Should be at least make, gcc, libc6-dev, g++, libstdc-dev, and build-essentials (from a kubuntu install, but should be the same).

namopereht

x10guy 10-15-2008 06:42 PM

Re: USB Tethering under linux
 
Anyone able to get tethering working using an Acer Aspire One Linux mini-notebook?

I believe it uses Linpus Lite Linux... there really isn't any guides to get it working on Linpus

birkopf 10-15-2008 08:12 PM

Re: USB Tethering under linux
 
Quote:

Originally Posted by namopereht (Post 460010)
EtherealRemnant:
You rock! Been banging my head into the wall trying to get ics working under Kubuntu....

Dear namopereht,

Can you explain that? I am bit new to Kubuntu and I don't get anything from what you written ](*,)

-What is this related to ?
-What your solution should do?
-Why there are only windows installation files for Tortosie when we do it under Linux ?

Many thanks

MrObvious 10-15-2008 08:22 PM

Re: USB Tethering under linux
 
Quote:

Originally Posted by x10guy (Post 460065)
Anyone able to get tethering working using an Acer Aspire One Linux mini-notebook?

I believe it uses Linpus Lite Linux... there really isn't any guides to get it working on Linpus

It probably is a lot of the same stuff, download the driver, compile, and plug it in.

namopereht 10-17-2008 12:17 AM

Re: USB Tethering under linux
 
birkopf: Sorry, should have clarified. To check out a file using SVN you need to have a SVN client with internet access. I was merely suggesting if you have dual-boot or another windows machine with internet access and no internet access to the linux box, you could install tortoise to the windows box and check out the SVN files there, and transfer the files to your linux box to build.

namopereht

birkopf 10-20-2008 06:10 PM

Re: USB Tethering under linux
 
Quote:

Originally Posted by EtherealRemnant (Post 313139)
sudo apt-get install subversion
svn co https://synce.svn.sourceforge.net/sv...usb-rndis-lite
cd usb-rndis-lite/
make
sudo ./clean.sh
sudo make install
Then just launch internet sharing on your phone, hit connect, then plug in the USB cable.

Hi,

I have just followed you instructions and nothing happens.

What exactly should I do after installing that SVN file? Should my Kubuntu recognise connected device? in internet sharing on my PDA if I hit Connect it wants to connect to GPRS.

namopereht 10-20-2008 10:03 PM

Re: USB Tethering under linux
 
When you instal the SVN you need to make sure you run the ./clean.sh as root or sudo it. This will install the kernel drivers in the proper place. I rebooted afterwards just to make sure. Then open up PIE on your titan, let it connect and open up your home page, open up "internet sharing", click connect, and then plug your usb cable from your titan to your linux box. NetworkManager should automatically sense the rndis connection and set an ip (no clue how wicd or any other net manager works with it). Presto, internet sharing for linux. I am using it right now on my Kubuntu hardy laptop teathered through my titan. Hope this helps a bit more.

namopereht

birkopf 10-21-2008 06:17 PM

Re: USB Tethering under linux
 
Quote:

Originally Posted by namopereht (Post 466706)
When you instal the SVN you need to make sure you run the ./clean.sh as root or sudo it. This will install the kernel drivers in the proper place. I rebooted afterwards just to make sure.

Me as well and until here I am OK.

Quote:

Originally Posted by namopereht (Post 466706)
Then open up PIE on your titan,

I have HTC Touch (or Elf, depends from naming system)
What is PIE ? Is it (Pocket) Internet Explorer ?

Quote:

Originally Posted by namopereht (Post 466706)
let it connect and open up your home page,

Sorry - I should let it connect to where?
(Internet? Via GPRS? )

If you have been previously writing about Internet Explorer - My Homepage which is offline is coming up, and that's pretty much it.

Quote:

Originally Posted by namopereht (Post 466706)
open up "internet sharing", click connect, and then plug your usb cable from your titan to your linux box.

I tried and it is connecting to my GPRS. In Internet sharing there are two boxes:

PC Connection:
->USB

NetworkConnection:
-> Internet GPRS
-> Internet MMS
-> Internet WAP

Even when I plug in cable - it is still connecting to GPRS.

And BTW: What is Linux Box? My laptop ? :-)

Quote:

Originally Posted by namopereht (Post 466706)
Internet NetworkManager should automatically sense the rndis connection and set an ip (no clue how wicd or any other net manager works with it).

Something is happening because this G icon which is next to signal strength is changing to two arrows informing about some data connection, but nothing except that.

AndrewZorn 10-23-2008 02:12 AM

Re: USB Tethering under linux
 
Quote:

Originally Posted by chainfire (Post 442313)
Care to share that script? :)

Sorry

I just upgraded to Ubuntu 8.10 Beta... after using the Broadcom STA driver, it seems that this version can actually deal with ad-hoc mode and automatically switch. Success rate is very low, though.

Here is what I had/have, turned it into an alias. Do "gedit .bashrc" and add this to your list of aliases:

To go INTO ad-hoc mode and connect to WMWifiRouter:
Code:

alias wmwifi='sudo ifconfig eth1 down;sudo /etc/dbus-1/event.d/25NetworkManager stop;sudo iwconfig eth1 mode ad-hoc essid "WMWifiRouter";sudo ifconfig eth1 up;sudo dhclient eth1'
To go back to normal/managed mode:
Code:

alias managed='sudo ifconfig eth1 down;sudo iwconfig eth1 mode managed;sudo ifconfig eth1 up;sudo /etc/dbus-1/event.d/25NetworkManager start;sudo iwlist eth1 scanning'
You'll probably have to change it around a bit. This is for the Broadcom drivers. eth1 is my wireless adapter.

Since 8.10, I get an error with stopping Network Manager; I don't know what the equivalent is here (I've been using 8.10 for literally 10mins). The reason I put that in to start with is because NetworkManager would sometimes try to interfere. You don't need it if you are supplying all the info to connect to WMWifiRouter.

Scrufdog 11-22-2008 12:53 PM

Re: USB Tethering under linux
 
followed the original directions on the first page and nothing happens with ubuntu 8.10. I just upgraded a couple days ago and decided to try this.

Any ideas?

AndrewZorn 11-23-2008 08:55 PM

Re: USB Tethering under linux
 
WMWifiRouter.

And with 8.10, it does ad-hoc out of the box and without the command line, so it's super easy cheesy.

schettj 11-23-2008 11:13 PM

Re: USB Tethering under linux
 
dunno about 8.10 - likely not good anymore but something similar should work. 8.04 is rock solid (I'm posting this from a sub shop via a tethered mogul on my ubuntu 8.04 laptop)

For 8.10 looks like it should just work out of the box, you may have actually made it worse trying to follow this guide:

http://www.neowin.net/news/main/08/1...orks-very-well

jerryyyyy 12-06-2008 12:25 AM

Re: USB Tethering under linux
 
Regarding these instructions, subversion comes installed in Fedora 10, but not usb-mdis-lite and nothing on yum....

sudo apt-get install subversion
svn co https://synce.svn.sourceforge.net/sv...usb-rndis-lite

VizionForever 01-05-2010 01:42 PM

Re: USB Tethering under linux
 
Quote:

Originally Posted by EtherealRemnant (Post 313139)
If you're running Ubuntu, its rather easy.

And its ridiculously fast to boot.

sudo apt-get install subversion
svn co https://synce.svn.sourceforge.net/sv...usb-rndis-lite
cd usb-rndis-lite/
make
sudo ./clean.sh
sudo make install

Then just launch internet sharing on your phone, hit connect, then plug in the USB cable.


My experience with linux is sucky...And I want to tether.

I have been playing around with a zoneminder live cd 1.23.3 running Mandriva 2007.0 system running Icewm, kde 3.5 desktop and development tools.

The goal of this post will result in adding mandriva 2007 Linux connectivity to the usb dun sticky in the titan forum, in a step by step manner for the linux noob (like me)

Please help in explaining the where why and how executing these commands in Mandriva 2007.0:

sudo apt-get install subversion
svn co https://synce.svn.sourceforge.net/sv...usb-rndis-lite
cd usb-rndis-lite/
make
sudo ./clean.sh
sudo make install

Then just launch internet sharing on your phone, hit connect, then plug in the USB cable.

CnDm111 01-06-2010 07:03 AM

Re: USB Tethering under linux
 
i bought wmwifirouter when i had the mogul. i mostly used it via usb it would get picked up as auto etho-1. i was running ubuntu at the time now i run mint with my tp2 and still works like a charm.


All times are GMT -4. The time now is 04:26 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0