Sidvicious070724 / android-wifi-tether

Automatically exported from code.google.com/p/android-wifi-tether
0 stars 2 forks source link

wifi-tether seems to work, but does not on gnex 4.1 #1560

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which device (manufacturer, type)?
Verizon Galaxy Nexus running Vicious JellyBean 4.1.1 with imoseyon kernel.

Which firmware is installed?
3.0.36-leanKernel-4.0.0-04197-gf36ff07-dirty imoseyon@ubuntu

What version of wireless tether are you using?
3.1-beta14

What steps will reproduce the problem?
1. Open wifi tether
2. Press the doppler button to start wifi tether

What is the expected output? What do you see instead?
When wifi-tether works, the download and upload numbers show relatively small 
numbers, like 6.0kb, but it shows 0.0kb on both.

Please provide any additional information below.
If I go to adb shell and run ./tether start, I get this (partial) output:
sh-3.2# ./tether start
./tether start
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -N wir
eless-tether]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -F wir
eless-tether]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -F FOR
WARD]

Original issue reported on code.google.com by mmccutch...@gmail.com on 12 Jul 2012 at 10:51

GoogleCodeExporter commented 9 years ago
Could you please execute (as root):

cd /data/data/com.googlecode.android.wifi.tether/bin
./iwconfig

after you have enabled tether.

Please post the output here.

Thanks.

Original comment by harald....@gmail.com on 13 Jul 2012 at 8:13

GoogleCodeExporter commented 9 years ago
sh-3.2# ./iwconfig
./iwconfig
lo        no wireless extensions.

ifb0      no wireless extensions.

ifb1      no wireless extensions.

sit0      no wireless extensions.

ip6tnl0   no wireless extensions.

cdma_rmnet0  no wireless extensions.

cdma_rmnet1  no wireless extensions.

cdma_rmnet2  no wireless extensions.

cdma_rmnet3  no wireless extensions.

cdma_rmnet4  no wireless extensions.

lte_rmnet0  no wireless extensions.

lte_rmnet1  no wireless extensions.

lte_rmnet2  no wireless extensions.

lte_rmnet3  no wireless extensions.

p2p0      no wireless extensions.

wlan0     no wireless extensions.

rmnet0    no wireless extensions.

rmnet1    no wireless extensions.

rmnet2    no wireless extensions.

rmnet3    no wireless extensions.

sh-3.2#

Original comment by mmccutch...@gmail.com on 13 Jul 2012 at 6:23

GoogleCodeExporter commented 9 years ago
I'm having the same issue using the same rom/kernel combo.

Original comment by mdbroth...@gmail.com on 16 Jul 2012 at 4:11

GoogleCodeExporter commented 9 years ago
Could somebody please post the complete output of:
cd /data/data/com.googlecode.android.wifi.tether/bin
./tether start

(Make sure you have selected the correct device in "device-profile" and 
"setup-mehtod" - here "Galaxy Nexus" and "netd". And start tether from the app 
(ui) at least one time so that all config-files are updated before trying it 
from command-line.)

The messages ...
getsockopt for multiport failed strangely: No such file or directory
are OK and are not source of the problem.

Original comment by harald....@gmail.com on 17 Jul 2012 at 2:00

GoogleCodeExporter commented 9 years ago
This is the full output:

sh-3.2# ./tether start
./tether start
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -N wir
eless-tether]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -F wir
eless-tether]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -F FOR
WARD]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -t nat
 -F PREROUTING]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -t nat
 -F POSTROUTING]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -t nat
 -F]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -A wir
eless-tether -m state --state ESTABLISHED,RELATED -j ACCEPT]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -A wir
eless-tether -s 192.168.2.0/24 -j ACCEPT]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -A wir
eless-tether -p 47 -j ACCEPT]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -A wir
eless-tether -j DROP]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -A FOR
WARD -m state --state INVALID -j DROP]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -A FOR
WARD -j wireless-tether]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -t nat
 -I POSTROUTING -s 192.168.2.0/24 -j MASQUERADE]
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/dnsmasq -i wlan
0 --dhcp-authoritative --no-negcache --user=root --no-resolv --no-hosts --server
=8.8.8.8 --server=8.8.4.4 --dhcp-range=192.168.2.100,192.168.2.108,12h --dhcp-le
asefile=/data/data/com.googlecode.android.wifi.tether/var/dnsmasq.leases --pid-f
ile=/data/data/com.googlecode.android.wifi.tether/var/dnsmasq.pid]
script result was []
sh-3.2#

Original comment by mmccutch...@gmail.com on 18 Jul 2012 at 4:28

GoogleCodeExporter commented 9 years ago
I am ALSO having the same issue using the same rom/kernel combo. It simply does 
not show up on my other device as a network. I chose the device profile as GNex 
Toro and the Setup Method is set to auto. Any help is appreciated!!!

