Jump to content

Tethering on cellular.


pr1vacy
 Share

Recommended Posts

My cellular plan allows for 8GB per month tethered data. I am planning on eliminating my other services for home internet and TV and will be switching to cell data only.

 

My plan is 25GB and 8GB tethered/hotspot.

 

I probably won't be going over too often but in case I do I don't want to get slowed down for a few days while waiting for my plan to reset.

 

I have used ClockworkMod Tether and it works well. On my phone and my account info page on the web I have verified that this app allows me to use data without rooting the phone(normally I would do that but there is no STOCK firmware available for my phone as of now) and the data does not count toward my tethered data.

 

The app requires a client installed on the PC to work properly.

 

Has anyone gotten the ClockworkMod Tether client to compile and install properly in Funtoo.

 

I would appreciate any help.

 

Thanks!

Link to comment
Share on other sites

I know nothing of ClockworkMod Tether, but I was faced with a similar thing on my armv7a device recently.  In that case it was chromium, there is a Debian compile of 45 series chromium for armv7a's, I don't find anybody with anything more current than that.  I spent weeks trying myself ;)   Although I suspect I could compile the 45 series from an old ebuild, I also saw stories of 11 hours just in the linking phase, Add to that 6 hours (thanks to distcc and two core duo machines) it took to compile the 47-48 series chromium (successfully here!, but failed linking, only 1G ram available).  I just want it for a backup, I don't plan to use it much.  Just dumping the Debian libraries into the rootfs caused conflicts with depclean, portage doesn't like to find strange stuff lying around.

Here's what worked:

Using file-roller it was easy to unpack the .deb.  The only directory you care about is, I forget, data?  or data something.  In there you'll probably find /usr and /lib, something like that.

So I created a /opt/chromium-browser dir and put the /usr and /lib dirs there.  I had to edit the /opt/chromium-browser/usr/chromium-browser launch file, in there it gave a place to point it to libraries, pointed that to the /opt/chromium-browser/libs.  Then I started it at the command line, it failed looking for libraries that we have in Funtoo but it didn't know where they were.  It was only 2 or 3, so I made links to those files in the /opt/chromium-browser/lib dir and it worked!  No issues at all and portage hums along quite happily, not even knowing it's there.

It really wasn't possible in my case but it would be better to make a custom ebuild if you can and install it properly.  But the /opt dir is the place to do dirty tricks like this if need be.

Link to comment
Share on other sites

ok, I actually went and looked at it, the readme says

 

Running Tether on Linux:

 
# at the top level directory of the package:
sudo linux/run.sh
 
On the first run of Tether, node.js will be compiled. This will take a few minutes.

I'm not so great on java, so hopefully someone who is will speak up, but I think if you do what it says you'll be good.  After that (I think!) you just start it by running that run.sh file as root.  Also Koush is one of the giants of the android developer world, I'm sure he could help you if you asked him.

Link to comment
Share on other sites

ok, I actually went and looked at it, the readme says

I'm not so great on java, so hopefully someone who is will speak up, but I think if you do what it says you'll be good.  After that (I think!) you just start it by running that run.sh file as root.  Also Koush is one of the giants of the android developer world, I'm sure he could help you if you asked him.

Thanks for the info. I tried the sudo linux/run.sh from the onset and it spits out an error right away. I looked at the line and the error has to do with too many ' I think.

 

UPDATE--I forgot to check which version of python I was using.

 

Remembered ye' ol' ESELECT and found that I had 3.3 in use and just used ESELECT to switch to 2.7 and ran ./configure again and it worked!

 

MAKE is purring along right now. I'll report back on the result.

Link to comment
Share on other sites

I got it working after following THIS guide and making a few MINOR CHANGES.

I'm tethered perfectly fine at the moment.


I burned through 200 megs on youtube and it was smooth.

The data useage for my cell phone went up 200 megs as it should BUT the tether data remained unchanged! SWEET!

Unlimited text, voice and data for a flat 60 bucks a month and I get 65Mb download rate. YEAH!

Link to comment
Share on other sites

Glad to hear you got it going.

One good trick for forcing python version without changing the setting in eselect is to make a link like this:

mkdir /opt/python2_link
ln -s /usr/bin/python2.7 /opt/python2_link/python2.7

Then at the beginning of run.sh add this line:

export PATH=/opt/python2_link:$PATH

Now it'll find python 2.7 FIRST, but the rest of your system will be running on 3.3 as it should.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...