/[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.3 - (show annotations) (download) (as text)
Tue Jun 14 09:59:22 2005 UTC (15 years, 2 months ago) by swift
Branch: MAIN
Changes since 1.2: +5 -5 lines
File MIME type: application/xml
Better caption in pre tag, remove use of <br/>

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

  ViewVC Help
Powered by ViewVC 1.1.20