Tethering blocked?

rweb

New Member
Joined
Dec 9, 2010
Messages
28
Reaction score
2
I'm just trying to help, but for that I really need the output while tethering.
 

REMilk

Member
Joined
Nov 11, 2009
Messages
750
Reaction score
7
Location
On a Cribbage board
While rooted, I tried both Wireless Tether and Barnacle. With both, I was directed to the Verizon page trying to get me to sign up for a pay service for wireless tethering. I did NOT try to hack the radio as this is beyond my expertise.

I went to USB-tethering using Easy Tether. I also tried PDANet, USB tether, and it also worked.

Good Luck,
Bob
 

Jugglingwj

New Member
Joined
Dec 29, 2010
Messages
19
Reaction score
0
export PATH=/data/local/bin:$PATH
app_148@cdma_solana:/$ export PATH=/data/local/bin:$PATH
app_148@cdma_solana:/$su
root@cdma_solana:/# iptables -t nat --list -v
Chain PREROUTING (policy ACCEPT 8 packets, 2626 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 1840 packets, 143K bytes)
pkts bytes target prot opt in out source destination

Chain POSTROUTING (policy ACCEPT 1840 packets, 143K bytes)
pkts bytes target prot opt in out source destination
FIX ME! implement getnetbyaddr() bionic/libc/bionic/stubs.c:372
0 0 MASQUERADE 0 -- any any 192.168.2.0/24 anywhere
root@cdma_solana:/#
 

rweb

New Member
Joined
Dec 9, 2010
Messages
28
Reaction score
2
Thank you, however it was not I was hoping to see, my idea was there could be something in the PREROUTING chain. But there is nothing.

This "FIX ME" makes me wonder. Could you please try the following (while tethering, again):

iptables -t nat -F PREROUTING
iptables -t nat -F POSTROUTING
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

And check if you are still redirected to Verizon.
 

Jugglingwj

New Member
Joined
Dec 29, 2010
Messages
19
Reaction score
0
Quick note. When I tether with this same app on my other phone it shows up as a wifi network. Now when I do it with my D3 it shows up as a "device" I can connect to. Not sure if that makes a difference but I wanted to mention it.
Also, when I activate the tethering it appears I no longer have a 3G connection until I reboot the phone. Making calls still works but gmail doesn't update and I can't go to any web page but the Verizon hotpsot signup page.

Here's what I got back with those 3 lines

export PATH=/data/local/bin:$PATH
app_148@cdma_solana:/$ export PATH=/data/local/bin:$PATH
app_148@cdma_solana:/$su
root@cdma_solana:/# iptables -t nat -f PREROUTING
Bad argument `PREROUTING'
Try `iptables -h' or 'iptables --help' for more information.
root@cdma_solana:/#iptables -t nat -f POSTROUTING
Bad argument `POSTROUTING'
Try `iptables -h' or 'iptables --help' for more information.
root@cdma_solana:/# iptables -t nat -A postrouting -o ppp0 -j masquerade
iptables v1.3.7: Couldn't find target `masquerade'

Try `iptables -h' or 'iptables --help' for more information.
root@cdma_solana:/#


I'm on a Mac if that makes any difference.



 

Graymayre

Member
Joined
Mar 5, 2010
Messages
452
Reaction score
1
Location
upstate NY
I've got the Wireless Tether version which doesn't show up in Market for even updates, as well it simulates a router unlike previous versions. The only problem is that for some reason it now gets extremely slow when I tether and I've been forced lately to use PDAnet, which sucks because it doesn't worj with my PS3

Sent from my DROID2 GLOBAL using DroidForums
 

rweb

New Member
Joined
Dec 9, 2010
Messages
28
Reaction score
2
You need to type the comands exactly as I wrote. :)
Best copy and paste it. MASQUERADE is all capital, as well as "-F".
 

Jugglingwj

New Member
Joined
Dec 29, 2010
Messages
19
Reaction score
0
Ok. I think I did it right this time. But nothing happened. Here's what I go...

export PATH=/data/local/bin:$PATH
app_148@cdma_solana:/$ export PATH=/data/local/bin:$PATH
app_148@cdma_solana:/$ su
root@cdma_solana:/# iptables -t nat -F PREROUTING
root@cdma_solana:/# iptables -t nat -F POSTROUTING
root@cdma_solana:/# iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
root@cdma_solana:/#


Did I miss something?
 

rweb

New Member
Joined
Dec 9, 2010
Messages
28
Reaction score
2
This looks good, commands are right.
Are you still redirected to Verizon in your browser?

If yes, we have to doublecheck ppp0 is the right device. What output has:

ifconfig ppp0
 

Jugglingwj

New Member
Joined
Dec 29, 2010
Messages
19
Reaction score
0
Yes, still getting the Verizon page.

Do I need to turn on the tethering to do the ifconfig ppp0 command? I just did it without tethering on and it said "ppp0: No such device"
 

rweb

New Member
Joined
Dec 9, 2010
Messages
28
Reaction score
2
Yes, while tethering.

But I think we can go without a device ("-o ppp0"). Please try it again, with the third command altered:

iptables -t nat -I POSTROUTING -j MASQUERADE
 

Jugglingwj

New Member
Joined
Dec 29, 2010
Messages
19
Reaction score
0
I did the first commands again with the altered 3rd line and then I also did ifconfig ppp0 again.

app_148@cdma_solana:/$ export PATH=/data/local/bin:$PATH

app_148@cdma_solana:/$ su
root@cdma_solana:/# iptables -t nat -F PREROUTING
root@cdma_solana:/# iptables -t nat -F POSTROUTING
root@cdma_solana:/# iptables -t nat -I POSTROUTING -j MASQUERADE
root@cdma_solana:/# ifconfig ppp0
ppp0: ip 75.205.146.13 mask 255.255.255.255 flags [up point-to-point running multicast]
root@cdma_solana:/#
 

rweb

New Member
Joined
Dec 9, 2010
Messages
28
Reaction score
2
OK, I'm sorry, but this really looks we are on a dead-end. It seems Motorola / Verizon did it otherwise, not the way I expected or hoped. Thanks for your assistance. I'm sorry again, I really hoped we could find it out, but right now I have no idea anymore.
 

Jugglingwj

New Member
Joined
Dec 29, 2010
Messages
19
Reaction score
0
Oh well. Hopefully somebody will fix the issue soon.

Thanks for your help!
 
Top