Solved: Dynamic Network Config
|
3rd Feb, 2014, 05:14 PM
Post: #5
|
|||
|
|||
RE: Dynamic Network Config
in such setup:
put wlan0 as AUTO when wlan0 gets connected, ifup will call /etc/network/if-up.d/* scripts. so you don't have tp check, just put your script into this folder and filter your IFACE=wlan0 but if I get it roght: your network adapters are always attached? or wlan0 always is and usb0 is hotplug? then yes, put wlan0 as auto, usb0 as hotplug. create one upstart job started and stopped on "net-device-added usb0" and "net-device-removed usb0". in pre-start put wlan0 to AP and post-stop wlan0 going from AP to auto. that's all. if specific firewalling needs to be set, put it into post-start of the usb0 script. and you are done. no cron, just events so minimum workload. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Dynamic Network Config - mdkeil - 27th Jan, 2014, 08:01 PM
RE: Dynamic Network Config - IriDium - 2nd Feb, 2014, 03:26 AM
RE: Dynamic Network Config - mk01 - 3rd Feb, 2014, 10:19 AM
RE: Dynamic Network Config - mdkeil - 3rd Feb, 2014, 03:59 PM
RE: Dynamic Network Config - mk01 - 3rd Feb, 2014 05:14 PM
RE: Dynamic Network Config - mdkeil - 15th Feb, 2014, 10:57 PM
|