Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Dynamic Network Config
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Dynamic Network Config
3rd Feb, 2014, 10:19 AM
Post: #3
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Dynamic Network Config
@IriDium

nope! if you remove eth0 from "auto" (so you disable auto on eth0), eth0 will just be tested for 3s if has physical link. if not, no problem and eth0 is not considered as requirement. "lo" will make all requirements satisfied.

wlan0 is completely left as default (hot plug reacting on udev event - wlan0 plugged in - only).

@mdkeil

I would do it though one upstart job, "task" - triggered on "net-device-up" and "net-device-down" (each has parameters IFACE and INTERFACE (being the same value)). and actual interface status is "test -e /run/network/ifup.$IFACE".

with this script you easily do the "automatic". and specials you can put into "/etc/network/if-*" folders, according the name and functions. they get automatically called. parameters are again IFACE and INTERFACE
.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


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

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 24th May, 2025, 09:08 AM Powered By MyBB, © 2002-2025 MyBB Group.