Original comment by cameron....@gmail.com on 19 Jul 2012 at 6:12

GoogleCodeExporter commented 9 years ago
same issue runnig the awsome vanir rom with popcorn kernel, then switched to 
franco nightly r223 same problem, Looking through the config.gz Shows that 
config_netfilter_xt_match_multiport is not set, could this be the issue?

Original comment by hud2dr...@gmail.com on 24 Jul 2012 at 7:26

GoogleCodeExporter commented 9 years ago
Issue 1562 has been merged into this issue.

Original comment by harald....@gmail.com on 25 Jul 2012 at 8:03

GoogleCodeExporter commented 9 years ago
@hud2droid: no, that does not seem the issue here.

Original comment by harald....@gmail.com on 26 Jul 2012 at 7:50

GoogleCodeExporter commented 9 years ago
Same issue with Jelly Bell (AOSP 4.1.1) ROM --> 
http://rootzwiki.com/topic/28677-rom-jelly-belly-v391-07252012-jellybean-411-pur
e-aosp-its-all-about-speed/

"Tethering started with errors"

Original comment by scottrfr...@gmail.com on 26 Jul 2012 at 7:18

GoogleCodeExporter commented 9 years ago
Actually that is potentially a different issue because when I start tethering 
it appears to start successfully.  However, the SSID is not visible to other 
computers and even if you attempt to manually connect to the SSID, it does not 
work.

Original comment by mmccutch...@gmail.com on 26 Jul 2012 at 9:17

GoogleCodeExporter commented 9 years ago
Any update on this? Having the same problem on AOKP.

Original comment by hoozdap...@gmail.com on 8 Aug 2012 at 6:15

GoogleCodeExporter commented 9 years ago
Works perfectly fine on 4.0.4, but cannot get it to work on 4.1.1... any 
updates?

Original comment by coy...@gmail.com on 10 Aug 2012 at 9:38

GoogleCodeExporter commented 9 years ago
Ok have some updates on this. I have it running on my S2 (with an AOSP-JB rom) 
now - there will be one more additional "setup-method".

This might work on the gnex with 4.1 as well. 

Stay tuned ... will upload a new experimental-build this weekend.

Original comment by harald....@gmail.com on 17 Aug 2012 at 9:01

GoogleCodeExporter commented 9 years ago
Could you guys please try this version?
http://android-wifi-tether.googlecode.com/files/wifi_tether_v3_2-pre2.apk

Uninstall all old versions of the app first. 
If all to "auto" does not work please chose "Galaxy Nexus" as device-profile 
and "Netd-Ndc" as setup-method.

Thanks.

Original comment by harald....@gmail.com on 18 Aug 2012 at 1:59

GoogleCodeExporter commented 9 years ago
@harald
That one works great. Just tested on Verizon gnex on 4.1.1.  Left it on auto 
and worked perfect.  Thanks

Original comment by razorlo...@gmail.com on 18 Aug 2012 at 5:20

GoogleCodeExporter commented 9 years ago
Works perfectly, thanks!!!

Original comment by hoozdap...@gmail.com on 21 Aug 2012 at 6:43

GoogleCodeExporter commented 9 years ago
Fixed for me on Toro with CM10. Thank you!

Original comment by brentwag...@gmail.com on 23 Aug 2012 at 12:28

GoogleCodeExporter commented 9 years ago
Worked for me on Toro Jelly Belly 5.0, with Faux v19 kernel.  THANK YOU!!!
Even though stock tether works in this ROM/kernel combo, I prefer the 
wifi-tether apk interface and functionality.

Original comment by JT.Sandv...@gmail.com on 18 Sep 2012 at 3:23

GoogleCodeExporter commented 9 years ago
This isn't working for me.  I just did the OTA update on the Vzw Gnex.  
Tethering reports failure on the nat stage.  After downloading 3.2 pre 2, the 
app is not saving a log file.  When I open the log screen, it says file not 
found.

Original comment by leifkirc...@gmail.com on 25 Sep 2012 at 3:38

GoogleCodeExporter commented 9 years ago
I have a Verizon Galaxy Nexus phone that I just did an OTA update with. I 
rooted the phone and tried to use the apk provided in this thread. I have 
errors on loading and the log basically says everything failed to load.

When I use Netd(master) everything seems to load except the for the NAT table.

Original comment by mrvu...@gmail.com on 25 Sep 2012 at 5:53

GoogleCodeExporter commented 9 years ago
I fixed it with a reroot using wugs toolkit.  I deleted all superuser tools 
prior to reroot.  It seems that the ota messed up some permissions so the phone 
still looked rooted, but wasn't fully rooted.

Original comment by leifkirc...@gmail.com on 25 Sep 2012 at 9:07

GoogleCodeExporter commented 9 years ago
Redid the root and that seemed to have solved the problem! Glad to have 
tethering back!

Original comment by mrvu...@gmail.com on 25 Sep 2012 at 10:15