Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
venerable13
Old
#1  
Junior Member - OP
Thanks Meter 3
Posts: 11
Join Date: Dec 2010
Location: Valencia
Default [Q] Reverse Tethering problem with Spica

I read this thread and don't works for me. Can anyone helpme? Spica is compatible? I have 2.2.2 Spicagenmod beta 2.1 next generation 6.6. Will work with this rom? I'm nebbie and I can't post in "development subforum". Will save a lot of battery with this program? WIFI consume awfully! Thanks
 
venerable13
Old
(Last edited by venerable13; 10th March 2012 at 08:34 AM.)
#2  
Junior Member - OP
Thanks Meter 3
Posts: 11
Join Date: Dec 2010
Location: Valencia
I can't reply to you capslock66 by message for my limited permissions I believe, I will do here. I said to you that I have android 2.2.2. If I have to change to 2.3.7 say to me. I suspect that is incompatibility problem of my ROM. I disabled firewall in pc and router.
Here is the log:


W/I Connecting to device. This may take a few seconds
A/I MainServiceActivity : onCreate. Call connectService
A/I SocketService.onStart start
A/I TTBroadcastReceiver start service
A/I SocketService.onStart start
A/E UsbThread.run() : Error while opening ServerSocket : Address already in use
A/E UsbThread.run() loop error. firstByte : -2
A/E UsbThread.run() loop error. Exception : null
A/I UsbThread.run() -> closeAllServers()
A/E UsbThread.run() : Error while opening ServerSocket : Interrupted system call
A/E UsbThread.run() loop error. firstByte : -2
A/E UsbThread.run() loop error. Exception : null
A/I UsbThread.run() -> closeAllServers()
A/E checkIptablesLOG : Error calling iptables. [, exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied]
A/I TTBroadcastReceiver start service

A/I SocketService.onStart start

A/I UsbThread : Waiting for the host to connect
W/I Wait for android connection ready. If nothing happens now, close the program and retry
W/I Waiting for connection. If nothing happens now, close the program and retry
A/I UsbThread : Host connected

W/D ------------------------------------------------------------
W/D Android Superuser may ask you to accept rights.
W/D Check your android and accept "Superuser Request" now if needed !!!
W/D If connection stop here and Superuser don't apears ,you phone or tablet is probably not rooted
W/I interfaces before script startlo(UP) 127.0.0.1, tunl0(DOWN), sit0(DOWN), ip6tnl0(DOWN)
W/I no route
A/D

A/D wifi or 3g card adress : ""

A/D Interface to use : "tunl0"
A/D Old route adress to disable : ""
A/D adress to use : "192.168.1.2"
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -N TETHER
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -F TETHER
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/I don't care if you see errors here, it depends of your kernel.
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -A INPUT -p icmp -j LOG --log-uid --log-level debug --log-prefix "MYPREROUTING " --log-ip-options
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -A OUTPUT -p icmp -j LOG --log-uid --log-level debug --log-prefix "MYPREROUTING " --log-ip-options
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A INPUT -p icmp -j LOG --log-uid --log-level debug --log-prefix "MYPREROUTING " --log-ip-options
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :

A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A OUTPUT -p icmp -j LOG --log-uid --log-level debug --log-prefix "MYPREROUTING " --log-ip-options
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -p icmp -j LOG --log-uid --log-level debug --log-prefix "MYPREROUTING " --log-ip-options
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :

A/E /data/data/service.tracetool/app_bin/iptables_armv5 -A INPUT -p icmp -m state --state RELATED -j ACCEPT
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t filter -A INPUT -p icmp -j ACCEPT
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t filter -A OUTPUT -p icmp -j ACCEPT
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :

A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -j LOG --log-uid --log-level debug --log-prefix "MYPREROUTING " --log-ip-options
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/D no default route to delete
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A OUTPUT -j TETHER
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E forward output to tether nok
A/E lastResultStdErr : "
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied"
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -o tunl0 -p tcp --dport 1:41999 -j REDIRECT --to 42002
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -o tunl0 -p tcp --dport 42500:65535 -j REDIRECT --to 42002
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -o tunl0 -p udp --dport 1:41999 -j REDIRECT --to 42001
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
A/E Error running command :

A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -o tunl0 -p udp --dport 42500:65535 -j REDIRECT --to 42001
A/E exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied
W/I interfaces after script startlo(UP) 127.0.0.1, tunl0(UP) 192.168.1.2, sit0(DOWN), ip6tnl0(DOWN)
W/I route : destination : 192.168.1.0, gateway : *, output : tunl0
W/I route : destination : default, gateway : 192.168.1.2, output : tunl0
W/I
W/I Connection done
A/I SocketService.onCreate start

A/I SocketService.onCreate done

A/I SocketService.onStart start

A/E SocketService.onStart exception. intent is null
A/I SocketService.onCreate start

A/I SocketService.onCreate done

A/I SocketService.onStart start

