/[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.1 - (show annotations) (download) (as text)
Thu Jun 9 07:33:59 2005 UTC (15 years, 2 months ago) by swift
Branch: MAIN
File MIME type: application/xml
#88188 - New baselayout -> new part on the Gentoo Handbook

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.0 -->
6
7 <sections>
8
9 <version>1.0</version>
10 <date>2005-06-06</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.</p>
21
22 <p>
23 Here you can find some tools that helps you manage this.
24 </p>
25
26 <note>
27 This document only talks about ifplugd, but there are alternatives you can
28 look into like quickswitch
29 </note>
30
31 </body>
32 </section>
33
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="install 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><br/>
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