/[gentoo]/xml/htdocs/doc/en/handbook/hb-net-management.xml
Gentoo

Contents of /xml/htdocs/doc/en/handbook/hb-net-management.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download) (as text)
Wed Aug 30 22:52:28 2006 UTC (13 years, 11 months ago) by nightmorph
Branch: MAIN
Changes since 1.6: +3 -3 lines
File MIME type: application/xml
2006.1 networked docs are in. portage handbook still untouched per separate bugs. thanks to all the hard work, guys. blame me if something is wrong (and please fix quickly) :)

1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3
4 <!-- The content of this document is licensed under the CC-BY-SA license -->
5 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6
7 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-management.xml,v 1.6 2005/12/22 19:55:49 jkt Exp $ -->
8
9 <sections>
10
11 <version>7.0</version>
12 <date>2006-08-30</date>
13
14 <section>
15 <title>Network Management</title>
16 <body>
17
18 <p>
19 If you and your computer are always on the move, you may not always have an
20 ethernet cable or plugged in or an access point available. Also, we may want
21 networking to automatically work when an ethernet cable is plugged in or an
22 access point is found.
23 </p>
24
25 <p>
26 Here you can find some tools that helps you manage this.
27 </p>
28
29 <note>
30 This document only talks about <c>ifplugd</c>, but there are alternatives you
31 can look into like <c>quickswitch</c>.
32 </note>
33
34 </body>
35 </section>
36 <section>
37 <title>ifplugd</title>
38 <body>
39
40 <p>
41 <uri link="http://0pointer.de/lennart/projects/ifplugd/">ifplugd</uri> is a
42 daemon that starts and stops interfaces when an ethernet cable is inserted or
43 removed. It can also manage detecting association to Access Points or when new
44 ones come in range.
45 </p>
46
47 <pre caption="Installing ifplugd">
48 # <i>emerge sys-apps/ifplugd</i>
49 </pre>
50
51 <p>
52 Configuration for ifplugd is fairly straightforward too. The configuration file
53 is held in <path>/etc/conf.d/ifplugd</path>. Run <c>man ifplugd</c> for details
54 on what the variables do.
55 </p>
56
57 <pre caption="sample ifplug configuration">
58 <comment># Define which interfaces we monitor</comment>
59 INTERFACES="eth0"
60
61 AUTO="no"
62 BEEP="yes"
63 IGNORE_FAIL="yes"
64 IGNORE_FAIL_POSITIVE="no"
65 IGNORE_RETVAL="yes"
66 POLL_TIME="1"
67 DELAY_UP="0"
68 DELAY_DOWN="0"
69 API_MODE="auto"
70 SHUTDOWN="no"
71 WAIT_ON_FORK="no"
72 MONITOR="no"
73 ARGS=""
74
75 <comment># Additional parameters for ifplugd for the specified interface. Note that
76 # the global variable is ignored, when a variable like this is set for an
77 # interface</comment>
78 MONITOR_wlan0="yes"
79 DELAY_UP_wlan0="5"
80 DELAY_DOWN_wlan0="5"
81 </pre>
82
83 </body>
84 </section>
85
86 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20