[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 |
|
---|
| 7 | <!ENTITY wicd-download-http "http://launchpad.net/wicd/&wicd-major-version;/&wicd-version;/+download/wicd-&wicd-version;.tar.gz">
|
---|
| 8 | <!ENTITY wicd-download-ftp " ">
|
---|
[5941d6e1] | 9 | <!ENTITY wicd-md5sum "162ca2e6f4ab903bb7ab2bc0adb7d1aa">
|
---|
| 10 | <!ENTITY wicd-size "532 KB">
|
---|
| 11 | <!ENTITY wicd-buildsize "4.1 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
|
---|
[a6ff6760] | 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 |
|
---|
[789c1b9] | 42 | &lfs78_checked;
|
---|
[0f9076d] | 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (HTTP): <ulink url="&wicd-download-http;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download (FTP): <ulink url="&wicd-download-ftp;"/></para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download MD5 sum: &wicd-md5sum;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download size: &wicd-size;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated disk space required: &wicd-buildsize;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Estimated build time: &wicd-time;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
[38fb1e3] | 65 |
|
---|
[0f9076d] | 66 | <bridgehead renderas="sect3">Wicd Dependencies</bridgehead>
|
---|
| 67 |
|
---|
[0d7900a] | 68 | <note><para>Wicd uses <command>ifconfig</command> to activate network
|
---|
| 69 | connections. <command>ifconfig</command> is provided by both the Inetutils
|
---|
| 70 | and Net-tools packages. The Inetutils package is part of LFS, but the
|
---|
| 71 | <command>ifconfig</command> command is not installed by the LFS instructions.
|
---|
| 72 | If you choose to install the Inetutils version of <option>ifconfig</option>,
|
---|
| 73 | you need to reinstall the package and configure it without the
|
---|
[0f9076d] | 74 | <option>--disable-ifconfig</option> switch.
|
---|
| 75 | </para></note>
|
---|
[0d7900a] | 76 |
|
---|
[0f9076d] | 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
| 79 | <xref linkend="python2"/>,
|
---|
| 80 | <xref linkend="dbus-python"/>,
|
---|
[283bd88] | 81 | <xref linkend="wireless_tools"/>, and
|
---|
[0d7900a] | 82 | <xref linkend="net-tools"/> (Wicd needs <command>ifconfig</command> and
|
---|
[0f9076d] | 83 | <command>mii-tool</command> from this package)
|
---|
| 84 | </para>
|
---|
[0d7900a] | 85 |
|
---|
[0f9076d] | 86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 87 | <para role="recommended">
|
---|
| 88 | <xref linkend="pygtk"/> (for the GTK frontend),
|
---|
[283bd88] | 89 | <xref linkend="wpa_supplicant"/> (for WPA support), and
|
---|
[0f9076d] | 90 | <xref linkend="dhcpcd"/> or <xref linkend="dhcp"/> (for DHCP support)
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 94 | <para role="optional">
|
---|
[70727c9] | 95 | <xref linkend="pm-utils"/> (for suspend/resume integration),
|
---|
[283bd88] | 96 | <ulink url="http://excess.org/urwid/">Urwid</ulink> (for the Curses-based frontend), and
|
---|
[cb525529] | 97 | <ulink url="http://babel.edgewall.org/">Babel</ulink> (for internationalization)
|
---|
[0f9076d] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <para condition="html" role="usernotes">User Notes:
|
---|
| 101 | <ulink url="&blfs-wiki;/wicd"/></para>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="installation">
|
---|
| 106 | <title>Installation of Wicd</title>
|
---|
| 107 |
|
---|
| 108 | <para>Install <application>Wicd</application> by running the following
|
---|
| 109 | commands:</para>
|
---|
| 110 |
|
---|
[e12f45b] | 111 | <screen><userinput>sed -e "/wpath.logrotate\|wpath.systemd/d" \
|
---|
[5941d6e1] | 112 | -e "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
|
---|
| 113 | -i setup.py &&
|
---|
[96316eb] | 114 | rm po/*.po &&
|
---|
[38fb1e3] | 115 |
|
---|
[283bd88] | 116 | python setup.py configure --no-install-kde \
|
---|
| 117 | --no-install-acpi \
|
---|
[0f9076d] | 118 | --no-install-pmutils \
|
---|
[38fb1e3] | 119 | --no-install-init \
|
---|
[5941d6e1] | 120 | --no-install-gnome-shell-extensions \
|
---|
[38fb1e3] | 121 | --docdir=/usr/share/doc/wicd-&wicd-version;</userinput></screen>
|
---|
[0f9076d] | 122 |
|
---|
| 123 | <para>This package does not come with a test suite.</para>
|
---|
| 124 |
|
---|
| 125 | <para>Now, as the <systemitem class="username">root</systemitem> user, install the package:</para>
|
---|
| 126 |
|
---|
[80d6d7d5] | 127 | <screen role="root"><userinput>LANG=C python setup.py install</userinput></screen>
|
---|
[0f9076d] | 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="commands">
|
---|
| 132 | <title>Command Explanations</title>
|
---|
[ec64d28] | 133 |
|
---|
[5941d6e1] | 134 | <para><command>sed -e ... -i setup.py</command>: The first command in this
|
---|
| 135 | <command>sed</command> prevents installation of
|
---|
| 136 | <command>logrotate</command> and systemd configuration files. You may omit
|
---|
| 137 | it if you use these utilities. The second command in this
|
---|
| 138 | <command>sed</command> fixes buildng with BLFS
|
---|
| 139 | <quote>distro</quote>.</para>
|
---|
[38fb1e3] | 140 |
|
---|
[96316eb] | 141 | <para><command>rm po/*.po</command>: This command removes the international
|
---|
| 142 | messages associated with this package. The command is required unless
|
---|
| 143 | Babel is installed. If it is installed, po/ast.po still needs to be removed
|
---|
| 144 | in order for the build to complete.</para>
|
---|
| 145 |
|
---|
[0d7900a] | 146 | <para><option>--no-install-kde</option>: Prevent installation of an
|
---|
| 147 | autostart desktop file for KDE. If you use KDE, you should instead install the
|
---|
[0f9076d] | 148 | <ulink url="http://projects.kde.org/projects/extragear/network/wicd-kde">Wicd KDE Client</ulink>.
|
---|
| 149 | </para>
|
---|
[ec64d28] | 150 |
|
---|
[0d7900a] | 151 | <para><option>--no-install-acpi</option>: Prevent installation of
|
---|
[ec64d28] | 152 | <command>suspend</command> and <command>resume</command> scripts for acpid.
|
---|
| 153 | Omit this option if you use acpid.</para>
|
---|
| 154 |
|
---|
[0d7900a] | 155 | <para><option>--no-install-pmutils</option>: Prevent installation of hooks for
|
---|
[0f9076d] | 156 | pm-utils. Omit this option if you use pm-utils.</para>
|
---|
[ec64d28] | 157 |
|
---|
[0d7900a] | 158 | <para><option>--no-install-init</option>: Prevent installation of any init scripts,
|
---|
[ec64d28] | 159 | as a bootscript is installed later in the instructions.</para>
|
---|
| 160 |
|
---|
[5941d6e1] | 161 | <para><option>--no-install-gnome-shell-extensions</option>: Prevent
|
---|
| 162 | installation of the respective extensions. Remove this switch, if you are
|
---|
| 163 | using Gnome Shell.</para>
|
---|
| 164 |
|
---|
[0d7900a] | 165 | <para><option>--wicdgroup=<replaceable><group></replaceable></option>:
|
---|
| 166 | The group that will have permission to use the Wicd client (default is the
|
---|
[0f9076d] | 167 | <systemitem class="groupname">users</systemitem> group).</para>
|
---|
[80d6d7d5] | 168 |
|
---|
[4f8b41b] | 169 | <para><envar>LANG=C</envar>: This environment variable is needed to allow
|
---|
[80d6d7d5] | 170 | the installation to complete.</para>
|
---|
| 171 |
|
---|
[0f9076d] | 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | <sect2 role="configuration">
|
---|
| 175 | <title>Configuring Wicd</title>
|
---|
| 176 |
|
---|
| 177 | <sect3 id="wicd-config">
|
---|
| 178 | <title>Config Files</title>
|
---|
| 179 |
|
---|
| 180 | <para><filename>/etc/wicd/manager-settings.conf</filename>,
|
---|
[0d7900a] | 181 | <filename>/etc/wicd/wired-settings.conf</filename> and
|
---|
[0f9076d] | 182 | <filename>/etc/wicd/wireless-settings.conf</filename></para>
|
---|
| 183 |
|
---|
| 184 | </sect3>
|
---|
| 185 |
|
---|
| 186 | <sect3 id="wicd-init">
|
---|
| 187 | <title>Configuration Information</title>
|
---|
| 188 |
|
---|
| 189 | <para>To automatically start Wicd at boot time, you need to first install
|
---|
| 190 | the Wicd bootscript,
|
---|
| 191 | <filename>/etc/rc.d/init.d/wicd</filename>,
|
---|
| 192 | included in the <xref linkend="bootscripts"/> package
|
---|
| 193 | (as user <systemitem class="username">root</systemitem>):</para>
|
---|
| 194 |
|
---|
| 195 | <indexterm zone="wicd wicd-init">
|
---|
| 196 | <primary sortas="f-wicd">wicd (bootscript)</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 |
|
---|
| 199 | <screen role='root'><userinput>make install-wicd</userinput></screen>
|
---|
| 200 |
|
---|
[0d7900a] | 201 | <para>Since Wicd will now handle all configuration of network devices,
|
---|
| 202 | the network bootscript installed by LFS should be disabled. This can be
|
---|
| 203 | achieved by either removing any <filename>S*network</filename> and
|
---|
| 204 | <filename>K*network</filename> symlinks in the <filename>/etc/rc*.d</filename>
|
---|
| 205 | directories or by setting <literal>ONBOOT=no</literal> in any
|
---|
[0f9076d] | 206 | <filename>/etc/sysconfig/ifconfig.*</filename> files.</para>
|
---|
| 207 |
|
---|
| 208 | <para>No manual configuration of Wicd is needed if you use the graphical
|
---|
| 209 | frontends. If you are only going to use Wicd from command-line, you can configure
|
---|
[0d7900a] | 210 | it using the configuration files in <filename>/etc/wicd</filename>. For a list of
|
---|
| 211 | available options, look at the man-pages for: wicd-manager-settings.conf,
|
---|
[0f9076d] | 212 | wicd-wired-settings.conf and wicd-wireless-settings.conf.</para>
|
---|
[0d7900a] | 213 |
|
---|
| 214 | <para>Be sure to add all users who are to have rights to open and close network
|
---|
| 215 | connections with Wicd to the <systemitem class="groupname">users</systemitem>
|
---|
| 216 | group (or the group specified with the <option>--wicdgroup</option> configuration
|
---|
[0f9076d] | 217 | option).</para>
|
---|
[0d7900a] | 218 |
|
---|
[0f9076d] | 219 | </sect3>
|
---|
| 220 |
|
---|
| 221 | </sect2>
|
---|
| 222 |
|
---|
| 223 | <sect2 role="content">
|
---|
| 224 | <title>Contents</title>
|
---|
| 225 |
|
---|
| 226 | <segmentedlist>
|
---|
| 227 | <segtitle>Installed Programs</segtitle>
|
---|
| 228 | <segtitle>Installed Libraries</segtitle>
|
---|
| 229 | <segtitle>Installed Directories</segtitle>
|
---|
| 230 |
|
---|
| 231 | <seglistitem>
|
---|
[283bd88] | 232 | <seg>wicd, wicd-cli, wicd-client, wicd-curses, and wicd-gtk</seg>
|
---|
[028759b] | 233 | <seg>none</seg>
|
---|
[5941d6e1] | 234 | <seg>/etc/wicd, /usr/lib/python&python2-majorver;/site-packages/wicd,
|
---|
| 235 | /usr/share/doc/wicd-&wicd-version;, /usr/share/pixmaps/wicd,
|
---|
| 236 | /usr/share/wicd, /var/lib/wicd, /var/log/wicd, and /var/run/wicd</seg>
|
---|
[0f9076d] | 237 | </seglistitem>
|
---|
| 238 | </segmentedlist>
|
---|
| 239 |
|
---|
| 240 | <variablelist>
|
---|
| 241 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 242 | <?dbfo list-presentation="list"?>
|
---|
| 243 | <?dbhtml list-presentation="table"?>
|
---|
| 244 |
|
---|
| 245 | <varlistentry id="wicdd">
|
---|
| 246 | <term><command>wicd</command></term>
|
---|
| 247 | <listitem>
|
---|
| 248 | <para>is the wicd daemon.</para>
|
---|
| 249 | <indexterm zone="wicd wicdd">
|
---|
| 250 | <primary sortas="b-wicdd">wicd</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | <varlistentry id="wicd-cli">
|
---|
| 256 | <term><command>wicd-cli</command></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>is a command line interface for configuring the wicd daemon.</para>
|
---|
| 259 | <indexterm zone="wicd wicd-cli">
|
---|
| 260 | <primary sortas="b-wicd-cli">wicd-cli</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="wicd-client">
|
---|
| 266 | <term><command>wicd-client</command></term>
|
---|
| 267 | <listitem>
|
---|
[0d7900a] | 268 | <para>is the wicd client. This script attempts to automatically choose
|
---|
[028759b] | 269 | the relevant configuration interface.</para>
|
---|
[0f9076d] | 270 | <indexterm zone="wicd wicd-client">
|
---|
| 271 | <primary sortas="b-wicd-client">wicd-client</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
| 276 | <varlistentry id="wicd-curses">
|
---|
| 277 | <term><command>wicd-curses</command></term>
|
---|
| 278 | <listitem>
|
---|
| 279 | <para>is a curses interface for configuring the wicd daemon.</para>
|
---|
| 280 | <indexterm zone="wicd wicd-curses">
|
---|
| 281 | <primary sortas="b-wicd-curses">wicd-curses</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
| 285 |
|
---|
| 286 | <varlistentry id="wicd-gtk">
|
---|
| 287 | <term><command>wicd-gtk</command></term>
|
---|
| 288 | <listitem>
|
---|
| 289 | <para>is a GTK interface for configuring the wicd daemon</para>
|
---|
| 290 | <indexterm zone="wicd wicd-gtk">
|
---|
| 291 | <primary sortas="b-wicd-gtk">wicd-gtk</primary>
|
---|
| 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
| 295 |
|
---|
| 296 | </variablelist>
|
---|
| 297 |
|
---|
| 298 | </sect2>
|
---|
| 299 |
|
---|
| 300 | </sect1>
|
---|