Romain Garbage wrote:
Hello,

I am looking for a way to automate the configuration of my network
depending on its "topology" (don't know if it's the good word) : I
would like to check the wired interface to see if a cable is plugged
in (by looking at carrier status), if so, bring up the wired
interface, if no bring up the wireless interface.
Is there a way to do this?

I was wondering if it is possible to do so by scripting rc.conf?

Normally you really don't have to think, just enable both, assuming you use dhcp. Wired configuration with dhcp will fail if there is no cable, wireless will fail if there is no signal. You usually won't experience problems even if both are configured.

BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157                  http://www.locolomo.org
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to