Open GoogleCodeExporter opened 8 years ago
fixed it in recompile of apk
--- tetherStartStop.cpp 2011-05-10 01:48:07.000000000 -0400
+++ tetherStartStop.cpp 2011-08-26 13:40:51.000000000 -0400
@@ -254,6 +254,11 @@
}
}
+void htcfixroute() {
+ // htcfixroute
+ writelog(system("/system/bin/ip route add table gprs 172.20.23.252/30 dev
usb0 proto kernel scope link src 172.20.23.254"),(char*)"HTC ip route fixed");
+}
+
int main(int argc, char *argv[]) {
if (argc != 2) {
fprintf(stderr, "Usage: tether <start|stop>\n");
@@ -274,6 +279,7 @@
startipt();
startipfw();
startdnsmasq();
+ htcfixroute();
}
else if (strcmp(argv[1],"stop") == 0) {
stopdnsmasq();
attached is a working apk
Original comment by dustin.t.knight@gmail.com
on 26 Aug 2011 at 6:23
Attachments:
awesome, thanks. the only issue is that you're forcing the subnet to a fixed
value. not really an issue, but it seems to override the user option.
Original comment by paher...@gmail.com
on 26 Aug 2011 at 8:13
This patch works for me (rooted HTC Evo 4G). Thanks!
Original comment by seb.kuzm...@gmail.com
on 13 Mar 2012 at 7:56
Original issue reported on code.google.com by
paher...@gmail.com
on 21 Aug 2011 at 10:14