rajan72 / android-wifi-tether

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

Access Control fails to start on Droid 2.1 (ESE 53) #338

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which device (manufacturer, type)?

Motorola Droid

Which firmware is installed?

Smoked Glass 6.0. Firmware version 2.1. Kernel version 2.6.29

What version of wireless tether are you using?

2.0.1

What steps will reproduce the problem?
1. Start Wireless tether
2. Go into "Access Control"  
3. Click Enable
4. Authorize a client

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

The authorized client should get internet connectivity, but instead there
is no connection to the Internet (the connection to the android device is
just fine). In the log, it shows "failed" under "Starting Access Control"

Please provide any additional information below.

Original issue reported on code.google.com by alex.schoof on 3 May 2010 at 11:33

GoogleCodeExporter commented 9 years ago
Try to start it from command-line:

adb shell
cd /data/data/android.tether/bin
./tether start 1

This will generate debug output - post this output here.
(I bet it's a missing kernel feature.)

Original comment by harald....@gmail.com on 4 May 2010 at 7:41

GoogleCodeExporter commented 9 years ago
here is the output from the debug run:

[root@droid] / # cd /data/data/android.tether/bin/
[root@droid] bin # ./tether start 1                                            
about to run: [/system/bin/wlan_loader -f /system/etc/wifi/fw_wlan1271.bin -e
/proc/calibration -i /system/etc/wifi/tiwlan.ini]
Set property wlan.driver.status = ok - Ok
about to run: [/data/data/android.tether/bin/ifconfig tiwlan0 172.20.21.254 
netmask
255.255.255.0]
about to run: [/data/data/android.tether/bin/ifconfig tiwlan0 up]
about to run: [/data/data/android.tether/bin/iwconfig tiwlan0 mode ad-hoc]
about to run: [/data/data/android.tether/bin/iwconfig tiwlan0 essid tehdroid]
about to run: [/data/data/android.tether/bin/iwconfig tiwlan0 channel 6]
about to run: [/data/data/android.tether/bin/iwconfig tiwlan0 commit]
Error for wireless request "Commit changes" (8B00) :
    SET failed on device tiwlan0 ; Operation not supported on transport endpoint.
about to run: [/data/data/android.tether/bin/iwconfig tiwlan0 mode ad-hoc essid
tehdroid persist &]
about to run: [/data/data/android.tether/bin/iptables -N wireless-tether]
about to run: [/data/data/android.tether/bin/iptables -F wireless-tether]
about to run: [/data/data/android.tether/bin/iptables -t nat -F PREROUTING]
about to run: [/data/data/android.tether/bin/iptables -t nat -F POSTROUTING]
about to run: [/data/data/android.tether/bin/iptables -t nat -F]
about to run: [/data/data/android.tether/bin/iptables -A wireless-tether -m 
state
--state ESTABLISHED,RELATED -j ACCEPT]
about to run: [/data/data/android.tether/bin/iptables -A wireless-tether -s
172.20.21.0/24 -j ACCEPT]
about to run: [/data/data/android.tether/bin/iptables -A wireless-tether -j 
DROP]
about to run: [/data/data/android.tether/bin/iptables -A FORWARD -j 
wireless-tether]
about to run: [/data/data/android.tether/bin/iptables -t nat -I POSTROUTING -s
172.20.21.0/24 -j MASQUERADE]
about to run: [/data/data/android.tether/bin/dnsmasq -i tiwlan0
--resolv-file=/data/data/android.tether/conf/resolv.conf
--conf-file=/data/data/android.tether/conf/dnsmasq.conf]
script result was []

Original comment by alex.schoof on 4 May 2010 at 4:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same problem with WirelessTether v 2.0.7 on MotoDroid, Android 2.2.2 
Build#FRG83G, Kernel 2.6.32.9 (But, I can tether fine from xoom via bluetooth 
if access control is disabled.)

Original comment by jcrossc...@gmail.com on 18 Jul 2011 at 10:21