rajan72 / android-wifi-tether

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

Galaxy Nexus errors #1257

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which device (Samsung, Galaxy Nexus)?

Which firmware is installed? 4.01

What version of wireless tether are you using? 2.07

What steps will reproduce the problem?
1. Press to start tethering
2.
3.

What is the expected output? What do you see instead?

Can't seem to create a hotspot and the connection tells me there were errors.  
The errors are as below:

setting ad hoc mode failed
setting essid  failed
setting channel failed

Final result no wifi hotspot created. 

Please provide any additional information below.

Original issue reported on code.google.com by arfanmaz...@gmail.com on 29 Nov 2011 at 2:07

GoogleCodeExporter commented 9 years ago
Verizon galaxy nexus 4.0.2 with galaxy s II mode being used 

only error im getting. my laptop see the phone but when i connect to it i only 
get limited connection? little yellow ! next to the wifi on my windows 7 wifi

looks promising. 

Original comment by Valkyrie...@gmail.com on 18 Dec 2011 at 5:56

Attachments:

GoogleCodeExporter commented 9 years ago
^^^^ forgot to add the post above after turning off hotspot after a few seconds 
my phone reboots itself? 

Original comment by Valkyrie...@gmail.com on 18 Dec 2011 at 6:04

GoogleCodeExporter commented 9 years ago
Confirmed still broken on beta8. I can't even get as far as the poster from 
comment 51/52.

Original comment by atriusof...@gmail.com on 18 Dec 2011 at 8:14

GoogleCodeExporter commented 9 years ago
New experimental buil on galaxy nexus looks to be improved and only fails at 
activating wifi interface in log. All others show done

Original comment by Jmagin...@gmail.com on 18 Dec 2011 at 8:29

GoogleCodeExporter commented 9 years ago
regarding comment #54:  i am seeing the same thing...  starts, but the wifi 
interface fails to start...

Original comment by bra...@gmail.com on 18 Dec 2011 at 8:38

GoogleCodeExporter commented 9 years ago
Pre 109 show this on gnex lte profile

Original comment by ODurant....@gmail.com on 18 Dec 2011 at 8:41

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Tried to connect it hangs on obtaining ip address. Regarding comment 56

Original comment by ODurant....@gmail.com on 18 Dec 2011 at 8:44

GoogleCodeExporter commented 9 years ago
@ comment 57, gnex has native screenshot support. Hold volume down and power.

Original comment by nicholas...@gmail.com on 18 Dec 2011 at 8:47

GoogleCodeExporter commented 9 years ago
@Everyone: The feedback is greatly appreciated.

Now, can someone with ADB Shell access do the following with the latest pre109 
build:

1. Connect You phone via USB cable
2. Open Android Wifi Tether
3. Got to settings and select Galaxy Nexus profile.
4. ADB shell into your phone and enter the following
$ su
# cd /data/data/com.googlecode.android.wifi.tether/bin
# ./tether start

5. Copy the output from the screen and paste it up here..

Also....

If someone has stock tethering or any other tethering app working, dmesg output 
after starting up an AP with either app could be useful in seeing how they get 
it done.  Neither Harald or I have this device, so it makes it hard to just 
slam dunk this, and get it done.  All of your feedback is very appreciated!

Original comment by j...@tekahuna.net on 18 Dec 2011 at 8:55

GoogleCodeExporter commented 9 years ago
So, I take it you guys can see the AP, just don't get an IP assigned?  

That one error we are seeing now is an ifconfig command, probably has to do 
with changes that have been made in the wireless interface naming scheme.  All 
other broadcom devices I see in the Android Wireless Tether application use 
eth0, while GNEX uses wlan0 as the wireless interface.  I think we are are 
close, though.

Original comment by j...@tekahuna.net on 18 Dec 2011 at 9:00

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Also, if someone has that other tether application running, the output from 
"busybox ifconfig" while running that apk, could be quite useful.

Original comment by j...@tekahuna.net on 18 Dec 2011 at 9:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry that last output had wrong device selected

shell@android:/data/data/com.googlecode.android.wifi.tether/bin # ./tether start
er start                                                                      <
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/ifconfig wl0.1 
192.168.2.254 netmask 255.255.255.0]
error: SIOCSIFADDR (No such device)
about to run: [/data/data/com.googlecode.android.wifi.tether/bin/iptables -N 
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 -F 
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 -F 
FORWARD]
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 
wireless-tether -m state --state ESTABLISHE
D,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 
wireless-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 
wireless-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 
wireless-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 
FORWARD -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 
FORWARD -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 MAS
QUERADE]
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 
wl0.1 --dhcp-authoritative --no-negcache --u
ser=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-file=/data/data/com.googlecode.android.wi
fi.tether/var/dnsmasq.pid]
script result was []
shell@android:/data/data/com.googlecode.android.wifi.tether/bin #

Original comment by a...@chiefmarley.com on 18 Dec 2011 at 9:14

GoogleCodeExporter commented 9 years ago
@andy

ok, can we get the output from "busybox ifconfig" from right after that?  
Thanks so much.

Original comment by j...@tekahuna.net on 18 Dec 2011 at 9:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Oh. Is that really AFTER you have exectured "./tether start"?

Could you please also execute:
/data/data/com.googlecode.android.wifi.tether/bin/iwconfig

And post the output here?

Thanks a ton.

Original comment by harald....@gmail.com on 18 Dec 2011 at 9:32

GoogleCodeExporter commented 9 years ago
Yes that was after.  But I was also connected to my home wifi.  I will post in 
a different post output where I disconnected it before hand.  Here is iwconfig

shell@android:/data/data/com.googlecode.android.wifi.tether/bin # ./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.

wlan0     no wireless extensions.

rmnet0    no wireless extensions.

rmnet1    no wireless extensions.

rmnet2    no wireless extensions.

rmnet3    no wireless extensions.

shell@android:/data/data/com.googlecode.android.wifi.tether/bin #

Original comment by a...@chiefmarley.com on 18 Dec 2011 at 9:35

GoogleCodeExporter commented 9 years ago
Please disable wifi on your phone before you execute "./tether start". 
Thanks.

Original comment by harald....@gmail.com on 18 Dec 2011 at 9:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry, networking is not my forte. I have no idea what that means.

Original comment by a...@chiefmarley.com on 18 Dec 2011 at 9:42

GoogleCodeExporter commented 9 years ago
@andy:  Can you humor me, and fire up tethering from the application to where 
you get that failure at "Activating Wifi Interface", leave the application in 
tthat state, and then give the "busybox ifconfig" and iwconfig output.

Original comment by j...@tekahuna.net on 18 Dec 2011 at 9:54

GoogleCodeExporter commented 9 years ago
@brakeb:  Yes, for consistency across devices.

Original comment by j...@tekahuna.net on 18 Dec 2011 at 9:58

GoogleCodeExporter commented 9 years ago
@74

I don't have my GNex right in front of me, but I've been playing with this for 
a couple of days, and running iwconfig reports that there's no wireless 
extensions for wlan0.

Needs a kernel module that didn't get included, perhaps?

Original comment by thedrexs...@gmail.com on 18 Dec 2011 at 10:00

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue 1295 has been merged into this issue.

Original comment by harald....@gmail.com on 18 Dec 2011 at 10:25

GoogleCodeExporter commented 9 years ago
Does this project have an IRC channel on Freenode?

Original comment by atriusof...@gmail.com on 18 Dec 2011 at 10:28

GoogleCodeExporter commented 9 years ago
Ok. Lets try this one:
http://android-wifi-tether.googlecode.com/files/wifi_tether_v3_1-pre110.apk

Uninstall any old version before installing. This hopefully works.

Original comment by harald....@gmail.com on 18 Dec 2011 at 10:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Works for me! I am using it for this message :)

I will let you know if it stops working after a few minutes or any errors. 
Thanks so much for the hard work guys. 

Original comment by Dynast...@gmail.com on 18 Dec 2011 at 10:34

GoogleCodeExporter commented 9 years ago
actually, it works!!! you need to set it to master mode though in setup options

Original comment by RAN...@gmail.com on 18 Dec 2011 at 10:35

GoogleCodeExporter commented 9 years ago
@82  No errors for me when I ran it, appears to be working.  Posting this with 
my laptop connected through my Nexus!  Thanks for the prompt/hard work guys!

Original comment by a...@chiefmarley.com on 18 Dec 2011 at 10:35

GoogleCodeExporter commented 9 years ago
it doesn't show the correct stats btw

Original comment by RAN...@gmail.com on 18 Dec 2011 at 10:36

GoogleCodeExporter commented 9 years ago
Confirmed.. I'm testing everything with it now.. thanks again :D

Original comment by atriusof...@gmail.com on 18 Dec 2011 at 10:37

GoogleCodeExporter commented 9 years ago
@87 yeah I just noticed I supposedly downloaded 200 MB in the few seconds I was 
testing it out.

Original comment by a...@chiefmarley.com on 18 Dec 2011 at 10:38

GoogleCodeExporter commented 9 years ago
For the record, I didn't have to set it to master, it works on Auto. 

Original comment by Cameron....@gmail.com on 18 Dec 2011 at 10:38

GoogleCodeExporter commented 9 years ago
confirmed working here! holy cow, take this vz!

Original comment by gmurphyp...@gmail.com on 18 Dec 2011 at 10:39

GoogleCodeExporter commented 9 years ago
Works!

Only one minor issue. It shows the total downloaded and uploaded for the entire 
session of the phone since reboot.

Original comment by ihyln...@gmail.com on 18 Dec 2011 at 10:40

GoogleCodeExporter commented 9 years ago
I noticed that as well.. almost freaked when I saw that. 

It seems to be working perfectly for me. I can't test too much as I'm plagauged 
by the apparent poor signal strength issue with the GNEX. When it is working it 
is working flawlessly and is fast as snot :D

Original comment by atriusof...@gmail.com on 18 Dec 2011 at 10:42

GoogleCodeExporter commented 9 years ago
whoa... just noticed a sudden reboot post hotspot shutdown

Original comment by atriusof...@gmail.com on 18 Dec 2011 at 10:45

GoogleCodeExporter commented 9 years ago
Working beautifully for me. Mighty Kung-fu!!!

Original comment by thegrand...@gmail.com on 18 Dec 2011 at 10:46

GoogleCodeExporter commented 9 years ago
I can confirm 110 works also with VZW Galaxy Nexus, with the same quirk that it 
shows the total downloaded and uploaded for the entire session. (on deodexed 
4.0.2 build)

Original comment by ltir...@gmail.com on 18 Dec 2011 at 10:48

GoogleCodeExporter commented 9 years ago
I cannot believe VZ thinks they can stop these guys. I am impressed. Thanks. 
Donation on way.

Original comment by gmurphyp...@gmail.com on 18 Dec 2011 at 10:49

GoogleCodeExporter commented 9 years ago
Works well, great job.

Original comment by dme...@gmail.com on 18 Dec 2011 at 10:56

GoogleCodeExporter commented 9 years ago
@89 they do say 4G is fast.... :D

Original comment by atriusof...@gmail.com on 18 Dec 2011 at 10:58

GoogleCodeExporter commented 9 years ago
yep! working great connecting with my tablet!  gonna go donate!

Original comment by bra...@gmail.com on 18 Dec 2011 at 11:01