/[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.8 - (show annotations) (download) (as text)
Sat Oct 28 09:17:55 2006 UTC (13 years, 9 months ago) by neysx
Branch: MAIN
Changes since 1.7: +5 -1 lines
File MIME type: application/xml
Moved chapter abstracts into shared chapters
No content change, hence no bump

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

  ViewVC Help
Powered by ViewVC 1.1.20