Open GoogleCodeExporter opened 9 years ago
Well ... tethering can be started/stopped by commandline. Using adb:
adb shell
cd /data/data/android.tether/bin
./tether start 1
./tether stop 1
(Note: You need to start tethering at least one time via gui - because this
creates a device-specific configuration-file -
/data/data/android.tether/conf/tether.conf)
Now. As far as I know ... busybox includes "crontab". So, you could use the
busybox-contrab to restart tethering every day (or do some checking or whatever
and decide if a restart is required).
Original comment by harald....@gmail.com
on 2 Nov 2010 at 9:12
[deleted comment]
I tried using adb as you mentioned:
First I launched the wifi-tether from the gui. After this I issued the
following commands:
Last login: Wed Nov 3 17:01:52 on ttys000
Thomas-Barrons-MacBook-Pro:~ lizabeth$ cd android-sdk-mac_x86/
Thomas-Barrons-MacBook-Pro:android-sdk-mac_x86 lizabeth$ cd tools/
Thomas-Barrons-MacBook-Pro:tools lizabeth$ ./adb shell
# cd /data/data/android.tether/bin
# ./tether stop 1
about to run: [/data/data/android.tether/bin/iptables -D FORWARD -j
wireless-tether]
iptables v1.3.7: Couldn't find target `wireless-tether'
Try `iptables -h' or 'iptables --help' for more information.
about to run: [/data/data/android.tether/bin/ifconfig tiwlan0 down]
error: SIOCGIFFLAGS (No such device)
script result was []
#
what am I doing wrong?
Original comment by barron....@gmail.com
on 3 Nov 2010 at 9:14
OOPS ok read in another thread that this problem occurs with hero-roms (I'm
using the hero to test as I don't have another EVO to work with at the moment.
So I need to implement a fix on the evo but currently am testing on the hero
(Cyanogenmod 6 Sprint)
Original comment by barron....@gmail.com
on 3 Nov 2010 at 9:20
Original issue reported on code.google.com by
barron....@gmail.com
on 1 Nov 2010 at 11:31