Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 21:45
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Shell script for USB network connection
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
crasstafari

Joined: 15 Nov 2010
Posts: 1

PostPosted: Mon 15 Nov 2010, 04:18    Post subject:  Shell script for USB network connection
Subject description: How can I automate a network connection triggered by USB event
 

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...........
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0597s ][ Queries: 11 (0.0269s) ][ GZIP on ]