Open GoogleCodeExporter opened 9 years ago
Could you please try the latest test-release?
http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre2-test1
.apk
This one renames the wifi-interface-name. I don't know if that makes it run
without deleting that "iproute" but please give it try.
Deleting that "ip route" is a bit problematic.
Original comment by harald....@gmail.com
on 15 Jun 2010 at 8:35
Ok, I think renaming the interface does not make any difference. Could you
please check where to find applied routing-rules in /proc (maybe it's in 'cat
/proc/net/route')?
The only way to solve this problem is to write a background process which
checks for exactly that rule and removes it.
Original comment by harald....@gmail.com
on 16 Jun 2010 at 8:34
And ... what shows "ip route show table gprs"? Maybe it would be easier to add
the wifi-network to the routing table (gprs)?
Original comment by harald....@gmail.com
on 16 Jun 2010 at 10:33
Hi
# ip route show table gprs
ip route show table gprs
91.94.26.80/28 dev rmnet0 scope link src 91.94.26.87
default via 91.94.26.81 dev rmnet0
#
And
cat /proc/net/route
Iface Destination Gateway Flags RefCnt Use Metric Mask
MTU Window IRTT
rmnet0 501A5E5B 00000000 0001 0 0 0
F0FFFFFF 0 0 0
rmnet0 00000000 511A5E5B 0003 0 0 0
00000000 0 0 0
Something like that
Original comment by pogo1...@gmail.com
on 16 Jun 2010 at 10:02
Ok thanks. I'm just shooting into the dark. Could you please try this version:
http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre3-test2
.apk
It disables /proc/sys/net/ipv4/conf/all/rp_filter
http://kernel.xc.net/html/linux-2.6.0-test4/s390/IP_ADVANCED_ROUTER
I'm not sure if it helps but I guess it's not worth to try.
Thanks.
Original comment by harald....@gmail.com
on 16 Jun 2010 at 10:22
Hi
It does not work :( maybe version with adding tiwlan0 to gprs routing table
will work.
Regards
Jarek
Original comment by pogo1...@gmail.com
on 17 Jun 2010 at 6:40
Yes, maybe. Could you please try something like that:
ip route add table gprs 192.168.2.0/24 dev tiwlan0 scope link
or
ip route add table gprs 192.168.2.0/24 dev tiwlan0 scope link src 192.168.2.100
192.168.2.100 = client-ip-address
Original comment by harald....@gmail.com
on 17 Jun 2010 at 8:59
or maybe ...
ip route add table gprs 192.168.2.0/24 dev tiwlan0 proto kernel scope link
src 192.168.2.254
Original comment by harald....@gmail.com
on 17 Jun 2010 at 10:42
Hi
this command works:
ip route add table gprs 192.168.2.0/24 dev tiwlan0 proto kernel scope link
src 192.168.2.254
but like i said before when data connection is dropped and reconnected it stops
working :( I think this is deeper issue
so you have to write some demon to check for existance of sprs table.
When cellular data connection is active:
# ip route show table gprs
ip route show table gprs
87.96.83.152/29 dev rmnet0 scope link src 87.96.83.155
default via 87.96.83.153 dev rmnet0
And When it is inactive:
# ip route show table gprs
ip route show table gprs
I dont know it will be possible :) i'm not a programmer. just a storage guy ;)
Regards
JArek
Original comment by pogo1...@gmail.com
on 18 Jun 2010 at 9:34
With this version
http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre3-test2
.apk
it took longer to obtain ip adress on client
Original comment by pogo1...@gmail.com
on 18 Jun 2010 at 9:44
Hi again.
Could you please try:
http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre3-test3
.apk
After installation (please remove an older version of the app first) you should
see a script named "fixroute.sh" in /data/data/android.tether/bin.
http://code.google.com/p/android-wifi-tether/source/browse/trunk/res/raw/fixrout
e_sh
This script runs in background and checks if that needed route exists.
Thanks for testing.
Original comment by harald....@gmail.com
on 20 Jun 2010 at 9:14
Could you please give pre3-test3 a try?
Thanks.
Original comment by harald....@gmail.com
on 22 Jun 2010 at 7:21
Hi i have cheked it and it works :)
when data connection i lost and reconnected tethering works again :)
Regards
Jarek
Original comment by pogo1...@gmail.com
on 24 Jun 2010 at 10:07
Original issue reported on code.google.com by
pogo1...@gmail.com
on 15 Jun 2010 at 4:11Attachments: