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