EasyTether Android Tethering Script

I created this script for my lady.  She uses it when she's on the road and needs to tether her Ubuntu laptop with her Android phone.

#!/bin/bash
## a quick script to enable tethering
/usr/bin/sudo -k
/usr/bin/gnome-terminal --window-with-profile=NoScrollBar --hide-menubar --geometry=80x6
--title="Tethering Active - Minimize This Window" -e '/usr/bin/easytether connect' 
/usr/bin/gksudo -S '/sbin/dhclient easytether0'
exit

 It opens a couple of gnome-terminals and prompts for her password – saving some typing and other non-user friendly stuff.

 

 


This entry was posted in CLI HOWTOs, HOWTOs. Bookmark the permalink.