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 Tue 25 Nov 2014, 22:53
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 Posts_count_1  
Author Message
crasstafari

Joined: 15 Nov 2010
Posts: 1

PostPosted: Mon 15 Nov 2010, 04:18    Post_subject:  Shell script for USB network connection
Sub_title: 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:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0410s ][ Queries: 12 (0.0113s) ][ GZIP on ]