A/E SocketService.onStart exception. intent is null

A/I MainServiceActivity : onCreate. Call connectService

A/I SocketService.onStart start

A/E checkIptablesLOG : Error calling iptables. [, exec: /data/data/service.tracetool/app_bin/iptables_armv5: permission denied]


Server List

DNS List
62.42.63.52[default]
62.42.230.24


In Superuser your application not appear on the principal list of aplications, but all the permissions are allowed on the log.
The first time not connected, I had to retry a lot of times.

I tested with your adb.exe and mine.

Thanks
 
venerable13
Old
#3  
Junior Member - OP
Thanks Meter 3
Posts: 11
Join Date: Dec 2010
Location: Valencia
Native WLAN tethering is unsupported by tom3q's cyano 7.2. Yes I changed it. For the 2 ROMs your program isn't supported, waiting native tethering... Anyone use reverse tethering on this ROM. How? Thanks
 
venerable13
Old
#4  
Junior Member - OP
Thanks Meter 3
Posts: 11
Join Date: Dec 2010
Location: Valencia
There is another program on the market that do you able to revere tethering named "Reverse Tether" but like this mode isn't supported in this phone with the best rom for me I'm waiting the compatiblity, please tom3q make this possible! WIFI consumes a lot for actualizations and other purposes and if I have a PC near the phone I want to use reverse thetering
 
youlingyo
Old
#5  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Nov 2011
hardware not supported ,change phone please
 
venerable13
Old
#6  
Junior Member - OP
Thanks Meter 3
Posts: 11
Join Date: Dec 2010
Location: Valencia
It isn't true, if you put on the search bar of youtube "Samdroid Wireless tethering on android spica and iPod touch" it is possible. In fact these is the program that recommend tom3q for tethering spica. But I want to reverse tethering with the program posted here "ReverseTethering_2.25" or with "Reverse Tether" in Market. Thanks. Any ideas yet?
 
venerable13
Old
(Last edited by venerable13; 25th March 2012 at 08:49 PM.)
#7  
Junior Member - OP
Thanks Meter 3
Posts: 11
Join Date: Dec 2010
Location: Valencia
ReverseTethering 2.25 log and now with tom3q's rom, Spica cyano nightly 7.x 7.3, not works! capslock66 any idea?

Code:
W/I Connecting to device. This may take a few seconds
A/I  TTBroadcastReceiver start service

A/I  SocketService.onCreate start

W/I Wait for android connection ready. If nothing happens now, close the program and retry
W/I    ... 1
A/I  SocketService.onCreate done
A/I  SocketService.onStart start
A/I  UsbThread : Waiting for the host to connect
W/I Waiting for connection. If nothing happens now, close the program and retry
A/I  UsbThread : Host connected

W/D ------------------------------------------------------------
W/D Android Superuser may ask you to accept rights.
W/D Check your android and accept "Superuser Request" now if needed !!! 
W/D If connection stop here and Superuser don't apears ,you phone or tablet is probably not rooted
W/I interfaces before script startlo(UP) 127.0.0.1, usb0(DOWN), tunl0(DOWN), gre0(DOWN), sit0(DOWN), ip6tnl0(DOWN)
W/I no route
A/D   

A/D   wifi or 3g card adress : ""

A/D   Interface to use : "usb0"
A/D   Old route adress to disable :  ""
A/D   adress to use :  "192.168.1.2"
A/I  don't care if you see errors here, it depends of your kernel.

A/D  no default route to delete

A/E  Error running command : 

A/E     /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -o usb0 -p tcp --dport 1:41999 -j REDIRECT --to 42002
A/E     modprobe: chdir(/system/lib/modules): No such file or directory

A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     iptables: No chain/target/match by that name.
A/E  Error running command : 

A/E     /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -o usb0 -p tcp --dport 42500:65535 -j REDIRECT --to 42002
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     iptables: No chain/target/match by that name.
A/E  Error running command : 

A/E     /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -o usb0 -p udp --dport 1:41999 -j REDIRECT --to 42001
A/E     modprobe: chdir(/system/lib/modules): No such file or directory

A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     iptables: No chain/target/match by that name.
A/E  Error running command : 

A/E     /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A TETHER -o usb0 -p udp --dport 42500:65535 -j REDIRECT --to 42001
A/E     modprobe: chdir(/system/lib/modules): No such file or directory

A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     modprobe: chdir(/system/lib/modules): No such file or directory
A/E     iptables: No chain/target/match by that name.
W/I interfaces after script startlo(UP) 127.0.0.1, usb0(UP) 192.168.1.2, tunl0(DOWN), gre0(DOWN), sit0(DOWN), ip6tnl0(DOWN)
W/I route : destination : default, gateway : 192.168.1.2, output : usb0
W/I route : destination : 192.168.1.0, gateway : *, output : usb0
W/I 
W/I Connection done

Server List

DNS List
62.42.63.52[default]
62.42.230.24

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more