Parent Directory
|
Revision Log
|
Patch
| revision 7355 by osamu, Tue May 18 15:35:25 2010 UTC | revision 7453 by osamu, Sun Aug 1 01:19:46 2010 UTC | |
|---|---|---|
| # | Line 399 This preserves some of the environment o | Line 399 This preserves some of the environment o |
| 399 | </section> | </section> |
| 400 | <section id="_additional_package_suggestions_for_the_newbie"> | <section id="_additional_package_suggestions_for_the_newbie"> |
| 401 | <title>Additional package suggestions for the newbie</title> | <title>Additional package suggestions for the newbie</title> |
| 402 | <simpara>Although even the minimal installation of the Debian system without any desktop environment tasks provides the basic Unix functionality, it is a good idea to install few additional commandline and curses based character terminal packages such as <literal>mc</literal> and <literal>vim</literal> with <literal>aptitude</literal>(8) for beginners to get started by the following.</simpara> | <simpara>Although even the minimal installation of the Debian system without any desktop environment tasks provides the basic Unix functionality, it is a good idea to install few additional commandline and curses based character terminal packages such as <literal>mc</literal> and <literal>vim</literal> with <literal>apt-get</literal>(8) for beginners to get started by the following.</simpara> |
| 403 | <screen># aptitude update | <screen># apt-get update |
| 404 | ... | ... |
| 405 | # aptitude install mc vim sudo | # apt-get install mc vim sudo |
| 406 | ...</screen> | ...</screen> |
| 407 | <simpara>If you already had these packages installed, no new packages are installed.</simpara> | <simpara>If you already had these packages installed, no new packages are installed.</simpara> |
| 408 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| # | Line 713 This preserves some of the environment o | Line 713 This preserves some of the environment o |
| 713 | </tgroup> | </tgroup> |
| 714 | </table> | </table> |
| 715 | <simpara>You can install some of these packages by the following.</simpara> | <simpara>You can install some of these packages by the following.</simpara> |
| 716 | <screen># aptitude install package_name</screen> | <screen># apt-get install package_name</screen> |
| 717 | </section> | </section> |
| 718 | <section id="_an_extra_user_account"> | <section id="_an_extra_user_account"> |
| 719 | <title>An extra user account</title> | <title>An extra user account</title> |
| # | Line 727 This preserves some of the environment o | Line 727 This preserves some of the environment o |
| 727 | <title>sudo configuration</title> | <title>sudo configuration</title> |
| 728 | <simpara>For the typical single user workstation such as the desktop Debian system on the laptop PC, it is common to deploy simple configuration of <literal>sudo</literal>(8) as follows to let the non-privileged user, e.g. <literal>penguin</literal>, to gain administrative privilege just with his user password but without the root password.</simpara> | <simpara>For the typical single user workstation such as the desktop Debian system on the laptop PC, it is common to deploy simple configuration of <literal>sudo</literal>(8) as follows to let the non-privileged user, e.g. <literal>penguin</literal>, to gain administrative privilege just with his user password but without the root password.</simpara> |
| 729 | <screen># echo "penguin ALL=(ALL) ALL" >> /etc/sudoers</screen> | <screen># echo "penguin ALL=(ALL) ALL" >> /etc/sudoers</screen> |
| 730 | <simpara>Alternatively, it is also common to do as follows to let the non-privileged user, e.g. <literal>penguin</literal>, to gain administrative privilege without any password.</simpara> | |
| 731 | <screen># echo "penguin ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers</screen> | |
| 732 | <simpara>This trick should only be used for the single user workstation which you administer and where you are the only user.</simpara> | <simpara>This trick should only be used for the single user workstation which you administer and where you are the only user.</simpara> |
| 733 | <warning> | <warning> |
| 734 | <simpara>Do not set up accounts of regular users on multiuser workstation like this because it would be very bad for system security.</simpara> | <simpara>Do not set up accounts of regular users on multiuser workstation like this because it would be very bad for system security.</simpara> |
| # | Line 1729 crw-rw-rw- 1 root root 1, 5 2007-04- | Line 1731 crw-rw-rw- 1 root root 1, 5 2007-04- |
| 1731 | <title>Midnight Commander (MC)</title> | <title>Midnight Commander (MC)</title> |
| 1732 | <simpara><ulink url="http://en.wikipedia.org/wiki/Midnight_Commander">Midnight Commander (MC)</ulink> is a GNU "Swiss army knife" for the Linux console and other terminal environments. This gives newbie a menu driven console experience which is much easier to learn than standard Unix commands.</simpara> | <simpara><ulink url="http://en.wikipedia.org/wiki/Midnight_Commander">Midnight Commander (MC)</ulink> is a GNU "Swiss army knife" for the Linux console and other terminal environments. This gives newbie a menu driven console experience which is much easier to learn than standard Unix commands.</simpara> |
| 1733 | <simpara>You may need to install the Midnight Commander package which is titled "<literal>mc</literal>" by the following.</simpara> | <simpara>You may need to install the Midnight Commander package which is titled "<literal>mc</literal>" by the following.</simpara> |
| 1734 | <screen>$ sudo aptitude install mc</screen> | <screen>$ sudo apt-get install mc</screen> |
| 1735 | <simpara>Use the <literal>mc</literal>(1) command to explore the Debian system. This is the best way to learn. Please explore few interesting locations just using the cursor keys and Enter key.</simpara> | <simpara>Use the <literal>mc</literal>(1) command to explore the Debian system. This is the best way to learn. Please explore few interesting locations just using the cursor keys and Enter key.</simpara> |
| 1736 | <itemizedlist> | <itemizedlist> |
| 1737 | <listitem> | <listitem> |
| # | Line 2188 export VISUAL=mcedit</screen> | Line 2190 export VISUAL=mcedit</screen> |
| 2190 | . /usr/share/mc/bin/mc.sh | . /usr/share/mc/bin/mc.sh |
| 2191 | ||
| 2192 | # set CDPATH to good one | # set CDPATH to good one |
| 2193 | CDPATH=.:/usr/share/doc:~/Desktop/src:~/Desktop:~ | CDPATH=.:/usr/share/doc:~:~/Desktop:~ |
| 2194 | export CDPATH | export CDPATH |
| 2195 | ||
| 2196 | PATH="${PATH}":/usr/sbin:/sbin | PATH="${PATH}":/usr/sbin:/sbin |
| # | Line 2974 Script started, file is typescript</scre | Line 2976 Script started, file is typescript</scre |
| 2976 | <simpara>For <literal>cd</literal> command, see <literal>builtins</literal>(7).</simpara> | <simpara>For <literal>cd</literal> command, see <literal>builtins</literal>(7).</simpara> |
| 2977 | </note> | </note> |
| 2978 | <note> | <note> |
| 2979 | <simpara>The default pager of the bare bone Debian system is <literal>more</literal>(1) which cannot scroll back. By installing the <literal>less</literal> package using command line "<literal>aptitude install less</literal>", <literal>less</literal>(1) becomes default pager and you can scroll back with cursor keys.</simpara> | <simpara>The default pager of the bare bone Debian system is <literal>more</literal>(1) which cannot scroll back. By installing the <literal>less</literal> package using command line "<literal>apt-get install less</literal>", <literal>less</literal>(1) becomes default pager and you can scroll back with cursor keys.</simpara> |
| 2980 | </note> | </note> |
| 2981 | <note> | <note> |
| 2982 | <simpara>The "<literal>[</literal>" and "<literal>]</literal>" in the regular expression of the "<literal>ps aux | grep -e "[e]xim4*"</literal>" command above enable <literal>grep</literal> to avoid matching itself. The "<literal>4*</literal>" in the regular expression means 0 or more repeats of character "<literal>4</literal>" thus enables <literal>grep</literal> to match both "<literal>exim</literal>" and "<literal>exim4</literal>". Although "<literal>*</literal>" is used in the shell filename glob and the regular expression, their meanings are different. Learn the regular expression from <literal>grep</literal>(1).</simpara> | <simpara>The "<literal>[</literal>" and "<literal>]</literal>" in the regular expression of the "<literal>ps aux | grep -e "[e]xim4*"</literal>" command above enable <literal>grep</literal> to avoid matching itself. The "<literal>4*</literal>" in the regular expression means 0 or more repeats of character "<literal>4</literal>" thus enables <literal>grep</literal> to match both "<literal>exim</literal>" and "<literal>exim4</literal>". Although "<literal>*</literal>" is used in the shell filename glob and the regular expression, their meanings are different. Learn the regular expression from <literal>grep</literal>(1).</simpara> |
| # | Line 4427 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4429 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4429 | <simpara><ulink url="http://www.debian.org">Debian</ulink> is a volunteer organization which builds <emphasis role="strong">consistent</emphasis> distributions of pre-compiled binary packages of free software and distributes them from its archive.</simpara> | <simpara><ulink url="http://www.debian.org">Debian</ulink> is a volunteer organization which builds <emphasis role="strong">consistent</emphasis> distributions of pre-compiled binary packages of free software and distributes them from its archive.</simpara> |
| 4430 | <simpara><ulink url="http://ftp.us.debian.org/debian/">The Debian archive</ulink> is offered by <ulink url="http://www.debian.org/mirror/">many remote mirror sites</ulink> for access through HTTP and FTP methods. It is also available as <ulink url="http://www.debian.org/CD/">CD-ROM/DVD</ulink>.</simpara> | <simpara><ulink url="http://ftp.us.debian.org/debian/">The Debian archive</ulink> is offered by <ulink url="http://www.debian.org/mirror/">many remote mirror sites</ulink> for access through HTTP and FTP methods. It is also available as <ulink url="http://www.debian.org/CD/">CD-ROM/DVD</ulink>.</simpara> |
| 4431 | <simpara>The Debian package management system, <emphasis role="strong">when used properly</emphasis>, offers the user to install <emphasis role="strong">consistent sets of binary packages</emphasis> to the system from the archive. Currently, there are @-@all-packages@-@ packages available for the @-@arch@-@ architecture.</simpara> | <simpara>The Debian package management system, <emphasis role="strong">when used properly</emphasis>, offers the user to install <emphasis role="strong">consistent sets of binary packages</emphasis> to the system from the archive. Currently, there are @-@all-packages@-@ packages available for the @-@arch@-@ architecture.</simpara> |
| 4432 | <simpara>The Debian package management system has a rich history and many choices for the front end user program and back end archive access method to be used. Currently, we recommend <literal>aptitude</literal>(8) as the main front end program for the Debian package management activity.</simpara> | <simpara>The Debian package management system has a rich history and many choices for the front end user program and back end archive access method to be used. Currently, we recommend the following.</simpara> |
| 4433 | <itemizedlist> | |
| 4434 | <listitem> | |
| 4435 | <simpara><literal>apt-get</literal>(8) for all commandline operations, including package installation and removal, and dist-upgrades. | |
| 4436 | </simpara> | |
| 4437 | </listitem> | |
| 4438 | <listitem> | |
| 4439 | <simpara><literal>aptitude</literal>(8) for an interactive text interface to manage the installed packages and to search the available packages. | |
| 4440 | </simpara> | |
| 4441 | </listitem> | |
| 4442 | <listitem> | |
| 4443 | <simpara><literal>update-manager</literal>(8) for keeping your system up-to-date if you're running the default GNOME desktop. | |
| 4444 | </simpara> | |
| 4445 | </listitem> | |
| 4446 | </itemizedlist> | |
| 4447 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| 4448 | <title>List of Debian package management tools</title> | <title>List of Debian package management tools</title> |
| 4449 | <tgroup cols="4"> | <tgroup cols="4"> |
| 4450 | <colspec colwidth="119pt" align="left"/> | <colspec colwidth="124pt" align="left"/> |
| 4451 | <colspec colwidth="76pt" align="left"/> | <colspec colwidth="76pt" align="left"/> |
| 4452 | <colspec colwidth="70pt" align="left"/> | <colspec colwidth="70pt" align="left"/> |
| 4453 | <colspec colwidth="483pt" align="left"/> | <colspec colwidth="483pt" align="left"/> |
| # | Line 4454 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4470 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4470 | <tbody> | <tbody> |
| 4471 | <row> | <row> |
| 4472 | <entry> | <entry> |
| 4473 | <literal>aptitude</literal> | <literal>apt</literal> |
| 4474 | </entry> | </entry> |
| 4475 | <entry> | <entry> |
| 4476 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 4463 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4479 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4479 | @-@psize1@-@ | @-@psize1@-@ |
| 4480 | </entry> | </entry> |
| 4481 | <entry> | <entry> |
| 4482 | terminal-based package manager (current standard, front-end for <literal>apt</literal>) | Advanced Packaging Tool (APT), front-end for <literal>dpkg</literal> providing "<literal>http</literal>", "<literal>ftp</literal>", and "<literal>file</literal>" archive access methods (<literal>apt-get</literal>/<literal>apt-cache</literal> commands included) |
| 4483 | </entry> | </entry> |
| 4484 | </row> | </row> |
| 4485 | <row> | <row> |
| 4486 | <entry> | <entry> |
| 4487 | <literal>apt</literal> | <literal>aptitude</literal> |
| 4488 | </entry> | </entry> |
| 4489 | <entry> | <entry> |
| 4490 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 4477 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4493 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4493 | @-@psize1@-@ | @-@psize1@-@ |
| 4494 | </entry> | </entry> |
| 4495 | <entry> | <entry> |
| 4496 | Advanced Packaging Tool (APT), front-end for <literal>dpkg</literal> providing "<literal>http</literal>", "<literal>ftp</literal>", and "<literal>file</literal>" archive access methods (<literal>apt-get</literal>/<literal>apt-cache</literal> commands included) | interactive terminal-based package manager with <literal>aptitude</literal>(8) |
| 4497 | </entry> | </entry> |
| 4498 | </row> | </row> |
| 4499 | <row> | <row> |
| 4500 | <entry> | <entry> |
| 4501 | <literal>tasksel</literal> | <literal>update-manager-gnome</literal> |
| 4502 | </entry> | </entry> |
| 4503 | <entry> | <entry> |
| 4504 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 4491 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4507 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4507 | @-@psize1@-@ | @-@psize1@-@ |
| 4508 | </entry> | </entry> |
| 4509 | <entry> | <entry> |
| 4510 | tool for selecting tasks for installation on Debian system (front-end for APT) | GNOME application that manages software updates with <literal>update-manager</literal>(8) |
| 4511 | </entry> | </entry> |
| 4512 | </row> | </row> |
| 4513 | <row> | <row> |
| 4514 | <entry> | <entry> |
| 4515 | <literal>unattended-upgrades</literal> | <literal>tasksel</literal> |
| 4516 | </entry> | </entry> |
| 4517 | <entry> | <entry> |
| 4518 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 4505 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4521 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4521 | @-@psize1@-@ | @-@psize1@-@ |
| 4522 | </entry> | </entry> |
| 4523 | <entry> | <entry> |
| 4524 | enhancement package for APT to enable automatic installation of security upgrades | tool for selecting tasks for installation on Debian system (front-end for APT) |
| 4525 | </entry> | </entry> |
| 4526 | </row> | </row> |
| 4527 | <row> | <row> |
| 4528 | <entry> | <entry> |
| 4529 | <literal>dselect</literal> | <literal>unattended-upgrades</literal> |
| 4530 | </entry> | </entry> |
| 4531 | <entry> | <entry> |
| 4532 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 4519 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4535 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4535 | @-@psize1@-@ | @-@psize1@-@ |
| 4536 | </entry> | </entry> |
| 4537 | <entry> | <entry> |
| 4538 | terminal-based package manager (previous standard, front-end for APT and other old access methods) | enhancement package for APT to enable automatic installation of security upgrades |
| 4539 | </entry> | </entry> |
| 4540 | </row> | </row> |
| 4541 | <row> | <row> |
| 4542 | <entry> | <entry> |
| 4543 | <literal>dpkg</literal> | <literal>dselect</literal> |
| 4544 | </entry> | </entry> |
| 4545 | <entry> | <entry> |
| 4546 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 4533 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4549 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4549 | @-@psize1@-@ | @-@psize1@-@ |
| 4550 | </entry> | </entry> |
| 4551 | <entry> | <entry> |
| 4552 | package management system for Debian | terminal-based package manager (previous standard, front-end for APT and other old access methods) |
| 4553 | </entry> | </entry> |
| 4554 | </row> | </row> |
| 4555 | <row> | <row> |
| 4556 | <entry> | <entry> |
| 4557 | <literal>synaptic</literal> | <literal>dpkg</literal> |
| 4558 | </entry> | </entry> |
| 4559 | <entry> | <entry> |
| 4560 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 4547 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4563 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4563 | @-@psize1@-@ | @-@psize1@-@ |
| 4564 | </entry> | </entry> |
| 4565 | <entry> | <entry> |
| 4566 | graphical package manager (GNOME front-end for APT) | package management system for Debian |
| 4567 | </entry> | </entry> |
| 4568 | </row> | </row> |
| 4569 | <row> | <row> |
| 4570 | <entry> | <entry> |
| 4571 | <literal>kpackage</literal> | <literal>synaptic</literal> |
| 4572 | </entry> | </entry> |
| 4573 | <entry> | <entry> |
| 4574 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 4561 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4577 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4577 | @-@psize1@-@ | @-@psize1@-@ |
| 4578 | </entry> | </entry> |
| 4579 | <entry> | <entry> |
| 4580 | graphical package manager (KDE front-end for APT) | graphical package manager (GNOME front-end for APT) |
| 4581 | </entry> | </entry> |
| 4582 | </row> | </row> |
| 4583 | <row> | <row> |
| # | Line 4637 Sat, 23 Aug 2003 08:30:50 +0200</screen> | Line 4653 Sat, 23 Aug 2003 08:30:50 +0200</screen> |
| 4653 | </tbody> | </tbody> |
| 4654 | </tgroup> | </tgroup> |
| 4655 | </table> | </table> |
| <note> | ||
| <simpara>The annoying <ulink url="http://bugs.debian.org/411123">bug #411123</ulink> for the mixed use of <literal>aptitude</literal>(8) and <literal>apt-get</literal>(8) commands has been resolved. If this kept you from using <literal>aptitude</literal>, please reconsider.</simpara> | ||
| </note> | ||
| 4656 | <section id="_debian_package_management_prerequisites"> | <section id="_debian_package_management_prerequisites"> |
| 4657 | <title>Debian package management prerequisites</title> | <title>Debian package management prerequisites</title> |
| 4658 | <section id="_package_configuration"> | <section id="_package_configuration"> |
| # | Line 4832 The 2nd argument is the distribution nam | Line 4845 The 2nd argument is the distribution nam |
| 4845 | </listitem> | </listitem> |
| 4846 | <listitem> | <listitem> |
| 4847 | <simpara> | <simpara> |
| 4848 | The 3rd and following arguments are the list of valid archive component names of the Debian archive. | The 3rd and following arguments are the list of valid archive area names of the Debian archive. |
| 4849 | </simpara> | </simpara> |
| 4850 | </listitem> | </listitem> |
| 4851 | </itemizedlist> | </itemizedlist> |
| 4852 | <simpara>The "<literal>deb-src</literal>" lines can safely be omitted (or commented out by placing "#" at the start of the line) if it is just for <literal>aptitude</literal> which does not access source related meta data. It speeds up the updates of the archive meta data. The URL can be "<literal>http://</literal>", "<literal>ftp://</literal>", "<literal>file://</literal>", ….</simpara> | <simpara>The "<literal>deb-src</literal>" lines can safely be omitted (or commented out by placing "#" at the start of the line) if it is just for <literal>aptitude</literal> which does not access source related meta data. It speeds up the updates of the archive meta data. The URL can be "<literal>http://</literal>", "<literal>ftp://</literal>", "<literal>file://</literal>", ….</simpara> |
| 4853 | <tip> | <tip> |
| 4854 | <simpara>If "<literal>sid</literal>" is used in the above example instead of "<literal>@-@codename-stable@-@</literal>", the "<literal>deb: <ulink url="http://security.debian.org/">http://security.debian.org/</ulink> …</literal>" line for security updates in the "<literal>/etc/apt/sources.list</literal>" is not required. This is because "<literal>sid</literal>" (<literal>unstable</literal>) is always updated whenever security issues are fixed. There is no need to have a separate security update archive for "<literal>sid</literal>".</simpara> | <simpara>If "<literal>sid</literal>" is used in the above example instead of "<literal>@-@codename-stable@-@</literal>", the "<literal>deb: <ulink url="http://security.debian.org/">http://security.debian.org/</ulink> …</literal>" line for security updates in the "<literal>/etc/apt/sources.list</literal>" is not required. This is because there is no security update archive for "<literal>sid</literal>" (<literal>unstable</literal>).</simpara> |
| 4855 | </tip> | </tip> |
| 4856 | <simpara>Here is the list of URL of the Debian archive sites and suite name or codename used in the configuration file.</simpara> | <simpara>Here is the list of URL of the Debian archive sites and suite name or codename used in the configuration file.</simpara> |
| 4857 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| # | Line 4972 The 3rd and following arguments are the | Line 4985 The 3rd and following arguments are the |
| 4985 | </tgroup> | </tgroup> |
| 4986 | </table> | </table> |
| 4987 | <caution> | <caution> |
| 4988 | <simpara>Only pure <emphasis role="strong"><literal>stable</literal></emphasis> release with security updates provides the best stability. Running mostly <emphasis role="strong"><literal>stable</literal></emphasis> release mixed with some packages from <emphasis role="strong"><literal>testing</literal></emphasis> or <emphasis role="strong"><literal>unstable</literal></emphasis> release is riskier than running pure <emphasis role="strong"><literal>unstable</literal></emphasis> release. If you really need the latest version of some programs under <emphasis role="strong"><literal>stable</literal></emphasis> release, please use packages from <ulink url="http://www.debian.org/volatile/">the debian-volatile project</ulink> and <ulink url="http://backports.org">backports.org</ulink> (see <xref linkend="_volatile_and_backports_org"/>) services. These services must be used with extra care.</simpara> | <simpara>Only pure <emphasis role="strong"><literal>stable</literal></emphasis> release with security updates provides the best stability. Running mostly <emphasis role="strong"><literal>stable</literal></emphasis> release mixed with some packages from <emphasis role="strong"><literal>testing</literal></emphasis> or <emphasis role="strong"><literal>unstable</literal></emphasis> release is riskier than running pure <emphasis role="strong"><literal>unstable</literal></emphasis> release for library version mismatch etc. If you really need the latest version of some programs under <emphasis role="strong"><literal>stable</literal></emphasis> release, please use packages from <ulink url="http://www.debian.org/volatile/">the debian-volatile project</ulink> and <ulink url="http://backports.org">backports.org</ulink> (see <xref linkend="_volatile_and_backports_org"/>) services. These services must be used with extra care.</simpara> |
| 4989 | </caution> | </caution> |
| 4990 | <caution> | <caution> |
| 4991 | <simpara>You should basically list only one of <literal>stable</literal>, <literal>testing</literal>, or <literal>unstable</literal> suites in the "<literal>deb</literal>" line. If you list any combination of <literal>stable</literal>, <literal>testing</literal>, and <literal>unstable</literal> suites in the "<literal>deb</literal>" line, APT programs slow down while only the latest archive is effective. Multiple listing makes sense for these when the "<literal>/etc/apt/preferences</literal>" file is used with clear objectives (see <xref linkend="_tweaking_candidate_version"/>).</simpara> | <simpara>You should basically list only one of <literal>stable</literal>, <literal>testing</literal>, or <literal>unstable</literal> suites in the "<literal>deb</literal>" line. If you list any combination of <literal>stable</literal>, <literal>testing</literal>, and <literal>unstable</literal> suites in the "<literal>deb</literal>" line, APT programs slow down while only the latest archive is effective. Multiple listing makes sense for these when the "<literal>/etc/apt/preferences</literal>" file is used with clear objectives (see <xref linkend="_tweaking_candidate_version"/>).</simpara> |
| 4992 | </caution> | </caution> |
| 4993 | <note> | <tip> |
| 4994 | <simpara>For the Debian system with the <literal>stable</literal> and <literal>testing</literal> suites, it is a good idea to include lines with "<literal>http://security.debian.org/</literal>" in the "<literal>/etc/apt/sources.list</literal>" to enable security updates as in the example above.</simpara> | <simpara>For the Debian system with the <literal>stable</literal> and <literal>testing</literal> suites, it is a good idea to include lines with "<literal>http://security.debian.org/</literal>" in the "<literal>/etc/apt/sources.list</literal>" to enable security updates as in the example above.</simpara> |
| 4995 | </tip> | |
| 4996 | <note> | |
| 4997 | <simpara>The security bugs for the <literal>stable</literal> archive are fixed by the Debian security team. This activity has been quite rigorous and reliable. Those for the <literal>testing</literal> archive may be fixed by the Debian testing security team. For <ulink url="http://lists.debian.org/debian-testing-security-announce/2008/12/msg00019.html">several</ulink> <ulink url="http://lists.debian.org/debian-testing-security-announce/2010/01/msg00000.html">reasons</ulink>, this activity is not as rigorous as that for <literal>stable</literal> and you may need to wait for the migration of fixed <literal>unstable</literal> packages. Those for the <literal>unstable</literal> archive are fixed by the individual maintainer. Actively maintained <literal>unstable</literal> packages are usually in a fairly good shape by leveraging latest upstream security fixes. See <ulink url="http://www.debian.org/security/faq">Debian security FAQ</ulink> for how Debian handles security bugs.</simpara> | |
| 4998 | </note> | </note> |
| <simpara>Each Debian archive consists of 3 components. Components are alternatively called <ulink url="http://www.debian.org/doc/debian-policy/ch-archive#s-sections">categories in "Debian Policy"</ulink> or areas in <ulink url="http://www.debian.org/social_contract">"Debian Social Contract"</ulink>. The component is grouped by the compliance to <ulink url="http://www.debian.org/social_contract#guidelines">"The Debian Free Software Guidelines" (DFSG)</ulink>.</simpara> | ||
| 4999 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| 5000 | <title>List of Debian archive components</title> | <title>List of Debian archive area</title> |
| 5001 | <tgroup cols="3"> | <tgroup cols="3"> |
| 5002 | <colspec colwidth="59pt" align="left"/> | <colspec colwidth="59pt" align="left"/> |
| 5003 | <colspec colwidth="130pt" align="left"/> | <colspec colwidth="130pt" align="left"/> |
| # | Line 4990 The 3rd and following arguments are the | Line 5005 The 3rd and following arguments are the |
| 5005 | <thead> | <thead> |
| 5006 | <row> | <row> |
| 5007 | <entry> | <entry> |
| 5008 | component | area |
| 5009 | </entry> | </entry> |
| 5010 | <entry> | <entry> |
| 5011 | number of packages | number of packages |
| 5012 | </entry> | </entry> |
| 5013 | <entry> | <entry> |
| 5014 | criteria of package | criteria of package component |
| 5015 | </entry> | </entry> |
| 5016 | </row> | </row> |
| 5017 | </thead> | </thead> |
| # | Line 5037 The 3rd and following arguments are the | Line 5052 The 3rd and following arguments are the |
| 5052 | </tbody> | </tbody> |
| 5053 | </tgroup> | </tgroup> |
| 5054 | </table> | </table> |
| 5055 | <simpara>Here the number of packages in the above is for the @-@arch@-@ architecture. Strictly speaking, only the <literal>main</literal> component archive shall be considered as the Debian system.</simpara> | <simpara>Here the number of packages in the above is for the @-@arch@-@ architecture. Strictly speaking, only the <literal>main</literal> area archive shall be considered as the Debian system.</simpara> |
| 5056 | <simpara>The Debian archive organization can be studied best by pointing your browser to the each archive URL appended with <literal>dists</literal> or <literal>pool</literal>.</simpara> | <simpara>The Debian archive organization can be studied best by pointing your browser to the each archive URL appended with <literal>dists</literal> or <literal>pool</literal>.</simpara> |
| 5057 | <simpara>The distribution is referred by two ways, the suite or <ulink url="http://www.debian.org/doc/manuals/developers-reference/resources.html#codenames">codename</ulink>. The word distribution is alternatively used as the synonym to the suite in many documentations. The relationship between the suite and the codename can be summarized as the following.</simpara> | <simpara>The distribution is referred by two ways, the suite or <ulink url="http://www.debian.org/doc/manuals/developers-reference/resources.html#codenames">codename</ulink>. The word distribution is alternatively used as the synonym to the suite in many documentations. The relationship between the suite and the codename can be summarized as the following.</simpara> |
| 5058 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| # | Line 5096 The 3rd and following arguments are the | Line 5111 The 3rd and following arguments are the |
| 5111 | </tgroup> | </tgroup> |
| 5112 | </table> | </table> |
| 5113 | <simpara>The history of codenames are described in <ulink url="http://www.debian.org/doc/manuals/debian-faq/ch-ftparchives#s-oldcodenames">Debian FAQ: 6.3.1 Which other codenames have been used in the past?</ulink></simpara> | <simpara>The history of codenames are described in <ulink url="http://www.debian.org/doc/manuals/debian-faq/ch-ftparchives#s-oldcodenames">Debian FAQ: 6.3.1 Which other codenames have been used in the past?</ulink></simpara> |
| 5114 | <simpara>In the stricter Debian archive terminology, the word "section" is specifically used for the categorization of packages by the application area. (Although, the word "main section" may sometimes be used to describe the Debian archive section which provides the main component.)</simpara> | <simpara>In the stricter Debian archive terminology, the word "section" is specifically used for the categorization of packages by the application area. (Although, the word "main section" may sometimes be used to describe the Debian archive area named as "main".)</simpara> |
| 5115 | <simpara>Every time a new upload is done by the Debian developer (DD) to the <literal>unstable</literal> archive (via <ulink url="http://incoming.debian.org/">incoming</ulink> processing), DD is required to ensure uploaded packages to be compatible with the latest set of packages in the latest <literal>unstable</literal> archive.</simpara> | <simpara>Every time a new upload is done by the Debian developer (DD) to the <literal>unstable</literal> archive (via <ulink url="http://incoming.debian.org/">incoming</ulink> processing), DD is required to ensure uploaded packages to be compatible with the latest set of packages in the latest <literal>unstable</literal> archive.</simpara> |
| 5116 | <simpara>If DD breaks this compatibility intentionally for important library upgrade etc, there is usually announcement to <ulink url="http://lists.debian.org/debian-devel/">the debian-devel mailing list</ulink> etc.</simpara> | <simpara>If DD breaks this compatibility intentionally for important library upgrade etc, there is usually announcement to <ulink url="http://lists.debian.org/debian-devel/">the debian-devel mailing list</ulink> etc.</simpara> |
| 5117 | <simpara>Before a set of packages are moved by the Debian archive maintenance script from the <literal>unstable</literal> archive to the <literal>testing</literal> archive, the archive maintenance script not only checks the maturity (about 10 days old) and the status of the RC bug reports for the packages but also tries to ensure them to be compatible with the latest set of packages in the <literal>testing</literal> archive. This process makes the <literal>testing</literal> archive very current and usable.</simpara> | <simpara>Before a set of packages are moved by the Debian archive maintenance script from the <literal>unstable</literal> archive to the <literal>testing</literal> archive, the archive maintenance script not only checks the maturity (about 10 days old) and the status of the RC bug reports for the packages but also tries to ensure them to be compatible with the latest set of packages in the <literal>testing</literal> archive. This process makes the <literal>testing</literal> archive very current and usable.</simpara> |
| # | Line 5221 This declares a week dependency like Sug | Line 5236 This declares a week dependency like Sug |
| 5236 | </listitem> | </listitem> |
| 5237 | <listitem> | <listitem> |
| 5238 | <simpara> | <simpara> |
| 5239 | "Breaks" | |
| 5240 | </simpara> | |
| 5241 | <itemizedlist> | |
| 5242 | <listitem> | |
| 5243 | <simpara> | |
| 5244 | This declares a package incompatibility usually with some version specification. Generally the resolution is to upgrade all of the packages listed in this field. | |
| 5245 | </simpara> | |
| 5246 | </listitem> | |
| 5247 | </itemizedlist> | |
| 5248 | </listitem> | |
| 5249 | <listitem> | |
| 5250 | <simpara> | |
| 5251 | "Conflicts" | "Conflicts" |
| 5252 | </simpara> | </simpara> |
| 5253 | <itemizedlist> | <itemizedlist> |
| # | Line 5485 $ mc</screen> | Line 5512 $ mc</screen> |
| 5512 | </section> | </section> |
| 5513 | <section id="_basic_package_management_operations"> | <section id="_basic_package_management_operations"> |
| 5514 | <title>Basic package management operations</title> | <title>Basic package management operations</title> |
| 5515 | <simpara>Aptitude is the current preferred package management tool for the Debian system. It can be used as the commandline alternative to <literal>apt-get</literal> / <literal>apt-cache</literal> and also as the full screen interactive package management tool.</simpara> | <simpara>Basic package management operations on the Debian system can be performed by any package management tools available on the Debian system. Here, we explain basic package management tools: <literal>apt-get</literal> / <literal>apt-cache</literal> and <literal>aptitude</literal>.</simpara> |
| 5516 | <simpara>For the package management operation which involves package installation or updates package metadata, you need to have root privilege.</simpara> | <simpara>For the package management operation which involves package installation or updates package metadata, you need to have root privilege.</simpara> |
| 5517 | <section id="_basic_package_management_operations_with_commandline"> | <section id="_literal_apt_get_literal_literal_apt_cache_literal_vs_literal_aptitude_literal"> |
| 5518 | <title>Basic package management operations with commandline</title> | <title><literal>apt-get</literal> / <literal>apt-cache</literal> vs. <literal>aptitude</literal></title> |
| 5519 | <simpara>Here are basic package management operations with commandline using <literal>aptitude</literal>(8) and <literal>apt-get</literal>(8) /<literal>apt-cache</literal>(8).</simpara> | <simpara>The <literal>apt-get</literal> and <literal>apt-cache</literal> commands are the most <emphasis role="strong">basic</emphasis> package management tool.</simpara> |
| 5520 | <itemizedlist> | |
| 5521 | <listitem> | |
| 5522 | <simpara><literal>apt-get</literal> and <literal>apt-cache</literal> offer only the commandline user interface. | |
| 5523 | </simpara> | |
| 5524 | </listitem> | |
| 5525 | <listitem> | |
| 5526 | <simpara><literal>apt-get</literal> is most suitable for the <emphasis role="strong">major system upgrade</emphasis> between releases, etc. | |
| 5527 | </simpara> | |
| 5528 | </listitem> | |
| 5529 | <listitem> | |
| 5530 | <simpara><literal>apt-get</literal> offers a <emphasis role="strong">robust and stable</emphasis> package resolver which uses the common package state data. | |
| 5531 | </simpara> | |
| 5532 | </listitem> | |
| 5533 | <listitem> | |
| 5534 | <simpara><literal>apt-get</literal> has been updated to support autoinstall and autoremove of recommended packages. | |
| 5535 | </simpara> | |
| 5536 | </listitem> | |
| 5537 | <listitem> | |
| 5538 | <simpara><literal>apt-get</literal> has been updated to support logging of package activities. | |
| 5539 | </simpara> | |
| 5540 | </listitem> | |
| 5541 | <listitem> | |
| 5542 | <simpara><literal>apt-cache</literal> offers a <emphasis role="strong">standard</emphasis> regex based search on the package name and description. | |
| 5543 | </simpara> | |
| 5544 | </listitem> | |
| 5545 | <listitem> | |
| 5546 | <simpara><literal>apt-get</literal> and <literal>apt-cache</literal> can manage multiple versions of packages using <literal>/etc/apt/preferences</literal> but it is quite cumbersome. | |
| 5547 | </simpara> | |
| 5548 | </listitem> | |
| 5549 | </itemizedlist> | |
| 5550 | <simpara>The <literal>aptitude</literal> command is the most <emphasis role="strong">versatile</emphasis> package management tool.</simpara> | |
| 5551 | <itemizedlist> | |
| 5552 | <listitem> | |
| 5553 | <simpara><literal>aptitude</literal> offers the fullscreen interactive text user interface. | |
| 5554 | </simpara> | |
| 5555 | </listitem> | |
| 5556 | <listitem> | |
| 5557 | <simpara><literal>aptitude</literal> offers the commandline user interface, too. | |
| 5558 | </simpara> | |
| 5559 | </listitem> | |
| 5560 | <listitem> | |
| 5561 | <simpara><literal>aptitude</literal> is most suitable for the <emphasis role="strong">daily interactive package management</emphasis> such as inspecting installed packages and searching available packages. | |
| 5562 | </simpara> | |
| 5563 | </listitem> | |
| 5564 | <listitem> | |
| 5565 | <simpara><literal>aptitude</literal> offers an <emphasis role="strong">enhanced</emphasis> package resolver which also uses an extra package state data used only by <literal>aptitude</literal>. | |
| 5566 | </simpara> | |
| 5567 | </listitem> | |
| 5568 | <listitem> | |
| 5569 | <simpara><literal>aptitude</literal> supports autoinstall and autoremove of recommended packages. | |
| 5570 | </simpara> | |
| 5571 | </listitem> | |
| 5572 | <listitem> | |
| 5573 | <simpara><literal>aptitude</literal> supports logging of package activities. | |
| 5574 | </simpara> | |
| 5575 | </listitem> | |
| 5576 | <listitem> | |
| 5577 | <simpara><literal>aptitude</literal> offers an <emphasis role="strong">enhanced</emphasis> regex based search on all of the package metadata. | |
| 5578 | </simpara> | |
| 5579 | </listitem> | |
| 5580 | <listitem> | |
| 5581 | <simpara><literal>aptitude</literal> can manage multiple versions of packages without using <literal>/etc/apt/preferences</literal> and it is quite intuitive. | |
| 5582 | </simpara> | |
| 5583 | </listitem> | |
| 5584 | </itemizedlist> | |
| 5585 | <note> | |
| 5586 | <simpara>Although the <literal>aptitude</literal> command comes with rich features such as its enhanced package resolver, this complexity had caused (or may still causes) some regressions such as <ulink url="http://bugs.debian.org/411123">Bug #411123</ulink>, <ulink url="http://bugs.debian.org/514930">Bug #514930</ulink>, and <ulink url="http://bugs.debian.org/570377">Bug #570377</ulink>. In case of doubts, please use the <literal>apt-get</literal> and <literal>apt-cache</literal> commands over the <literal>aptitude</literal> command.</simpara> | |
| 5587 | </note> | |
| 5588 | </section> | |
| 5589 | <section id="_basic_package_management_operations_with_the_commandline"> | |
| 5590 | <title>Basic package management operations with the commandline</title> | |
| 5591 | <simpara>Here are basic package management operations with the commandline using <literal>aptitude</literal>(8) and <literal>apt-get</literal>(8) /<literal>apt-cache</literal>(8).</simpara> | |
| 5592 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| 5593 | <title>Basic package management operations with commandline using <literal>aptitude</literal>(8) and <literal>apt-get</literal>(8) /<literal>apt-cache</literal>(8)</title> | <title>Basic package management operations with the commandline using <literal>aptitude</literal>(8) and <literal>apt-get</literal>(8) /<literal>apt-cache</literal>(8)</title> |
| 5594 | <tgroup cols="3"> | <tgroup cols="3"> |
| 5595 | <colspec colwidth="146pt" align="left"/> | <colspec colwidth="146pt" align="left"/> |
| 5596 | <colspec colwidth="179pt" align="left"/> | <colspec colwidth="179pt" align="left"/> |
| # | Line 5654 $ mc</screen> | Line 5753 $ mc</screen> |
| 5753 | </tbody> | </tbody> |
| 5754 | </tgroup> | </tgroup> |
| 5755 | </table> | </table> |
| <simpara>Although it is now safe to mix different package tools on the Debian system, it is best to continue using <literal>aptitude</literal> as much as possible.</simpara> | ||
| 5756 | <simpara>The difference between "<literal>safe-upgrade</literal>"/"<literal>upgrade</literal>" and "<literal>full-upgrade</literal>"/"<literal>dist-upgrade</literal>" only appears when new versions of packages stand in different dependency relationships from old versions of those packages. The "<literal>aptitude safe-upgrade</literal>" command does not install new packages nor remove installed packages.</simpara> | <simpara>The difference between "<literal>safe-upgrade</literal>"/"<literal>upgrade</literal>" and "<literal>full-upgrade</literal>"/"<literal>dist-upgrade</literal>" only appears when new versions of packages stand in different dependency relationships from old versions of those packages. The "<literal>aptitude safe-upgrade</literal>" command does not install new packages nor remove installed packages.</simpara> |
| 5757 | <simpara>The "<literal>aptitude why <regex></literal>" can list more information by "<literal>aptitude -v why <regex></literal>". Similar information can be obtained by "<literal>apt-cache rdepends <package></literal>".</simpara> | <simpara>The "<literal>aptitude why <regex></literal>" can list more information by "<literal>aptitude -v why <regex></literal>". Similar information can be obtained by "<literal>apt-cache rdepends <package></literal>".</simpara> |
| 5758 | <simpara>When <literal>aptitude</literal> command is started in the commandline mode and faces some issues such as package conflicts, you can switch to the full screen interactive mode by pressing "<literal>e</literal>"-key later at the prompt.</simpara> | <simpara>When <literal>aptitude</literal> command is started in the commandline mode and faces some issues such as package conflicts, you can switch to the full screen interactive mode by pressing "<literal>e</literal>"-key later at the prompt.</simpara> |
| # | Line 6031 The candidate version of the package | Line 6129 The candidate version of the package |
| 6129 | <literal>Upgradable Packages</literal> | <literal>Upgradable Packages</literal> |
| 6130 | </entry> | </entry> |
| 6131 | <entry> | <entry> |
| 6132 | list packages organized as <literal>section</literal> → <literal>component</literal> → <literal>package</literal> | list packages organized as <literal>section</literal> → <literal>area</literal> → <literal>package</literal> |
| 6133 | </entry> | </entry> |
| 6134 | </row> | </row> |
| 6135 | <row> | <row> |
| # | Line 6519 The default relation type is "depends". | Line 6617 The default relation type is "depends". |
| 6617 | </table> | </table> |
| 6618 | <simpara>In reality, it is not so easy to get meaningful understanding quickly out from these logs. See <xref linkend="_recording_changes_in_configuration_files"/> for easier way.</simpara> | <simpara>In reality, it is not so easy to get meaningful understanding quickly out from these logs. See <xref linkend="_recording_changes_in_configuration_files"/> for easier way.</simpara> |
| 6619 | </section> | </section> |
| <section id="_aptitude_advantages"> | ||
| <title>Aptitude advantages</title> | ||
| <simpara>Aptitude has advantages over other APT based packaging systems (apt-get, apt-cache, synaptic, …).</simpara> | ||
| <itemizedlist> | ||
| <listitem> | ||
| <simpara><literal>aptitude</literal> removes unused auto installed packages automatically using its own extra layer of package state file (<literal>/var/lib/aptitude/pkgstates</literal>). (For new "<literal>lenny</literal>", other APT does the same.) | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara><literal>aptitude</literal> makes it easy to resolve package conflicts and to add recommended packages. | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara><literal>aptitude</literal> makes it easy to keep track of obsolete software by listing under "Obsolete and Locally Created Packages". | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara><literal>aptitude</literal> gives a log of its history in "<literal>/var/log/aptitude</literal>". | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara><literal>aptitude</literal> offers access to all versions of the package if available. | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara><literal>aptitude</literal> includes a fairly powerful regex based system for searching particular packages and limiting the package display. | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara><literal>aptitude</literal> in the full screen mode has <literal>su</literal> functionality embedded and can be run from normal user until you really need administrative privileges. | ||
| </simpara> | ||
| </listitem> | ||
| </itemizedlist> | ||
| <simpara>For the old <literal>etch</literal> release version, <literal>synaptic</literal> also gives you the history log; <literal>apt-get</literal> did not but you can rely on the log of <literal>dpkg</literal>.</simpara> | ||
| <simpara>Anyway, <literal>aptitude</literal> is nice for interactive console use.</simpara> | ||
| </section> | ||
| 6620 | </section> | </section> |
| 6621 | <section id="_examples_of_aptitude_operations"> | <section id="_examples_of_aptitude_operations"> |
| 6622 | <title>Examples of aptitude operations</title> | <title>Examples of aptitude operations</title> |
| # | Line 6645 Start "<literal>apt-get autoremove|less< | Line 6707 Start "<literal>apt-get autoremove|less< |
| 6707 | </orderedlist> | </orderedlist> |
| 6708 | <simpara>The "<literal>m</literal>" action over "<literal>Tasks</literal>" is an optional one to prevent mass package removal situation in future.</simpara> | <simpara>The "<literal>m</literal>" action over "<literal>Tasks</literal>" is an optional one to prevent mass package removal situation in future.</simpara> |
| 6709 | </section> | </section> |
| 6710 | <section id="_system_wide_upgrade_with_aptitude"> | <section id="_system_wide_upgrade"> |
| 6711 | <title>System wide upgrade with aptitude</title> | <title>System wide upgrade</title> |
| 6712 | <note> | <note> |
| 6713 | <simpara>When moving to a new release etc, you should consider to perform a clean installation of new system even though Debian is upgradable as described below. This provides you a chance to remove garbages collected and exposes you to the best combination of latest packages. Of course, you should make a full backup of system to a safe place (see <xref linkend="_backup_and_recovery"/>) before doing this. I recommend to make a dual boot configuration using different partition to have the smoothest transition.</simpara> | <simpara>When moving to a new release etc, you should consider to perform a clean installation of new system even though Debian is upgradable as described below. This provides you a chance to remove garbages collected and exposes you to the best combination of latest packages. Of course, you should make a full backup of system to a safe place (see <xref linkend="_backup_and_recovery"/>) before doing this. I recommend to make a dual boot configuration using different partition to have the smoothest transition.</simpara> |
| 6714 | </note> | </note> |
| 6715 | <simpara>You can perform system wide upgrade to a newer release by changing contents of the "<literal>/etc/apt/sources.list</literal>" file pointing to a new release and running the "<literal>aptitude update; aptitude full-upgrade</literal>" command.</simpara> | <simpara>You can perform system wide upgrade to a newer release by changing contents of the "<literal>/etc/apt/sources.list</literal>" file pointing to a new release and running the "<literal>apt-get update; apt-get dist-upgrade</literal>" command.</simpara> |
| 6716 | <simpara>To upgrade from <literal>stable</literal> to <literal>testing</literal> or <literal>unstable</literal>, you replace "<literal>@-@codename-stable@-@</literal>" in the "<literal>/etc/apt/sources.list</literal>" example of <xref linkend="_debian_archive_basics"/> with "<literal>@-@codename-testing@-@</literal>" or "<literal>sid</literal>".</simpara> | <simpara>To upgrade from <literal>stable</literal> to <literal>testing</literal> or <literal>unstable</literal>, you replace "<literal>@-@codename-stable@-@</literal>" in the "<literal>/etc/apt/sources.list</literal>" example of <xref linkend="_debian_archive_basics"/> with "<literal>@-@codename-testing@-@</literal>" or "<literal>sid</literal>".</simpara> |
| 6717 | <simpara>In reality, you may face some complications due to some package transition issues, mostly due to package dependencies. The larger the difference of the upgrade, the more likely you face larger troubles. For the transition from the old <literal>stable</literal> to the new <literal>stable</literal> after its release, you can read its new <ulink url="http://www.debian.org/releases/stable/releasenotes">Release Notes</ulink> and follow the exact procedure described in it to minimize troubles.</simpara> | <simpara>In reality, you may face some complications due to some package transition issues, mostly due to package dependencies. The larger the difference of the upgrade, the more likely you face larger troubles. For the transition from the old <literal>stable</literal> to the new <literal>stable</literal> after its release, you can read its new <ulink url="http://www.debian.org/releases/stable/releasenotes">Release Notes</ulink> and follow the exact procedure described in it to minimize troubles.</simpara> |
| 6718 | <simpara>When you decide to move from <literal>stable</literal> to <literal>testing</literal> before its formal release, there are no <ulink url="http://www.debian.org/releases/stable/releasenotes">Release Notes</ulink> to help you. The difference between <literal>stable</literal> and <literal>testing</literal> could have grown quite large after the previous <literal>stable</literal> release and makes upgrade situation complicated.</simpara> | <simpara>When you decide to move from <literal>stable</literal> to <literal>testing</literal> before its formal release, there are no <ulink url="http://www.debian.org/releases/stable/releasenotes">Release Notes</ulink> to help you. The difference between <literal>stable</literal> and <literal>testing</literal> could have grown quite large after the previous <literal>stable</literal> release and makes upgrade situation complicated.</simpara> |
| # | Line 6713 Install, optionally, new <emphasis role= | Line 6775 Install, optionally, new <emphasis role= |
| 6775 | </listitem> | </listitem> |
| 6776 | <listitem> | <listitem> |
| 6777 | <simpara> | <simpara> |
| 6778 | Run the "<literal>aptitude full-upgrade -s</literal>" command to assess impact. | Run the "<literal>apt-get -s dist-upgrade</literal>" command to assess impact. |
| 6779 | </simpara> | </simpara> |
| 6780 | </listitem> | </listitem> |
| 6781 | <listitem> | <listitem> |
| 6782 | <simpara> | <simpara> |
| 6783 | Run the "<literal>aptitude full-upgrade</literal>" command at last. | Run the "<literal>apt-get dist-upgrade</literal>" command at last. |
| 6784 | </simpara> | </simpara> |
| 6785 | </listitem> | </listitem> |
| 6786 | </orderedlist> | </orderedlist> |
| # | Line 6893 Run the "<literal>aptitude full-upgrade< | Line 6955 Run the "<literal>aptitude full-upgrade< |
| 6955 | <literal>dpkg-source -x <package_name>_<version>-<debian_version>.dsc</literal> | <literal>dpkg-source -x <package_name>_<version>-<debian_version>.dsc</literal> |
| 6956 | </entry> | </entry> |
| 6957 | <entry> | <entry> |
| 6958 | build a source tree from a set of source packages ("<literal>*.tar.gz</literal>" and "<literal>*.diff.gz</literal>") | build a source tree from a set of source packages ("<literal>*.orig.tar.gz</literal>" and "<literal>*.debian.tar.gz</literal>"/"<literal>*.diff.gz</literal>") |
| 6959 | </entry> | </entry> |
| 6960 | </row> | </row> |
| 6961 | <row> | <row> |
| # | Line 7006 See <xref linkend="_making_debian_packag | Line 7068 See <xref linkend="_making_debian_packag |
| 7068 | </simpara> | </simpara> |
| 7069 | </listitem> | </listitem> |
| 7070 | </itemizedlist> | </itemizedlist> |
| <tip> | ||
| <simpara>The source package format described here as a set of source packages ("<literal>*.tar.gz</literal>" and "<literal>*.diff.gz</literal>") is format 1.0 which is still popular. See more on <literal>dpkg-source</literal>(1) for other newer formats.</simpara> | ||
| </tip> | ||
| 7071 | </section> | </section> |
| 7072 | <section id="_verification_of_installed_package_files"> | <section id="_verification_of_installed_package_files"> |
| 7073 | <title>Verification of installed package files</title> | <title>Verification of installed package files</title> |
| # | Line 7042 See <xref linkend="_making_debian_packag | Line 7101 See <xref linkend="_making_debian_packag |
| 7101 | <title>The content of the Debian archive meta data</title> | <title>The content of the Debian archive meta data</title> |
| 7102 | <tgroup cols="3"> | <tgroup cols="3"> |
| 7103 | <colspec colwidth="141pt" align="left"/> | <colspec colwidth="141pt" align="left"/> |
| 7104 | <colspec colwidth="363pt" align="left"/> | <colspec colwidth="336pt" align="left"/> |
| 7105 | <colspec colwidth="244pt" align="left"/> | <colspec colwidth="244pt" align="left"/> |
| 7106 | <thead> | <thead> |
| 7107 | <row> | <row> |
| # | Line 7096 See <xref linkend="_making_debian_packag | Line 7155 See <xref linkend="_making_debian_packag |
| 7155 | <literal>Release</literal> | <literal>Release</literal> |
| 7156 | </entry> | </entry> |
| 7157 | <entry> | <entry> |
| 7158 | top of each distribution/component/architecture combination | top of each distribution/area/architecture combination |
| 7159 | </entry> | </entry> |
| 7160 | <entry> | <entry> |
| 7161 | archive description used for the rule of <literal>apt_preferences</literal>(5) | archive description used for the rule of <literal>apt_preferences</literal>(5) |
| # | Line 7107 See <xref linkend="_making_debian_packag | Line 7166 See <xref linkend="_making_debian_packag |
| 7166 | <literal>Packages</literal> | <literal>Packages</literal> |
| 7167 | </entry> | </entry> |
| 7168 | <entry> | <entry> |
| 7169 | top of each distribution/component/binary-architecture combination | top of each distribution/area/binary-architecture combination |
| 7170 | </entry> | </entry> |
| 7171 | <entry> | <entry> |
| 7172 | concatenated <literal>debian/control</literal> for binary packages | concatenated <literal>debian/control</literal> for binary packages |
| # | Line 7118 See <xref linkend="_making_debian_packag | Line 7177 See <xref linkend="_making_debian_packag |
| 7177 | <literal>Sources</literal> | <literal>Sources</literal> |
| 7178 | </entry> | </entry> |
| 7179 | <entry> | <entry> |
| 7180 | top of each distribution/component/source combination | top of each distribution/area/source combination |
| 7181 | </entry> | </entry> |
| 7182 | <entry> | <entry> |
| 7183 | concatenated <literal>debian/control</literal> for source packages | concatenated <literal>debian/control</literal> for source packages |
| # | Line 7148 MD5Sum: | Line 7207 MD5Sum: |
| 7207 | 43524d07f7fa21b10f472c426db66168 6561398 main/binary-alpha/Packages.gz | 43524d07f7fa21b10f472c426db66168 6561398 main/binary-alpha/Packages.gz |
| 7208 | ...</screen> | ...</screen> |
| 7209 | <note> | <note> |
| 7210 | <simpara>Here, you can find my rationale to use the "suite", "codeneme", and "components" in <xref linkend="_debian_archive_basics"/>. The "distribution" is used when referring to both "suite" and "codeneme".</simpara> | <simpara>Here, you can find my rationale to use the "suite", and "codeneme" in <xref linkend="_debian_archive_basics"/>. The "distribution" is used when referring to both "suite" and "codeneme". All archive "area" names offered by the archive are listed under "Component".</simpara> |
| 7211 | </note> | </note> |
| 7212 | <simpara>The integrity of the top level "<literal>Release</literal>" file is verified by cryptographic infrastructure called the <ulink url="http://wiki.debian.org/SecureApt">secure apt</ulink>.</simpara> | <simpara>The integrity of the top level "<literal>Release</literal>" file is verified by cryptographic infrastructure called the <ulink url="http://wiki.debian.org/SecureApt">secure apt</ulink>.</simpara> |
| 7213 | <itemizedlist> | <itemizedlist> |
| # | Line 7208 Architecture: amd64</screen> | Line 7267 Architecture: amd64</screen> |
| 7267 | </section> | </section> |
| 7268 | <section id="_fetching_of_the_meta_data_for_the_package"> | <section id="_fetching_of_the_meta_data_for_the_package"> |
| 7269 | <title>Fetching of the meta data for the package</title> | <title>Fetching of the meta data for the package</title> |
| 7270 | <simpara>When APT tools, such as <literal>aptitude</literal>, <literal>apt-get</literal>, <literal>synaptic</literal>, <literal>apt-file</literal>, <literal>auto-apt</literal>…, are used, we need to update the local copies of the meta data containing the Debian archive information. These local copies have following file names corresponding to the specified <literal>distribution</literal>, <literal>component</literal>, and <literal>architecture</literal> names in the "<literal>/etc/apt/sources.list</literal>" (see <xref linkend="_debian_archive_basics"/>).</simpara> | <simpara>When APT tools, such as <literal>aptitude</literal>, <literal>apt-get</literal>, <literal>synaptic</literal>, <literal>apt-file</literal>, <literal>auto-apt</literal>…, are used, we need to update the local copies of the meta data containing the Debian archive information. These local copies have following file names corresponding to the specified <literal>distribution</literal>, <literal>area</literal>, and <literal>architecture</literal> names in the "<literal>/etc/apt/sources.list</literal>" (see <xref linkend="_debian_archive_basics"/>).</simpara> |
| 7271 | <itemizedlist> | <itemizedlist> |
| 7272 | <listitem> | <listitem> |
| 7273 | <simpara> | <simpara> |
| # | Line 7222 Architecture: amd64</screen> | Line 7281 Architecture: amd64</screen> |
| 7281 | </listitem> | </listitem> |
| 7282 | <listitem> | <listitem> |
| 7283 | <simpara> | <simpara> |
| 7284 | "<literal>/var/lib/apt/lists/ftp.us.debian.org_debian_dists_<distribution>_<component>_binary-<architecture>_Packages</literal>" | "<literal>/var/lib/apt/lists/ftp.us.debian.org_debian_dists_<distribution>_<area>_binary-<architecture>_Packages</literal>" |
| 7285 | </simpara> | </simpara> |
| 7286 | </listitem> | </listitem> |
| 7287 | <listitem> | <listitem> |
| 7288 | <simpara> | <simpara> |
| 7289 | "<literal>/var/lib/apt/lists/ftp.us.debian.org_debian_dists_<distribution>_<component>_source_Sources</literal>" | "<literal>/var/lib/apt/lists/ftp.us.debian.org_debian_dists_<distribution>_<area>_source_Sources</literal>" |
| 7290 | </simpara> | </simpara> |
| 7291 | </listitem> | </listitem> |
| 7292 | <listitem> | <listitem> |
| # | Line 7259 Architecture: amd64</screen> | Line 7318 Architecture: amd64</screen> |
| 7318 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| 7319 | <title>The name structure of Debian packages</title> | <title>The name structure of Debian packages</title> |
| 7320 | <tgroup cols="2"> | <tgroup cols="2"> |
| 7321 | <colspec colwidth="309pt" align="left"/> | <colspec colwidth="271pt" align="left"/> |
| 7322 | <colspec colwidth="439pt" align="left"/> | <colspec colwidth="401pt" align="left"/> |
| 7323 | <thead> | <thead> |
| 7324 | <row> | <row> |
| 7325 | <entry> | <entry> |
| # | Line 7274 Architecture: amd64</screen> | Line 7333 Architecture: amd64</screen> |
| 7333 | <tbody> | <tbody> |
| 7334 | <row> | <row> |
| 7335 | <entry> | <entry> |
| 7336 | The binary package (a.k.a deb) | The binary package (a.k.a <literal>deb</literal>) |
| 7337 | </entry> | </entry> |
| 7338 | <entry> | <entry> |
| 7339 | <literal><package-name>_<epoch>:<upstream-version>-<debian.version>-<architecture>.deb</literal> | <literal><package-name>_<epoch>:<upstream-version>-<debian.version>-<architecture>.deb</literal> |
| # | Line 7282 Architecture: amd64</screen> | Line 7341 Architecture: amd64</screen> |
| 7341 | </row> | </row> |
| 7342 | <row> | <row> |
| 7343 | <entry> | <entry> |
| 7344 | The binary package for the debian-installer (a.k.a udeb) | The binary package (a.k.a <literal>udeb</literal>) |
| 7345 | </entry> | </entry> |
| 7346 | <entry> | <entry> |
| 7347 | <literal><package-name>_<epoch>:<upstream-version>-<debian.version>-<architecture>.udeb</literal> | <literal><package-name>_<epoch>:<upstream-version>-<debian.version>-<architecture>.udeb</literal> |
| # | Line 7293 Architecture: amd64</screen> | Line 7352 Architecture: amd64</screen> |
| 7352 | The source package (upstream source) | The source package (upstream source) |
| 7353 | </entry> | </entry> |
| 7354 | <entry> | <entry> |
| 7355 | <literal><package-name>_<epoch>:<upstream-version>-<debian.version>.tar.gz</literal> | <literal><package-name>_<epoch>:<upstream-version>-<debian.version>.orig.tar.gz</literal> |
| 7356 | </entry> | </entry> |
| 7357 | </row> | </row> |
| 7358 | <row> | <row> |
| 7359 | <entry> | <entry> |
| 7360 | The source package (Debian changes) | The <literal>1.0</literal> source package (Debian changes) |
| 7361 | </entry> | </entry> |
| 7362 | <entry> | <entry> |
| 7363 | <literal><package-name>_<epoch>:<upstream-version>-<debian.version>.diff.gz</literal> | <literal><package-name>_<epoch>:<upstream-version>-<debian.version>.diff.gz</literal> |
| # | Line 7306 Architecture: amd64</screen> | Line 7365 Architecture: amd64</screen> |
| 7365 | </row> | </row> |
| 7366 | <row> | <row> |
| 7367 | <entry> | <entry> |
| 7368 | The <literal>3.0 (quilt)</literal> source package (Debian changes) | |
| 7369 | </entry> | |
| 7370 | <entry> | |
| 7371 | <literal><package-name>_<epoch>:<upstream-version>-<debian.version>.debian.tar.gz</literal> | |
| 7372 | </entry> | |
| 7373 | </row> | |
| 7374 | <row> | |
| 7375 | <entry> | |
| 7376 | The source package (description) | The source package (description) |
| 7377 | </entry> | </entry> |
| 7378 | <entry> | <entry> |
| # | Line 7315 Architecture: amd64</screen> | Line 7382 Architecture: amd64</screen> |
| 7382 | </tbody> | </tbody> |
| 7383 | </tgroup> | </tgroup> |
| 7384 | </table> | </table> |
| 7385 | <tip> | |
| 7386 | <simpara>Here only the basic source package formats are described. See more on <literal>dpkg-source</literal>(1).</simpara> | |
| 7387 | </tip> | |
| 7388 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| 7389 | <title>The usable characters for each component in the Debian package names</title> | <title>The usable characters for each component in the Debian package names</title> |
| 7390 | <tgroup cols="3"> | <tgroup cols="3"> |
| # | Line 7872 C++ <ulink url="http://en.wikipedia.org/ | Line 7942 C++ <ulink url="http://en.wikipedia.org/ |
| 7942 | </section> | </section> |
| 7943 | <section id="_tweaking_candidate_version"> | <section id="_tweaking_candidate_version"> |
| 7944 | <title>Tweaking candidate version</title> | <title>Tweaking candidate version</title> |
| <warning> | ||
| <simpara>In <literal>lenny</literal>, <literal>aptitude</literal>(8) has a bug for handling "<literal>/etc/apt/preferences</literal>" file. (<ulink url="http://bugs.debian.org/514930">Bug#514930</ulink>)</simpara> | ||
| </warning> | ||
| 7945 | <simpara>Without the "<literal>/etc/apt/preferences</literal>" file, APT system choses the latest available version as the <emphasis role="strong">candidate version</emphasis> using the version string. This is the normal state and most recommended usage of APT system. All officially supported combinations of archives do not require the "<literal>/etc/apt/preferences</literal>" file since some archives which should not be used as the automatic source of upgrades are marked as <emphasis role="strong">NotAutomatic</emphasis> and dealt properly.</simpara> | <simpara>Without the "<literal>/etc/apt/preferences</literal>" file, APT system choses the latest available version as the <emphasis role="strong">candidate version</emphasis> using the version string. This is the normal state and most recommended usage of APT system. All officially supported combinations of archives do not require the "<literal>/etc/apt/preferences</literal>" file since some archives which should not be used as the automatic source of upgrades are marked as <emphasis role="strong">NotAutomatic</emphasis> and dealt properly.</simpara> |
| 7946 | <tip> | <tip> |
| 7947 | <simpara>The version string comparison rule can be verified with, e.g., "<literal>dpkg --compare-versions ver1.1 gt ver1.1~1; echo $?</literal>" (see <literal>dpkg</literal>(1)).</simpara> | <simpara>The version string comparison rule can be verified with, e.g., "<literal>dpkg --compare-versions ver1.1 gt ver1.1~1; echo $?</literal>" (see <literal>dpkg</literal>(1)).</simpara> |
| # | Line 8001 Pin: release a=unstable | Line 8068 Pin: release a=unstable |
| 8068 | Pin-Priority: 200</screen> | Pin-Priority: 200</screen> |
| 8069 | <simpara>When you wish to install a package named "<literal><package-name></literal>" with its dependencies from <literal>unstable</literal> archive under this configuration, you issue the following command which switches target release with "<literal>-t</literal>" option (Pin-Priority of <literal>unstable</literal> becomes 990.).</simpara> | <simpara>When you wish to install a package named "<literal><package-name></literal>" with its dependencies from <literal>unstable</literal> archive under this configuration, you issue the following command which switches target release with "<literal>-t</literal>" option (Pin-Priority of <literal>unstable</literal> becomes 990.).</simpara> |
| 8070 | <screen>$ sudo apt-get install -t unstable <package-name></screen> | <screen>$ sudo apt-get install -t unstable <package-name></screen> |
| 8071 | <simpara>With this configuration, usual execution of "<literal>apt-get upgrade</literal>" and "<literal>apt-get dist-upgrade</literal>" (or "<literal>aptitude safe-upgrade</literal>" and "<literal>aptitude full-upgrade</literal>" for <literal>squeeze</literal>) upgrades packages which were installed from <literal>testing</literal> archive using current <literal>testing</literal> archive and packages which were installed from <literal>unstable</literal> archive using current <literal>unstable</literal> archive.</simpara> | <simpara>With this configuration, usual execution of "<literal>apt-get upgrade</literal>" and "<literal>apt-get dist-upgrade</literal>" (or "<literal>aptitude safe-upgrade</literal>" and "<literal>aptitude full-upgrade</literal>") upgrades packages which were installed from <literal>testing</literal> archive using current <literal>testing</literal> archive and packages which were installed from <literal>unstable</literal> archive using current <literal>unstable</literal> archive.</simpara> |
| 8072 | <caution> | <caution> |
| 8073 | <simpara>Be careful not to remove "<literal>testing</literal>" entry from the "<literal>/etc/apt/sources.list</literal>" file. Without "<literal>testing</literal>" entry in it, APT system upgrades packages using newer <literal>unstable</literal> archive.</simpara> | <simpara>Be careful not to remove "<literal>testing</literal>" entry from the "<literal>/etc/apt/sources.list</literal>" file. Without "<literal>testing</literal>" entry in it, APT system upgrades packages using newer <literal>unstable</literal> archive.</simpara> |
| 8074 | </caution> | </caution> |
| # | Line 8081 Pin-Priority: 200 | Line 8148 Pin-Priority: 200 |
| 8148 | Package: * | Package: * |
| 8149 | Pin: release a=@-@codename-stable@-@-sloppy, o=volatile.debian.org | Pin: release a=@-@codename-stable@-@-sloppy, o=volatile.debian.org |
| 8150 | Pin-Priority: 200</screen> | Pin-Priority: 200</screen> |
| 8151 | <simpara>Execution of "<literal>apt-get upgrade</literal>" and "<literal>apt-get dist-upgrade</literal>" (or "<literal>aptitude safe-upgrade</literal>" and "<literal>aptitude full-upgrade</literal>" for <literal>squeeze</literal>) upgrades packages which were installed from <literal>stable</literal> archive using current <literal>stable</literal> archive and packages which were installed from other archives using current corresponding archive for all archives in the "<literal>/etc/apt/sources.list</literal>" file.</simpara> | <simpara>Execution of "<literal>apt-get upgrade</literal>" and "<literal>apt-get dist-upgrade</literal>" (or "<literal>aptitude safe-upgrade</literal>" and "<literal>aptitude full-upgrade</literal>") upgrades packages which were installed from <literal>stable</literal> archive using current <literal>stable</literal> archive and packages which were installed from other archives using current corresponding archive for all archives in the "<literal>/etc/apt/sources.list</literal>" file.</simpara> |
| 8152 | </section> | </section> |
| 8153 | <section id="_automatic_download_and_upgrade_of_packages"> | <section id="_automatic_download_and_upgrade_of_packages"> |
| 8154 | <title>Automatic download and upgrade of packages</title> | <title>Automatic download and upgrade of packages</title> |
| # | Line 8567 The kernel code of the target OS if it f | Line 8634 The kernel code of the target OS if it f |
| 8634 | <ulink url="http://en.wikipedia.org/wiki/GNU_GRUB">GRUB Legacy</ulink> | <ulink url="http://en.wikipedia.org/wiki/GNU_GRUB">GRUB Legacy</ulink> |
| 8635 | </entry> | </entry> |
| 8636 | <entry> | <entry> |
| 8637 | grub | grub-legacy |
| 8638 | </entry> | </entry> |
| 8639 | <entry> | <entry> |
| 8640 | @-@popcon2@-@ | @-@popcon2@-@ |
| # | Line 9229 The Debian system goes into one of the s | Line 9296 The Debian system goes into one of the s |
| 9296 | </section> | </section> |
| 9297 | <section id="_the_configuration_of_the_runlevel"> | <section id="_the_configuration_of_the_runlevel"> |
| 9298 | <title>The configuration of the runlevel</title> | <title>The configuration of the runlevel</title> |
| 9299 | <note> | |
| 9300 | <simpara>In Debian <literal>squeeze</literal>, dependency based boot order provided by the <literal>insserv</literal> package is used instead of classical alphabetical one. The "<literal>CONCURRENCY</literal>" value in "<literal>/etc/default/rcS</literal>" controls its concurrency: "<literal>none</literal>" for no concurrency, "<literal>startpar</literal>" for concurrency within the same sequence number, or "<literal>makefile</literal>" for full concurrency. See "<literal>/usr/share/doc/insserv/README.Debian</literal>".</simpara> | |
| 9301 | </note> | |
| 9302 | <simpara>The name of the symlink in each runlevel directory has the form "<literal>S<2-digit-number><original-name></literal>" or "<literal>K<2-digit-number><original-name></literal>". The 2-digit-number is used to determine the order in which to run the scripts. "<literal>S</literal>" is for "Start" and "<literal>K</literal>" is for "Kill".</simpara> | <simpara>The name of the symlink in each runlevel directory has the form "<literal>S<2-digit-number><original-name></literal>" or "<literal>K<2-digit-number><original-name></literal>". The 2-digit-number is used to determine the order in which to run the scripts. "<literal>S</literal>" is for "Start" and "<literal>K</literal>" is for "Kill".</simpara> |
| 9303 | <simpara>When <literal>init</literal>(8) or <literal>telinit</literal>(8) commands goes into the runlevel to "<n>", it execute following scripts.</simpara> | <simpara>For "<literal>CONCURRENCY=none</literal>", when <literal>init</literal>(8) or <literal>telinit</literal>(8) commands goes into the runlevel to "<n>", it execute following scripts.</simpara> |
| 9304 | <orderedlist> | <orderedlist> |
| 9305 | <listitem> | <listitem> |
| 9306 | <simpara> | <simpara> |
| # | Line 9244 The script names starting with an "<lite | Line 9314 The script names starting with an "<lite |
| 9314 | </listitem> | </listitem> |
| 9315 | </orderedlist> | </orderedlist> |
| 9316 | <simpara>For example, if you had the links "<literal>S10sysklogd</literal>" and "<literal>S20exim4</literal>" in a runlevel directory, "<literal>S10sysklogd</literal>" which is symlinked to "<literal>../init.d/sysklogd</literal>" would run before "<literal>S20exim4</literal>" which is symlinked to "<literal>../init.d/exim4</literal>".</simpara> | <simpara>For example, if you had the links "<literal>S10sysklogd</literal>" and "<literal>S20exim4</literal>" in a runlevel directory, "<literal>S10sysklogd</literal>" which is symlinked to "<literal>../init.d/sysklogd</literal>" would run before "<literal>S20exim4</literal>" which is symlinked to "<literal>../init.d/exim4</literal>".</simpara> |
| 9317 | <simpara>For "<literal>CONCURRENCY=makefile</literal>" (new default), package dependency defined in the header of init scripts are used to order them.</simpara> | |
| 9318 | <warning> | <warning> |
| 9319 | <simpara>It is not advisable to make any changes to symlinks in "<literal>/etc/rcS.d/</literal>" unless you know better than the maintainer.</simpara> | <simpara>It is not advisable to make any changes to symlinks in "<literal>/etc/rcS.d/</literal>" unless you know better than the maintainer.</simpara> |
| 9320 | </warning> | </warning> |
| <note> | ||
| <simpara>In Debian <literal>squeeze</literal>, dependency based boot order provided by the <literal>insserv</literal> package is used instead of classical alphabetical one. The "<literal>CONCURRENCY</literal>" value in "<literal>/etc/default/rcS</literal>" controls its concurrency: "<literal>none</literal>" for no concurrency, "<literal>startpar</literal>" for concurrency within the same sequence number, or "<literal>makefile</literal>" for full concurrency. See "<literal>/usr/share/doc/insserv/README.Debian</literal>".</simpara> | ||
| </note> | ||
| 9321 | </section> | </section> |
| 9322 | <section id="_the_runlevel_management_example"> | <section id="_the_runlevel_management_example"> |
| 9323 | <title>The runlevel management example</title> | <title>The runlevel management example</title> |
| # | Line 10726 Reboot system. | Line 10794 Reboot system. |
| 10794 | <tip> | <tip> |
| 10795 | <simpara>For general guide to the GNU/Linux networking, read the <ulink url="http://www.tldp.org/LDP/nag2/">Linux Network Administrators Guide</ulink>.</simpara> | <simpara>For general guide to the GNU/Linux networking, read the <ulink url="http://www.tldp.org/LDP/nag2/">Linux Network Administrators Guide</ulink>.</simpara> |
| 10796 | </tip> | </tip> |
| <simpara>The traditional <ulink url="http://en.wikipedia.org/wiki/Internet_Protocol_Suite">TCP/IP network</ulink> setup on Debian system uses <literal>ifupdown</literal> package as a high level tool. There are 2 typical cases.</simpara> | ||
| <itemizedlist> | ||
| <listitem> | ||
| <simpara> | ||
| For <emphasis role="strong">dynamic IP</emphasis> system such as mobile PCs, you should setup TCP/IP network <emphasis role="strong">with</emphasis> the <literal>resolvconf</literal> package and enable you to switch your network configuration easily (see <xref linkend="_the_network_interface_served_by_the_dhcp"/>). | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| For <emphasis role="strong">static IP</emphasis> system such as servers, you should setup TCP/IP network <emphasis role="strong">without</emphasis> the <literal>resolvconf</literal> package and keep your system simple (see <xref linkend="_the_network_interface_with_the_static_ip"/>). | ||
| </simpara> | ||
| </listitem> | ||
| </itemizedlist> | ||
| <simpara>We describe these traditional cases in detail here.</simpara> | ||
| <simpara>We also touch on some alternative high level tools such as <literal>network-manager</literal> and <literal>wicd</literal> which ease configuration of wireless networks (see <xref linkend="_automatic_network_configuration"/>).</simpara> | ||
| 10797 | <section id="_the_basic_network_infrastructure"> | <section id="_the_basic_network_infrastructure"> |
| 10798 | <title>The basic network infrastructure</title> | <title>The basic network infrastructure</title> |
| 10799 | <simpara>Let's review the basic network infrastructure on the modern Debian system.</simpara> | <simpara>Let's review the basic network infrastructure on the modern Debian system.</simpara> |
| 10800 | <section id="_the_domain_name"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| 10801 | <title>The domain name</title> | <title>List of network configuration tools</title> |
| 10802 | <simpara>The naming for the domain name is a tricky one for the normal PC workstation users. The PC workstation may be mobile one hopping around the network or located behind the NAT firewall inaccessible from the Internet. For such case, you may not want the domain name to be a valid domain name to avoid name collision.</simpara> | <tgroup cols="5"> |
| 10803 | <simpara>According to <ulink url="http://tools.ietf.org/html/rfc2606">rfc2606</ulink>, "<literal>invalid</literal>" seems to be a choice for the <ulink url="http://en.wikipedia.org/wiki/Top-level_domain">top level domain (TLD)</ulink> to construct domain names that are sure to be invalid from the Internet.</simpara> | <colspec colwidth="130pt" align="left"/> |
| 10804 | <simpara>The <ulink url="http://en.wikipedia.org/wiki/MDNS">mDNS</ulink> network discovery protocol (<ulink url="http://en.wikipedia.org/wiki/Bonjour_(software)">Apple Bonjour / Apple Rendezvous</ulink>, Avahi on Debian) uses <ulink url="http://en.wikipedia.org/wiki/.local">"local"</ulink> as the <ulink url="http://en.wikipedia.org/wiki/Pseudo-top-level_domain">pseudo-top-level domain</ulink>. <ulink url="http://support.microsoft.com/kb/296250">Microsoft also seems to promote "local" for the TLD of local area network</ulink>.</simpara> | <colspec colwidth="76pt" align="left"/> |
| 10805 | <warning> | <colspec colwidth="70pt" align="left"/> |
| 10806 | <simpara>If the DNS service on your LAN uses "<literal>local</literal>" as TLD for your LAN, it may interfare with mDNS.</simpara> | <colspec colwidth="97pt" align="left"/> |
| 10807 | </warning> | <colspec colwidth="374pt" align="left"/> |
| 10808 | <simpara>Other popular choices for the invalid TLD seem to be "<literal>localdomain</literal>", "<literal>lan</literal>", "<literal>localnet</literal>", or "<literal>home</literal>" according to my incoming mail analysis.</simpara> | <thead> |
| 10809 | </section> | <row> |
| 10810 | <section id="_the_hostname_resolution"> | <entry> |
| <title>The hostname resolution</title> | ||
| <simpara>The hostname resolution is currently supported by the <ulink url="http://en.wikipedia.org/wiki/Name_Service_Switch">NSS (Name Service Switch)</ulink> mechanism too. The flow of this resolution is the following.</simpara> | ||
| <orderedlist> | ||
| <listitem> | ||
| <simpara> | ||
| The "<literal>/etc/nsswitch.conf</literal>" file with stanza like "<literal>hosts: files dns</literal>" dictates the hostname resolution order. (This replaces the old functionality of the "<literal>order</literal>" stanza in "<literal>/etc/host.conf</literal>".) | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| The <literal>files</literal> method is invoked first. If the hostname is found in the "<literal>/etc/hosts</literal>" file, it returns all valid addresses for it and exits. (The "<literal>/etc/host.conf</literal>" file contains "<literal>multi on</literal>".) | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| The <literal>dns</literal> method is invoked. If the hostname is found by the query to the <ulink url="http://en.wikipedia.org/wiki/Domain_Name_System">Internet Domain Name System (DNS)</ulink> identified by the "<literal>/etc/resolv.conf</literal>" file, it returns all valid addresses for it and exits. | ||
| </simpara> | ||
| </listitem> | ||
| </orderedlist> | ||
| <simpara>The "<literal>/etc/hosts</literal>" file <ulink url="http://bugs.debian.org/316099">associates IP addresses with hostnames</ulink> contains the following.</simpara> | ||
| <screen>127.0.0.1 localhost | ||
| 127.0.1.1 <host_name>.<domain_name> <host_name> | ||
| # The following lines are desirable for IPv6 capable hosts | ||
| ::1 ip6-localhost ip6-loopback | ||
| fe00::0 ip6-localnet | ||
| ff00::0 ip6-mcastprefix | ||
| ff02::1 ip6-allnodes | ||
| ff02::2 ip6-allrouters | ||
| ff02::3 ip6-allhosts</screen> | ||
| <simpara>Here the <host_name> in this matches the own hostname defined in the "<literal>/etc/hostname</literal>". The <domain_name> in this is the <ulink url="http://en.wikipedia.org/wiki/FQDN">fully qualified domain name (FQDN)</ulink> of this host.</simpara> | ||
| <tip> | ||
| <simpara>For <domain_name> of the mobile PC without the real FQDN, you may pick a bogus and safe TLD such as "<literal>lan</literal>", "<literal>home</literal>", "<literal>invalid</literal>", "<literal>localdomain</literal>", "<literal>none</literal>", and "<literal>private</literal>".</simpara> | ||
| </tip> | ||
| <simpara>The "<literal>/etc/resolv.conf</literal>" is a static file if the <literal>resolvconf</literal> package is not installed. If installed, it is a symbolic link. Either way, it contains information that initialize the resolver routines. If the DNS is found at IP="<literal>192.168.11.1</literal>", it contains the following.</simpara> | ||
| <screen>nameserver 192.168.11.1</screen> | ||
| <simpara>The <literal>resolvconf</literal> package makes this "<literal>/etc/resolv.conf</literal>" into a symbolic link and manages its contents by the hook scripts automatically.</simpara> | ||
| <simpara>The hostname resolution via Multicast DNS (using <ulink url="http://en.wikipedia.org/wiki/Zeroconf">Zeroconf</ulink>, aka <ulink url="http://en.wikipedia.org/wiki/Bonjour_(software)">Apple Bonjour / Apple Rendezvous</ulink>) which effectively allows name resolution by common Unix/Linux programs in the ad-hoc mDNS domain "<literal>local</literal>", can be provided by installing the <literal>libnss-mdns</literal> package. The "<literal>/etc/nsswitch.conf</literal>" file should have stanza like "<literal>hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4</literal>" to enable this functionality.</simpara> | ||
| </section> | ||
| <section id="_the_network_interface_name"> | ||
| <title>The network interface name</title> | ||
| <simpara>The network interface name, e.g. <literal>eth0</literal>, is assigned to each hardware in the Linux kernel through the user space configuration mechanism, <literal>udev</literal> (see <xref linkend="_the_udev_system"/>), as it is found. The network interface name is referred as <emphasis role="strong">physical interface</emphasis> in <literal>ifup</literal>(8) and <literal>interfaces</literal>(5).</simpara> | ||
| <simpara>In order to ensure each network interface to be named persistently for each reboot using <ulink url="http://en.wikipedia.org/wiki/MAC_address">MAC address</ulink> etc., there is a record file "<literal>/etc/udev/rules.d/70-persistent-net.rules</literal>". This file is automatically generated by the "<literal>/lib/udev/write_net_rules</literal>" program, probably run by the "<literal>persistent-net-generator.rules</literal>" rules file. You can modify it to change naming rule.</simpara> | ||
| <caution> | ||
| <simpara>When editing the "<literal>/etc/udev/rules.d/70-persistent-net.rules</literal>" rules file, you must keep each rule on a single line and the <ulink url="http://en.wikipedia.org/wiki/MAC_address">MAC address</ulink> in lowercase. For example, if you find "Firewire device" and "PCI device" in this file, you probably want to name "PCI device" as <literal>eth0</literal> and configure it as the primary network interface.</simpara> | ||
| </caution> | ||
| </section> | ||
| <section id="_the_network_address_range_for_the_lan"> | ||
| <title>The network address range for the LAN</title> | ||
| <simpara>Let us be reminded of the IPv4 32 bit address ranges in each class reserved for use on the <ulink url="http://en.wikipedia.org/wiki/Local_area_network">local area networks (LANs)</ulink> by <ulink url="http://tools.ietf.org/html/rfc1918">rfc1918</ulink>. These addresses are guaranteed not to conflict with any addresses on the Internet proper.</simpara> | ||
| <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | ||
| <title>List of network address ranges</title> | ||
| <tgroup cols="5"> | ||
| <colspec colwidth="32pt" align="left"/> | ||
| <colspec colwidth="157pt" align="left"/> | ||
| <colspec colwidth="76pt" align="left"/> | ||
| <colspec colwidth="81pt" align="left"/> | ||
| <colspec colwidth="70pt" align="left"/> | ||
| <thead> | ||
| <row> | ||
| <entry> | ||
| Class | ||
| </entry> | ||
| <entry> | ||
| network addresses | ||
| </entry> | ||
| <entry> | ||
| net mask | ||
| </entry> | ||
| <entry> | ||
| net mask /bits | ||
| </entry> | ||
| <entry> | ||
| # of subnets | ||
| </entry> | ||
| </row> | ||
| </thead> | ||
| <tbody> | ||
| <row> | ||
| <entry> | ||
| A | ||
| </entry> | ||
| <entry> | ||
| 10.x.x.x | ||
| </entry> | ||
| <entry> | ||
| 255.0.0.0 | ||
| </entry> | ||
| <entry> | ||
| /8 | ||
| </entry> | ||
| <entry> | ||
| 1 | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry> | ||
| B | ||
| </entry> | ||
| <entry> | ||
| 172.16.x.x — 172.31.x.x | ||
| </entry> | ||
| <entry> | ||
| 255.255.0.0 | ||
| </entry> | ||
| <entry> | ||
| /16 | ||
| </entry> | ||
| <entry> | ||
| 16 | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry> | ||
| C | ||
| </entry> | ||
| <entry> | ||
| 192.168.0.x — 192.168.255.x | ||
| </entry> | ||
| <entry> | ||
| 255.255.255.0 | ||
| </entry> | ||
| <entry> | ||
| /24 | ||
| </entry> | ||
| <entry> | ||
| 256 | ||
| </entry> | ||
| </row> | ||
| </tbody> | ||
| </tgroup> | ||
| </table> | ||
| <note> | ||
| <simpara>If one of these addresses is assigned to a host, then that host must not access the Internet directly but must access it through a gateway that acts as a proxy for individual services or else does <ulink url="http://en.wikipedia.org/wiki/Network_address_translation">Network Address Translation(NAT)</ulink>. The broadband router usually performs NAT for the consumer LAN environment.</simpara> | ||
| </note> | ||
| </section> | ||
| <section id="_the_network_configuration_infrastructure"> | ||
| <title>The network configuration infrastructure</title> | ||
| <simpara>There are 2 types of low level networking programs for Linux networking system (see <xref linkend="_iproute2_commands"/>).</simpara> | ||
| <itemizedlist> | ||
| <listitem> | ||
| <simpara> | ||
| Old <ulink url="http://www.linuxfoundation.org/en/Net:Net-tools">net-tools</ulink> programs (<literal>ifconfig</literal>(8), …) are from the Linux NET-3 networking system. Most of these are obsolete now. | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| New <ulink url="http://www.linuxfoundation.org/en/Net:Iproute2">Linux iproute2</ulink> programs (<literal>ip</literal>(8), …) are the current Linux networking system. | ||
| </simpara> | ||
| </listitem> | ||
| </itemizedlist> | ||
| <simpara>Although these low level networking programs are powerful, they are cumbersome to use. So high level network configuration systems have been created.</simpara> | ||
| <simpara>The <literal>ifupdown</literal> package is the de facto standard for such high level network configuration system on Debian. It enables you to bring up network simply by doing , e.g., "<literal>ifup eth0</literal>". Its configuration file is the "<literal>/etc/network/interfaces</literal>" file and its typical contents are the following.</simpara> | ||
| <screen>auto lo | ||
| iface lo inet loopback | ||
| auto eth0 | ||
| iface eth0 inet dhcp</screen> | ||
| <simpara>The <literal>resolvconf</literal> package was created to supplement <literal>ifupdown</literal> system to support smooth reconfiguration of network address resolution by automating rewrite of resolver configuration file "<literal>/etc/resolv.conf</literal>". Now, most Debian network configuration packages are modified to use <literal>resolvconf</literal> package (see "<literal>/usr/share/doc/resolvconf/README.Debian</literal>").</simpara> | ||
| <simpara>Helper scripts to the <literal>ifupdown</literal> package such as <literal>ifplugd</literal>, <literal>guessnet</literal>, <literal>ifscheme</literal>, etc. are created to automate dynamic configuration of network environment such as one for mobile PC on wired LAN. These are relatively difficult to use but play well with existing <literal>ifupdown</literal> system.</simpara> | ||
| <simpara>Alternative high level network configuration systems, independent of <literal>ifupdown</literal> system, such as <literal>network-manager</literal>, <literal>wicd</literal>, etc. are created to ease configuration of network environment even for mobile PC on wireless network. Since these are relatively new system and their integration to Debian system is in progress, you may still need to disable the corresponding network interface configuration manually in "<literal>/etc/network/interfaces</literal>" to avoid conflicts between these and <literal>ifupdown</literal> (see <xref linkend="_automatic_network_configuration"/>).</simpara> | ||
| <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | ||
| <title>List of network configuration tools</title> | ||
| <tgroup cols="5"> | ||
| <colspec colwidth="130pt" align="left"/> | ||
| <colspec colwidth="76pt" align="left"/> | ||
| <colspec colwidth="70pt" align="left"/> | ||
| <colspec colwidth="97pt" align="left"/> | ||
| <colspec colwidth="374pt" align="left"/> | ||
| <thead> | ||
| <row> | ||
| <entry> | ||
| 10811 | packages | packages |
| 10812 | </entry> | </entry> |
| 10813 | <entry> | <entry> |
| 10814 | popcon | popcon |
| 10815 | </entry> | </entry> |
| 10816 | <entry> | <entry> |
| 10817 | size | size |
| 10818 | </entry> | </entry> |
| 10819 | <entry> | <entry> |
| 10820 | type | type |
| 10821 | </entry> | </entry> |
| 10822 | <entry> | <entry> |
| 10823 | description | description |
| 10824 | </entry> | </entry> |
| 10825 | </row> | </row> |
| 10826 | </thead> | </thead> |
| 10827 | <tbody> | <tbody> |
| 10828 | <row> | <row> |
| 10829 | <entry> | <entry> |
| 10830 | <literal>ifupdown</literal> | <literal>ifupdown</literal> |
| 10831 | </entry> | </entry> |
| 10832 | <entry> | <entry> |
| 10833 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10834 | </entry> | </entry> |
| 10835 | <entry> | <entry> |
| 10836 | @-@psize1@-@ | @-@psize1@-@ |
| 10837 | </entry> | </entry> |
| 10838 | <entry> | <entry> |
| 10839 | config::ifupdown | config::ifupdown |
| 10840 | </entry> | </entry> |
| 10841 | <entry> | <entry> |
| 10842 | standardized tool to bring up and down the network (Debian specific) | standardized tool to bring up and down the network (Debian specific) |
| 10843 | </entry> | </entry> |
| 10844 | </row> | </row> |
| 10845 | <row> | <row> |
| 10846 | <entry> | <entry> |
| 10847 | <literal>ifplugd</literal> | <literal>ifplugd</literal> |
| 10848 | </entry> | </entry> |
| 10849 | <entry> | <entry> |
| 10850 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10851 | </entry> | </entry> |
| 10852 | <entry> | <entry> |
| 10853 | @-@psize1@-@ | @-@psize1@-@ |
| 10854 | </entry> | </entry> |
| 10855 | <entry> | <entry> |
| 10856 | , , | , , |
| 10857 | </entry> | </entry> |
| 10858 | <entry> | <entry> |
| 10859 | manage the wired network automatically | manage the wired network automatically |
| 10860 | </entry> | </entry> |
| 10861 | </row> | </row> |
| 10862 | <row> | <row> |
| 10863 | <entry> | <entry> |
| 10864 | <literal>ifupdown-extra</literal> | <literal>ifupdown-extra</literal> |
| 10865 | </entry> | </entry> |
| 10866 | <entry> | <entry> |
| 10867 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10868 | </entry> | </entry> |
| 10869 | <entry> | <entry> |
| 10870 | @-@psize1@-@ | @-@psize1@-@ |
| 10871 | </entry> | </entry> |
| 10872 | <entry> | <entry> |
| 10873 | , , | , , |
| 10874 | </entry> | </entry> |
| 10875 | <entry> | <entry> |
| 10876 | network testing script to enhance "<literal>ifupdown</literal>" package | network testing script to enhance "<literal>ifupdown</literal>" package |
| 10877 | </entry> | </entry> |
| 10878 | </row> | </row> |
| 10879 | <row> | <row> |
| 10880 | <entry> | <entry> |
| 10881 | <literal>ifmetric</literal> | <literal>ifmetric</literal> |
| 10882 | </entry> | </entry> |
| 10883 | <entry> | <entry> |
| 10884 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10885 | </entry> | </entry> |
| 10886 | <entry> | <entry> |
| 10887 | @-@psize1@-@ | @-@psize1@-@ |
| 10888 | </entry> | </entry> |
| 10889 | <entry> | <entry> |
| 10890 | , , | , , |
| 10891 | </entry> | </entry> |
| 10892 | <entry> | <entry> |
| 10893 | set routing metrics for a network interface | set routing metrics for a network interface |
| 10894 | </entry> | </entry> |
| 10895 | </row> | </row> |
| 10896 | <row> | <row> |
| 10897 | <entry> | <entry> |
| 10898 | <literal>guessnet</literal> | <literal>guessnet</literal> |
| 10899 | </entry> | </entry> |
| 10900 | <entry> | <entry> |
| 10901 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10902 | </entry> | </entry> |
| 10903 | <entry> | <entry> |
| 10904 | @-@psize1@-@ | @-@psize1@-@ |
| 10905 | </entry> | </entry> |
| 10906 | <entry> | <entry> |
| 10907 | , , | , , |
| 10908 | </entry> | </entry> |
| 10909 | <entry> | <entry> |
| 10910 | mapping script to enhance "<literal>ifupdown</literal>" package via "<literal>/etc/network/interfaces</literal>" file | mapping script to enhance "<literal>ifupdown</literal>" package via "<literal>/etc/network/interfaces</literal>" file |
| 10911 | </entry> | </entry> |
| 10912 | </row> | </row> |
| 10913 | <row> | <row> |
| 10914 | <entry> | <entry> |
| 10915 | <literal>ifscheme</literal> | <literal>ifscheme</literal> |
| 10916 | </entry> | </entry> |
| 10917 | <entry> | <entry> |
| 10918 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10919 | </entry> | </entry> |
| 10920 | <entry> | <entry> |
| 10921 | @-@psize1@-@ | @-@psize1@-@ |
| 10922 | </entry> | </entry> |
| 10923 | <entry> | <entry> |
| 10924 | , , | , , |
| 10925 | </entry> | </entry> |
| 10926 | <entry> | <entry> |
| 10927 | mapping scripts to enhance "<literal>ifupdown</literal>" package | mapping scripts to enhance "<literal>ifupdown</literal>" package |
| 10928 | </entry> | </entry> |
| 10929 | </row> | </row> |
| 10930 | <row> | <row> |
| 10931 | <entry> | <entry> |
| 10932 | <literal>ifupdown-scripts-zg2</literal> | <literal>ifupdown-scripts-zg2</literal> |
| 10933 | </entry> | </entry> |
| 10934 | <entry> | <entry> |
| 10935 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10936 | </entry> | </entry> |
| 10937 | <entry> | <entry> |
| 10938 | @-@psize1@-@ | @-@psize1@-@ |
| 10939 | </entry> | </entry> |
| 10940 | <entry> | <entry> |
| 10941 | , , | , , |
| 10942 | </entry> | </entry> |
| 10943 | <entry> | <entry> |
| 10944 | Zugschlus' interface scripts for ifupdown's manual method | Zugschlus' interface scripts for ifupdown's manual method |
| 10945 | </entry> | </entry> |
| 10946 | </row> | </row> |
| 10947 | <row> | <row> |
| 10948 | <entry> | <entry> |
| 10949 | <literal>network-manager</literal> | <literal>network-manager</literal> |
| 10950 | </entry> | </entry> |
| 10951 | <entry> | <entry> |
| 10952 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10953 | </entry> | </entry> |
| 10954 | <entry> | <entry> |
| 10955 | @-@psize1@-@ | @-@psize1@-@ |
| 10956 | </entry> | </entry> |
| 10957 | <entry> | <entry> |
| 10958 | config::NM | config::NM |
| 10959 | </entry> | </entry> |
| 10960 | <entry><ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager</ulink> (daemon): manage the network automatically | <entry><ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager</ulink> (daemon): manage the network automatically |
| 10961 | </entry> | </entry> |
| 10962 | </row> | </row> |
| 10963 | <row> | <row> |
| 10964 | <entry> | <entry> |
| 10965 | <literal>network-manager-gnome</literal> | <literal>network-manager-gnome</literal> |
| 10966 | </entry> | </entry> |
| 10967 | <entry> | <entry> |
| 10968 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10969 | </entry> | </entry> |
| 10970 | <entry> | <entry> |
| 10971 | @-@psize1@-@ | @-@psize1@-@ |
| 10972 | </entry> | </entry> |
| 10973 | <entry> | <entry> |
| 10974 | , , | , , |
| 10975 | </entry> | </entry> |
| 10976 | <entry><ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager</ulink> (GNOME frontend) | <entry><ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager</ulink> (GNOME frontend) |
| 10977 | </entry> | </entry> |
| 10978 | </row> | </row> |
| 10979 | <row> | <row> |
| 10980 | <entry> | <entry> |
| 10981 | <literal>network-manager-kde</literal> | <literal>network-manager-kde</literal> |
| 10982 | </entry> | </entry> |
| 10983 | <entry> | <entry> |
| 10984 | @-@popcon1@-@ | @-@popcon1@-@ |
| 10985 | </entry> | </entry> |
| 10986 | <entry> | <entry> |
| 10987 | @-@psize1@-@ | @-@psize1@-@ |
| 10988 | </entry> | </entry> |
| 10989 | <entry> | <entry> |
| 10990 | , , | , , |
| 10991 | </entry> | </entry> |
| 10992 | <entry><ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager</ulink> (KDE frontend) | <entry><ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager</ulink> (KDE frontend) |
| 10993 | </entry> | </entry> |
| 10994 | </row> | </row> |
| 10995 | <row> | <row> |
| 10996 | <entry> | <entry> |
| 10997 | <literal>wicd</literal> | <literal>cnetworkmanager</literal> |
| 10998 | </entry> | </entry> |
| 10999 | <entry> | <entry> |
| 11000 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11001 | </entry> | </entry> |
| 11002 | <entry> | <entry> |
| 11003 | @-@psize1@-@ | @-@psize1@-@ |
| 11004 | </entry> | </entry> |
| 11005 | <entry> | <entry> |
| 11006 | , , | |
| 11007 | </entry> | |
| 11008 | <entry><ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager</ulink> (command-line client) | |
| 11009 | </entry> | |
| 11010 | </row> | |
| 11011 | <row> | |
| 11012 | <entry> | |
| 11013 | <literal>wicd</literal> | |
| 11014 | </entry> | |
| 11015 | <entry> | |
| 11016 | @-@popcon1@-@ | |
| 11017 | </entry> | |
| 11018 | <entry> | |
| 11019 | @-@psize1@-@ | |
| 11020 | </entry> | |
| 11021 | <entry> | |
| 11022 | config::wicd | config::wicd |
| 11023 | </entry> | </entry> |
| 11024 | <entry> | <entry> |
| 11025 | wired and wireless network manager | wired and wireless network manager (metapackage) |
| 11026 | </entry> | </entry> |
| 11027 | </row> | </row> |
| 11028 | <row> | <row> |
| 11029 | <entry> | <entry> |
| 11030 | <literal>iptables</literal> | <literal>wicd-cli</literal> |
| 11031 | </entry> | </entry> |
| 11032 | <entry> | <entry> |
| 11033 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11034 | </entry> | </entry> |
| 11035 | <entry> | <entry> |
| 11036 | @-@psize1@-@ | @-@psize1@-@ |
| 11037 | </entry> | </entry> |
| 11038 | <entry> | <entry> |
| 11039 | , , | |
| 11040 | </entry> | |
| 11041 | <entry> | |
| 11042 | wired and wireless network manager (command-line client) | |
| 11043 | </entry> | |
| 11044 | </row> | |
| 11045 | <row> | |
| 11046 | <entry> | |
| 11047 | <literal>wicd-curses</literal> | |
| 11048 | </entry> | |
| 11049 | <entry> | |
| 11050 | @-@popcon1@-@ | |
| 11051 | </entry> | |
| 11052 | <entry> | |
| 11053 | @-@psize1@-@ | |
| 11054 | </entry> | |
| 11055 | <entry> | |
| 11056 | , , | |
| 11057 | </entry> | |
| 11058 | <entry> | |
| 11059 | wired and wireless network manager (Curses client) | |
| 11060 | </entry> | |
| 11061 | </row> | |
| 11062 | <row> | |
| 11063 | <entry> | |
| 11064 | <literal>wicd-daemon</literal> | |
| 11065 | </entry> | |
| 11066 | <entry> | |
| 11067 | @-@popcon1@-@ | |
| 11068 | </entry> | |
| 11069 | <entry> | |
| 11070 | @-@psize1@-@ | |
| 11071 | </entry> | |
| 11072 | <entry> | |
| 11073 | , , | |
| 11074 | </entry> | |
| 11075 | <entry> | |
| 11076 | wired and wireless network manager (daemon) | |
| 11077 | </entry> | |
| 11078 | </row> | |
| 11079 | <row> | |
| 11080 | <entry> | |
| 11081 | <literal>wicd-gtk</literal> | |
| 11082 | </entry> | |
| 11083 | <entry> | |
| 11084 | @-@popcon1@-@ | |
| 11085 | </entry> | |
| 11086 | <entry> | |
| 11087 | @-@psize1@-@ | |
| 11088 | </entry> | |
| 11089 | <entry> | |
| 11090 | , , | |
| 11091 | </entry> | |
| 11092 | <entry> | |
| 11093 | wired and wireless network manager (GTK+ client) | |
| 11094 | </entry> | |
| 11095 | </row> | |
| 11096 | <row> | |
| 11097 | <entry> | |
| 11098 | <literal>iptables</literal> | |
| 11099 | </entry> | |
| 11100 | <entry> | |
| 11101 | @-@popcon1@-@ | |
| 11102 | </entry> | |
| 11103 | <entry> | |
| 11104 | @-@psize1@-@ | |
| 11105 | </entry> | |
| 11106 | <entry> | |
| 11107 | config::Netfilter | config::Netfilter |
| 11108 | </entry> | </entry> |
| 11109 | <entry> | <entry> |
| 11110 | administration tools for packet filtering and NAT (<ulink url="http://en.wikipedia.org/wiki/Netfilter">Netfilter</ulink>) | administration tools for packet filtering and NAT (<ulink url="http://en.wikipedia.org/wiki/Netfilter">Netfilter</ulink>) |
| 11111 | </entry> | </entry> |
| 11112 | </row> | </row> |
| 11113 | <row> | <row> |
| 11114 | <entry> | <entry> |
| 11115 | <literal>iproute</literal> | <literal>iproute</literal> |
| 11116 | </entry> | </entry> |
| 11117 | <entry> | <entry> |
| 11118 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11119 | </entry> | </entry> |
| 11120 | <entry> | <entry> |
| 11121 | @-@psize1@-@ | @-@psize1@-@ |
| 11122 | </entry> | </entry> |
| 11123 | <entry> | <entry> |
| 11124 | config::iproute2 | config::iproute2 |
| 11125 | </entry> | </entry> |
| 11126 | <entry><ulink url="http://www.linuxfoundation.org/en/Net:Iproute2">iproute2</ulink>, IPv6 and other advanced network configuration: <literal>ip</literal>(8), <literal>tc</literal>(8), etc | <entry><ulink url="http://www.linuxfoundation.org/en/Net:Iproute2">iproute2</ulink>, IPv6 and other advanced network configuration: <literal>ip</literal>(8), <literal>tc</literal>(8), etc |
| 11127 | </entry> | </entry> |
| 11128 | </row> | </row> |
| 11129 | <row> | <row> |
| 11130 | <entry> | <entry> |
| 11131 | <literal>ifrename</literal> | <literal>ifrename</literal> |
| 11132 | </entry> | </entry> |
| 11133 | <entry> | <entry> |
| 11134 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11135 | </entry> | </entry> |
| 11136 | <entry> | <entry> |
| 11137 | @-@psize1@-@ | @-@psize1@-@ |
| 11138 | </entry> | </entry> |
| 11139 | <entry> | <entry> |
| 11140 | , , | , , |
| 11141 | </entry> | </entry> |
| 11142 | <entry> | <entry> |
| 11143 | rename network interfaces based on various static criteria: <literal>ifrename</literal>(8) | rename network interfaces based on various static criteria: <literal>ifrename</literal>(8) |
| 11144 | </entry> | </entry> |
| 11145 | </row> | </row> |
| 11146 | <row> | <row> |
| 11147 | <entry> | <entry> |
| 11148 | <literal>ethtool</literal> | <literal>ethtool</literal> |
| 11149 | </entry> | </entry> |
| 11150 | <entry> | <entry> |
| 11151 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11152 | </entry> | </entry> |
| 11153 | <entry> | <entry> |
| 11154 | @-@psize1@-@ | @-@psize1@-@ |
| 11155 | </entry> | </entry> |
| 11156 | <entry> | <entry> |
| 11157 | , , | , , |
| 11158 | </entry> | </entry> |
| 11159 | <entry> | <entry> |
| 11160 | display or change Ethernet device settings | display or change Ethernet device settings |
| 11161 | </entry> | </entry> |
| 11162 | </row> | </row> |
| 11163 | <row> | <row> |
| 11164 | <entry> | <entry> |
| 11165 | <literal>iputils-ping</literal> | <literal>iputils-ping</literal> |
| 11166 | </entry> | </entry> |
| 11167 | <entry> | <entry> |
| 11168 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11169 | </entry> | </entry> |
| 11170 | <entry> | <entry> |
| 11171 | @-@psize1@-@ | @-@psize1@-@ |
| 11172 | </entry> | </entry> |
| 11173 | <entry> | <entry> |
| 11174 | test::iproute2 | test::iproute2 |
| 11175 | </entry> | </entry> |
| 11176 | <entry> | <entry> |
| 11177 | test network reachability of a remote host by <ulink url="http://en.wikipedia.org/wiki/Hostname">hostname</ulink> or <ulink url="http://en.wikipedia.org/wiki/IP_address">IP address</ulink> (<ulink url="http://www.linuxfoundation.org/en/Net:Iproute2">iproute2</ulink>) | test network reachability of a remote host by <ulink url="http://en.wikipedia.org/wiki/Hostname">hostname</ulink> or <ulink url="http://en.wikipedia.org/wiki/IP_address">IP address</ulink> (<ulink url="http://www.linuxfoundation.org/en/Net:Iproute2">iproute2</ulink>) |
| 11178 | </entry> | </entry> |
| 11179 | </row> | </row> |
| 11180 | <row> | <row> |
| 11181 | <entry> | <entry> |
| 11182 | <literal>iputils-arping</literal> | <literal>iputils-arping</literal> |
| 11183 | </entry> | </entry> |
| 11184 | <entry> | <entry> |
| 11185 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11186 | </entry> | </entry> |
| 11187 | <entry> | <entry> |
| 11188 | @-@psize1@-@ | @-@psize1@-@ |
| 11189 | </entry> | </entry> |
| 11190 | <entry> | <entry> |
| 11191 | , , | , , |
| 11192 | </entry> | </entry> |
| 11193 | <entry> | <entry> |
| 11194 | test network reachability of a remote host specified by the <ulink url="http://en.wikipedia.org/wiki/Address_Resolution_Protocol">ARP</ulink> address | test network reachability of a remote host specified by the <ulink url="http://en.wikipedia.org/wiki/Address_Resolution_Protocol">ARP</ulink> address |
| 11195 | </entry> | </entry> |
| 11196 | </row> | </row> |
| 11197 | <row> | <row> |
| 11198 | <entry> | <entry> |
| 11199 | <literal>iputils-tracepath</literal> | <literal>iputils-tracepath</literal> |
| 11200 | </entry> | </entry> |
| 11201 | <entry> | <entry> |
| 11202 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11203 | </entry> | </entry> |
| 11204 | <entry> | <entry> |
| 11205 | @-@psize1@-@ | @-@psize1@-@ |
| 11206 | </entry> | </entry> |
| 11207 | <entry> | <entry> |
| 11208 | , , | , , |
| 11209 | </entry> | </entry> |
| 11210 | <entry> | <entry> |
| 11211 | trace the network path to a remote host | trace the network path to a remote host |
| 11212 | </entry> | </entry> |
| 11213 | </row> | </row> |
| 11214 | <row> | <row> |
| 11215 | <entry> | <entry> |
| 11216 | <literal>net-tools</literal> | <literal>net-tools</literal> |
| 11217 | </entry> | </entry> |
| 11218 | <entry> | <entry> |
| 11219 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11220 | </entry> | </entry> |
| 11221 | <entry> | <entry> |
| 11222 | @-@psize1@-@ | @-@psize1@-@ |
| 11223 | </entry> | </entry> |
| 11224 | <entry> | <entry> |
| 11225 | config::net-tools | config::net-tools |
| 11226 | </entry> | </entry> |
| 11227 | <entry> | <entry> |
| 11228 | NET-3 networking toolkit (<ulink url="http://www.linuxfoundation.org/en/Net:Net-tools">net-tools</ulink>, IPv4 network configuration): <literal>ifconfig</literal>(8) etc. | NET-3 networking toolkit (<ulink url="http://www.linuxfoundation.org/en/Net:Net-tools">net-tools</ulink>, IPv4 network configuration): <literal>ifconfig</literal>(8) etc. |
| 11229 | </entry> | </entry> |
| 11230 | </row> | </row> |
| 11231 | <row> | <row> |
| 11232 | <entry> | <entry> |
| 11233 | <literal>inetutils-ping</literal> | <literal>inetutils-ping</literal> |
| 11234 | </entry> | </entry> |
| 11235 | <entry> | <entry> |
| 11236 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11237 | </entry> | </entry> |
| 11238 | <entry> | <entry> |
| 11239 | @-@psize1@-@ | @-@psize1@-@ |
| 11240 | </entry> | </entry> |
| 11241 | <entry> | <entry> |
| 11242 | test::net-tools | test::net-tools |
| 11243 | </entry> | </entry> |
| 11244 | <entry> | <entry> |
| 11245 | test network reachability of a remote host by <ulink url="http://en.wikipedia.org/wiki/Hostname">hostname</ulink> or <ulink url="http://en.wikipedia.org/wiki/IP_address">IP address</ulink> (legacy, GNU) | test network reachability of a remote host by <ulink url="http://en.wikipedia.org/wiki/Hostname">hostname</ulink> or <ulink url="http://en.wikipedia.org/wiki/IP_address">IP address</ulink> (legacy, GNU) |
| 11246 | </entry> | </entry> |
| 11247 | </row> | </row> |
| 11248 | <row> | <row> |
| 11249 | <entry> | <entry> |
| 11250 | <literal>arping</literal> | <literal>arping</literal> |
| 11251 | </entry> | </entry> |
| 11252 | <entry> | <entry> |
| 11253 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11254 | </entry> | </entry> |
| 11255 | <entry> | <entry> |
| 11256 | @-@psize1@-@ | @-@psize1@-@ |
| 11257 | </entry> | </entry> |
| 11258 | <entry> | <entry> |
| 11259 | , , | , , |
| 11260 | </entry> | </entry> |
| 11261 | <entry> | <entry> |
| 11262 | test network reachability of a remote host specified by the <ulink url="http://en.wikipedia.org/wiki/Address_Resolution_Protocol">ARP</ulink> address (legacy) | test network reachability of a remote host specified by the <ulink url="http://en.wikipedia.org/wiki/Address_Resolution_Protocol">ARP</ulink> address (legacy) |
| 11263 | </entry> | </entry> |
| 11264 | </row> | </row> |
| 11265 | <row> | <row> |
| 11266 | <entry> | <entry> |
| 11267 | <literal>traceroute</literal> | <literal>traceroute</literal> |
| 11268 | </entry> | </entry> |
| 11269 | <entry> | <entry> |
| 11270 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11271 | </entry> | </entry> |
| 11272 | <entry> | <entry> |
| 11273 | @-@psize1@-@ | @-@psize1@-@ |
| 11274 | </entry> | </entry> |
| 11275 | <entry> | <entry> |
| 11276 | , , | , , |
| 11277 | </entry> | </entry> |
| 11278 | <entry> | <entry> |
| 11279 | trace the network path to a remote host (legacy, console) | trace the network path to a remote host (legacy, console) |
| 11280 | </entry> | </entry> |
| 11281 | </row> | </row> |
| 11282 | <row> | <row> |
| 11283 | <entry> | <entry> |
| 11284 | <literal>dhcp3-client</literal> | <literal>dhcp3-client</literal> |
| 11285 | </entry> | </entry> |
| 11286 | <entry> | <entry> |
| 11287 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11288 | </entry> | </entry> |
| 11289 | <entry> | <entry> |
| 11290 | @-@psize1@-@ | @-@psize1@-@ |
| 11291 | </entry> | </entry> |
| 11292 | <entry> | <entry> |
| 11293 | config::low-level | config::low-level |
| 11294 | </entry> | </entry> |
| 11295 | <entry> | <entry> |
| 11296 | DHCP client | DHCP client |
| 11297 | </entry> | </entry> |
| 11298 | </row> | </row> |
| 11299 | <row> | <row> |
| 11300 | <entry> | <entry> |
| 11301 | <literal>wpasupplicant</literal> | <literal>wpasupplicant</literal> |
| 11302 | </entry> | </entry> |
| 11303 | <entry> | <entry> |
| 11304 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11305 | </entry> | </entry> |
| 11306 | <entry> | <entry> |
| 11307 | @-@psize1@-@ | @-@psize1@-@ |
| 11308 | </entry> | </entry> |
| 11309 | <entry> | <entry> |
| 11310 | , , | , , |
| 11311 | </entry> | </entry> |
| 11312 | <entry> | <entry> |
| 11313 | client support for WPA and WPA2 (IEEE 802.11i) | client support for WPA and WPA2 (IEEE 802.11i) |
| 11314 | </entry> | </entry> |
| 11315 | </row> | </row> |
| 11316 | <row> | <row> |
| 11317 | <entry> | <entry> |
| 11318 | <literal>wireless-tools</literal> | <literal>wireless-tools</literal> |
| 11319 | </entry> | </entry> |
| 11320 | <entry> | <entry> |
| 11321 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11322 | </entry> | </entry> |
| 11323 | <entry> | <entry> |
| 11324 | @-@psize1@-@ | @-@psize1@-@ |
| 11325 | </entry> | </entry> |
| 11326 | <entry> | <entry> |
| 11327 | , , | , , |
| 11328 | </entry> | </entry> |
| 11329 | <entry> | <entry> |
| 11330 | tools for manipulating Linux Wireless Extensions | tools for manipulating Linux Wireless Extensions |
| 11331 | </entry> | </entry> |
| 11332 | </row> | </row> |
| 11333 | <row> | <row> |
| 11334 | <entry> | <entry> |
| 11335 | <literal>ppp</literal> | <literal>ppp</literal> |
| 11336 | </entry> | </entry> |
| 11337 | <entry> | <entry> |
| 11338 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11339 | </entry> | </entry> |
| 11340 | <entry> | <entry> |
| 11341 | @-@psize1@-@ | @-@psize1@-@ |
| 11342 | </entry> | </entry> |
| 11343 | <entry> | <entry> |
| 11344 | , , | , , |
| 11345 | </entry> | </entry> |
| 11346 | <entry> | <entry> |
| 11347 | PPP/PPPoE connection with <literal>chat</literal> | PPP/PPPoE connection with <literal>chat</literal> |
| 11348 | </entry> | </entry> |
| 11349 | </row> | </row> |
| 11350 | <row> | <row> |
| 11351 | <entry> | <entry> |
| 11352 | <literal>pppoeconf</literal> | <literal>pppoeconf</literal> |
| 11353 | </entry> | </entry> |
| 11354 | <entry> | <entry> |
| 11355 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11356 | </entry> | </entry> |
| 11357 | <entry> | <entry> |
| 11358 | @-@psize1@-@ | @-@psize1@-@ |
| 11359 | </entry> | </entry> |
| 11360 | <entry> | <entry> |
| 11361 | config::helper | config::helper |
| 11362 | </entry> | </entry> |
| 11363 | <entry> | <entry> |
| 11364 | configuration helper for PPPoE connection | configuration helper for PPPoE connection |
| 11365 | </entry> | </entry> |
| 11366 | </row> | </row> |
| 11367 | <row> | <row> |
| 11368 | <entry> | <entry> |
| 11369 | <literal>pppconfig</literal> | <literal>pppconfig</literal> |
| 11370 | </entry> | </entry> |
| 11371 | <entry> | <entry> |
| 11372 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11373 | </entry> | </entry> |
| 11374 | <entry> | <entry> |
| 11375 | @-@psize1@-@ | @-@psize1@-@ |
| 11376 | </entry> | </entry> |
| 11377 | <entry> | <entry> |
| 11378 | , , | , , |
| 11379 | </entry> | </entry> |
| 11380 | <entry> | <entry> |
| 11381 | configuration helper for PPP connection with <literal>chat</literal> | configuration helper for PPP connection with <literal>chat</literal> |
| 11382 | </entry> | </entry> |
| 11383 | </row> | </row> |
| 11384 | <row> | <row> |
| 11385 | <entry> | <entry> |
| 11386 | <literal>wvdial</literal> | <literal>wvdial</literal> |
| 11387 | </entry> | </entry> |
| 11388 | <entry> | <entry> |
| 11389 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11390 | </entry> | </entry> |
| 11391 | <entry> | <entry> |
| 11392 | @-@psize1@-@ | @-@psize1@-@ |
| 11393 | </entry> | </entry> |
| 11394 | <entry> | <entry> |
| 11395 | , , | , , |
| 11396 | </entry> | </entry> |
| 11397 | <entry> | <entry> |
| 11398 | configuration helper for PPP connection with <literal>wvdial</literal> and <literal>ppp</literal> | configuration helper for PPP connection with <literal>wvdial</literal> and <literal>ppp</literal> |
| 11399 | </entry> | </entry> |
| 11400 | </row> | </row> |
| 11401 | <row> | <row> |
| 11402 | <entry> | <entry> |
| 11403 | <literal>mtr-tiny</literal> | <literal>mtr-tiny</literal> |
| 11404 | </entry> | </entry> |
| 11405 | <entry> | <entry> |
| 11406 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11407 | </entry> | </entry> |
| 11408 | <entry> | <entry> |
| 11409 | @-@psize1@-@ | @-@psize1@-@ |
| 11410 | </entry> | </entry> |
| 11411 | <entry> | <entry> |
| 11412 | test::low-level | test::low-level |
| 11413 | </entry> | </entry> |
| 11414 | <entry> | <entry> |
| 11415 | trace the network path to a remote host (curses) | trace the network path to a remote host (curses) |
| 11416 | </entry> | </entry> |
| 11417 | </row> | </row> |
| 11418 | <row> | <row> |
| 11419 | <entry> | <entry> |
| 11420 | <literal>mtr</literal> | <literal>mtr</literal> |
| 11421 | </entry> | </entry> |
| 11422 | <entry> | <entry> |
| 11423 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11424 | </entry> | </entry> |
| 11425 | <entry> | <entry> |
| 11426 | @-@psize1@-@ | @-@psize1@-@ |
| 11427 | </entry> | </entry> |
| 11428 | <entry> | <entry> |
| 11429 | , , | , , |
| 11430 | </entry> | </entry> |
| 11431 | <entry> | <entry> |
| 11432 | trace the network path to a remote host (curses and GTK+) | trace the network path to a remote host (curses and GTK+) |
| 11433 | </entry> | </entry> |
| 11434 | </row> | </row> |
| 11435 | <row> | <row> |
| 11436 | <entry> | <entry> |
| 11437 | <literal>gnome-nettool</literal> | <literal>gnome-nettool</literal> |
| 11438 | </entry> | </entry> |
| 11439 | <entry> | <entry> |
| 11440 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11441 | </entry> | </entry> |
| 11442 | <entry> | <entry> |
| 11443 | @-@psize1@-@ | @-@psize1@-@ |
| 11444 | </entry> | </entry> |
| 11445 | <entry> | <entry> |
| 11446 | , , | , , |
| 11447 | </entry> | </entry> |
| 11448 | <entry> | <entry> |
| 11449 | tools for common network information operations (GNOME) | tools for common network information operations (GNOME) |
| 11450 | </entry> | </entry> |
| 11451 | </row> | </row> |
| 11452 | <row> | <row> |
| 11453 | <entry> | <entry> |
| 11454 | <literal>nmap</literal> | <literal>nmap</literal> |
| 11455 | </entry> | </entry> |
| 11456 | <entry> | <entry> |
| 11457 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11458 | </entry> | </entry> |
| 11459 | <entry> | <entry> |
| 11460 | @-@psize1@-@ | @-@psize1@-@ |
| 11461 | </entry> | </entry> |
| 11462 | <entry> | <entry> |
| 11463 | , , | , , |
| 11464 | </entry> | </entry> |
| 11465 | <entry> | <entry> |
| 11466 | network mapper / port scanner (<ulink url="http://en.wikipedia.org/wiki/Nmap">Nmap</ulink>, console) | network mapper / port scanner (<ulink url="http://en.wikipedia.org/wiki/Nmap">Nmap</ulink>, console) |
| 11467 | </entry> | </entry> |
| 11468 | </row> | </row> |
| 11469 | <row> | <row> |
| 11470 | <entry> | <entry> |
| 11471 | <literal>zenmap</literal> | <literal>zenmap</literal> |
| 11472 | </entry> | </entry> |
| 11473 | <entry> | <entry> |
| 11474 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11475 | </entry> | </entry> |
| 11476 | <entry> | <entry> |
| 11477 | @-@psize1@-@ | @-@psize1@-@ |
| 11478 | </entry> | </entry> |
| 11479 | <entry> | <entry> |
| 11480 | , , | , , |
| 11481 | </entry> | </entry> |
| 11482 | <entry> | <entry> |
| 11483 | network mapper / port scanner (GTK+) | network mapper / port scanner (GTK+) |
| 11484 | </entry> | </entry> |
| 11485 | </row> | </row> |
| 11486 | <row> | <row> |
| 11487 | <entry> | <entry> |
| 11488 | <literal>knmap</literal> | <literal>knmap</literal> |
| 11489 | </entry> | </entry> |
| 11490 | <entry> | <entry> |
| 11491 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11492 | </entry> | </entry> |
| 11493 | <entry> | <entry> |
| 11494 | @-@psize1@-@ | @-@psize1@-@ |
| 11495 | </entry> | </entry> |
| 11496 | <entry> | <entry> |
| 11497 | , , | , , |
| 11498 | </entry> | </entry> |
| 11499 | <entry> | <entry> |
| 11500 | network mapper / port scanner (KDE) | network mapper / port scanner (KDE) |
| 11501 | </entry> | </entry> |
| 11502 | </row> | </row> |
| 11503 | <row> | <row> |
| 11504 | <entry> | <entry> |
| 11505 | <literal>tcpdump</literal> | <literal>tcpdump</literal> |
| 11506 | </entry> | </entry> |
| 11507 | <entry> | <entry> |
| 11508 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11509 | </entry> | </entry> |
| 11510 | <entry> | <entry> |
| 11511 | @-@psize1@-@ | @-@psize1@-@ |
| 11512 | </entry> | </entry> |
| 11513 | <entry> | <entry> |
| 11514 | , , | , , |
| 11515 | </entry> | </entry> |
| 11516 | <entry> | <entry> |
| 11517 | network traffic analyzer (<ulink url="http://en.wikipedia.org/wiki/Tcpdump">Tcpdump</ulink>, console) | network traffic analyzer (<ulink url="http://en.wikipedia.org/wiki/Tcpdump">Tcpdump</ulink>, console) |
| 11518 | </entry> | </entry> |
| 11519 | </row> | </row> |
| 11520 | <row> | <row> |
| 11521 | <entry> | <entry> |
| 11522 | <literal>wireshark</literal> | <literal>wireshark</literal> |
| 11523 | </entry> | </entry> |
| 11524 | <entry> | <entry> |
| 11525 | @-@popcon1@-@ | @-@popcon1@-@ |
| 11526 | </entry> | </entry> |
| 11527 | <entry> | <entry> |
| 11528 | @-@psize1@-@ | @-@psize1@-@ |
| 11529 | </entry> | </entry> |
| 11530 | <entry> | <entry> |
| 11531 | , , | , , |
| 11532 | </entry> | </entry> |
| 11533 | <entry> | <entry> |
| 11534 | network traffic analyzer (<ulink url="http://en.wikipedia.org/wiki/Wireshark">Wireshark</ulink>, GTK+) | network traffic analyzer (<ulink url="http://en.wikipedia.org/wiki/Wireshark">Wireshark</ulink>, GTK+) |
| 11535 | </entry> | </entry> |
| 11536 | </row> | </row> |
| 11537 | <row> | |
| 11538 | <entry> | |
| 11539 | <literal>tshark</literal> | |
| 11540 | </entry> | |
| 11541 | <entry> | |
| 11542 | @-@popcon1@-@ | |
| 11543 | </entry> | |
| 11544 | <entry> | |
| 11545 | @-@psize1@-@ | |
| 11546 | </entry> | |
| 11547 | <entry> | |
| 11548 | , , | |
| 11549 | </entry> | |
| 11550 | <entry> | |
| 11551 | network traffic analyzer (console) | |
| 11552 | </entry> | |
| 11553 | </row> | |
| 11554 | <row> | |
| 11555 | <entry> | |
| 11556 | <literal>nagios3</literal> | |
| 11557 | </entry> | |
| 11558 | <entry> | |
| 11559 | @-@popcon1@-@ | |
| 11560 | </entry> | |
| 11561 | <entry> | |
| 11562 | @-@psize1@-@ | |
| 11563 | </entry> | |
| 11564 | <entry> | |
| 11565 | , , | |
| 11566 | </entry> | |
| 11567 | <entry> | |
| 11568 | monitoring and management system for hosts, services and networks (<ulink url="http://en.wikipedia.org/wiki/Nagios">Nagios</ulink>) | |
| 11569 | </entry> | |
| 11570 | </row> | |
| 11571 | <row> | |
| 11572 | <entry> | |
| 11573 | <literal>tcptrace</literal> | |
| 11574 | </entry> | |
| 11575 | <entry> | |
| 11576 | @-@popcon1@-@ | |
| 11577 | </entry> | |
| 11578 | <entry> | |
| 11579 | @-@psize1@-@ | |
| 11580 | </entry> | |
| 11581 | <entry> | |
| 11582 | , , | |
| 11583 | </entry> | |
| 11584 | <entry> | |
| 11585 | produce a summarization of the connections from <literal>tcpdump</literal> output | |
| 11586 | </entry> | |
| 11587 | </row> | |
| 11588 | <row> | |
| 11589 | <entry> | |
| 11590 | <literal>snort</literal> | |
| 11591 | </entry> | |
| 11592 | <entry> | |
| 11593 | @-@popcon1@-@ | |
| 11594 | </entry> | |
| 11595 | <entry> | |
| 11596 | @-@psize1@-@ | |
| 11597 | </entry> | |
| 11598 | <entry> | |
| 11599 | , , | |
| 11600 | </entry> | |
| 11601 | <entry> | |
| 11602 | flexible network intrusion detection system (<ulink url="http://en.wikipedia.org/wiki/Snort_(software)">Snort</ulink>) | |
| 11603 | </entry> | |
| 11604 | </row> | |
| 11605 | <row> | |
| 11606 | <entry> | |
| 11607 | <literal>ntop</literal> | |
| 11608 | </entry> | |
| 11609 | <entry> | |
| 11610 | @-@popcon1@-@ | |
| 11611 | </entry> | |
| 11612 | <entry> | |
| 11613 | @-@psize1@-@ | |
| 11614 | </entry> | |
| 11615 | <entry> | |
| 11616 | , , | |
| 11617 | </entry> | |
| 11618 | <entry> | |
| 11619 | display network usage in web browser | |
| 11620 | </entry> | |
| 11621 | </row> | |
| 11622 | <row> | |
| 11623 | <entry> | |
| 11624 | <literal>dnsutils</literal> | |
| 11625 | </entry> | |
| 11626 | <entry> | |
| 11627 | @-@popcon1@-@ | |
| 11628 | </entry> | |
| 11629 | <entry> | |
| 11630 | @-@psize1@-@ | |
| 11631 | </entry> | |
| 11632 | <entry> | |
| 11633 | , , | |
| 11634 | </entry> | |
| 11635 | <entry> | |
| 11636 | network clients provided with <ulink url="http://en.wikipedia.org/wiki/BIND">BIND</ulink>: <literal>nslookup</literal>(8), <literal>nsupdate</literal>(8), <literal>dig</literal>(8) | |
| 11637 | </entry> | |
| 11638 | </row> | |
| 11639 | <row> | |
| 11640 | <entry> | |
| 11641 | <literal>dlint</literal> | |
| 11642 | </entry> | |
| 11643 | <entry> | |
| 11644 | @-@popcon1@-@ | |
| 11645 | </entry> | |
| 11646 | <entry> | |
| 11647 | @-@psize1@-@ | |
| 11648 | </entry> | |
| 11649 | <entry> | |
| 11650 | , , | |
| 11651 | </entry> | |
| 11652 | <entry> | |
| 11653 | check <ulink url="http://en.wikipedia.org/wiki/Domain_Name_System">DNS</ulink> zone information using nameserver lookups | |
| 11654 | </entry> | |
| 11655 | </row> | |
| 11656 | <row> | |
| 11657 | <entry> | |
| 11658 | <literal>dnstracer</literal> | |
| 11659 | </entry> | |
| 11660 | <entry> | |
| 11661 | @-@popcon1@-@ | |
| 11662 | </entry> | |
| 11663 | <entry> | |
| 11664 | @-@psize1@-@ | |
| 11665 | </entry> | |
| 11666 | <entry> | |
| 11667 | , , | |
| 11668 | </entry> | |
| 11669 | <entry> | |
| 11670 | trace a chain of <ulink url="http://en.wikipedia.org/wiki/Domain_Name_System">DNS</ulink> servers to the source | |
| 11671 | </entry> | |
| 11672 | </row> | |
| 11673 | </tbody> | |
| 11674 | </tgroup> | |
| 11675 | </table> | |
| 11676 | <section id="_the_domain_name"> | |
| 11677 | <title>The domain name</title> | |
| 11678 | <simpara>The naming for the domain name is a tricky one for the normal PC workstation users. The PC workstation may be mobile one hopping around the network or located behind the NAT firewall inaccessible from the Internet. For such case, you may not want the domain name to be a valid domain name to avoid name collision.</simpara> | |
| 11679 | <tip> | |
| 11680 | <simpara>When you use an invalid domain name, you need to spoof the domain name used by some programs such as MTA for their proper operation. See <xref linkend="_the_mail_address_configuration"/>.</simpara> | |
| 11681 | </tip> | |
| 11682 | <simpara>According to <ulink url="http://tools.ietf.org/html/rfc2606">rfc2606</ulink>, "<literal>invalid</literal>" seems to be a choice for the <ulink url="http://en.wikipedia.org/wiki/Top-level_domain">top level domain (TLD)</ulink> to construct domain names that are sure to be invalid from the Internet.</simpara> | |
| 11683 | <simpara>The <ulink url="http://en.wikipedia.org/wiki/MDNS">mDNS</ulink> network discovery protocol (<ulink url="http://en.wikipedia.org/wiki/Bonjour_(software)">Apple Bonjour / Apple Rendezvous</ulink>, Avahi on Debian) uses <ulink url="http://en.wikipedia.org/wiki/.local">"local"</ulink> as the <ulink url="http://en.wikipedia.org/wiki/Pseudo-top-level_domain">pseudo-top-level domain</ulink>. <ulink url="http://support.microsoft.com/kb/296250">Microsoft also seems to promote "local" for the TLD of local area network</ulink>.</simpara> | |
| 11684 | <warning> | |
| 11685 | <simpara>If the DNS service on your LAN uses "<literal>local</literal>" as TLD for your LAN, it may interfare with mDNS.</simpara> | |
| 11686 | </warning> | |
| 11687 | <simpara>Other popular choices for the invalid TLD seem to be "<literal>localdomain</literal>", "<literal>lan</literal>", "<literal>localnet</literal>", or "<literal>home</literal>" according to my incoming mail analysis.</simpara> | |
| 11688 | </section> | |
| 11689 | <section id="_the_hostname_resolution"> | |
| 11690 | <title>The hostname resolution</title> | |
| 11691 | <simpara>The hostname resolution is currently supported by the <ulink url="http://en.wikipedia.org/wiki/Name_Service_Switch">NSS (Name Service Switch)</ulink> mechanism too. The flow of this resolution is the following.</simpara> | |
| 11692 | <orderedlist> | |
| 11693 | <listitem> | |
| 11694 | <simpara> | |
| 11695 | The "<literal>/etc/nsswitch.conf</literal>" file with stanza like "<literal>hosts: files dns</literal>" dictates the hostname resolution order. (This replaces the old functionality of the "<literal>order</literal>" stanza in "<literal>/etc/host.conf</literal>".) | |
| 11696 | </simpara> | |
| 11697 | </listitem> | |
| 11698 | <listitem> | |
| 11699 | <simpara> | |
| 11700 | The <literal>files</literal> method is invoked first. If the hostname is found in the "<literal>/etc/hosts</literal>" file, it returns all valid addresses for it and exits. (The "<literal>/etc/host.conf</literal>" file contains "<literal>multi on</literal>".) | |
| 11701 | </simpara> | |
| 11702 | </listitem> | |
| 11703 | <listitem> | |
| 11704 | <simpara> | |
| 11705 | The <literal>dns</literal> method is invoked. If the hostname is found by the query to the <ulink url="http://en.wikipedia.org/wiki/Domain_Name_System">Internet Domain Name System (DNS)</ulink> identified by the "<literal>/etc/resolv.conf</literal>" file, it returns all valid addresses for it and exits. | |
| 11706 | </simpara> | |
| 11707 | </listitem> | |
| 11708 | </orderedlist> | |
| 11709 | <simpara>The "<literal>/etc/hosts</literal>" file <ulink url="http://bugs.debian.org/316099">associates IP addresses with hostnames</ulink> contains the following.</simpara> | |
| 11710 | <screen>127.0.0.1 localhost | |
| 11711 | 127.0.1.1 <host_name>.<domain_name> <host_name> | |
| 11712 | ||
| 11713 | # The following lines are desirable for IPv6 capable hosts | |
| 11714 | ::1 ip6-localhost ip6-loopback | |
| 11715 | fe00::0 ip6-localnet | |
| 11716 | ff00::0 ip6-mcastprefix | |
| 11717 | ff02::1 ip6-allnodes | |
| 11718 | ff02::2 ip6-allrouters | |
| 11719 | ff02::3 ip6-allhosts</screen> | |
| 11720 | <simpara>Here the <host_name> in this matches the own hostname defined in the "<literal>/etc/hostname</literal>". The <domain_name> in this is the <ulink url="http://en.wikipedia.org/wiki/FQDN">fully qualified domain name (FQDN)</ulink> of this host.</simpara> | |
| 11721 | <tip> | |
| 11722 | <simpara>For <domain_name> of the mobile PC without the real FQDN, you may pick a bogus and safe TLD such as "<literal>lan</literal>", "<literal>home</literal>", "<literal>invalid</literal>", "<literal>localdomain</literal>", "<literal>none</literal>", and "<literal>private</literal>".</simpara> | |
| 11723 | </tip> | |
| 11724 | <simpara>The "<literal>/etc/resolv.conf</literal>" is a static file if the <literal>resolvconf</literal> package is not installed. If installed, it is a symbolic link. Either way, it contains information that initialize the resolver routines. If the DNS is found at IP="<literal>192.168.11.1</literal>", it contains the following.</simpara> | |
| 11725 | <screen>nameserver 192.168.11.1</screen> | |
| 11726 | <simpara>The <literal>resolvconf</literal> package makes this "<literal>/etc/resolv.conf</literal>" into a symbolic link and manages its contents by the hook scripts automatically.</simpara> | |
| 11727 | <simpara>The hostname resolution via Multicast DNS (using <ulink url="http://en.wikipedia.org/wiki/Zeroconf">Zeroconf</ulink>, aka <ulink url="http://en.wikipedia.org/wiki/Bonjour_(software)">Apple Bonjour / Apple Rendezvous</ulink>) which effectively allows name resolution by common Unix/Linux programs in the ad-hoc mDNS domain "<literal>local</literal>", can be provided by installing the <literal>libnss-mdns</literal> package. The "<literal>/etc/nsswitch.conf</literal>" file should have stanza like "<literal>hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4</literal>" to enable this functionality.</simpara> | |
| 11728 | </section> | |
| 11729 | <section id="_the_network_interface_name"> | |
| 11730 | <title>The network interface name</title> | |
| 11731 | <simpara>The network interface name, e.g. <literal>eth0</literal>, is assigned to each hardware in the Linux kernel through the user space configuration mechanism, <literal>udev</literal> (see <xref linkend="_the_udev_system"/>), as it is found. The network interface name is referred as <emphasis role="strong">physical interface</emphasis> in <literal>ifup</literal>(8) and <literal>interfaces</literal>(5).</simpara> | |
| 11732 | <simpara>In order to ensure each network interface to be named persistently for each reboot using <ulink url="http://en.wikipedia.org/wiki/MAC_address">MAC address</ulink> etc., there is a record file "<literal>/etc/udev/rules.d/70-persistent-net.rules</literal>". This file is automatically generated by the "<literal>/lib/udev/write_net_rules</literal>" program, probably run by the "<literal>persistent-net-generator.rules</literal>" rules file. You can modify it to change naming rule.</simpara> | |
| 11733 | <caution> | |
| 11734 | <simpara>When editing the "<literal>/etc/udev/rules.d/70-persistent-net.rules</literal>" rules file, you must keep each rule on a single line and the <ulink url="http://en.wikipedia.org/wiki/MAC_address">MAC address</ulink> in lowercase. For example, if you find "Firewire device" and "PCI device" in this file, you probably want to name "PCI device" as <literal>eth0</literal> and configure it as the primary network interface.</simpara> | |
| 11735 | </caution> | |
| 11736 | </section> | |
| 11737 | <section id="_the_network_address_range_for_the_lan"> | |
| 11738 | <title>The network address range for the LAN</title> | |
| 11739 | <simpara>Let us be reminded of the IPv4 32 bit address ranges in each class reserved for use on the <ulink url="http://en.wikipedia.org/wiki/Local_area_network">local area networks (LANs)</ulink> by <ulink url="http://tools.ietf.org/html/rfc1918">rfc1918</ulink>. These addresses are guaranteed not to conflict with any addresses on the Internet proper.</simpara> | |
| 11740 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | |
| 11741 | <title>List of network address ranges</title> | |
| 11742 | <tgroup cols="5"> | |
| 11743 | <colspec colwidth="32pt" align="left"/> | |
| 11744 | <colspec colwidth="157pt" align="left"/> | |
| 11745 | <colspec colwidth="76pt" align="left"/> | |
| 11746 | <colspec colwidth="81pt" align="left"/> | |
| 11747 | <colspec colwidth="70pt" align="left"/> | |
| 11748 | <thead> | |
| 11749 | <row> | <row> |
| 11750 | <entry> | <entry> |
| 11751 | <literal>tshark</literal> | Class |
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| , , | ||
| </entry> | ||
| <entry> | ||
| network traffic analyzer (console) | ||
| 11752 | </entry> | </entry> |
| </row> | ||
| <row> | ||
| <entry> | ||
| <literal>nagios3</literal> | ||
| </entry> | ||
| 11753 | <entry> | <entry> |
| 11754 | @-@popcon1@-@ | network addresses |
| 11755 | </entry> | </entry> |
| 11756 | <entry> | <entry> |
| 11757 | @-@psize1@-@ | net mask |
| 11758 | </entry> | </entry> |
| 11759 | <entry> | <entry> |
| 11760 | , , | net mask /bits |
| 11761 | </entry> | </entry> |
| 11762 | <entry> | <entry> |
| 11763 | monitoring and management system for hosts, services and networks (<ulink url="http://en.wikipedia.org/wiki/Nagios">Nagios</ulink>) | # of subnets |
| 11764 | </entry> | </entry> |
| 11765 | </row> | </row> |
| 11766 | </thead> | |
| 11767 | <tbody> | |
| 11768 | <row> | <row> |
| 11769 | <entry> | <entry> |
| 11770 | <literal>tcptrace</literal> | A |
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| , , | ||
| </entry> | ||
| <entry> | ||
| produce a summarization of the connections from <literal>tcpdump</literal> output | ||
| 11771 | </entry> | </entry> |
| </row> | ||
| <row> | ||
| 11772 | <entry> | <entry> |
| 11773 | <literal>snort</literal> | 10.x.x.x |
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| 11774 | </entry> | </entry> |
| 11775 | <entry> | <entry> |
| 11776 | @-@psize1@-@ | 255.0.0.0 |
| 11777 | </entry> | </entry> |
| 11778 | <entry> | <entry> |
| 11779 | , , | /8 |
| 11780 | </entry> | </entry> |
| 11781 | <entry> | <entry> |
| 11782 | flexible network intrusion detection system (<ulink url="http://en.wikipedia.org/wiki/Snort_(software)">Snort</ulink>) | 1 |
| 11783 | </entry> | </entry> |
| 11784 | </row> | </row> |
| 11785 | <row> | <row> |
| 11786 | <entry> | <entry> |
| 11787 | <literal>ntop</literal> | B |
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| , , | ||
| </entry> | ||
| <entry> | ||
| display network usage in web browser | ||
| 11788 | </entry> | </entry> |
| </row> | ||
| <row> | ||
| <entry> | ||
| <literal>dnsutils</literal> | ||
| </entry> | ||
| 11789 | <entry> | <entry> |
| 11790 | @-@popcon1@-@ | 172.16.x.x — 172.31.x.x |
| 11791 | </entry> | </entry> |
| 11792 | <entry> | <entry> |
| 11793 | @-@psize1@-@ | 255.255.0.0 |
| 11794 | </entry> | </entry> |
| 11795 | <entry> | <entry> |
| 11796 | , , | /16 |
| 11797 | </entry> | </entry> |
| 11798 | <entry> | <entry> |
| 11799 | network clients provided with <ulink url="http://en.wikipedia.org/wiki/BIND">BIND</ulink>: <literal>nslookup</literal>(8), <literal>nsupdate</literal>(8), <literal>dig</literal>(8) | 16 |
| 11800 | </entry> | </entry> |
| 11801 | </row> | </row> |
| 11802 | <row> | <row> |
| 11803 | <entry> | <entry> |
| 11804 | <literal>dlint</literal> | C |
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| , , | ||
| </entry> | ||
| <entry> | ||
| check <ulink url="http://en.wikipedia.org/wiki/Domain_Name_System">DNS</ulink> zone information using nameserver lookups | ||
| 11805 | </entry> | </entry> |
| </row> | ||
| <row> | ||
| <entry> | ||
| <literal>dnstracer</literal> | ||
| </entry> | ||
| 11806 | <entry> | <entry> |
| 11807 | @-@popcon1@-@ | 192.168.0.x — 192.168.255.x |
| 11808 | </entry> | </entry> |
| 11809 | <entry> | <entry> |
| 11810 | @-@psize1@-@ | 255.255.255.0 |
| 11811 | </entry> | </entry> |
| 11812 | <entry> | <entry> |
| 11813 | , , | /24 |
| 11814 | </entry> | </entry> |
| 11815 | <entry> | <entry> |
| 11816 | trace a chain of <ulink url="http://en.wikipedia.org/wiki/Domain_Name_System">DNS</ulink> servers to the source | 256 |
| 11817 | </entry> | </entry> |
| 11818 | </row> | </row> |
| 11819 | </tbody> | </tbody> |
| 11820 | </tgroup> | </tgroup> |
| 11821 | </table> | </table> |
| 11822 | <note> | |
| 11823 | <simpara>If one of these addresses is assigned to a host, then that host must not access the Internet directly but must access it through a gateway that acts as a proxy for individual services or else does <ulink url="http://en.wikipedia.org/wiki/Network_address_translation">Network Address Translation(NAT)</ulink>. The broadband router usually performs NAT for the consumer LAN environment.</simpara> | |
| 11824 | </note> | |
| 11825 | </section> | </section> |
| 11826 | <section id="_the_network_device_support"> | <section id="_the_network_device_support"> |
| 11827 | <title>The network device support</title> | <title>The network device support</title> |
| 11828 | <simpara>Although most hardware devices are supported by the Debian system, there are some network devices which require <ulink url="http://www.debian.org/social_contract#guidelines">DSFG</ulink> non-free external hardware drivers to support them. Please see <xref linkend="_non_free_hardware_drivers"/>.</simpara> | <simpara>Although most hardware devices are supported by the Debian system, there are some network devices which require <ulink url="http://www.debian.org/social_contract#guidelines">DSFG</ulink> non-free external hardware drivers to support them. Please see <xref linkend="_non_free_hardware_drivers"/>.</simpara> |
| 11829 | </section> | </section> |
| 11830 | </section> | </section> |
| 11831 | <section id="_the_network_connection_method"> | <section id="_the_modern_network_configuration_for_desktop"> |
| 11832 | <title>The network connection method</title> | <title>The modern network configuration for desktop</title> |
| 11833 | <simpara>Debian <literal>squeeze</literal> systems can manage the network connection via management <ulink url="http://en.wikipedia.org/wiki/Daemon_(computer_software)">daemon</ulink> software such as <ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager (NM)</ulink> (network-manager and associated packages) or <ulink url="http://en.wikipedia.org/wiki/Wicd_(Linux_Network_Manager)">Wicd</ulink> (wicd and associated packages).</simpara> | |
| 11834 | <itemizedlist> | |
| 11835 | <listitem> | |
| 11836 | <simpara> | |
| 11837 | They come with their own <ulink url="http://en.wikipedia.org/wiki/Graphical_user_interface">GUI</ulink> and command-line programs as their user interfaces. | |
| 11838 | </simpara> | |
| 11839 | </listitem> | |
| 11840 | <listitem> | |
| 11841 | <simpara> | |
| 11842 | They come with their own <ulink url="http://en.wikipedia.org/wiki/Daemon_(computer_software)">daemon</ulink> as their backend system. | |
| 11843 | </simpara> | |
| 11844 | </listitem> | |
| 11845 | <listitem> | |
| 11846 | <simpara> | |
| 11847 | They allow easy connection of your system to the Internet. | |
| 11848 | </simpara> | |
| 11849 | </listitem> | |
| 11850 | <listitem> | |
| 11851 | <simpara> | |
| 11852 | They allow easy management of wired and wireless network configuration. | |
| 11853 | </simpara> | |
| 11854 | </listitem> | |
| 11855 | <listitem> | |
| 11856 | <simpara> | |
| 11857 | They allow us to configure network independent of the legacy <literal>ifupdown</literal> package. | |
| 11858 | </simpara> | |
| 11859 | </listitem> | |
| 11860 | </itemizedlist> | |
| 11861 | <note> | |
| 11862 | <simpara>Do not use these automatic network configuration tools for servers. These are aimed primarily for mobile desktop users on laptops.</simpara> | |
| 11863 | </note> | |
| 11864 | <simpara>These modern network configuration tools need to be configured properly to avoid conflicting with the legacy <literal>ifupdown</literal> package and its configuration file "<literal>/etc/network/interfaces</literal>".</simpara> | |
| 11865 | <note> | |
| 11866 | <simpara>Some features of these automatic network configuration tools may suffer regressions. These are not as robust as the legacy <literal>ifupdown</literal> package. Check <ulink url="http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=network-manager">BTS of network-manager</ulink> and <ulink url="http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=wicd">BTS of wicd</ulink> for current issues and limitations.</simpara> | |
| 11867 | </note> | |
| 11868 | <section id="_gui_network_configuration_tools"> | |
| 11869 | <title>GUI network configuration tools</title> | |
| 11870 | <simpara>Official documentations for NM and Wicd on Debian are provided in "<literal>/usr/share/doc/network-manager/README.Debian</literal>" and "<literal>/usr/share/doc/wicd/README.Debian</literal>", respectively.</simpara> | |
| 11871 | <simpara>Essentially, the network configuration for desktop is done as follows.</simpara> | |
| 11872 | <orderedlist> | |
| 11873 | <listitem> | |
| 11874 | <simpara> | |
| 11875 | Make desktop user, e.g. <literal>foo</literal>, belong to group "<literal>netdev</literal>" by the following (Alternatively, do it automatically via <ulink url="http://en.wikipedia.org/wiki/D-Bus">D-bus</ulink> under modern desktop environments such as GNOME and KDE). | |
| 11876 | </simpara> | |
| 11877 | <screen>$ sudo adduser foo netdev</screen> | |
| 11878 | </listitem> | |
| 11879 | <listitem> | |
| 11880 | <simpara> | |
| 11881 | Keep configuration of "<literal>/etc/network/interfaces</literal>" as simple as the the following. | |
| 11882 | </simpara> | |
| 11883 | <screen>auto lo | |
| 11884 | iface lo inet loopback</screen> | |
| 11885 | </listitem> | |
| 11886 | <listitem> | |
| 11887 | <simpara> | |
| 11888 | Restart NM or Wicd by the following. | |
| 11889 | </simpara> | |
| 11890 | <screen>$ sudo /etc/init.d/network-manager restart</screen> | |
| 11891 | <screen>$ sudo /etc/init.d/wicd restart</screen> | |
| 11892 | </listitem> | |
| 11893 | <listitem> | |
| 11894 | <simpara> | |
| 11895 | Configure your network via GUI. | |
| 11896 | </simpara> | |
| 11897 | </listitem> | |
| 11898 | </orderedlist> | |
| 11899 | <note> | |
| 11900 | <simpara>Only interfaces which are <emphasis role="strong">not</emphasis> listed in "<literal>/etc/network/interfaces</literal>" or which have been configured with "<literal>auto …</literal>" or "<literal>allow-hotplug …</literal>" and "<literal>iface … inet dhcp</literal>" (with no other options) are managed by NM to avoid conflict with <literal>ifupdown</literal>.</simpara> | |
| 11901 | </note> | |
| 11902 | <tip> | |
| 11903 | <simpara>If you wish to extend network configuration capabilities of NM, please seek appropriate plug-in modules and supplemental packages such as <literal>network-manager-openconnect</literal>, <literal>network-manager-openvpn-gnome</literal>, <literal>network-manager-pptp-gnome</literal>, <literal>mobile-broadband-provider-info</literal>, <literal>gnome-bluetooth</literal>, etc. The same goes for those of Wicd.</simpara> | |
| 11904 | </tip> | |
| 11905 | <caution> | |
| 11906 | <simpara>These automatic network configuration tools may not be compatible with esoteric configurations of legacy <literal>ifupdown</literal> in "<literal>/etc/network/interfaces</literal>" such as ones in <xref linkend="_the_basic_network_configuration_with_ifupdown_legacy"/> and <xref linkend="_the_advanced_network_configuration_with_ifupdown_legacy"/>. Check <ulink url="http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=network-manager">BTS of network-manager</ulink> and <ulink url="http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=wicd">BTS of wicd</ulink> for current issues and limitations.</simpara> | |
| 11907 | </caution> | |
| 11908 | </section> | |
| 11909 | </section> | |
| 11910 | <section id="_the_legacy_network_connection_and_configuration"> | |
| 11911 | <title>The legacy network connection and configuration</title> | |
| 11912 | <simpara>When the method described in <xref linkend="_the_modern_network_configuration_for_desktop"/> does not suffice your needs, you should use the legacy network connection and configuration method which combines many simpler tools.</simpara> | |
| 11913 | <simpara>The legacy network connection is specific for each method (see <xref linkend="_the_network_connection_method_legacy"/>).</simpara> | |
| 11914 | <simpara>There are 2 types of programs for the low level network configuration on Linux (see <xref linkend="_iproute2_commands"/>).</simpara> | |
| 11915 | <itemizedlist> | |
| 11916 | <listitem> | |
| 11917 | <simpara> | |
| 11918 | Old <ulink url="http://www.linuxfoundation.org/en/Net:Net-tools">net-tools</ulink> programs (<literal>ifconfig</literal>(8), …) are from the Linux NET-3 networking system. Most of these are obsolete now. | |
| 11919 | </simpara> | |
| 11920 | </listitem> | |
| 11921 | <listitem> | |
| 11922 | <simpara> | |
| 11923 | New <ulink url="http://www.linuxfoundation.org/en/Net:Iproute2">Linux iproute2</ulink> programs (<literal>ip</literal>(8), …) are the current Linux networking system. | |
| 11924 | </simpara> | |
| 11925 | </listitem> | |
| 11926 | </itemizedlist> | |
| 11927 | <simpara>Although these low level networking programs are powerful, they are cumbersome to use. So high level network configuration systems have been created.</simpara> | |
| 11928 | <simpara>The <literal>ifupdown</literal> package is the de facto standard for such high level network configuration system on Debian. It enables you to bring up network simply by doing , e.g., "<literal>ifup eth0</literal>". Its configuration file is the "<literal>/etc/network/interfaces</literal>" file and its typical contents are the following.</simpara> | |
| 11929 | <screen>auto lo | |
| 11930 | iface lo inet loopback | |
| 11931 | ||
| 11932 | auto eth0 | |
| 11933 | iface eth0 inet dhcp</screen> | |
| 11934 | <simpara>The <literal>resolvconf</literal> package was created to supplement <literal>ifupdown</literal> system to support smooth reconfiguration of network address resolution by automating rewrite of resolver configuration file "<literal>/etc/resolv.conf</literal>". Now, most Debian network configuration packages are modified to use <literal>resolvconf</literal> package (see "<literal>/usr/share/doc/resolvconf/README.Debian</literal>").</simpara> | |
| 11935 | <simpara>Helper scripts to the <literal>ifupdown</literal> package such as <literal>ifplugd</literal>, <literal>guessnet</literal>, <literal>ifscheme</literal>, etc. are created to automate dynamic configuration of network environment such as one for mobile PC on wired LAN. These are relatively difficult to use but play well with existing <literal>ifupdown</literal> system.</simpara> | |
| 11936 | <simpara>These are explained in detail with examples (see <xref linkend="_the_basic_network_configuration_with_ifupdown_legacy"/> and <xref linkend="_the_advanced_network_configuration_with_ifupdown_legacy"/>).</simpara> | |
| 11937 | </section> | |
| 11938 | <section id="_the_network_connection_method_legacy"> | |
| 11939 | <title>The network connection method (legacy)</title> | |
| 11940 | <caution> | <caution> |
| 11941 | <simpara>The connection test method described in this section are meant for testing purposes. It is not meant to be used directly for the daily network connection. You are advised to use them via the <literal>ifupdown</literal> package (see <xref linkend="_the_basic_network_configuration_with_ifupdown"/>).</simpara> | <simpara>The connection test method described in this section are meant for testing purposes. It is not meant to be used directly for the daily network connection. You are advised to use them via NM, Wicd, or the <literal>ifupdown</literal> package (see <xref linkend="_the_modern_network_configuration_for_desktop"/> and <xref linkend="_the_basic_network_configuration_with_ifupdown_legacy"/>).</simpara> |
| 11942 | </caution> | </caution> |
| 11943 | <simpara>The typical network connection method and connection path for a PC can be summarized as the following.</simpara> | <simpara>The typical network connection method and connection path for a PC can be summarized as the following.</simpara> |
| 11944 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| # | Line 12226 $ sudo /sbin/ifconfig eth0 down</screen> | Line 12447 $ sudo /sbin/ifconfig eth0 down</screen> |
| 12447 | <simpara>See "<literal>/usr/share/doc/pppoeconf/README.Debian</literal>".</simpara> | <simpara>See "<literal>/usr/share/doc/pppoeconf/README.Debian</literal>".</simpara> |
| 12448 | </section> | </section> |
| 12449 | </section> | </section> |
| 12450 | <section id="_the_basic_network_configuration_with_ifupdown"> | <section id="_the_basic_network_configuration_with_ifupdown_legacy"> |
| 12451 | <title>The basic network configuration with ifupdown</title> | <title>The basic network configuration with ifupdown (legacy)</title> |
| 12452 | <simpara>The traditional <ulink url="http://en.wikipedia.org/wiki/Internet_Protocol_Suite">TCP/IP network</ulink> setup on Debian system uses <literal>ifupdown</literal> package as a high level tool. There are 2 typical cases.</simpara> | |
| 12453 | <itemizedlist> | |
| 12454 | <listitem> | |
| 12455 | <simpara> | |
| 12456 | For <emphasis role="strong">dynamic IP</emphasis> system such as mobile PCs, you should setup TCP/IP network <emphasis role="strong">with</emphasis> the <literal>resolvconf</literal> package and enable you to switch your network configuration easily (see <xref linkend="_the_network_interface_served_by_the_dhcp"/>). | |
| 12457 | </simpara> | |
| 12458 | </listitem> | |
| 12459 | <listitem> | |
| 12460 | <simpara> | |
| 12461 | For <emphasis role="strong">static IP</emphasis> system such as servers, you should setup TCP/IP network <emphasis role="strong">without</emphasis> the <literal>resolvconf</literal> package and keep your system simple (see <xref linkend="_the_network_interface_with_the_static_ip"/>). | |
| 12462 | </simpara> | |
| 12463 | </listitem> | |
| 12464 | </itemizedlist> | |
| 12465 | <simpara>These traditional setup methods are quite useful if you wish to set up advanced configuration (see <xref linkend="_the_basic_network_configuration_with_ifupdown_legacy"/>).</simpara> | |
| 12466 | <simpara>The <literal>ifupdown</literal> package provides the standardized framework for the high level network configuration in the Debian system. In this section, we learn the basic network configuration with <literal>ifupdown</literal> with simplified introduction and many typical examples.</simpara> | <simpara>The <literal>ifupdown</literal> package provides the standardized framework for the high level network configuration in the Debian system. In this section, we learn the basic network configuration with <literal>ifupdown</literal> with simplified introduction and many typical examples.</simpara> |
| 12467 | <section id="_the_command_syntax_simplified"> | <section id="_the_command_syntax_simplified"> |
| 12468 | <title>The command syntax simplified</title> | <title>The command syntax simplified</title> |
| # | Line 12637 Record results in the "<literal>/var/log | Line 12872 Record results in the "<literal>/var/log |
| 12872 | </tip> | </tip> |
| 12873 | </section> | </section> |
| 12874 | </section> | </section> |
| 12875 | <section id="_the_advanced_network_configuration_with_ifupdown"> | <section id="_the_advanced_network_configuration_with_ifupdown_legacy"> |
| 12876 | <title>The advanced network configuration with ifupdown</title> | <title>The advanced network configuration with ifupdown (legacy)</title> |
| 12877 | <simpara>The functionality of the <literal>ifupdown</literal> package can be improved beyond what was described in <xref linkend="_the_basic_network_configuration_with_ifupdown"/> with the advanced knowledge.</simpara> | <simpara>The functionality of the <literal>ifupdown</literal> package can be improved beyond what was described in <xref linkend="_the_basic_network_configuration_with_ifupdown_legacy"/> with the advanced knowledge.</simpara> |
| 12878 | <simpara>The functionalities described here are completely optional. I, being lazy and minimalist, rarely bother to use these.</simpara> | <simpara>The functionalities described here are completely optional. I, being lazy and minimalist, rarely bother to use these.</simpara> |
| 12879 | <caution> | <caution> |
| 12880 | <simpara>If you could not set up network connection by information in <xref linkend="_the_basic_network_configuration_with_ifupdown"/>, you make situation worse by using information below.</simpara> | <simpara>If you could not set up network connection by information in <xref linkend="_the_basic_network_configuration_with_ifupdown_legacy"/>, you make situation worse by using information below.</simpara> |
| 12881 | </caution> | </caution> |
| 12882 | <section id="_the_ifplugd_package"> | <section id="_the_ifplugd_package"> |
| 12883 | <title>The ifplugd package</title> | <title>The ifplugd package</title> |
| 12884 | <simpara>The <literal>ifplugd</literal> package is older automatic network configuration tool which can manage only Ethernet connections. This solves unplugged/replugged Ethernet cable issues for mobile PC etc. If you have <ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager</ulink> or <ulink url="http://en.wikipedia.org/wiki/Wicd_(Linux_Network_Manager)">Wicd</ulink> (see <xref linkend="_automatic_network_configuration"/>) installed, you do not need this package.</simpara> | <simpara>The <literal>ifplugd</literal> package is older automatic network configuration tool which can manage only Ethernet connections. This solves unplugged/replugged Ethernet cable issues for mobile PC etc. If you have <ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager</ulink> or <ulink url="http://en.wikipedia.org/wiki/Wicd_(Linux_Network_Manager)">Wicd</ulink> (see <xref linkend="_the_modern_network_configuration_for_desktop"/>) installed, you do not need this package.</simpara> |
| 12885 | <simpara>This package runs <ulink url="http://en.wikipedia.org/wiki/Daemon_(computer_software)">daemon</ulink> and replaces <emphasis role="strong">auto</emphasis> or <emphasis role="strong">allow-hotplug</emphasis> functionalities (see <xref linkend="list-of-stanzas-in-eni"/>) and starts interfaces upon their connection to the network.</simpara> | <simpara>This package runs <ulink url="http://en.wikipedia.org/wiki/Daemon_(computer_software)">daemon</ulink> and replaces <emphasis role="strong">auto</emphasis> or <emphasis role="strong">allow-hotplug</emphasis> functionalities (see <xref linkend="list-of-stanzas-in-eni"/>) and starts interfaces upon their connection to the network.</simpara> |
| 12886 | <simpara>Here is how to use the <literal>ifplugd</literal> package for the internal Ethernet port, e.g. <literal>eth0</literal>.</simpara> | <simpara>Here is how to use the <literal>ifplugd</literal> package for the internal Ethernet port, e.g. <literal>eth0</literal>.</simpara> |
| 12887 | <orderedlist> | <orderedlist> |
| # | Line 13095 Mapping choses the <emphasis role="stron | Line 13330 Mapping choses the <emphasis role="stron |
| 13330 | </note> | </note> |
| 13331 | </section> | </section> |
| 13332 | </section> | </section> |
| <section id="_the_network_configuration_for_desktop"> | ||
| <title>The network configuration for desktop</title> | ||
| <section id="_gui_network_configuration_tools"> | ||
| <title>GUI network configuration tools</title> | ||
| <simpara>The capability of default GUI network configuration tools for each desktop environments such as GNOME tends to be limited to basic configurations such as static IP or DHCP. They actually overwrite contents of "<literal>/etc/network/interfaces</literal>" file behind you. Please check how they change "<literal>/etc/network/interfaces</literal>" file by yourself.</simpara> | ||
| <caution> | ||
| <simpara>They may not understand complicated advanced configuration done manually in "<literal>/etc/network/interfaces</literal>" file.</simpara> | ||
| </caution> | ||
| </section> | ||
| <section id="_automatic_network_configuration"> | ||
| <title>Automatic network configuration</title> | ||
| <simpara>There are independent automatic network configuration tools, such as <ulink url="http://en.wikipedia.org/wiki/NetworkManager">NetworkManager (NM)</ulink> (<literal>network-manager</literal> and associated packages) and <ulink url="http://en.wikipedia.org/wiki/Wicd_(Linux_Network_Manager)">Wicd</ulink> (<literal>wicd</literal> package) which manage network connection via <ulink url="http://en.wikipedia.org/wiki/Daemon_(computer_software)">daemon</ulink> independent of the <literal>ifupdown</literal> package. They allow easy management of wireless connections. These come with its own nice GUI user interfaces.</simpara> | ||
| <warning> | ||
| <simpara>Do not use these automatic network configuration tools for servers. These are aimed primarily for mobile desktop users on laptops.</simpara> | ||
| </warning> | ||
| <warning> | ||
| <simpara>These automatic network configuration tools are moving targets and documentation here is likely to be incorrect for <literal>squeeze</literal>. So be warned.</simpara> | ||
| </warning> | ||
| <caution> | ||
| <simpara>These automatic network configuration tools may not be compatible with esoteric configurations of <literal>ifupdown</literal> in "<literal>/etc/network/interfaces</literal>" such as ones in <xref linkend="_the_basic_network_configuration_with_ifupdown"/> and <xref linkend="_the_advanced_network_configuration_with_ifupdown"/>. Having even "<literal>hostname</literal>" stanza for DHCP controlled interface as described in <xref linkend="_the_network_interface_served_by_the_dhcp"/> caused NM to ignore such interface in <literal>lenny</literal>. Check <ulink url="http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=network-manager">BTS of network-manager</ulink> and <ulink url="http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=wicd">BTS of wicd</ulink> for current issues and limitations.</simpara> | ||
| </caution> | ||
| <simpara>The configuration of NM is described in "<literal>/usr/share/doc/network-manager/README.Debian</literal>". Essentially this is as follows.</simpara> | ||
| <orderedlist> | ||
| <listitem> | ||
| <simpara> | ||
| Make desktop user, e.g. <literal>foo</literal>, belong to group "<literal>netdev</literal>" by the following. | ||
| </simpara> | ||
| <screen>$ sudo adduser foo netdev</screen> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| Keep configuration of "<literal>/etc/network/interfaces</literal>" as simple as the the following. | ||
| </simpara> | ||
| <screen>auto lo | ||
| iface lo inet loopback | ||
| auto eth0 | ||
| iface eth0 inet dhcp</screen> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| Restart NM by the following. | ||
| </simpara> | ||
| <screen>$ sudo /etc/init.d/network-manager restart</screen> | ||
| </listitem> | ||
| </orderedlist> | ||
| <note> | ||
| <simpara>Only interfaces which are <emphasis role="strong">not</emphasis> listed in "<literal>/etc/network/interfaces</literal>" or which have been configured with "<literal>auto …</literal>" or "<literal>allow-hotplug …</literal>" and "<literal>iface … inet dhcp</literal>" (with no other options) are managed by NM to avoid conflict with <literal>ifupdown</literal>.</simpara> | ||
| </note> | ||
| <simpara>The configuration of <ulink url="http://en.wikipedia.org/wiki/Wicd_(Linux_Network_Manager)">Wicd</ulink> is described in "<literal>/usr/share/doc/wicd/README.Debian</literal>". Essentially, this is as follows.</simpara> | ||
| <orderedlist> | ||
| <listitem> | ||
| <simpara> | ||
| Make configuration in "<literal>/etc/network/interfaces</literal>" only as the following. | ||
| </simpara> | ||
| <screen>auto lo | ||
| iface lo inet loopback</screen> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| Restart Wicd as the following. | ||
| </simpara> | ||
| <screen>$ sudo /etc/init.d/wicd restart</screen> | ||
| </listitem> | ||
| </orderedlist> | ||
| </section> | ||
| </section> | ||
| 13333 | <section id="_the_low_level_network_configuration"> | <section id="_the_low_level_network_configuration"> |
| 13334 | <title>The low level network configuration</title> | <title>The low level network configuration</title> |
| 13335 | <section id="_iproute2_commands"> | <section id="_iproute2_commands"> |
| # | Line 14084 MSS = MTU - 60 for IPv6 | Line 14252 MSS = MTU - 60 for IPv6 |
| 14252 | </simpara> | </simpara> |
| 14253 | </listitem> | </listitem> |
| 14254 | </itemizedlist> | </itemizedlist> |
| 14255 | <simpara>Debian offers many free browser plugin packages in the main component which can handle not only <ulink url="http://en.wikipedia.org/wiki/Java_(software_platform)">Java (software platform)</ulink> and <ulink url="http://en.wikipedia.org/wiki/Adobe_Flash">Flash</ulink> but also <ulink url="http://en.wikipedia.org/wiki/MPEG-1">MPEG</ulink>, <ulink url="http://en.wikipedia.org/wiki/MPEG-2">MPEG2</ulink>, <ulink url="http://en.wikipedia.org/wiki/MPEG-4">MPEG4</ulink>, <ulink url="http://en.wikipedia.org/wiki/DivX">DivX</ulink>, <ulink url="http://en.wikipedia.org/wiki/Windows_Media_Video">Windows Media Video (.wmv)</ulink>, <ulink url="http://en.wikipedia.org/wiki/QuickTime">QuickTime (.mov)</ulink>, <ulink url="http://en.wikipedia.org/wiki/MP3">MP3 (.mp3)</ulink>, <ulink url="http://en.wikipedia.org/wiki/Vorbis">Ogg/Vorbis</ulink> files, DVDs, VCDs, etc. Debian also offers helper programs to install non-free browser plugin packages as contrib or non-free components.</simpara> | <simpara>Debian offers many free browser plugin packages in the main archive area which can handle not only <ulink url="http://en.wikipedia.org/wiki/Java_(software_platform)">Java (software platform)</ulink> and <ulink url="http://en.wikipedia.org/wiki/Adobe_Flash">Flash</ulink> but also <ulink url="http://en.wikipedia.org/wiki/MPEG-1">MPEG</ulink>, <ulink url="http://en.wikipedia.org/wiki/MPEG-2">MPEG2</ulink>, <ulink url="http://en.wikipedia.org/wiki/MPEG-4">MPEG4</ulink>, <ulink url="http://en.wikipedia.org/wiki/DivX">DivX</ulink>, <ulink url="http://en.wikipedia.org/wiki/Windows_Media_Video">Windows Media Video (.wmv)</ulink>, <ulink url="http://en.wikipedia.org/wiki/QuickTime">QuickTime (.mov)</ulink>, <ulink url="http://en.wikipedia.org/wiki/MP3">MP3 (.mp3)</ulink>, <ulink url="http://en.wikipedia.org/wiki/Vorbis">Ogg/Vorbis</ulink> files, DVDs, VCDs, etc. Debian also offers helper programs to install non-free browser plugin packages as contrib or non-free archive area.</simpara> |
| 14256 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| 14257 | <title>List of browser plugin packages</title> | <title>List of browser plugin packages</title> |
| 14258 | <tgroup cols="5"> | <tgroup cols="5"> |
| # | Line 14105 MSS = MTU - 60 for IPv6 | Line 14273 MSS = MTU - 60 for IPv6 |
| 14273 | size | size |
| 14274 | </entry> | </entry> |
| 14275 | <entry> | <entry> |
| 14276 | component | area |
| 14277 | </entry> | </entry> |
| 14278 | <entry> | <entry> |
| 14279 | description | description |
| # | Line 14149 MSS = MTU - 60 for IPv6 | Line 14317 MSS = MTU - 60 for IPv6 |
| 14317 | </row> | </row> |
| 14318 | <row> | <row> |
| 14319 | <entry> | <entry> |
| <literal>swfdec-mozilla</literal> | ||
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| main | ||
| </entry> | ||
| <entry> | ||
| Flash plugin based on libswfdec | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry> | ||
| 14320 | <literal>mozilla-plugin-gnash</literal> | <literal>mozilla-plugin-gnash</literal> |
| 14321 | </entry> | </entry> |
| 14322 | <entry> | <entry> |
| # | Line 14285 MSS = MTU - 60 for IPv6 | Line 14436 MSS = MTU - 60 for IPv6 |
| 14436 | <caution> | <caution> |
| 14437 | <simpara>If you are to set up the mail server to exchange mail directly with the Internet, you should be better than reading this elementary document.</simpara> | <simpara>If you are to set up the mail server to exchange mail directly with the Internet, you should be better than reading this elementary document.</simpara> |
| 14438 | </caution> | </caution> |
| 14439 | <note> | |
| 14440 | <simpara>The following configuration examples are only valid for the typical mobile workstation on consumer grade Internet connections.</simpara> | |
| 14441 | </note> | |
| 14442 | <section id="_modern_mail_service_basics"> | <section id="_modern_mail_service_basics"> |
| 14443 | <title>Modern mail service basics</title> | <title>Modern mail service basics</title> |
| 14444 | <simpara>In order to contain spam (unwanted and unsolicited e-mail) problems, many ISPs which provide consumer grade Internet connection are implementing counter measures.</simpara> | <simpara>In order to contain spam (unwanted and unsolicited email) problems, many ISPs which provide consumer grade Internet connections are implementing counter measures.</simpara> |
| 14445 | <itemizedlist> | <itemizedlist> |
| 14446 | <listitem> | <listitem> |
| 14447 | <simpara> | <simpara> |
| # | Line 14326 The incoming mail is accessible at the T | Line 14480 The incoming mail is accessible at the T |
| 14480 | <section id="_the_mail_configuration_strategy_for_workstation"> | <section id="_the_mail_configuration_strategy_for_workstation"> |
| 14481 | <title>The mail configuration strategy for workstation</title> | <title>The mail configuration strategy for workstation</title> |
| 14482 | <simpara>The most simple mail configuration is that the mail is sent to the ISP's smarthost and received from ISP's POP3 server by the MUA (see <xref linkend="_mail_user_agent_mua"/>) itself. This type of configuration is popular with full featured GUI based MUA such as <literal>icedove</literal>(1), <literal>evolution</literal>(1), etc. If you need to filter mail by their types, you use MUA's filtering function. For this case, the local MTA (see <xref linkend="_mail_transport_agent_mta"/>) need to do local delivery only.</simpara> | <simpara>The most simple mail configuration is that the mail is sent to the ISP's smarthost and received from ISP's POP3 server by the MUA (see <xref linkend="_mail_user_agent_mua"/>) itself. This type of configuration is popular with full featured GUI based MUA such as <literal>icedove</literal>(1), <literal>evolution</literal>(1), etc. If you need to filter mail by their types, you use MUA's filtering function. For this case, the local MTA (see <xref linkend="_mail_transport_agent_mta"/>) need to do local delivery only.</simpara> |
| 14483 | <simpara>The alternative mail configuration is that the mail is sent via local MTA to the ISP's smarthost and received from ISP's POP3 by the mail retriever (see <xref linkend="_the_remote_mail_retrieval_and_forward_utility"/>) to the local mailbox. If you need to filter mail by their types, you use MDA with filter (see <xref linkend="_mail_delivery_agent_mda_with_filter"/>) to filter mail into separate mailboxes. This type of configuration is popular with simple console based MUA such as <literal>mutt</literal>(1), <literal>gnus</literal>(1), etc., although this is possible with any MUAs (see <xref linkend="_mail_user_agent_mua"/>). For this case, the local MTA (see <xref linkend="_mail_transport_agent_mta"/>) need to do both smarthost delivery and local delivery.</simpara> | <simpara>The alternative mail configuration is that the mail is sent via local MTA to the ISP's smarthost and received from ISP's POP3 by the mail retriever (see <xref linkend="_the_remote_mail_retrieval_and_forward_utility"/>) to the local mailbox. If you need to filter mail by their types, you use MDA with filter (see <xref linkend="_mail_delivery_agent_mda_with_filter"/>) to filter mail into separate mailboxes. This type of configuration is popular with simple console based MUA such as <literal>mutt</literal>(1), <literal>gnus</literal>(1), etc., although this is possible with any MUAs (see <xref linkend="_mail_user_agent_mua"/>). For this case, the local MTA (see <xref linkend="_mail_transport_agent_mta"/>) need to do both smarthost delivery and local delivery. Since mobile workstation does not have valid FQDN, you must configure the local MTA to hide and spoof the real local mail name in outgoing mail to avoid mail delivery errors (see <xref linkend="_the_mail_address_configuration"/>).</simpara> |
| 14484 | <tip> | |
| 14485 | <simpara>You may wish to configure MUA/MDA to use <ulink url="http://en.wikipedia.org/wiki/Maildir">Maildir</ulink> for storing email messages somewhere under your home directory.</simpara> | |
| 14486 | </tip> | |
| 14487 | </section> | </section> |
| 14488 | </section> | </section> |
| 14489 | <section id="_mail_transport_agent_mta"> | <section id="_mail_transport_agent_mta"> |
| # | Line 14687 The incoming mail is accessible at the T | Line 14844 The incoming mail is accessible at the T |
| 14844 | <title>The configuration of exim4</title> | <title>The configuration of exim4</title> |
| 14845 | <simpara>For the Internet mail via smarthost, you (re)configure <literal>exim4-*</literal> packages as the following.</simpara> | <simpara>For the Internet mail via smarthost, you (re)configure <literal>exim4-*</literal> packages as the following.</simpara> |
| 14846 | <screen>$ sudo /etc/init.d/exim4 stop | <screen>$ sudo /etc/init.d/exim4 stop |
| 14847 | $ sudo dpkg-reconfigure exim4-conf</screen> | $ sudo dpkg-reconfigure exim4-config</screen> |
| 14848 | <simpara>Chose "mail sent by smarthost; received via SMTP or fetchmail".</simpara> | <simpara>Select "mail sent by smarthost; received via SMTP or fetchmail" for "General type of mail configuration".</simpara> |
| 14849 | <simpara>Set "System mail name:" to its default as the FQDN (see <xref linkend="_the_hostname_resolution"/>).</simpara> | |
| 14850 | <simpara>Set "IP-addresses to listen on for incoming SMTP connections:" to its default as "127.0.0.1 ; ::1".</simpara> | |
| 14851 | <simpara>Unset contents of "Other destinations for which mail is accepted:".</simpara> | |
| 14852 | <simpara>Unset contents of "Machines to relay mail for:".</simpara> | |
| 14853 | <simpara>Set "IP address or host name of the outgoing smarthost:" to "smtp.hostname.dom:587".</simpara> | <simpara>Set "IP address or host name of the outgoing smarthost:" to "smtp.hostname.dom:587".</simpara> |
| 14854 | <simpara>Select "<No>" for "Hide local mail name in outgoing mail?". (Use "<literal>/etc/email-addresses</literal>" as in <xref linkend="_the_mail_address_configuration"/>, instead.)</simpara> | |
| 14855 | <simpara>Reply to "Keep number of DNS-queries minimal (Dial-on-Demand)?" as one of the following.</simpara> | <simpara>Reply to "Keep number of DNS-queries minimal (Dial-on-Demand)?" as one of the following.</simpara> |
| 14856 | <itemizedlist> | <itemizedlist> |
| 14857 | <listitem> | <listitem> |
| # | Line 14703 $ sudo dpkg-reconfigure exim4-conf</scre | Line 14865 $ sudo dpkg-reconfigure exim4-conf</scre |
| 14865 | </simpara> | </simpara> |
| 14866 | </listitem> | </listitem> |
| 14867 | </itemizedlist> | </itemizedlist> |
| 14868 | <simpara>Create password entries for the smarthost by editing "<literal> /etc/exim4/passwd.client</literal>"</simpara> | <simpara>Set "Delivery method for local mail:" to "mbox format in /var/mail/".</simpara> |
| 14869 | <simpara>Select "<Yes>" for "Split configuration into small files?:".</simpara> | |
| 14870 | <simpara>Create password entries for the smarthost by editing "<literal>/etc/exim4/passwd.client</literal>".</simpara> | |
| 14871 | <screen>$ sudo vim /etc/exim4/passwd.client | <screen>$ sudo vim /etc/exim4/passwd.client |
| 14872 | ... | ... |
| 14873 | $ cat /etc/exim4/passwd.client | $ cat /etc/exim4/passwd.client |
| # | Line 14728 smtp99.hostname.dom has address 123.234. | Line 14892 smtp99.hostname.dom has address 123.234. |
| 14892 | <simpara>Local customization file "<literal>/etc/exim4/exim4.conf.localmacros</literal>" may be created to set MACROs. For example, <ulink url="http://www.yahoo.com/">Yahoo</ulink>'s mail service is said to require "<literal>MAIN_TLS_ENABLE = true</literal>" and "<literal>AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = yes</literal>" in it.</simpara> | <simpara>Local customization file "<literal>/etc/exim4/exim4.conf.localmacros</literal>" may be created to set MACROs. For example, <ulink url="http://www.yahoo.com/">Yahoo</ulink>'s mail service is said to require "<literal>MAIN_TLS_ENABLE = true</literal>" and "<literal>AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = yes</literal>" in it.</simpara> |
| 14893 | </tip> | </tip> |
| 14894 | <tip> | <tip> |
| 14895 | <simpara>If you are looking for a light weight MTA that respects "<literal>/etc/aliases</literal>" for your laptop PC, you should consider to configure <literal>exim4</literal>(8) with "<literal>QUEUERUNNER='nodaemon'</literal>" etc. in "<literal>/etc/default/exim4</literal>".</simpara> | <simpara>If you are looking for a light weight MTA that respects "<literal>/etc/aliases</literal>" for your laptop PC, you should consider to configure <literal>exim4</literal>(8) with "<literal>QUEUERUNNER='queueonly'</literal>", "<literal>QUEUERUNNER='nodaemon'</literal>", etc. in "<literal>/etc/default/exim4</literal>".</simpara> |
| 14896 | </tip> | </tip> |
| 14897 | </section> | </section> |
| 14898 | <section id="_the_configuration_of_postfix_with_sasl"> | <section id="_the_configuration_of_postfix_with_sasl"> |
| # | Line 14878 $ sudo postmap hush:/etc/postfix/sasl_pa | Line 15042 $ sudo postmap hush:/etc/postfix/sasl_pa |
| 15042 | <tip> | <tip> |
| 15043 | <simpara>The contents of "<literal>/etc/mailname</literal>" is used by many non-MTA programs for their default behavior. For <literal>mutt</literal>, set "<literal>hostname</literal>" and "<literal>from</literal>" variables in <literal>~/muttrc</literal> file to override the <emphasis role="strong">mailname</emphasis> value. For programs in the <literal>devscripts</literal> package, such as <literal>bts</literal>(1) and <literal>dch</literal>(1), export environment variables "<literal>$DEBFULLNAME</literal>" and "<literal>$DEBEMAIL</literal>" to override it.</simpara> | <simpara>The contents of "<literal>/etc/mailname</literal>" is used by many non-MTA programs for their default behavior. For <literal>mutt</literal>, set "<literal>hostname</literal>" and "<literal>from</literal>" variables in <literal>~/muttrc</literal> file to override the <emphasis role="strong">mailname</emphasis> value. For programs in the <literal>devscripts</literal> package, such as <literal>bts</literal>(1) and <literal>dch</literal>(1), export environment variables "<literal>$DEBFULLNAME</literal>" and "<literal>$DEBEMAIL</literal>" to override it.</simpara> |
| 15044 | </tip> | </tip> |
| 15045 | <tip> | |
| 15046 | <simpara>The <literal>popularity-contest</literal> package normally send mail from root account with FQDN. You need to set <literal>MAILFROM</literal> in <literal>/etc/popularity-contest.conf</literal> as described in the <literal>/usr/share/popularity-contest/default.conf</literal> file. Otherwise, your mail will be rejected by the smarthost SMTP server. Although this is tedious, this approach is safer than rewriting the source address for all mails from root by MTA and should be used for other daemons and cron scripts.</simpara> | |
| 15047 | </tip> | |
| 15048 | <simpara>When setting the <emphasis role="strong">mailname</emphasis> to "<literal>hostname -f</literal>", the spoofing of the source mail address via MTA can be realized by the following.</simpara> | <simpara>When setting the <emphasis role="strong">mailname</emphasis> to "<literal>hostname -f</literal>", the spoofing of the source mail address via MTA can be realized by the following.</simpara> |
| 15049 | <itemizedlist> | <itemizedlist> |
| 15050 | <listitem> | <listitem> |
| # | Line 14895 $ sudo postmap hush:/etc/postfix/sasl_pa | Line 15062 $ sudo postmap hush:/etc/postfix/sasl_pa |
| 15062 | <screen># postmap hash:/etc/postfix/generic | <screen># postmap hash:/etc/postfix/generic |
| 15063 | # postconf -e 'smtp_generic_maps = hash:/etc/postfix/generic' | # postconf -e 'smtp_generic_maps = hash:/etc/postfix/generic' |
| 15064 | # postfix reload</screen> | # postfix reload</screen> |
| 15065 | <simpara>You check filters using the following.</simpara> | <simpara>You can test mail address configuration using the following.</simpara> |
| 15066 | <itemizedlist> | <itemizedlist> |
| 15067 | <listitem> | <listitem> |
| 15068 | <simpara><literal>exim</literal>(8) with <literal>-brw, -bf, -bF, -bV, …</literal> options | <simpara><literal>exim</literal>(8) with <literal>-brw, -bf, -bF, -bV, …</literal> options |
| # | Line 15143 $ sudo postmap hush:/etc/postfix/sasl_pa | Line 15310 $ sudo postmap hush:/etc/postfix/sasl_pa |
| 15310 | <section id="_basic_mua_8212_mutt"> | <section id="_basic_mua_8212_mutt"> |
| 15311 | <title>Basic MUA — Mutt</title> | <title>Basic MUA — Mutt</title> |
| 15312 | <simpara>Customize "<literal>~/.muttrc</literal>" as the following to use <literal>mutt</literal> as the mail user agent (MUA) in combination with <literal>vim</literal>.</simpara> | <simpara>Customize "<literal>~/.muttrc</literal>" as the following to use <literal>mutt</literal> as the mail user agent (MUA) in combination with <literal>vim</literal>.</simpara> |
| 15313 | <screen># use visual mode and "gq" to reformat quotes | <screen># |
| 15314 | set editor="vim -c 'set tw=72 et ft=mail'" | # User configuration file to override /etc/Muttrc |
| 15315 | # | # |
| 15316 | # header weeding taken from the manual (Sven's Draconian header weeding) | # spoof source mail address |
| 15317 | # | set use_from |
| 15318 | ignore * | set hostname=example.dom |
| 15319 | unignore from: date subject to cc | set from="Name Surname <username@example.dom>" |
| 15320 | unignore user-agent x-mailer | set signature="~/.signature" |
| 15321 | hdr_order from subject to cc date user-agent x-mailer | |
| 15322 | set hostname=spoof.example.org | # vim: "gq" to reformat quotes |
| 15323 | set from="First Last <username@example.org>" | set editor="vim -c 'set tw=72 et ft=mail'" |
| 15324 | ....</screen> | |
| 15325 | # "mutt" goes to Inbox, while "mutt -y" lists mailboxes | |
| 15326 | set mbox_type=Maildir # use qmail Maildir format for creating mbox | |
| 15327 | set mbox=~/Mail # keep all mail boxes in $HOME/Mail/ | |
| 15328 | set spoolfile=+Inbox # mail delivered to $HOME/Mail/Inbox | |
| 15329 | set record=+Outbox # save fcc mail to $HOME/Mail/Outbox | |
| 15330 | set postponed=+Postponed # keep postponed in $HOME/Mail/postponed | |
| 15331 | set move=no # do not move Inbox items to mbox | |
| 15332 | set quit=ask-yes # do not quit by "q" only | |
| 15333 | set delete=yes # always delete w/o asking while exiting | |
| 15334 | set fcc_clear # store fcc as non encrypted | |
| 15335 | ||
| 15336 | # Mailboxes in Maildir (automatic update) | |
| 15337 | mailboxes `cd ~/Mail; /bin/ls -1|sed -e 's/^/+/' | tr "\n" " "` | |
| 15338 | unmailboxes Maillog *.ev-summary | |
| 15339 | ||
| 15340 | ## Default | |
| 15341 | #set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s" | |
| 15342 | ## Thread index with senders (collapse) | |
| 15343 | set index_format="%4C %Z %{%b %d} %-15.15n %?M?(#%03M)&(%4l)? %s" | |
| 15344 | ||
| 15345 | ## Default | |
| 15346 | #set folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" | |
| 15347 | ## just folder names | |
| 15348 | set folder_format="%2C %t %N %f"</screen> | |
| 15349 | <simpara>Add the following to "<literal>/etc/mailcap</literal>" or "<literal>~/.mailcap</literal>" to display HTML mail and MS Word attachments inline.</simpara> | <simpara>Add the following to "<literal>/etc/mailcap</literal>" or "<literal>~/.mailcap</literal>" to display HTML mail and MS Word attachments inline.</simpara> |
| 15350 | <screen>text/html; lynx -force_html %s; needsterminal; | <screen>text/html; lynx -force_html %s; needsterminal; |
| 15351 | application/msword; /usr/bin/antiword '%s'; copiousoutput; description="Microsoft Word Text"; nametemplate=%s.doc</screen> | application/msword; /usr/bin/antiword '%s'; copiousoutput; description="Microsoft Word Text"; nametemplate=%s.doc</screen> |
| 15352 | <tip> | |
| 15353 | <simpara>Mutt can be used as the <ulink url="http://en.wikipedia.org/wiki/Internet_Message_Access_Protocol">IMAP</ulink> client and the mailbox format converter. You can tag messages with "<literal>t</literal>", "<literal>T</literal>", etc. These tagged messages can be copied with "<literal>;C</literal>" between different mailboxes and deleted with "<literal>;d</literal>" in one action.</simpara> | |
| 15354 | </tip> | |
| 15355 | </section> | </section> |
| 15356 | </section> | </section> |
| 15357 | <section id="_the_remote_mail_retrieval_and_forward_utility"> | <section id="_the_remote_mail_retrieval_and_forward_utility"> |
| # | Line 15252 application/msword; /usr/bin/antiword '% | Line 15446 application/msword; /usr/bin/antiword '% |
| 15446 | <simpara>Create "<literal>/usr/local/bin/getmails</literal>" as the following.</simpara> | <simpara>Create "<literal>/usr/local/bin/getmails</literal>" as the following.</simpara> |
| 15447 | <screen>#!/bin/sh | <screen>#!/bin/sh |
| 15448 | set -e | set -e |
| 15449 | if [ -f $HOME/.getmail/running ]; then | |
| 15450 | echo "getmail is already running ... (if not, remove $HOME/.getmail/running)" >&2 | |
| 15451 | pgrep -l "getmai[l]" | |
| 15452 | exit 1 | |
| 15453 | else | |
| 15454 | echo "getmail has not been running ... " >&2 | |
| 15455 | fi | |
| 15456 | if [ -f $HOME/.getmail/stop ]; then | |
| 15457 | echo "do not run getmail ... (if not, remove $HOME/.getmail/stop)" >&2 | |
| 15458 | exit | |
| 15459 | fi | |
| 15460 | if [ "x$1" = "x-l" ]; then | |
| 15461 | exit | |
| 15462 | fi | |
| 15463 | rcfiles="/usr/bin/getmail" | rcfiles="/usr/bin/getmail" |
| 15464 | for file in $HOME/.getmail/config/* ; do | for file in $HOME/.getmail/config/* ; do |
| 15465 | rcfiles="$rcfiles --rcfile $file" | rcfiles="$rcfiles --rcfile $file" |
| 15466 | done | done |
| 15467 | exec $rcfiles $@</screen> | date -u > $HOME/.getmail/running |
| 15468 | eval "$rcfiles $@" | |
| 15469 | rm $HOME/.getmail/running</screen> | |
| 15470 | <simpara>Configure it as the following.</simpara> | <simpara>Configure it as the following.</simpara> |
| 15471 | <screen>$ sudo chmod 755 /usr/local/bin/getmails | <screen>$ sudo chmod 755 /usr/local/bin/getmails |
| 15472 | $ mkdir -m 0700 $HOME/.getmail | $ mkdir -m 0700 $HOME/.getmail |
| # | Line 15368 message_log = ~/.getmail/log/pop3_name.l | Line 15578 message_log = ~/.getmail/log/pop3_name.l |
| 15578 | <section id="_maildrop_configuration"> | <section id="_maildrop_configuration"> |
| 15579 | <title>maildrop configuration</title> | <title>maildrop configuration</title> |
| 15580 | <simpara><literal>maildrop</literal>(1) configuration is described in <ulink url="http://www.courier-mta.org/maildrop/maildropfilter.html">maildropfilter documentation</ulink>. Here is a configuration example for "<literal>$HOME/.mailfilter</literal>".</simpara> | <simpara><literal>maildrop</literal>(1) configuration is described in <ulink url="http://www.courier-mta.org/maildrop/maildropfilter.html">maildropfilter documentation</ulink>. Here is a configuration example for "<literal>$HOME/.mailfilter</literal>".</simpara> |
| 15581 | <screen>logfile $HOME/.maildroplog | <screen># Local configuration |
| 15582 | # clearly bad looking mails: drop them into X-trash and exit | MAILROOT="$HOME/Mail" |
| 15583 | if ( /^X-Advertisement/ ||\ | # set this to /etc/mailname contents |
| 15584 | /^Subject:.*BUSINESS PROPOSAL/ ||\ | MAILHOST="example.dom" |
| 15585 | /^Subject:.*URGENT.*ASISSTANCE/ ||\ | logfile $HOME/.maildroplog |
| 15586 | /^Subject: *I NEED YOUR ASSISTANCE/ ) | |
| 15587 | to "$HOME/Maildir/X-trash/" | # rules are made to override the earlier value by the later one. |
| 15588 | ||
| 15589 | # Delivering mailinglist messages using automatically generated mailbox | # mailing list mails ? |
| 15590 | if ( /^Precedence:.*list/ || /^Precedence:.*bulk/ ) | if ( /^Precedence:.*list/:h || /^Precedence:.*bulk/:h ) |
| 15591 | { | |
| 15592 | # rules for mailing list mails | |
| 15593 | # default mailbox for mails from mailing list | |
| 15594 | MAILBOX="Inbox-list" | |
| 15595 | # default mailbox for mails from debian.org | |
| 15596 | if ( /^(Sender|Resent-From|Resent-Sender): .*debian.org/:h ) | |
| 15597 | { | |
| 15598 | MAILBOX="service.debian.org" | |
| 15599 | } | |
| 15600 | # default mailbox for mails from bugs.debian.org (BTS) | |
| 15601 | if ( /^(Sender|Resent-From|Resent-sender): .*@bugs.debian.org/:h ) | |
| 15602 | { | |
| 15603 | MAILBOX="bugs.debian.org" | |
| 15604 | } | |
| 15605 | # mailbox for each properly maintained mailing list with "List-Id: foo" or "List-Id: ...<foo.bar>" | |
| 15606 | if ( /^List-Id: ([^<]*<)?([^<>]*)>?/:h ) | |
| 15607 | { | |
| 15608 | MAILBOX="$MATCH2" | |
| 15609 | } | |
| 15610 | } | |
| 15611 | else | |
| 15612 | { | { |
| 15613 | if ( /^List-Id:[ <]*([^<>]*)[ >]*/) | # rules for non-mailing list mails |
| 15614 | # default incoming box | |
| 15615 | MAILBOX="Inbox-unusual" | |
| 15616 | # local mails | |
| 15617 | if ( /Envelope-to: .*@$MAILHOST/:h ) | |
| 15618 | { | |
| 15619 | MAILBOX="Inbox-local" | |
| 15620 | } | |
| 15621 | # html mails (99% spams) | |
| 15622 | if ( /DOCTYPE html/:b ||\ | |
| 15623 | /^Content-Type: text\/html/ ) | |
| 15624 | { | |
| 15625 | MAILBOX="Inbox-html" | |
| 15626 | } | |
| 15627 | # blacklist rule for spams | |
| 15628 | if ( /^X-Advertisement/:h ||\ | |
| 15629 | /^Subject:.*BUSINESS PROPOSAL/:h ||\ | |
| 15630 | /^Subject:.*URGENT.*ASISSTANCE/:h ||\ | |
| 15631 | /^Subject: *I NEED YOUR ASSISTANCE/:h ) | |
| 15632 | { | |
| 15633 | MAILBOX="Inbox-trash" | |
| 15634 | } | |
| 15635 | # whitelist rule for normal mails | |
| 15636 | if ( /^From: .*@debian.org/:h ||\ | |
| 15637 | /^(Sender|Resent-From|Resent-Sender): .*debian.org/:h ||\ | |
| 15638 | /^Subject: .*(debian|bug|PATCH)/:h ) | |
| 15639 | { | |
| 15640 | MAILBOX="Inbox" | |
| 15641 | } | |
| 15642 | # whiltelist rule for BTS related mails | |
| 15643 | if ( /^Subject: .*Bug#.*/:h ||\ | |
| 15644 | /^(To|Cc): .*@bugs.debian.org/:h ) | |
| 15645 | { | { |
| 15646 | MAILBOX="$MATCH1" | MAILBOX="bugs.debian.org" |
| 15647 | } | } |
| 15648 | else | # whitelist rule for getmails cron mails |
| 15649 | if ( /^Subject: Cron .*getmails/:h ) | |
| 15650 | { | { |
| 15651 | if ( /^X-Loop: *(.*)@(.*)/) | MAILBOX="Inbox-getmails" |
| { | ||
| MAILBOX="$MATCH1.$MATCH2" | ||
| } | ||
| else | ||
| { | ||
| if ( /Return-Path:.*\.debian\.org/ ) | ||
| { | ||
| MAILBOX="automatic.debian.org" | ||
| } | ||
| else | ||
| { | ||
| MAILBOX="unknown-list" | ||
| } | ||
| } | ||
| 15652 | } | } |
| `test -d $MAILROOT/$MAILBOX` | ||
| if ( $RETURNCODE == 1 ) | ||
| `maildirmake $MAILROOT/$MAILBOX` | ||
| to "$MAILROOT/$MAILBOX/" | ||
| 15653 | } | } |
| 15654 | to "$HOME/Maildir/Inbox/" | |
| 15655 | # check existance of $MAILBOX | |
| 15656 | `test -d $MAILROOT/$MAILBOX` | |
| 15657 | if ( $RETURNCODE == 1 ) | |
| 15658 | { | |
| 15659 | # create maildir mailbox for $MAILBOX | |
| 15660 | `maildirmake $MAILROOT/$MAILBOX` | |
| 15661 | } | |
| 15662 | # deliver to maildir $MAILBOX | |
| 15663 | to "$MAILROOT/$MAILBOX/" | |
| 15664 | exit</screen> | exit</screen> |
| 15665 | <warning> | <warning> |
| 15666 | <simpara>Unlike <literal>procmail</literal>, <literal>maildrop</literal> does not create missing maildir directories automatically. You must create them manually using <literal>maildirmake</literal>(1) in advance as in the example "<literal>$HOME/.mailfilter</literal>".</simpara> | <simpara>Unlike <literal>procmail</literal>, <literal>maildrop</literal> does not create missing maildir directories automatically. You must create them manually using <literal>maildirmake</literal>(1) in advance as in the example "<literal>$HOME/.mailfilter</literal>".</simpara> |
| # | Line 15414 exit</screen> | Line 15668 exit</screen> |
| 15668 | </section> | </section> |
| 15669 | <section id="_procmail_configuration"> | <section id="_procmail_configuration"> |
| 15670 | <title>procmail configuration</title> | <title>procmail configuration</title> |
| 15671 | <simpara>Here is an equivalent configuration with "<literal>$HOME/.procmailrc</literal>" for <literal>procmail</literal>(1).</simpara> | <simpara>Here is a similar configuration with "<literal>$HOME/.procmailrc</literal>" for <literal>procmail</literal>(1).</simpara> |
| 15672 | <screen>MAILDIR=$HOME/Maildir | <screen>MAILDIR=$HOME/Maildir |
| 15673 | DEFAULT=$MAILDIR/Inbox/ | DEFAULT=$MAILDIR/Inbox/ |
| 15674 | LOGFILE=$MAILDIR/Maillog | LOGFILE=$MAILDIR/Maillog |
| # | Line 16610 Identity added: /home/<username>/. | Line 16864 Identity added: /home/<username>/. |
| 16864 | </row> | </row> |
| 16865 | <row> | <row> |
| 16866 | <entry> | <entry> |
| 16867 | <literal>stunnel4</literal> | <literal>openssl</literal> |
| 16868 | </entry> | </entry> |
| 16869 | <entry> | <entry> |
| 16870 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 16622 Identity added: /home/<username>/. | Line 16876 Identity added: /home/<username>/. |
| 16876 | <ulink url="http://en.wikipedia.org/wiki/Transport_Layer_Security">SSL</ulink> | <ulink url="http://en.wikipedia.org/wiki/Transport_Layer_Security">SSL</ulink> |
| 16877 | </entry> | </entry> |
| 16878 | <entry> | <entry> |
| 16879 | Secure Socket Layer (SSL) binary and related cryptographic tools | |
| 16880 | </entry> | |
| 16881 | </row> | |
| 16882 | <row> | |
| 16883 | <entry> | |
| 16884 | <literal>stunnel4</literal> | |
| 16885 | </entry> | |
| 16886 | <entry> | |
| 16887 | @-@popcon1@-@ | |
| 16888 | </entry> | |
| 16889 | <entry> | |
| 16890 | @-@psize1@-@ | |
| 16891 | </entry> | |
| 16892 | <entry> | |
| 16893 | , , | |
| 16894 | </entry> | |
| 16895 | <entry> | |
| 16896 | universal SSL Wrapper | universal SSL Wrapper |
| 16897 | </entry> | </entry> |
| 16898 | </row> | </row> |
| # | Line 16867 Identity added: /home/<username>/. | Line 17138 Identity added: /home/<username>/. |
| 17138 | <section id="_the_diagnosis_of_the_system_daemons"> | <section id="_the_diagnosis_of_the_system_daemons"> |
| 17139 | <title>The diagnosis of the system daemons</title> | <title>The diagnosis of the system daemons</title> |
| 17140 | <simpara>The <literal>telnet</literal> program enables manual connection to the system daemons and its diagnosis.</simpara> | <simpara>The <literal>telnet</literal> program enables manual connection to the system daemons and its diagnosis.</simpara> |
| 17141 | <simpara>For example, try the following</simpara> | <simpara>For testing plain <ulink url="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP3</ulink> service, try the following</simpara> |
| 17142 | <screen>$ telnet mail.ispname.net pop3</screen> | <screen>$ telnet mail.ispname.net pop3</screen> |
| 17143 | <simpara>For testing the <ulink url="http://en.wikipedia.org/wiki/Transport_Layer_Security">TLS</ulink>/SSL enabled <ulink url="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP3</ulink> service by some ISPs, you need TLS/SSL enabled <literal>telnet</literal> client by the <literal>telnet-ssl</literal> or <literal>openssl</literal> packages.</simpara> | |
| 17144 | <screen>$ telnet -z ssl pop.gmail.com 995</screen> | |
| 17145 | <screen>$ openssl s_client -connect pop.gmail.com:995</screen> | |
| 17146 | <simpara>The following <ulink url="http://www.ietf.org/rfc.html">RFCs</ulink> provide required knowledge to each system daemon.</simpara> | <simpara>The following <ulink url="http://www.ietf.org/rfc.html">RFCs</ulink> provide required knowledge to each system daemon.</simpara> |
| 17147 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| 17148 | <title>List of popular RFCs</title> | <title>List of popular RFCs</title> |
| # | Line 16945 Identity added: /home/<username>/. | Line 17219 Identity added: /home/<username>/. |
| 17219 | </tgroup> | </tgroup> |
| 17220 | </table> | </table> |
| 17221 | <simpara>The port usage is described in "<literal>/etc/services</literal>".</simpara> | <simpara>The port usage is described in "<literal>/etc/services</literal>".</simpara> |
| <note> | ||
| <simpara>For testing <ulink url="http://en.wikipedia.org/wiki/Transport_Layer_Security">TLS</ulink>/SSL services such as <ulink url="http://en.wikipedia.org/wiki/Https">HTTPS</ulink>, you need TLS/SSL enabled <literal>telnet</literal> program.</simpara> | ||
| </note> | ||
| 17222 | </section> | </section> |
| 17223 | </chapter> | </chapter> |
| 17224 | <chapter id="_the_x_window_system"> | <chapter id="_the_x_window_system"> |
| # | Line 17122 Identity added: /home/<username>/. | Line 17393 Identity added: /home/<username>/. |
| 17393 | </row> | </row> |
| 17394 | <row> | <row> |
| 17395 | <entry> | <entry> |
| 17396 | <literal>kde-core</literal> | <literal>kde-standard</literal> |
| 17397 | </entry> | </entry> |
| 17398 | <entry> | <entry> |
| 17399 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 17645 Type=Application</screen> | Line 17916 Type=Application</screen> |
| 17916 | </section> | </section> |
| 17917 | <section id="_fonts_in_the_x_window"> | <section id="_fonts_in_the_x_window"> |
| 17918 | <title>Fonts in the X Window</title> | <title>Fonts in the X Window</title> |
| 17919 | <simpara>The font configuration on Debian system can be summarized with historical perspective as follows.</simpara> | <simpara><ulink url="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig 2.0</ulink> was created to provide a distribution independent library for configuring and customizing font access in 2002. Debian after <literal>squeeze</literal> uses <ulink url="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig 2.0</ulink> for its font configuration.</simpara> |
| <itemizedlist> | ||
| <listitem> | ||
| <simpara> | ||
| Each application used to require specific manual operation to configure installed fonts before <literal>woody</literal>. | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara><ulink url="http://packages.debian.org/sid/defoma">Debian Font Manager (defoma)</ulink> was created to automate this font configuration by providing a Debian specific glue layer in 2000. | ||
| </simpara> | ||
| <itemizedlist> | ||
| <listitem> | ||
| <simpara> | ||
| Each font package publishes application independent font data to defoma. | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| Each application package uses these data to configure each installed font via its package script. | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| For X server, the actual program to configure TrueType fonts and CID fonts (as well as CMaps) was packaged as <ulink url="http://packages.debian.org/sid/x-ttcidfont-conf">x-ttcidfont-conf</ulink>. | ||
| </simpara> | ||
| </listitem> | ||
| </itemizedlist> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara><ulink url="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig 2.0</ulink> was created to provide a distribution independent library for configuring and customizing font access in 2002. | ||
| </simpara> | ||
| <itemizedlist> | ||
| <listitem> | ||
| <simpara> | ||
| As of <literal>lenny</literal> release, almost all programs which access font data seem to use this system. | ||
| </simpara> | ||
| </listitem> | ||
| <listitem> | ||
| <simpara> | ||
| After <literal>squeeze</literal>, Debian solely uses <ulink url="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig 2.0</ulink> and drops <ulink url="http://packages.debian.org/sid/defoma">Debian Font Manager (defoma)</ulink>. | ||
| </simpara> | ||
| </listitem> | ||
| </itemizedlist> | ||
| </listitem> | ||
| </itemizedlist> | ||
| 17920 | <simpara>Font supports on X Window System can be summarized as follows.</simpara> | <simpara>Font supports on X Window System can be summarized as follows.</simpara> |
| 17921 | <itemizedlist> | <itemizedlist> |
| 17922 | <listitem> | <listitem> |
| # | Line 17835 The <ulink url="http://en.wikipedia.org/ | Line 18062 The <ulink url="http://en.wikipedia.org/ |
| 18062 | <entry><ulink url="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig</ulink>, a generic font configuration library — configuration data | <entry><ulink url="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig</ulink>, a generic font configuration library — configuration data |
| 18063 | </entry> | </entry> |
| 18064 | </row> | </row> |
| <row> | ||
| <entry> | ||
| <literal>defoma</literal> | ||
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| Debian Font Manager — automatic font configuration framework (lenny) | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry> | ||
| <literal>x-ttcidfont-conf</literal> | ||
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| TrueType and CID fonts configuration for X (with <ulink url="http://en.wikipedia.org/wiki/CJK_characters">CJK</ulink> support) | ||
| </entry> | ||
| </row> | ||
| 18065 | </tbody> | </tbody> |
| 18066 | </tgroup> | </tgroup> |
| 18067 | </table> | </table> |
| # | Line 17887 The <ulink url="http://en.wikipedia.org/ | Line 18086 The <ulink url="http://en.wikipedia.org/ |
| 18086 | <tip> | <tip> |
| 18087 | <simpara>"<ulink url="http://unifont.org/iuc27/html/ICUPresentation.html">The Penguin and Unicode</ulink>" is a good overview of modern X Window System. Other documentations at <ulink url="http://unifont.org/">http://unifont.org/</ulink> should provide good information on Unicode fonts, Unicode-enabled software, internationalization, and Unicode usability issues on <ulink url="http://en.wikipedia.org/wiki/Free_and_open_source_software">free/libre/open source (FLOSS)</ulink> operating systems.</simpara> | <simpara>"<ulink url="http://unifont.org/iuc27/html/ICUPresentation.html">The Penguin and Unicode</ulink>" is a good overview of modern X Window System. Other documentations at <ulink url="http://unifont.org/">http://unifont.org/</ulink> should provide good information on Unicode fonts, Unicode-enabled software, internationalization, and Unicode usability issues on <ulink url="http://en.wikipedia.org/wiki/Free_and_open_source_software">free/libre/open source (FLOSS)</ulink> operating systems.</simpara> |
| 18088 | </tip> | </tip> |
| <tip> | ||
| <simpara>You should rely on <ulink url="http://en.wikipedia.org/wiki/Fontconfig">fontconfig</ulink> infrastructure to configure fonts on the Debian system. Debian Font Manager (<literal>defoma</literal>(1)) is only useful for font installation and <ulink url="http://en.wikipedia.org/wiki/X_logical_font_description">X logical font description (XLFD)</ulink> data registration for lenny.</simpara> | ||
| </tip> | ||
| 18089 | <section id="_basic_fonts"> | <section id="_basic_fonts"> |
| 18090 | <title>Basic fonts</title> | <title>Basic fonts</title> |
| 18091 | <simpara>There are 2 major types of <ulink url="http://en.wikipedia.org/wiki/Computer_font">computer fonts</ulink>.</simpara> | <simpara>There are 2 major types of <ulink url="http://en.wikipedia.org/wiki/Computer_font">computer fonts</ulink>.</simpara> |
| # | Line 18750 JIS X 0208 double-byte characters (6879 | Line 18946 JIS X 0208 double-byte characters (6879 |
| 18946 | </row> | </row> |
| 18947 | <row> | <row> |
| 18948 | <entry> | <entry> |
| 18949 | <literal>kplato</literal> | <literal>kugar</literal> |
| 18950 | </entry> | </entry> |
| 18951 | <entry> | <entry> |
| 18952 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 18762 JIS X 0208 double-byte characters (6879 | Line 18958 JIS X 0208 double-byte characters (6879 |
| 18958 | KDE | KDE |
| 18959 | </entry> | </entry> |
| 18960 | <entry> | <entry> |
| 18961 | project management | business quality report generator |
| 18962 | </entry> | </entry> |
| 18963 | </row> | </row> |
| 18964 | <row> | <row> |
| # | Line 18801 JIS X 0208 double-byte characters (6879 | Line 18997 JIS X 0208 double-byte characters (6879 |
| 18997 | </row> | </row> |
| 18998 | <row> | <row> |
| 18999 | <entry> | <entry> |
| 19000 | <literal>kugar</literal> | <literal>kplato</literal> |
| 19001 | </entry> | </entry> |
| 19002 | <entry> | <entry> |
| 19003 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 18813 JIS X 0208 double-byte characters (6879 | Line 19009 JIS X 0208 double-byte characters (6879 |
| 19009 | KDE | KDE |
| 19010 | </entry> | </entry> |
| 19011 | <entry> | <entry> |
| 19012 | business quality report generator | project management |
| 19013 | </entry> | </entry> |
| 19014 | </row> | </row> |
| 19015 | </tbody> | </tbody> |
| # | Line 18870 JIS X 0208 double-byte characters (6879 | Line 19066 JIS X 0208 double-byte characters (6879 |
| 19066 | </row> | </row> |
| 19067 | <row> | <row> |
| 19068 | <entry> | <entry> |
| <literal>kpdf</literal> | ||
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| KDE3 | ||
| </entry> | ||
| <entry> | ||
| document(pdf) viewer | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry> | ||
| 19069 | <literal>okular</literal> | <literal>okular</literal> |
| 19070 | </entry> | </entry> |
| 19071 | <entry> | <entry> |
| # | Line 18896 JIS X 0208 double-byte characters (6879 | Line 19075 JIS X 0208 double-byte characters (6879 |
| 19075 | @-@psize1@-@ | @-@psize1@-@ |
| 19076 | </entry> | </entry> |
| 19077 | <entry> | <entry> |
| 19078 | KDE4 | KDE |
| 19079 | </entry> | </entry> |
| 19080 | <entry> | <entry> |
| 19081 | document(pdf) viewer | document(pdf) viewer |
| # | Line 19194 Localization (L10N): To make a software | Line 19373 Localization (L10N): To make a software |
| 19373 | </tbody> | </tbody> |
| 19374 | </tgroup> | </tgroup> |
| 19375 | </table> | </table> |
| 19376 | <simpara>This supports keyboard input for accented characters of many European languages with its dead-key function. For Asian languages, you need more complicated <ulink url="http://en.wikipedia.org/wiki/Input_method">input method</ulink> support such as SCIM discussed next.</simpara> | <simpara>This supports keyboard input for accented characters of many European languages with its dead-key function. For Asian languages, you need more complicated <ulink url="http://en.wikipedia.org/wiki/Input_method">input method</ulink> support such as <ulink url="http://en.wikipedia.org/wiki/Intelligent_Input_Bus">IBus</ulink> discussed next.</simpara> |
| 19377 | <section id="_the_input_method_support_with_scim"> | <section id="_the_input_method_support_with_ibus"> |
| 19378 | <title>The input method support with SCIM</title> | <title>The input method support with IBus</title> |
| 19379 | <simpara>Setup of multilingual input for the Debian system is simplified by using the <ulink url="http://en.wikipedia.org/wiki/Smart_Common_Input_Method">Smart Common Input Method (SCIM)</ulink> family of packages with the <literal>im-switch</literal> package. The list of SCIM packages are the following.</simpara> | <simpara>Setup of multilingual input for the Debian system is simplified by using the <ulink url="http://en.wikipedia.org/wiki/Intelligent_Input_Bus">IBus</ulink> family of packages with the <literal>im-config</literal> package. The list of IBus packages are the following.</simpara> |
| 19380 | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> | <table pgwide="0" frame="topbot" rowsep="1" colsep="1"> |
| 19381 | <title>List of input method supports with SCIM</title> | <title>List of input method supports with IBus</title> |
| 19382 | <tgroup cols="4"> | <tgroup cols="4"> |
| 19383 | <colspec colwidth="124pt" align="left"/> | <colspec colwidth="124pt" align="left"/> |
| 19384 | <colspec colwidth="76pt" align="left"/> | <colspec colwidth="76pt" align="left"/> |
| # | Line 19224 Localization (L10N): To make a software | Line 19403 Localization (L10N): To make a software |
| 19403 | <tbody> | <tbody> |
| 19404 | <row> | <row> |
| 19405 | <entry> | <entry> |
| 19406 | scim-anthy | ibus |
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| Japanese | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry> | ||
| scim-canna | ||
| 19407 | </entry> | </entry> |
| 19408 | <entry> | <entry> |
| 19409 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 19247 Localization (L10N): To make a software | Line 19412 Localization (L10N): To make a software |
| 19412 | @-@psize1@-@ | @-@psize1@-@ |
| 19413 | </entry> | </entry> |
| 19414 | <entry> | <entry> |
| 19415 | , , | input method framework using dbus |
| 19416 | </entry> | </entry> |
| 19417 | </row> | </row> |
| 19418 | <row> | <row> |
| 19419 | <entry> | <entry> |
| 19420 | scim-skk | ibus-anthy |
| 19421 | </entry> | </entry> |
| 19422 | <entry> | <entry> |
| 19423 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 19261 Localization (L10N): To make a software | Line 19426 Localization (L10N): To make a software |
| 19426 | @-@psize1@-@ | @-@psize1@-@ |
| 19427 | </entry> | </entry> |
| 19428 | <entry> | <entry> |
| 19429 | , , | Japanese |
| 19430 | </entry> | </entry> |
| 19431 | </row> | </row> |
| 19432 | <row> | <row> |
| 19433 | <entry> | <entry> |
| 19434 | scim-prime | ibus-skk |
| 19435 | </entry> | </entry> |
| 19436 | <entry> | <entry> |
| 19437 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 19280 Localization (L10N): To make a software | Line 19445 Localization (L10N): To make a software |
| 19445 | </row> | </row> |
| 19446 | <row> | <row> |
| 19447 | <entry> | <entry> |
| 19448 | scim-tables-ja | ibus-pinyin |
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| , , (not very useful) | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry> | ||
| scim-tables-zh | ||
| </entry> | ||
| <entry> | ||
| @-@popcon1@-@ | ||
| </entry> | ||
| <entry> | ||
| @-@psize1@-@ | ||
| </entry> | ||
| <entry> | ||
| Chinese (for zh_*) | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry> | ||
| scim-pinyin | ||
| 19449 | </entry> | </entry> |
| 19450 | <entry> | <entry> |
| 19451 | @-@popcon1@-@ | @-@popcon1@-@ |
| # | Line 19317 Localization (L10N): To make a software | Line 19454 Localization (L10N): To make a software |
| 19454 | @-@psize1@-@ | @-@psize1@-@ |
| 19455 | </entry> | </entry> |
| 19456 | <entry> | <entry> |
| 19457 | , , (for zh_CN) | Chinese (for zh_CN) |
| 19458 | </entry> | </entry> |
| 19459 | </row> | </row> |
| 19460 | <row> | <row> |
| 19461 | <entry> | <entry> |
| 19462 | scim-chewing | ibus-chewing |
| 19463 |