Shell script for USB network connection

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
crasstafari
Posts: 1
Joined: Mon 15 Nov 2010, 08:00

Shell script for USB network connection

#1 Post by crasstafari »

HI,

I've Googled this without much luck. I have an HTC Android phone that i use to connect to the internet from my thinkpad running Lucid 5.11. Works great but would be awesome to write a script so that whenever i plug my phone into the laptop the network configuration is automatic. I figure something like hotplug (wwhich dosn't seem to be present in LP 5.11 but hotplug2 is) piped to dhcpcd would do the trick. I guess what I need to know is how to trigger a script from a USB event. BTW the 'Save Configuration for next boot' option in the network wizard has never worked for me. If there's a GUI way to do it even better...........

Post Reply