nightmorph 07/03/07 00:07:52 Modified: hb-net-management.xml Log: updated multiple network management section of the handbook, bug 169029
Revision Changes Path 1.9 xml/htdocs/doc/en/handbook/hb-net-management.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-management.xml?rev=1.9&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-management.xml?rev=1.9&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-management.xml?r1=1.8&r2=1.9 Index: hb-net-management.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-management.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- hb-net-management.xml 28 Oct 2006 09:17:55 -0000 1.8 +++ hb-net-management.xml 7 Mar 2007 00:07:52 -0000 1.9 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-management.xml,v 1.8 2006/10/28 09:17:55 neysx Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-management.xml,v 1.9 2007/03/07 00:07:52 nightmorph Exp $ --> <sections> @@ -12,8 +12,8 @@ For laptop users or people who move their computer around different networks. </abstract> -<version>7.0</version> -<date>2006-08-30</date> +<version>7.1</version> +<date>2007-03-06</date> <section> <title>Network Management</title> @@ -21,18 +21,20 @@ <p> If you and your computer are always on the move, you may not always have an -ethernet cable or plugged in or an access point available. Also, we may want +ethernet cable or plugged in or an access point available. Also, you may want networking to automatically work when an ethernet cable is plugged in or an access point is found. </p> <p> -Here you can find some tools that helps you manage this. +Here you can find some tools that help you manage this. </p> <note> -This document only talks about <c>ifplugd</c>, but there are alternatives you -can look into like <c>quickswitch</c>. +This document only talks about <c>ifplugd</c>, but there are alternatives such +as <c>netplug</c>. <c>netplug</c> is a lightweight alternative to +<c>ifplugd</c>, but it relies on your kernel network drivers working correctly, +and many drivers do not. </note> </body> @@ -54,36 +56,34 @@ <p> Configuration for ifplugd is fairly straightforward too. The configuration file -is held in <path>/etc/conf.d/ifplugd</path>. Run <c>man ifplugd</c> for details -on what the variables do. +is held in <path>/etc/conf.d/net</path>. Run <c>man ifplugd</c> for details on +the available variables. Also, see <path>/etc/conf.d/net.example</path> for more +examples. </p> -<pre caption="sample ifplug configuration"> -<comment># Define which interfaces we monitor</comment> -INTERFACES="eth0" - -AUTO="no" -BEEP="yes" -IGNORE_FAIL="yes" -IGNORE_FAIL_POSITIVE="no" -IGNORE_RETVAL="yes" -POLL_TIME="1" -DELAY_UP="0" -DELAY_DOWN="0" -API_MODE="auto" -SHUTDOWN="no" -WAIT_ON_FORK="no" -MONITOR="no" -ARGS="" - -<comment># Additional parameters for ifplugd for the specified interface. Note that -# the global variable is ignored, when a variable like this is set for an -# interface</comment> -MONITOR_wlan0="yes" -DELAY_UP_wlan0="5" -DELAY_DOWN_wlan0="5" +<pre caption="Sample ifplug configuration"> +<comment>(Replace eth0 with the interface to be monitored)</comment> +ifplugd_eth0="..." + +<comment>(To monitor a wireless interface)</comment> +ifplugd_eth0="--api-mode=wlan" </pre> +<p> +In addition to managing multiple network connections, you may want to add a tool +that makes it easy to work with multiple DNS servers and configurations. This is +very handy when you receive your IP address via DHCP. Simply emerge +<c>resolvconf-gentoo</c>. +</p> + +<pre caption="Installing resolvconf-gentoo"> +# <i>emerge resolvconf-gentoo</i> +</pre> + +<p> +See <c>man resolvconf-gentoo</c> to learn more about its features. +</p> + </body> </section> -- [email protected] mailing list
