[0f9076d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[027c7d7] | 7 | <!ENTITY wicd-download-http "https://launchpad.net/wicd/&wicd-major-version;/&wicd-version;/+download/wicd-&wicd-version;.tar.gz">
|
---|
[0f9076d] | 8 | <!ENTITY wicd-download-ftp " ">
|
---|
[027c7d7] | 9 | <!ENTITY wicd-md5sum "aaa2e9f5320849e0b5d053099a6f0007">
|
---|
| 10 | <!ENTITY wicd-size "536 KB">
|
---|
| 11 | <!ENTITY wicd-buildsize "4.2 MB">
|
---|
[0f9076d] | 12 | <!ENTITY wicd-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="wicd" xreflabel="Wicd-&wicd-version;">
|
---|
| 16 | <?dbhtml filename="wicd.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Wicd-&wicd-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="wicd">
|
---|
| 26 | <primary sortas="a-wicd">wicd</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Wicd</title>
|
---|
| 31 |
|
---|
[d730390] | 32 | <para><application>Wicd</application> is a network manager written in
|
---|
| 33 | Python. It simplifies network setup by automatically detecting and
|
---|
| 34 | connecting to wireless and wired networks. Wicd includes support for WPA
|
---|
| 35 | authentication and DHCP configuration. It provides Curses- and GTK-based
|
---|
[cb525529] | 36 | graphical frontends for user-friendly control. An excellent KDE-based
|
---|
[027c7d7] | 37 | frontend is also available
|
---|
| 38 | <ulink url="http://projects.kde.org/projects/extragear/network/wicd-kde">
|
---|
| 39 | http://projects.kde.org/projects/extragear/network/wicd-kde</ulink>.
|
---|
[cb525529] | 40 | </para>
|
---|
[0f9076d] | 41 |
|
---|
[027c7d7] | 42 | &lfs78_checked;
|
---|
[0f9076d] | 43 |
|
---|
[e198725] | 44 | <note>
|
---|
| 45 | <para>
|
---|
[027c7d7] | 46 | Make sure that you disable the <command>systemd-networkd</command>
|
---|
| 47 | service or configure it not to manage the interfaces you want to manage
|
---|
| 48 | with <application>Wicd</application>.
|
---|
[e198725] | 49 | </para>
|
---|
| 50 | </note>
|
---|
| 51 |
|
---|
[0f9076d] | 52 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 53 | <itemizedlist spacing="compact">
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download (HTTP): <ulink url="&wicd-download-http;"/></para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Download (FTP): <ulink url="&wicd-download-ftp;"/></para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Download MD5 sum: &wicd-md5sum;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Download size: &wicd-size;</para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Estimated disk space required: &wicd-buildsize;</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Estimated build time: &wicd-time;</para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
[ac38e9dc] | 73 |
|
---|
[0f9076d] | 74 | <bridgehead renderas="sect3">Wicd Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="python2"/>,
|
---|
| 79 | <xref linkend="dbus-python"/>,
|
---|
[283bd88] | 80 | <xref linkend="wireless_tools"/>, and
|
---|
[027c7d7] | 81 | <xref linkend="net-tools"/>
|
---|
| 82 | (Wicd needs <command>mii-tool</command> from this package)
|
---|
[0f9076d] | 83 | </para>
|
---|
[0d7900a] | 84 |
|
---|
[0f9076d] | 85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 86 | <para role="recommended">
|
---|
| 87 | <xref linkend="pygtk"/> (for the GTK frontend),
|
---|
[283bd88] | 88 | <xref linkend="wpa_supplicant"/> (for WPA support), and
|
---|
[0f9076d] | 89 | <xref linkend="dhcpcd"/> or <xref linkend="dhcp"/> (for DHCP support)
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 93 | <para role="optional">
|
---|
[70727c9] | 94 | <xref linkend="pm-utils"/> (for suspend/resume integration),
|
---|
[027c7d7] | 95 | <ulink url="http://urwid.org/">Urwid</ulink>
|
---|
| 96 | (for the Curses-based frontend), and
|
---|
| 97 | <ulink url="http://babel.edgewall.org/">Babel</ulink>
|
---|
| 98 | (for internationalization)
|
---|
[0f9076d] | 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <para condition="html" role="usernotes">User Notes:
|
---|
| 102 | <ulink url="&blfs-wiki;/wicd"/></para>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="installation">
|
---|
| 107 | <title>Installation of Wicd</title>
|
---|
| 108 |
|
---|
| 109 | <para>Install <application>Wicd</application> by running the following
|
---|
| 110 | commands:</para>
|
---|
| 111 |
|
---|
[ac38e9dc] | 112 | <screen><userinput>sed -e "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
|
---|
[027c7d7] | 113 | -i.orig setup.py &&
|
---|
[ac38e9dc] | 114 | rm po/*.po &&
|
---|
[283bd88] | 115 | python setup.py configure --no-install-kde \
|
---|
| 116 | --no-install-acpi \
|
---|
[0f9076d] | 117 | --no-install-pmutils \
|
---|
[ac38e9dc] | 118 | --no-install-init \
|
---|
| 119 | --docdir=/usr/share/doc/wicd-&wicd-version;</userinput></screen>
|
---|
[0f9076d] | 120 |
|
---|
| 121 | <para>This package does not come with a test suite.</para>
|
---|
| 122 |
|
---|
[027c7d7] | 123 | <para>Now, as the <systemitem class="username">root</systemitem> user,
|
---|
| 124 | install the package:</para>
|
---|
[0f9076d] | 125 |
|
---|
[027c7d7] | 126 | <screen role="root"><userinput>python setup.py install</userinput></screen>
|
---|
[0f9076d] | 127 |
|
---|
| 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 | <sect2 role="commands">
|
---|
| 131 | <title>Command Explanations</title>
|
---|
[ec64d28] | 132 |
|
---|
[ac38e9dc] | 133 | <para><command>sed -e ... -i setup.py</command>: This <command>sed</command>
|
---|
| 134 | prevents <command>setup.py</command> from failing when used on a LFS system.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
[96316eb] | 137 | <para><command>rm po/*.po</command>: This command removes the international
|
---|
| 138 | messages associated with this package. The command is required unless
|
---|
| 139 | Babel is installed. If it is installed, po/ast.po still needs to be removed
|
---|
| 140 | in order for the build to complete.</para>
|
---|
| 141 |
|
---|
[0d7900a] | 142 | <para><option>--no-install-kde</option>: Prevent installation of an
|
---|
| 143 | autostart desktop file for KDE. If you use KDE, you should instead install the
|
---|
[0f9076d] | 144 | <ulink url="http://projects.kde.org/projects/extragear/network/wicd-kde">Wicd KDE Client</ulink>.
|
---|
| 145 | </para>
|
---|
[ec64d28] | 146 |
|
---|
[0d7900a] | 147 | <para><option>--no-install-acpi</option>: Prevent installation of
|
---|
[ec64d28] | 148 | <command>suspend</command> and <command>resume</command> scripts for acpid.
|
---|
| 149 | Omit this option if you use acpid.</para>
|
---|
| 150 |
|
---|
[0d7900a] | 151 | <para><option>--no-install-pmutils</option>: Prevent installation of hooks for
|
---|
[0f9076d] | 152 | pm-utils. Omit this option if you use pm-utils.</para>
|
---|
[ec64d28] | 153 |
|
---|
[0d7900a] | 154 | <para><option>--no-install-init</option>: Prevent installation of any init scripts,
|
---|
[ec64d28] | 155 | as a bootscript is installed later in the instructions.</para>
|
---|
| 156 |
|
---|
[0d7900a] | 157 | <para><option>--wicdgroup=<replaceable><group></replaceable></option>:
|
---|
| 158 | The group that will have permission to use the Wicd client (default is the
|
---|
[0f9076d] | 159 | <systemitem class="groupname">users</systemitem> group).</para>
|
---|
[ac38e9dc] | 160 |
|
---|
| 161 | <para><envar>LANG=C</envar>: This environment variable is needed to allow
|
---|
| 162 | the installation to complete.</para>
|
---|
| 163 |
|
---|
[0f9076d] | 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | <sect2 role="configuration">
|
---|
| 167 | <title>Configuring Wicd</title>
|
---|
| 168 |
|
---|
| 169 | <sect3 id="wicd-config">
|
---|
| 170 | <title>Config Files</title>
|
---|
| 171 |
|
---|
| 172 | <para><filename>/etc/wicd/manager-settings.conf</filename>,
|
---|
[0d7900a] | 173 | <filename>/etc/wicd/wired-settings.conf</filename> and
|
---|
[0f9076d] | 174 | <filename>/etc/wicd/wireless-settings.conf</filename></para>
|
---|
| 175 |
|
---|
| 176 | </sect3>
|
---|
| 177 |
|
---|
| 178 | <sect3 id="wicd-init">
|
---|
[027c7d7] | 179 | <title>Configuration Information</title>
|
---|
[0f9076d] | 180 |
|
---|
[027c7d7] | 181 | <para>To automatically start Wicd at boot time, you need to first install
|
---|
| 182 | the Wicd bootscript,
|
---|
| 183 | <filename>/etc/rc.d/init.d/wicd</filename>,
|
---|
| 184 | included in the <xref linkend="bootscripts"/> package
|
---|
| 185 | (as user <systemitem class="username">root</systemitem>):</para>
|
---|
[0f9076d] | 186 |
|
---|
| 187 | <indexterm zone="wicd wicd-init">
|
---|
[027c7d7] | 188 | <primary sortas="f-wicd">wicd (bootscript)</primary>
|
---|
[0f9076d] | 189 | </indexterm>
|
---|
| 190 |
|
---|
[027c7d7] | 191 | <screen role='root'><userinput>make install-wicd</userinput></screen>
|
---|
| 192 |
|
---|
| 193 | <para>Since Wicd will now handle all configuration of network devices,
|
---|
| 194 | the network bootscript installed by LFS should be disabled. This can be
|
---|
| 195 | achieved by either removing any <filename>S*network</filename> and
|
---|
| 196 | <filename>K*network</filename> symlinks in the <filename>/etc/rc*.d</filename>
|
---|
| 197 | directories or by setting <literal>ONBOOT=no</literal> in any
|
---|
| 198 | <filename>/etc/sysconfig/ifconfig.*</filename> files.</para>
|
---|
[0f9076d] | 199 |
|
---|
| 200 | <para>No manual configuration of Wicd is needed if you use the graphical
|
---|
| 201 | frontends. If you are only going to use Wicd from command-line, you can configure
|
---|
[0d7900a] | 202 | it using the configuration files in <filename>/etc/wicd</filename>. For a list of
|
---|
| 203 | available options, look at the man-pages for: wicd-manager-settings.conf,
|
---|
[0f9076d] | 204 | wicd-wired-settings.conf and wicd-wireless-settings.conf.</para>
|
---|
[0d7900a] | 205 |
|
---|
| 206 | <para>Be sure to add all users who are to have rights to open and close network
|
---|
| 207 | connections with Wicd to the <systemitem class="groupname">users</systemitem>
|
---|
| 208 | group (or the group specified with the <option>--wicdgroup</option> configuration
|
---|
[0f9076d] | 209 | option).</para>
|
---|
[0d7900a] | 210 |
|
---|
[0f9076d] | 211 | </sect3>
|
---|
| 212 |
|
---|
| 213 | </sect2>
|
---|
| 214 |
|
---|
| 215 | <sect2 role="content">
|
---|
| 216 | <title>Contents</title>
|
---|
| 217 |
|
---|
| 218 | <segmentedlist>
|
---|
| 219 | <segtitle>Installed Programs</segtitle>
|
---|
| 220 | <segtitle>Installed Libraries</segtitle>
|
---|
| 221 | <segtitle>Installed Directories</segtitle>
|
---|
| 222 |
|
---|
| 223 | <seglistitem>
|
---|
[283bd88] | 224 | <seg>wicd, wicd-cli, wicd-client, wicd-curses, and wicd-gtk</seg>
|
---|
[027c7d7] | 225 | <seg>None</seg>
|
---|
| 226 | <seg>/{etc,usr/share,var/lib,var/log,var/run}/wicd,
|
---|
| 227 | /usr/lib/python2.7/site-packages/wicd and
|
---|
| 228 | /usr/share/doc/wicd-&wicd-version;</seg>
|
---|
[0f9076d] | 229 | </seglistitem>
|
---|
| 230 | </segmentedlist>
|
---|
| 231 |
|
---|
| 232 | <variablelist>
|
---|
| 233 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 234 | <?dbfo list-presentation="list"?>
|
---|
| 235 | <?dbhtml list-presentation="table"?>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="wicdd">
|
---|
| 238 | <term><command>wicd</command></term>
|
---|
| 239 | <listitem>
|
---|
| 240 | <para>is the wicd daemon.</para>
|
---|
| 241 | <indexterm zone="wicd wicdd">
|
---|
| 242 | <primary sortas="b-wicdd">wicd</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
| 247 | <varlistentry id="wicd-cli">
|
---|
| 248 | <term><command>wicd-cli</command></term>
|
---|
| 249 | <listitem>
|
---|
| 250 | <para>is a command line interface for configuring the wicd daemon.</para>
|
---|
| 251 | <indexterm zone="wicd wicd-cli">
|
---|
| 252 | <primary sortas="b-wicd-cli">wicd-cli</primary>
|
---|
| 253 | </indexterm>
|
---|
| 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
| 256 |
|
---|
| 257 | <varlistentry id="wicd-client">
|
---|
| 258 | <term><command>wicd-client</command></term>
|
---|
| 259 | <listitem>
|
---|
[0d7900a] | 260 | <para>is the wicd client. This script attempts to automatically choose
|
---|
[028759b] | 261 | the relevant configuration interface.</para>
|
---|
[0f9076d] | 262 | <indexterm zone="wicd wicd-client">
|
---|
| 263 | <primary sortas="b-wicd-client">wicd-client</primary>
|
---|
| 264 | </indexterm>
|
---|
| 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
| 267 |
|
---|
| 268 | <varlistentry id="wicd-curses">
|
---|
| 269 | <term><command>wicd-curses</command></term>
|
---|
| 270 | <listitem>
|
---|
| 271 | <para>is a curses interface for configuring the wicd daemon.</para>
|
---|
| 272 | <indexterm zone="wicd wicd-curses">
|
---|
| 273 | <primary sortas="b-wicd-curses">wicd-curses</primary>
|
---|
| 274 | </indexterm>
|
---|
| 275 | </listitem>
|
---|
| 276 | </varlistentry>
|
---|
| 277 |
|
---|
| 278 | <varlistentry id="wicd-gtk">
|
---|
| 279 | <term><command>wicd-gtk</command></term>
|
---|
| 280 | <listitem>
|
---|
| 281 | <para>is a GTK interface for configuring the wicd daemon</para>
|
---|
| 282 | <indexterm zone="wicd wicd-gtk">
|
---|
| 283 | <primary sortas="b-wicd-gtk">wicd-gtk</primary>
|
---|
| 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
| 288 | </variablelist>
|
---|
| 289 |
|
---|
| 290 | </sect2>
|
---|
| 291 |
|
---|
| 292 | </sect1>
|
---|