What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Tethering blocked?

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
 
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:/#
 
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.
 
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.



 
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
 
You need to type the comands exactly as I wrote. :-)
Best copy and paste it. MASQUERADE is all capital, as well as "-F".
 
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?
 
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
 
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"
 
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
 
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:/#
 
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.
 
Back
Top