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