<?xml version="1.0"?>
<rss version="2.0"><channel><title><![CDATA[Frequently Asked Questions and How To&#39;s Latest Topics]]></title><link>https://mandrivausers.org/index.php?/forum/29-frequently-asked-questions-and-how-to39s/</link><description><![CDATA[Frequently Asked Questions and How To&#39;s Latest Topics]]></description><language>en</language><item><title>How to report bugs to Mandriva</title><link>https://mandrivausers.org/index.php?/topic/41421-how-to-report-bugs-to-mandriva/</link><description><![CDATA[
<p>All information on bugreporting to Mandriva can be found <a href="http://wiki.mandriva.com/en/Development/Howto/Bugzilla" rel="external nofollow">here</a> and also <a href="http://wiki.mandriva.com/en/Policies/Bug_policy" rel="external nofollow">here</a>.</p>
<p> </p>
<p>Please remember to examine the bug-database first in order to reduce the number of duplicate bug-reportings.</p>
]]></description><guid isPermaLink="false">41421</guid><pubDate>Wed, 16 May 2007 21:39:34 +0000</pubDate></item><item><title>CL-09: Compiling C or C++ Programs</title><link>https://mandrivausers.org/index.php?/topic/30195-cl-09-compiling-c-or-c-programs/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4463" rel="external nofollow">CL: Command Line Questions</a>]</p>
<p> </p>
<p><strong>CL-09: Compiling C or C++ Programs</strong></p>
<p> </p>
<p>It is undeniable that the success of the Free/Libre/Open-Source Software movement has largely been due to GCC, the GNU Compiler Collection. Since Richard Stallman -- the founder of GNU -- released The GNU C Compiler to the world in the late 1980s, it has seen many improvements; the support for many many more languages, and a plethora of architectures.</p>
<p> </p>
<p>After reading this FAQ, you should be able to:</p>
<ul><li> <strong>Compile C and C++ programs</strong><br /></li>
<li> <strong>Get the compiler to warn you about stupid mistakes</strong><br /></li>
<li> <strong>Link your programs with the required libraries.</strong><br /></li>
<li> <strong>And finally, optimise your binaries.</strong><br /></li>
</ul><p>This FAQ will not cover the C or C++ languages, they require their own book!</p>
<p> </p>
<p><strong><span style="text-decoration:underline;">The Compilation Process</span></strong></p>
<p> </p>
<p>For compiling C and C++ programs, there are two separate compilers to use,</p>
<p><strong>gcc</strong> and <strong>g++</strong>, respectively.</p>
<p> </p>
<p>Using the famous 'Hello, world!' example (in C) -- hello.c:</p>
<p> </p>
<p></p>
<pre class="ipsCode">#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;

int main(void)
{
   printf("Hello, world!\n");
   return EXIT_SUCCESS;
}</pre>
<div></div>
<p></p>
<p> </p>
<p>We would compile this file into a binary, named 'hello', with the command:</p>
<p> </p>
<p></p>
<pre class="ipsCode"> gcc hello.c -o hello</pre>
<div></div>
<p></p>
<p> </p>
<p>This command calls 'gcc,' specifying an input file (you can of course have more than one of these 'translation units'), and an output file -- specified after the -o flag -- called 'hello'.</p>
<p> </p>
<p>Similarly, in C++ -- hello.cc</p>
<p> </p>
<p></p>
<pre class="ipsCode">#include &lt;iostream&gt;

int main(void)
{
   std::cout &lt;&lt; "Hello, world!" &lt;&lt; std::endl;
   return EXIT_SUCCESS;
}</pre>
<div></div>
<p></p>
<p> </p>
<p>We would compile this file into a binary, named 'hello', with the command:</p>
<p> </p>
<p></p>
<pre class="ipsCode"> g++ hello.cc -o hello</pre>
<div></div>
<p></p>
<p> </p>
<p>Very simple, don't you think?</p>
<p> </p>
<p><strong><span style="text-decoration:underline;">Mistakes, and how to catch them</span></strong></p>
<p> </p>
<p>We all make mistakes, there's no doubt about that, so having a good way to catch them can make our lives a lot easier. gcc and g++ both provide facilities to do this, the use of a few compiler flags.</p>
<p> </p>
<p>Both gcc and g++ accept the following flags</p>
<ul><li> -W<br /></li>
<li> -Wall<br /></li>
<li> -ansi<br /></li>
<li> -pedantic<br /></li>
</ul><p>-W will enable warnings to help protect you against common mistakes.</p>
<p> </p>
<p>-Wall will enable extra warnings, if you like.</p>
<p> </p>
<p>-ansi Will make the compiler reject most features that are not part of the ISO C90 standard (By default GNU extensions are enabled.)</p>
<p> </p>
<p>-pedantic Will ensure strict conformance to ISO C90, giving no mercy for non-standard features.</p>
<p> </p>
<p>It is typically a good idea to use all of these flags when compiling your programs, they really do help you discover many possible problems with your code. More information can be found within the gcc man page ('man gcc').</p>
<p> </p>
<p> </p>
<p><strong><span style="text-decoration:underline;">To link, or not to link, that is the question</span></strong></p>
<p> </p>
<p>If you ever want to make any interesting programs, it is likely that you will need to use the linker to link with the libraries of the APIs that you make use of. GCC provides two main facilities to do this.</p>
<ul><li> -l<br /></li>
<li> -L<br /></li>
</ul><p>Quite intuitive indeed, but what's the difference?</p>
<p> </p>
<p>-l&lt;libraryname&gt; will search in the default directories for lib&lt;libraryname&gt;.so</p>
<p> </p>
<p>-L&lt;path&gt; can be used to give an absolute path to the library you want to use, or to add another directory for gcc to search in.</p>
<p> </p>
<p>A very common usage of -l is to link with the math library in C and C++ programs that use functions from the header &lt;math.h&gt; and &lt;cmath&gt; respectively.</p>
<p> </p>
<p>To link such a program with the math library, assuming a source file 'program.c', one would issue the command:</p>
<p> </p>
<p></p>
<pre class="ipsCode">gcc program.c -o program -lm</pre>
<div></div>
<p></p>
<p> </p>
<p>Easy as that!</p>
<p> </p>
<p><strong><span style="text-decoration:underline;">Optimisation, the double-edged sword?</span></strong></p>
<p> </p>
<p>gcc and g++ are optimising compilers, they can be used to increase the speed or size of your compiled binaries. Typically, code that you will be debugging should disable optimisation, but in release-code, you will probably enjoy its benefits.</p>
<p> </p>
<p>Enabling optimisation is a simple matter, all we need to do is pass an -O (Capital 'Oh'), which has a few main variants.</p>
<p> </p>
<p>-O0, The default, optimisation-less compile, this is redundant.</p>
<p>-O1, Basic optimisation.</p>
<p>-O2, More optimisations enabled - this is probably the most-used.</p>
<p>-O3, Even more optimisations.</p>
<p>-Os, Size optimisations, this may decrease the size of the output binary.</p>
<p> </p>
<p>Of course, specific details of these optimisations can be found in the gcc man page.</p>
<p> </p>
<p>I hope you've enjoyed the FAQ, feel free to ask me any questions if you have trouble.</p>
]]></description><guid isPermaLink="false">30195</guid><pubDate>Fri, 06 Jan 2006 17:33:17 +0000</pubDate></item><item><title>What does ... mean?</title><link>https://mandrivausers.org/index.php?/topic/28913-what-does-mean/</link><description><![CDATA[
<p><strong>ALSA</strong> </p>
<p>   The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system. Refer to <a href="http://www.alsa-project.org/" rel="external nofollow">http://www.alsa-project.org/</a> for more information. </p>
<p> </p>
<p><strong>Anaconda</strong></p>
<p> </p>
<p>   Anaconda is the installation program mainly used with Fedora Core /Red Hat based dstributions. During installation, Anaconda identifies and configures the system's hardware, and creates appropriate file systems. Anaconda also allows the user to install the operating system software on the system. Optionally, it upgrades existing e.g. Red Hat Linux, Fedora, Vidalinux (and other) installations. Anaconda runs in a fully interactive text or graphical mode, or in a kickstart mode, which allows the owner or administrator to automate installation for unattended operation. Refer to <a href="http://fedora.redhat.com/projects/anaconda-installer/" rel="external nofollow">http://fedora.redhat.com/projects/anaconda-installer/</a> for more information. Anaconda requires at least 64 MB RAM on your system</p>
<p> </p>
<p><strong>apt</strong></p>
<p> </p>
<p>    The apt (Advanced Package Tool) utility is a dependency tool developed for use with Debian Linux dpkg packages. The apt-rpm utility extends apt for use with RPM packages. There are many alternatives to apt like yum, urpmi or packman.</p>
<p> </p>
<p><strong>BitTorrent</strong></p>
<p> </p>
<p>    BitTorrent is a peer-to-peer file sharing which downloads from multiple channels at once. Refer to <a href="http://bitconjurer.org/BitTorrent/" rel="external nofollow">http://bitconjurer.org/BitTorrent/</a> for more information.</p>
<p> </p>
<p><strong>Bugzilla</strong></p>
<p> </p>
<p>    Bugzilla is an online database for recording flaws, or bugs, in software, documentation, and other projects. When you encounter a problem with a Linux distribution like Mandriva, you can help the community fix the problem by making a record in Bugzilla. This procedure is called "entering a bug." </p>
<p> </p>
<p><strong>CPU</strong></p>
<p> </p>
<p>    The Central Processing Unit, or CPU, is the "brain" of a computer. The rest of the computer is organized around the CPU, so people often refer to computer systems by the type of processor inside. Examples of CPUs include Duron, Athlon, Transmeta, Pentium-4, Athlon64, and PowerPC. </p>
<p> </p>
<p><strong>cron</strong></p>
<p> </p>
<p>    The cron system executes automatic jobs on behalf of the system or an individual user on a schedule. An example of a system cron job might include running an update manager nightly to update the system. </p>
<p> </p>
<p><strong>CUPS</strong></p>
<p> </p>
<p>    The Common UNIX Printing System, or CUPS, is a cross-platform printing solution for all UNIX-type environments, including Linux and Macintosh OS X. It is based on the Internet Printing Protocol and provides complete printing services to most printers. CUPS drivers are available at <a href="http://www.cups.org/windows/" rel="external nofollow">http://www.cups.org/windows/</a> which allow Windows systems to use printers shared from Linux systems. Refer to <a href="http://www.cups.org/" rel="external nofollow">http://www.cups.org/</a> for more information about CUPS. </p>
<p> </p>
<p><strong>eth0</strong></p>
<p> </p>
<p>    The eth0 name represents the first discovered Ethernet interface in a Linux system. If your Mandriva system has more than one such interface, the others will be numbered eth1, eth2, and so on. </p>
<p> </p>
<p><strong>Ethernet</strong></p>
<p> </p>
<p>    Ethernet is the most common type of network technology for small computer networks. </p>
<p> </p>
<p><strong>ethtool</strong></p>
<p> </p>
<p>    The ethtool utility is a Linux network driver diagnostic and tuning tool for a Linux 2.4 or later kernel. The ethtool utility obtains information and diagnostics related to media, link status, driver version, bus location, and more. </p>
<p> </p>
<p><strong>ext3</strong></p>
<p> </p>
<p>    The ext3 file system is a method of organizing data on storage devices. It is based on the older but still vital ext2 Linux file system. Most users do not need to understand file system internals because Linux translates this system into understandable concepts such as files and folders. Refer to <a href="http://e2fsprogs.sourceforge.net/" rel="external nofollow">http://e2fsprogs.sourceforge.net/</a>, however, for more information on ext2 and ext3. </p>
<p> </p>
<p><strong>FAQ</strong></p>
<p> </p>
<p>    A FAQ is a list of Frequently Asked Questions. It will help you feeling comfortable with your new operating system.</p>
<p> </p>
<p><strong>FDL</strong></p>
<p> </p>
<p>    The GNU Free Documentation License (FDL) is a means of ensuring freedom for program documentation. As is the case with all freedoms, the FDL carries both rights and responsibilities. You have the right to modify and redistribute FDL materials, or create other works based on them. You then have the responsibility of licensing any such material under the FDL as well. In this fashion the FDL guarantees that documentation cannot be made less free by a recipient. </p>
<p> </p>
<p><strong>FHS</strong></p>
<p> </p>
<p>    The File Hierarchy Standard, or FHS, is a collaborative document that defines the names and locations of many files and directories on a Linux system. The FHS also sets standards for the types of files that should inhabit specific system directories. Refer to <a href="http://www.pathname.com/fhs/" rel="external nofollow">http://www.pathname.com/fhs/</a> for more information about the FHS. </p>
<p> </p>
<p><strong>fsck</strong></p>
<p> </p>
<p>    The fsck utility is a command line tool used to check and repair file systems. It is normally used with Linux file systems such as ext3, but also has the ability to make repairs on some Windows file systems. </p>
<p> </p>
<p><strong>fsh</strong></p>
<p> </p>
<p>    Remote command execution via a cryptographically strong method such as lsh or ssh is often slow, especially if either of the involved computers is slow. The process is slow because the client and the server must perform a series of complex calculations during connection establishment.</p>
<p> </p>
<p>    The fsh utility uses lsh or ssh to establish a secure tunnel to the remote system. This process takes as long as a normal connection establishment. Once the tunnel is established, however, fsh reuses it to start new sessions on the remote system almost instantaneously. With this process, fsh combines the security of ssh and the speed of rsh. </p>
<p> </p>
<p><strong>GIMP</strong></p>
<p> </p>
<p>    The GIMP is the GNU Image Manipulation Program and the most widely used image manipulating software in Linux. The GIMP is graphics software suitable for such tasks as photo retouching, image composition and image authoring. The GIMP will read and write graphics files in a variety of formats, including JPG, PNG, BMP, GIF. It will also import some proprietary image formats from other graphics programs. Refer to <a href="http://www.gimp.org/" rel="external nofollow">http://www.gimp.org/</a> for more information about the GIMP. </p>
<p> </p>
<p><strong>glibc</strong></p>
<p> </p>
<p>    The GNU C library, or glibc, is used as the C library in Fedora. Most software programs for your  system rely on glibc for basic common functions. Refer to <a href="http://www.gnu.org/software/libc/libc.html" rel="external nofollow">http://www.gnu.org/software/libc/libc.html</a> for more information about glibc. </p>
<p> </p>
<p><strong>GNOME</strong></p>
<p> </p>
<p>    GNOME is the short name for the GNOME Desktop, a product of the GNOME Project. GNOME is a complete, free and easy-to-use desktop environment for UNIX-like operating systems and the default desktop in systems like Fedora, Ubuntu or Novell. It is also a powerful application development framework for software developers. GNOME provides a complete set of human interface guidelines, which means that GNOME strives to have a consistent look and feel for all its applications. Read more about GNOME at <a href="http://www.gnome.org/" rel="external nofollow">http://www.gnome.org/</a>. </p>
<p> </p>
<p><strong>GNU</strong></p>
<p> </p>
<p>    GNU is an acronym that stands for "GNU's Not UNIX," and is pronounced "guh-NOO." GNU was originally intended to be a complete UNIX-like operating system. It has become a broader term describing free software licensed under the GPL. Because the kernel and much of the other software in a Linux system are licensed under the GPL, many people call that system GNU/Linux. </p>
<p> </p>
<p><strong>GnuPG (GPG)</strong></p>
<p> </p>
<p>    GnuPG, the GNU Privacy Guard, is a complete and free replacement for PGP, Pretty Good Privacy. GnuPG software allows you to digitally sign or encrypt data using public key encryption methods. GnuPG is OpenPGP compliant, so data signed or encrypted by GnuPG can be exchanged with almost any computer user. Refer to <a href="http://www.gnupg.org/" rel="external nofollow">http://www.gnupg.org/</a> for more information about GPG. </p>
<p> </p>
<p><strong>GPL</strong></p>
<p> </p>
<p>    The GNU General Public Licence, or GPL, is a software license designed to preserve users' rights to share and modify software. The GPL does this by restricting anyone from denying you those rights. Use of software is usually subject to the terms under which it is licensed. Many software licenses restrict you from copying, sharing, or even examining the software they cover. The terms of the GPL, however, allow you very broad rights to share, modify, and redistribute software. In return the GPL requires you to give others those rights if you share the results. The GPL encourages software programmers to learn and contribute to each other's work. Refer to <a href="http://www.fsf.org/licenses/licenses/gpl.html" rel="external nofollow">http://www.fsf.org/licenses/licenses/gpl.html</a> for more information about the GPL. For a FAQ about the GPL, refer to <a href="http://www.fsf.org/licensing/licenses/gpl-faq.html" rel="external nofollow">http://www.fsf.org/licensing/licenses/gpl-faq.html</a>. </p>
<p> </p>
<p><strong>GRUB</strong></p>
<p> </p>
<p>    The GNU GRand Unified Boot Loader, or GRUB, is a program which enables the user to select an operating system or kernel to boot. It also allows the user to pass arguments to the kernel. Refer to <a href="http://www.gnu.org/software/grub/" rel="external nofollow">http://www.gnu.org/software/grub/</a> for more information about GRUB. </p>
<p> </p>
<p><strong>i386 (i486, i586, i686)</strong></p>
<p> </p>
<p>    The entire set of computer processors that are compatible with the Intel x86 platform, including Intel Pentium and Celeron, AMD Athlon and Duron, and VIA C3 CPUs, are commonly referred to as i386. The i386 term is often used as shorthand for the distribution set of files meant for this line of computers or processors. Just like i386, i486, i586 and others are a reference to the architecture type of processors and corresponding software. Some systems can run from i386 upwards (very compatible), while some systems require at least an i586 processor (like a Pentium II, thus limited compatibility).</p>
<p> </p>
<p><strong>IM</strong></p>
<p> </p>
<p>    Instant messaging, or IM, is a real-time, text-based form of communication. You can use IM to have conversations with individuals or groups. America Online, an Internet service provider, popularized IM in the 1990's, but many other providers such as Yahoo and Google offer similar services. Most distributions have programs such as gaim that allow you to use IM to communicate with other Internet users. </p>
<p> </p>
<p><strong>Inkscape</strong></p>
<p> </p>
<p>    Inkscape is a vector graphics illustration program. It uses SVG as the default file format. For more information about Inkscape, refer to <a href="http://www.inkscape.org/" rel="external nofollow">http://www.inkscape.org/</a>.</p>
<p> </p>
<p>    See Also Sodipodi.</p>
<p> </p>
<p><strong>IRC</strong></p>
<p> </p>
<p>    Internet Relay Chat, or IRC, is a real-time, text-based form of communication. You can use IRC to have conversations with individuals or groups. IRC is very similar to IM, and offers many of the same capabilities, but predates IM by many years. </p>
<p> </p>
<p><strong>ISO</strong></p>
<p> </p>
<p>    ISO is an acronym that stands for International Standards Organization. It is also used as an abbreviation for the ISO-9660 format of a standard data CD-ROM. Most Linux distributions offer installation CDs  as downloadable files on the Internet, in the form of CD image files sometimes called ISO files. These files can be burned directly to CD media using a CD-Recordable drive, and the resulting CD will contain all the files on the original Linux distribution media. </p>
<p> </p>
<p><strong>KDE</strong></p>
<p> </p>
<p>    KDE is a free and open desktop environment for UNIX-like operating systems such as Mandriva (where it is the default choice). KDE also offers a complete development framework for writing graphical applications, as well as an office application suite. Refer to <a href="http://www.kde.org/whatiskde/" rel="external nofollow">http://www.kde.org/whatiskde/</a> for more information about KDE. </p>
<p> </p>
<p><strong>kernel</strong></p>
<p> </p>
<p>    A kernel is the core of an operating system, responsible for managing memory and conducting hardware operations. The Linux kernel is free and open source software, originally written by Linux Torvalds. Many computer scientists and programmers from around the world now contribute to its development. </p>
<p> </p>
<p><strong>kickstart</strong></p>
<p> </p>
<p>    Many system administrators prefer to use an automated installation method to install Linux systems on their machines. With kickstart, a system administrator can create a single file containing answers to all the questions asked during an installation. It is used very often for Fedora and Red Hat servers. Refer to <a href="http://fedoraproject.org/wiki/Anaconda" rel="external nofollow">http://fedoraproject.org/wiki/Anaconda</a> for more information about kickstart. </p>
<p> </p>
<p><strong>kudzu</strong></p>
<p> </p>
<p>    The kudzu utility usually runs at boot time. The kudzu utility detects changes in the system's hardware configuration, and configures the devices for use with the software. </p>
<p> </p>
<p><strong>LDAP</strong></p>
<p> </p>
<p>    The Lightweight Directory Access Protocol, or LDAP, is a standard for hierarchically organizing and accessing collections of information. This information may be practically anything, but LDAP is most often used to collect information about organizations, including personnel and resource information. Most Distros include support for OpenLDAP, which is a free and open source implementation of LDAP. For more information about OpenLDAP, refer to <a href="http://www.openldap.org/" rel="external nofollow">http://www.openldap.org/</a>. </p>
<p> </p>
<p><strong>LILO</strong></p>
<p> </p>
<p>    The LInux LOader, or LILO, is a basic system program which boots your Linux system. LILO loads the Linux kernel from a floppy or a hard drive, boots the kernel and passes control of the system to the kernel. LILO can also boot other operating systems. </p>
<p> </p>
<p><strong>LSB</strong></p>
<p> </p>
<p>    The Linux Standard Base, or LSB, is a project that develops and promotes a set of standards to increase compatibility among Linux distributions. For more information about LSB, refer to <a href="http://www.linuxbase.org/" rel="external nofollow">http://www.linuxbase.org/</a>. </p>
<p> </p>
<p><strong>lspci</strong></p>
<p> </p>
<p>    The lspci utility displays information about all PCI buses in the system and all devices connected to them. It is frequently used to diagnose problems with hardware recognition or driver compatibility. </p>
<p> </p>
<p><strong>md5sum</strong></p>
<p> </p>
<p>    The md5sum utility computes a 128-bit message digest hash value for any specified files. A hash value is a "fingerprint" for a given file, created by a computation that makes it very unlikely that any two files will create the same hash value.</p>
<p> </p>
<p>    Download mirrors for a Distro ISO image files also include a related MD5SUMS file which contains the hash values for the ISO files. Run md5sum against the downloaded files to verify the hash value. If a file's hash value does not match, you should not use that file to burn a CD. Try downloading the file again.</p>
<p> </p>
<p>    To download an MD5 hash program for Windows operating systems, refer to <a href="http://unxutils.sourceforge.net/" rel="external nofollow">http://unxutils.sourceforge.net/</a>. </p>
<p> </p>
<p><strong>MCC (Mandriva Control Center)</strong></p>
<p> </p>
<p>   Like YAST, the MCC is  a centralized tool for configuring a Mandrivalinux system. Every major administration task can be done with its graphical tools. It is considered to be one of the most userfriendly administration interfaces in Linux.</p>
<p> </p>
<p><strong>memtest86</strong></p>
<p> </p>
<p>    Knoppix, Mepis, Fedora Core and other systems include a memory testing utility called memtest86. To perform memory testing before you install a new distro, or to diagnose a RAM problem, enter memtest86 at the boot: prompt. The tests continue until you press the Esc key. </p>
<p> </p>
<p><strong>mirror</strong></p>
<p> </p>
<p>    A mirror is a complete copy of an online resource. System administrators of computers connected to the Internet often create and provide mirrors for public use. If a resource has one or more mirrors, many more users can access its content without overloading the original resource. </p>
<p> </p>
<p><strong>mount</strong></p>
<p> </p>
<p>    To use a disk device such as a CD, USB drive, or floppy diskette, you must first mount it. Linux systems use a single unified file system for all attached devices. Windows systems, on the other hand, use a "drive letter" for each disk device, such as A: or C:. When you mount a disk device, its file system becomes part of the unified file system. The device is mounted on a mount point, which is a directory that points to that device, such as /media/floppy. You must also unmount the file system before you eject or remove the disk, to insure all file information is safely written to the device.</p>
<p> </p>
<p>    Since these functions are often handled through user-friendly helpers, you may perform all mounting, unmounting, and file browsing through the graphical desktop interface. For instance, if you use the GNOME Desktop, the Nautilus file management utility makes it easy to perform these tasks. </p>
<p> </p>
<p><strong>Mozilla</strong></p>
<p> </p>
<p>    The Mozilla Project produces several user applications such as the Firefox web browser and the Thunderbird email client. These programs are designed for standards compliance, performance and portability. For more information about Mozilla software, refer to <a href="http://www.mozilla.org/" rel="external nofollow">http://www.mozilla.org/</a>. </p>
<p> </p>
<p><strong>Nautilus</strong></p>
<p> </p>
<p>    The GNOME desktop environment includes a file manager called Nautilus which provides a graphical display of your system and personal files. Nautilus also allows you to configure your desktop, browse your photo collection, access your network resources, and more, all from an integrated interface. In essence, Nautilus becomes a shell for your entire desktop experience. Insert link to Nautilus resource here. </p>
<p> </p>
<p><strong>package</strong></p>
<p> </p>
<p>    Users often refer to a RPM file as a package.</p>
<p> </p>
<p>    See Also RPM.</p>
<p> </p>
<p><strong>Pine</strong></p>
<p> </p>
<p>    Pine, short for a Program for Internet News and Email, is a tool for reading, sending, and managing electronic messages. Refer to <a href="http://www.washington.edu/pine/" rel="external nofollow">http://www.washington.edu/pine/</a> for more information about Pine. </p>
<p> </p>
<p><strong>RPM</strong></p>
<p> </p>
<p>    RPM stands for RPM Package Manager. RPM is a robust database system for maintaining software on Linux systems. Software packaged is distributed in special package files called RPM files, or RPMs. System owners use the rpm utility to query the RPM database for information about installed software. Although some administrators use rpm to install, update, and remove software, it is recommended that you use yum for these purposes. </p>
<p> </p>
<p><strong>rsync</strong></p>
<p> </p>
<p>    The rsync provides fast incremental file transfers. Administrators frequently use rsync to create a mirror of an online resource. Refer to <a href="http://samba.anu.edu.au/rsync/" rel="external nofollow">http://samba.anu.edu.au/rsync/</a> for more information about rsync. </p>
<p> </p>
<p><strong>SELinux</strong></p>
<p> </p>
<p>    SELinux is a set of extensions to the Linux kernel that provide extremely strong security. SELinux is based on role definitions, and allows very granular control over access to system resources based on those roles. These security measures limit the risk associated with computer intrusions by unauthorized persons. For more information about SELinux, refer to <a href="http://www.nsa.gov/selinux/" rel="external nofollow">http://www.nsa.gov/selinux/</a> .</p>
<p> </p>
<p><strong>SMART</strong></p>
<p> </p>
<p>   SMART is multi-purpose package management tool. It automatically determines software requirements, or dependencies, and uses this data to install, update, or remove packages. It can be used with many distros.</p>
<p> </p>
<p><strong>Sodipodi</strong></p>
<p> </p>
<p>    Sodipodi is a vector graphics illustration application. It uses W3C SVG as its default format. Refer to <a href="http://sourceforge.net/projects/sodipodi/" rel="external nofollow">http://sourceforge.net/projects/sodipodi/</a> for more information.</p>
<p> </p>
<p>    See Also Inkscape.</p>
<p> </p>
<p><strong>SRPM</strong></p>
<p> </p>
<p>    A source RPM, or SRPM, contains the source code for a RPM package. If you want to read or modify a program's source, use its SRPM. You do not need any SRPMs to install or use software.</p>
<p> </p>
<p>    See Also RPM.</p>
<p> </p>
<p><strong>urpmi</strong></p>
<p> </p>
<p>   The urpmi utility is a dependency tool developed for use with Mandriva Linux packages. It automatically determines software requirements, or dependencies, and uses this data to install, update, or remove packages</p>
<p> </p>
<p><strong>VNC</strong></p>
<p> </p>
<p>    VNC stands for Virtual Network Computing. It is remote control software which allows you to view and interact with another computer over the network. Refer to <a href="http://www.realvnc.com/" rel="external nofollow">http://www.realvnc.com/</a> for more information about VNC. </p>
<p> </p>
<p><strong>XFS</strong></p>
<p> </p>
<p>    XFS is a journalling filesystem developed by SGI and used in SGI's IRIX operating system. . It is extremely scalable and has a journalling capability to protect against corruption. Refer to <a href="http://oss.sgi.com/projects/xfs/faq.html#whatisxfs" rel="external nofollow">http://oss.sgi.com/projects/xfs/faq.html#whatisxfs</a> for more information about XFS. </p>
<p> </p>
<p><strong>X Window System</strong></p>
<p> </p>
<p>    The X Window System, or simply "X," is the underlying technology for GNOME, KDE, and other graphical environments used in Linux systems. X is a network-based system for displaying and communicating graphical input and output. It is very flexible and is suitable for a wide variety of configurations such as remote desktops and thin-client applications. </p>
<p> </p>
<p><strong>YAST</strong></p>
<p> </p>
<p>   YAST (Yet another software tool) was created by SUSE and allows complete system administration in one central place. It is in certain respect similar to Mandrivas MCC in its function, although both cofiguration tools are 100% different in their setup.</p>
<p> </p>
<p><strong>yum</strong></p>
<p> </p>
<p>    The Yellow Dog Updater (created by Yellow Dog Linux), or yum, is a complete software management utility for RPM-based systems such as Fedora. It automatically determines software requirements, or dependencies, and uses this data to install, update, or remove packages. Refer to <a href="http://linux.duke.edu/projects/yum/" rel="external nofollow">http://linux.duke.edu/projects/yum/</a> for more information about yum.</p>
]]></description><guid isPermaLink="false">28913</guid><pubDate>Thu, 20 Oct 2005 22:17:05 +0000</pubDate></item><item><title>XD-04: Konqueror FAQ</title><link>https://mandrivausers.org/index.php?/topic/26003-xd-04-konqueror-faq/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4472" rel="external nofollow">XD: XFree86, desktops, Gnome, KDE...</a>]</p>
<p> </p>
<p><strong>XD-04: Konqueror FAQ</strong></p>
<p> </p>
<p>This FAQ will introduce you to some of the neat features available in Konqueror, the <a href="http://www.kde.org" rel="external nofollow">KDE</a> Web Browser and File Manager.</p>
<p> </p>
<p>I will be discussing Konqueror 3.4, found in KDE 3.4, so if you have an older version some of the features discussed here may not be available to you.</p>
<p> </p>
<p><strong>Tabs</strong></p>
<p> </p>
<p>Tabs are the greatest thing since sliced bread, they can make browsing multiple pages at the same time simple, and at the same time keep them all easily accessible; another bonus is that they use less memory than opening a new window.</p>
<p> </p>
<p>There are three ways to open a new tab:</p>
<ul><li> Click on the "<span style="text-decoration:underline;">L</span>ocation" button on the menubar at the top of the screen and then select "<span style="text-decoration:underline;">N</span>ew Tab".<br /> <br /></li>
<li> Click on the "<span style="text-decoration:underline;">W</span>indow" button on the menubar and then select "<span style="text-decoration:underline;">N</span>ew Tab".<br /> <br /></li>
<li> Press Ctrl+Shift+N<br /></li>
</ul><p><strong>Split Views</strong></p>
<p> </p>
<p>Yet another great innovation, this feature allows you to look at multiple pages in the same tab (If you were wondering, you cannot make more tabs inside a split view.)</p>
<p> </p>
<p>You can split views Left and Right or Top and Bottom.</p>
<p> </p>
<p>To do this, click on the "<span style="text-decoration:underline;">W</span>indow" button on the menubar at the top of the screen and then select "Split view <span style="text-decoration:underline;">L</span>eft/Right" or "Split view <span style="text-decoration:underline;">T</span>op/Bottom" to split the view however you want to, as many times as you wish.</p>
<p> </p>
<p><strong>The Navigation Panel</strong></p>
<p> </p>
<p>Last, but certainly not least, I will discuss the Navigation Panel, a feature that you are likely to find useful.</p>
<p> </p>
<p>To Show/Hide the navigation panel, click on the "<span style="text-decoration:underline;">W</span>indow" button on the menubar at the top of the screen and then select "Show Navigation <span style="text-decoration:underline;">P</span>anel" or "<span style="text-decoration:underline;">H</span>ide Navigation Panel", or just press F9.</p>
<p> </p>
<p>Let the fun begin! You will find tabs here showing:</p>
<ul><li> Your Bookmarks<br /></li>
<li> System Devices<br /></li>
<li> Your Browsing History<br /></li>
<li> Your Home Folder<br /></li>
<li> The Sidebar Media Player<br /></li>
<li> FTP archives and web sites<br /></li>
<li> Your Root Folder (A tree view of the filesystem).<br /></li>
</ul><p>And the last tab is worth a bit more discussion.</p>
<p> </p>
<p>Here you will find a highly useful "Audio CD Browser," that you can use to extract music from your CDs to both WAV (Uncompressed) and OGG (Compressed) files; it even downloads the name of each track for you from an online database (freedb).</p>
<p> </p>
<p>There are also several browsers:</p>
<ul><li> A device browser<br /></li>
<li> A font browser<br /></li>
<li> A LAN Browser<br /></li>
<li> A print system browser, which displays connected printers, current jobs, and so on.<br /></li>
</ul><p>Of course, there is always more to find in the "Konqueror Handbook" which you can access through the <span style="text-decoration:underline;">H</span>elp menu, or by just pressing F1.</p>
<p> </p>
<p><strong>Access Keys</strong></p>
<p> </p>
<p>Access keys are a feature that can potentially speed up your web-browsing (Note that I'm now using 3.5, this may not apply to 3.4).</p>
<p> </p>
<p>Pressing the right or left 'Ctrl' key while browsing will enable the use of access keys. Access keys map keys on the keyboard to all the hyperlinks contained in a page, so if you press a key associated with a link, Konqueror will follow it.</p>
<p> </p>
<p><strong>Vi(m) Movement Keys</strong></p>
<p> </p>
<p>Vi(m) fans may be pleased to know that the vim movement keys, h, j, k, and l can be used for navigation around websites. For those that are not practicioners of Vi(m), these keys correspond to the following movements:</p>
<p></p>
<ul><li> h - left (it is the key on the left.)<br /></li>
<li> j - Down (sort of looks like an arrow down.)<br /></li>
<li> k - Up<br /></li>
<li> l - Right (it is the key on the right.<br /></li>
</ul><p></p>
<p>I hope you enjoyed this FAQ and most of all that you learned something, thanks.</p>
]]></description><guid isPermaLink="false">26003</guid><pubDate>Tue, 07 Jun 2005 13:26:13 +0000</pubDate></item><item><title>SI-04: How To build your own Live CD with mklivecd</title><link>https://mandrivausers.org/index.php?/topic/10855-si-04-how-to-build-your-own-live-cd-with-mklivecd/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=10614" rel="external nofollow">SI: Software Installation</a>]</p>
<p> </p>
<p><strong>SI-04: How To build your own Live CD with mklivecd?</strong></p>
<p> </p>
<p><strong>Step 1</strong></p>
<p> </p>
<p>Install a 'basic' Mandrake 9.2 (individual package selection, concentrate on one DE) on a separate partition. Or as the only OS on your PC, does not matter. You will need a ~5 GB partition. And a swap partition, you can use your already existing swap. 250 MB should be fine. Create one user with a password, and root of course. If you have a multi-boot box, tell the installer to write lilo to /, not to the mbr. Modify your lilo in your main install to call lilo in your new partition. Or do what you use to do in this case ;-)</p>
<p> </p>
<p><strong>Step 2</strong></p>
<p> </p>
<p>Boot your fresh MDK. Run immediately menudrake - and choose menustyle - second choice: mandrake menu. Save it. Now you won't get the menu bug and you don't have to install all these updates.</p>
<p>Get the following rpm's from a mdk 9.2 contrib mirror:</p>
<ul><li> kernel-tmb-2.4.22.21<br /></li>
<li> busybox<br /></li>
<li> cloop-utils<br /></li>
</ul><p>Get the latest stable cvs version of mklivecd (mklivecd-0.5.7-0....noarch.rpm) here:</p>
<p> </p>
<p><a href="http://developer.berlios.de/project/showfiles.php?group_id=1149" rel="external nofollow">http://developer.berlios.de/project/showfi...p?group_id=1149</a></p>
<p> </p>
<p>Install the kernel on the new partition. Urpmi or MCC. Uninstall the old kernel, dito. Reboot and make sure everything is ok. I had no problems. Install the rpms busybox, cloop and mklivecd on your new partition.</p>
<p> </p>
<p><strong>Step 3</strong></p>
<p> </p>
<p>Remove all stuff using mcc-softwaremanagement, that you don't need. Hints: python, gimp etc. Don't remove the gnome-libs, mdk config tools need them. Check in a terminal how big your used space is:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># df</pre>
<div></div>
<p></p>
<p> </p>
<p>Hint: clean /usr/share/doc and /usr/share/man and /usr/share/wallpapers (~200 MB)</p>
<ul><li> Install additional stuff from contrib and plf etc.<br /></li>
<li> You iso should have a maximum of 700 MB to fit on a cd. Your used space should be &lt; 1,7 GB. The compression rate is ~ 41 %<br /></li>
</ul><p><strong>Step 4</strong></p>
<p> </p>
<p>Make your desktop look nice. Configure everything - your live cd will look and behave almost exactly like your installed system. Don't forget to clean your browser cache, the cookies, your trash can ... stuff in your home dir, or the add. rpm's.</p>
<p>Once again: </p>
<p> </p>
<p></p>
<pre class="ipsCode"># df</pre>
<div></div>
<p></p>
<p> </p>
<p><strong>Step 5</strong></p>
<p> </p>
<p>Open a terminal, su to root :</p>
<p></p>
<pre class="ipsCode"># mklivecd --help</pre>
<div></div>
<p></p>
<p>Here you'll find all options to run the script.</p>
<p>Most simple is:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># mklivecd &lt;name&gt;.iso  (where &lt;name&gt; is your choice)</pre>
<div></div>
<p></p>
<p> </p>
<p>This will create an iso file in your current directory.</p>
<p> </p>
<p>This is what I am using:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># mklivecd --verbose --keyboard=de --fstab=rw,auto --splash=no rainbow.iso</pre>
<div></div>
<p></p>
<p> </p>
<p>Explanation:</p>
<ul><li>--verbose<br /> <br />You can see, what the script is doing. Very nice!<br /> <br /></li>
<li>--keyboard=de<br /> <br />Default is the US layout, so this is my keyb for the live cd.<br /> <br /></li>
<li>--fstab=rw,auto<br /> <br />Default creates the script a fstab without mounting the partitions on the hd. This option creates a fstab with read-write mounted partitions, Windows and Linux part., exception NTFS (you have to mount it manually to an already set mount point)<br /> <br /></li>
<li>--splash=no<br /> <br />This will create a live cd without the Mandrake bootsplash and the background while booting. I've set it this way to get rid of it. When you have your own bootsplash theme, and you want to use it, dont set this option. Default is with bootsplash.<br /> <br /></li>
<li>rainbow.iso<br /> <br />This is the name of the iso file, that the script creates. Your choice.<br /></li>
</ul><p>There are many options you can use like: writing the iso to a different partition, excluding dirs and files from the creation, using a different /tmp dir for the whole process ... One of the most interesting is: you can install the script to your *main* OS and not into the new partition, so you would build the iso from 'outside'. But I am not familiar with it.</p>
<p> </p>
<p>How long does it take: on a P4, 2 Ghz with 256 MB RAM and a swap of 250 MB it took me 7 minutes to create a 230 MB iso from a used space of ~600 MB.</p>
<p> </p>
<p><strong>Step 6</strong></p>
<p> </p>
<p>Burn the iso - to a cd-rw (or cd-r). Or copy it to a different partition where you have your burning application.</p>
<p> </p>
<p><strong>Step 7</strong></p>
<p> </p>
<p>Boot your cd. And tell us about it.</p>
]]></description><guid isPermaLink="false">10855</guid><pubDate>Sat, 17 Jan 2004 21:01:37 +0000</pubDate></item><item><title>SE-03: Using applications needing root privileges</title><link>https://mandrivausers.org/index.php?/topic/19256-se-03-using-applications-needing-root-privileges/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4454" rel="external nofollow">SE: Security, firewalls...</a>]</p>
<p> </p>
<p><strong>SE-03: How do I safely allow regular users to use utilities requiring root privileges?</strong></p>
<p> </p>
<p>If you happen to have the need to allow regular system users to use privileged utilities, you usually have the following routes laid for you:</p>
<ul><li>[1] Make the user member of the group owning the utility.<br /> <br />  While this is the easiest way, this is also not recommended as it is the most unsafe practice. Say for example that you need to allow a the user 'juan' to have the rights to start/stop the web service in the box. This means that the user needs to be able to execute the scripts located in /etc/init.d/ and those scripts are owned by the group 'root'. If you made 'juan' a member of the group 'root' then you virtually gave the user access to all utilities owned by the group which is not wise.<br /> <br />[2] Use the setuid/setgid bit of the utility.<br /> <br />  Setuid is a file permission bit that allows the binary to be run using the permission of its owner. Setgid is its counterpart for group ownership. This means that if the useradd utility has its setuid bit set and an ordinary user executes it then it will be executed under the privileges of root.<br /> <br />  How can this be dangerous? It is only dangerous if the utility with setuid has been found to have a bug that is exploitable to gain access to your machine. <br /> <br />  For more information about setuid/setgid, you can refer to this </li></ul><a href="http://neworder.box.sk/newsread_print.php?newsid=2380" rel="external nofollow">webpage</a>.<br /> <br />[3] Use the sudo package to grant specific users access to privileged utilities.<br /> <br />  While this is not an end-all solution, the approach taken by sudo is by far the safest of the three options because it refers to a configuration file that dictates which user has access to which utilities. <a href="http://www.mandrakesecure.net/" rel="external nofollow">MandrakeSecure</a> has an excellent <a href="http://www.mandrakesecure.net/en/docs/sudo.php" rel="external nofollow">tutorial on how to use sudo</a> effectively.<br /><p>Related Link(s):</p>
<ul><li> <a href="http://igloo.its.unimelb.edu.au/Webmail/security/msg00012.html" rel="external nofollow">Performing a setuid audit of Unix/Linux</a><br /></li></ul><p></p>
]]></description><guid isPermaLink="false">19256</guid><pubDate>Wed, 29 Sep 2004 11:22:15 +0000</pubDate></item><item><title>IM-15: How do I make my NTFS partition writable?</title><link>https://mandrivausers.org/index.php?/topic/19212-im-15-how-do-i-make-my-ntfs-partition-writable/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>IM-15: How do I make my NTFS partition writable?</strong></p>
<p> </p>
<p>In a nutshell, you can but support for NTFS writing in Linux is still marked as experimental. Refer to this <a href="http://mandrakeusers.org/index.php?showtopic=4960&amp;view=findpost&amp;p=37920" rel="external nofollow">FAQ entry</a> for more information.</p>
]]></description><guid isPermaLink="false">19212</guid><pubDate>Tue, 28 Sep 2004 11:03:34 +0000</pubDate></item><item><title>WM/DE-05: Fluxbox</title><link>https://mandrivausers.org/index.php?/topic/18972-wmde-05-fluxbox/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=16303" rel="external nofollow">WM/DE: Window Managers and Desktop Environments</a>]</p>
<p> </p>
<p><strong>WM/DE-05: Fluxbox</strong></p>
<p> </p>
<p>Original html version, for those who are interested. This board one is the same thing cept it went through find and replace for formatting.</p>
<p><a href="http://aslan.no-ip.com/~iphitus/iphitusv3/fluxbox.php" rel="external nofollow">http://aslan.no-ip.com/~iphitus/iphitusv3/fluxbox.php</a></p>
<p> </p>
<p><span style="font-size:21pt;line-height:100%;">Unofficial Fluxbox FAQ</span></p>
<p><em>Making Fluxbox easy</em></p>
<p>----------------------------</p>
<p> </p>
<p>This FAQ applies to the current development series of Fluxbox, it was written using 0.9.10. If you dont have the developmental series you will find that many answers here will not help you. To find out what version of fluxbox you have, open a command line and write:</p>
<p></p>
<pre class="ipsCode">fluxbox -version</pre>
<div></div>
<p></p>
<p><span style="font-size:14pt;line-height:100%;"><strong>0.1.14</strong></span></p>
<p> </p>
<p>This is the current "stable" version of fluxbox. It is no longer maintained. This is now out of date, it was released in late 2002, and I recommend you update to the latest in the 0.9.x (0.9.9 at writing) series.</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>0.9.x</strong></span></p>
<p> </p>
<p>This is the current development series of fluxbox. This is much much more feature rich than the older 0.1.14 series and is what I cover throughout this FAQ. It has newer features such as, transparency, pixmap themes, extra theme options as well as many many new additions to functionality, and speed. The 0.9.x series in my opinion, and in my experience, is more stable than the venerable 0.1.14 release. This is currently not considered the official stable release as it lacks in some documentation, translations, still has a handful of bugs to squash and new features to add.</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I set my wallpaper?</strong></span></p>
<p> </p>
<p>To set wallpapers in fluxbox, you need to use a special tool. Open up the command-line and type</p>
<p> </p>
<p></p>
<pre class="ipsCode">fbsetbg /path/to/wallpaper.jpg</pre>
<div></div>
<p></p>
<p> </p>
<p>fbsetbg doesnt set the wallaper itself, it uses other programs to set it for you. The purpose of fbsetbg, is to pick the most appropriate program available to set the wallpaper. Not all wallpaper setters support transparency, so fbsetbg picks ones that support transparency over others. If you find that transparency is not working, do a fbsetbg -i and it will tell you if the wallpaper setter you have available doesnt support transparency.</p>
<p> </p>
<p>Replace "/path/to/wallpaper.jpg" with the location of the image you want to set as the background. fbsetbg has an array of options, and they are passed:</p>
<p> </p>
<p></p>
<pre class="ipsCode">fbsetbg -fctial /path/to/wallpaper.jpg</pre>
<div></div>
<p></p>
<p> </p>
<p>The main options you can pass to fbsetbg are below, you only need to pass one:</p>
<p></p>
<pre class="ipsCode">-f - Set fullscreen wallpaper

-c - Set centered wallpaper

-t - Set tiled wallpaper

-a - Set wallpaper maximised with preserved aspect.

-i - Tell the user the program it is using to set the wallpaper and any pitfalls it might have.

-l - Set last wallpaper</pre>
<div></div>
<p></p>
<p>Other options can be found by reading:</p>
<p> </p>
<p></p>
<pre class="ipsCode">man fbsetbg</pre>
<div></div>
<p></p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I make fluxbox remember my wallpaper?</strong></span></p>
<p> </p>
<p>To make fluxbox remember your wallpaper, open up "~/.fluxbox/init" and find the line:</p>
<p> </p>
<p></p>
<pre class="ipsCode">session.screen0.rootCommand:  </pre>
<div></div>
<p></p>
<p> </p>
<p>And replace it with</p>
<p> </p>
<p></p>
<pre class="ipsCode">session.screen0.rootCommand:    fbsetbg -l  </pre>
<div></div>
<p></p>
<p> </p>
<p>This will make fluxbox remember your wallpaper by having fbsetbg set the last wallpaper.</p>
<p> </p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I make the menu or slit transparent?</strong></span></p>
<p> </p>
<p>One of the touted features of fluxbox is it's transparency abilities. They are not too complicated to change and can make some very cool eyecandy</p>
<p> </p>
<p>You can change the level of transparency in the menu, or the menu alpha by right clicking to bring up the fluxbox menu then</p>
<p> </p>
<p></p>
<pre class="ipsCode">Fluxbox menu &gt; Fluxbox &gt; Configure &gt; Menu Alpha</pre>
<div></div>
<p></p>
<p> </p>
<p>The slit transparency can be found by right clicking the slit or by looking in</p>
<p> </p>
<p></p>
<pre class="ipsCode">Fluxbox menu &gt; Fluxbox &gt; Configure &gt; Slit &gt; Alpha</pre>
<div></div>
<p></p>
<p> </p>
<p>You can click on the value there to adust it. "0" is fully transparent, "255" is solid. Values in between have varying levels of transparency.</p>
<p> </p>
<p>If you find that the menu's transparency does not take effect immediately, try restarting fluxbox.</p>
<p> </p>
<p>If restarting fluxbox doesn't fix your problem and you set the transparency to "0", try setting it to "1" and restarting fluxbox. There was a bug in some development versions of fluxbox that made the setting of "0", act like "255".</p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I make the toolbar and windows transparent?</strong></span></p>
<p> </p>
<p>To change the transparency levels of the toolbar, window borders or the slit, you will need to modify your theme. This will change the appearance of the theme and may not be something you wish to do.</p>
<p> </p>
<p>First, open the theme's configuration file with your favourite text editor.</p>
<p> </p>
<p>This will usually be at</p>
<p> </p>
<p></p>
<pre class="ipsCode">/home/username/.fluxbox/style/stylename/theme.cfg</pre>
<div></div>
<p></p>
<p> </p>
<p>Or if it was made using the older format:</p>
<p> </p>
<p></p>
<pre class="ipsCode">/home/username/.fluxbox/style/stylename</pre>
<div></div>
<p></p>
<p> </p>
<p>Find these lines and adjust the numeric values to your liking.</p>
<p></p>
<pre class="ipsCode">toolbar.alpha: 100

window.alpha: 255</pre>
<div></div>
<p></p>
<p>Save the theme and then restart fluxbox from your fluxbox menu</p>
<p> </p>
<p> </p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>Where can I get styles?</strong></span></p>
<p>Themes, or styles as they are known for fluxbox can be found all over the internet, a good search on Google will turn up a lot of links. Here are some good sites.</p>
<ul><li>
<a href="http://www.themedepot.org/showarea.php4?area=23" rel="external nofollow">http://www.themedepot.org/showarea.php4?area=23</a><br /></li>
<li>
<a href="http://fluxbox.org/download/themes/" rel="external nofollow">http://fluxbox.org/download/themes/</a><br /></li>
<li>
<a href="http://geekgirl.bz" rel="external nofollow">http://geekgirl.bz</a><br /></li>
<li>
<a href="http://www.deviantart.com" rel="external nofollow">http://www.deviantart.com</a><br /></li>
<li>
<a href="http://themes.freshmeat.net/browse/962/?topic_id=962" rel="external nofollow">http://themes.freshmeat.net/browse/962/?topic_id=962</a><br /></li>
<li>
<a href="http://www.xs4all.nl/~hanb/software/fluxbox/styles" rel="external nofollow">http://www.xs4all.nl/~hanb/software/fluxbox/styles</a><br /></li>
</ul><p>Not to long ago there used to be a popular site called fluxmod, it was the home of fluxbox theming and held some of the best pixmap themes around. Unfortnately because of technical problems, it was shut down. You can get a tarball (tar.gz) of all the themes from:</p>
<p> </p>
<p><a href="http://aslan.no-ip.com/~iphitus/downloads/themes/Fluxmod-TheAshes.tar.bz2" rel="external nofollow">Fluxmod-TheAshes.tar.bz2</a></p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How can I change my fluxbox style?</strong></span></p>
<p>You can change styles in fluxbox by going into</p>
<p></p>
<pre class="ipsCode">Fluxbox menu &gt; Fluxbox &gt; Styles</pre>
<div></div>
<p></p>
<p> </p>
<p>Then selecting whichever one takes your fancy</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I install a style?</strong></span></p>
<p>Themes for fluxbox can be distributed and installed in many different ways. The most common way of distributing a fluxbox theme is inside a .tar.gz or .tar.bz2.</p>
<p> </p>
<p>For most themes, it is fine to just, download the theme to your /home/username directory and then extract it.</p>
<p> </p>
<p>You extract tar.gz with:</p>
<p> </p>
<p></p>
<pre class="ipsCode">tar -zxvf theme.tar.gz</pre>
<div></div>
<p></p>
<p> </p>
<p>And tar.bz2 with</p>
<p> </p>
<p></p>
<pre class="ipsCode">tar -jxvf theme.tar.bz2</pre>
<div></div>
<p></p>
<p> </p>
<p>The style should appear in the menu. If the style does not appear in your menu, take a look in your /home/username directory. If you see a folder called styles or pixmaps then your theme takes an extra step to install.</p>
<p></p>
<pre class="ipsCode">cd ~/.fluxbox/

tar -zxvf ../theme.tar.gz</pre>
<div></div>
<p></p>
<p>or</p>
<p></p>
<pre class="ipsCode">tar -jxvf ../theme.tar.bz2</pre>
<div></div>
<p></p>
<p>The style should be in your menu now. If it isn't, as a last ditch effort, restart fluxbox.</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I make a theme?</strong></span></p>
<p> </p>
<p>If you are interested in creating themes for fluxbox, it is very easy. Grab your favourite text editor, hack some existing theme's file or head over to asenchi's tutorial:</p>
<p>To view it in man format</p>
<p></p>
<pre class="ipsCode">man fluxstyle</pre>
<div></div>
<p></p>
<p> </p>
<p>or online here: <a href="http://aslan.no-ip.com/~iphitus/misc/themes.html" rel="external nofollow">http://aslan.no-ip.com/~iphitus/misc/themes.html</a></p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I bind keyboard shortcuts?</strong></span></p>
<p>To setup keyboard shortcuts, you can use one of the following solutions</p>
<ul><li>xbindkeys <a href="http://hocwp.free.fr/xbindkeys/xbindkeys.html" rel="external nofollow">http://hocwp.free.fr/xbindkeys/xbindkeys.html</a><br /></li>
<li>fluxkeys from fluxconf <a href="http://devaux.fabien.free.fr/flux/" rel="external nofollow">http://devaux.fabien.free.fr/flux/</a><br /></li>
<li>Manually<br /></li>
</ul><p>The fluxbox man page covers the manual way excellently</p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-username="Fluxbox man page" data-cite="Fluxbox man page" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="18972" data-ipsquote-contentclass="forums_Topic"><div>You  can  customise  Fluxbox'  key handling through the ~/.fluxbox/keys file.  The file takes the format of :<p></p>
<pre class="ipsCode">&lt;modifier&gt; &lt;key&gt; [...] :&lt;operation&gt;</pre>
<div></div>
<p></p>
<p> </p>
<p>In the example below, Mod1 is the 'Alt' key on the PC keyboard and Mod4 is one of the three extra keys on a pc104 branded with a sickening corporate logo.</p>
<p></p>
<pre class="ipsCode"># Fluxbox keys file.
# Any line starting with a # is a comment.
Mod1 Tab :NextWindow
Mod1 F1 :Workspace 1
Mod1 F2 :Workspace 2
Mod1 F3 :Workspace 3
Mod1 F4 :Workspace 4
Mod1 F5 :Workspace 5
Mod1 F6 :Workspace 6
Mod1 F7 :Workspace 7
Mod1 F8 :Workspace 8
Mod1 F9 :Workspace 9
Mod4 b :PrevWorkspace
Mod4 c :Minimize
Mod4 r :ExecCommand rxvt
Mod4 v :NextWorkspace
Mod4 x :Close
Mod4 m :RootMenu
Control n Mod1 n :NextTab
None Print :ExecCommand import -window root '%Y-%m-%d_$wx$h.png'; xmessage 'snapshot done'</pre>
<div></div>
<p></p>
<p>As you can see from the last line, keybinds can be chained in a fashion similar to emacs keybindings.</p>
<p>Commands  are  caseinsensitive, workspace numbering starts at "1", some commands have synonyms.</p>
</div></blockquote>
<p>To get a list of all the available commands, look in the man page. You can access the man page though the command line by typing:</p>
<p></p>
<pre class="ipsCode">man fluxbox</pre>
<div></div>
<p></p>
<p> </p>
<p>The man page is also <a href="http://aslan.no-ip.com/~iphitus/iphitusv3/fluxman.html" rel="external nofollow">available online</a>.</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I change my fluxbox menu?</strong></span></p>
<p>There are two ways of changing your fluxbox menu, they are:</p>
<ul><li>fluxmenu from fluxconf <a href="http://devaux.fabien.free.fr/flux/" rel="external nofollow">http://devaux.fabien.free.fr/flux/</a><br /></li>
<li>Manually<br /></li>
</ul><p>The fluxbox manual has an extensive section on doing it manually, and it isnt very hard. You can access the man page though the command line by typing:</p>
<p></p>
<pre class="ipsCode">man fluxbox</pre>
<div></div>
<p></p>
<p> </p>
<p>The man page is also <a href="http://fluxman.html" rel="external nofollow">available online</a>.</p>
<p> </p>
<p> </p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I get icons on my fluxbox desktop?</strong></span></p>
<p>Check out these great tutorials by ikaro:</p>
<ul><li>idesk <a href="http://ikaro.dk/content.php?article.16" rel="external nofollow">http://ikaro.dk/content.php?article.16</a><br /></li>
<li>rox pager <a href="http://ikaro.dk/content.php?article.4" rel="external nofollow">http://ikaro.dk/content.php?article.4</a><br /></li>
</ul><p><span style="font-size:14pt;line-height:100%;"><strong>How can I make programs startup when fluxbox starts?</strong></span></p>
<p>There are two methods of starting a program on startup.</p>
<ul><li>/home/username/.fluxbox/apps<br /></li>
<li>/home/username/.fluxbox/startup<br /></li>
</ul><p>It doesnt matter which of these two methods you use, most distros support the startup file, and the apps file is supported on every distro.</p>
<p> </p>
<p><em>startup</em></p>
<p> </p>
<p>You can put commands to run whatever programs you want in here. It is a great place to put programs like your dockapps, fbdesk, idesk, gdesklets, torsmo or any other programs you like to have running. The advantage it has over the apps file is that it's a shell script, allowing you to do more.</p>
<p>An example of this is:</p>
<p> </p>
<p></p>
<pre class="ipsCode">gkrellm &amp;
aterm &amp;</pre>
<div></div>
<p></p>
<p><em>apps</em></p>
<p>The apps file uses a different syntax to the startup file. To make a program startup, in the apps file add</p>
<p> </p>
<p></p>
<pre class="ipsCode">[startup] {programname}</pre>
<div></div>
<p></p>
<p> </p>
<p>An example of this is:</p>
<p></p>
<pre class="ipsCode">[startup] {gkrellm}</pre>
<div></div>
<p></p>
<p></p>
<pre class="ipsCode">[startup] {aterm}</pre>
<div></div>
<p></p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I start fluxbox from the command line?</strong></span></p>
<p> </p>
<p>If you want to use startx to start fluxbox from the command line, or you have been dumped out to a command line without X, this is how you can start X running fluxbox.</p>
<p> </p>
<p></p>
<pre class="ipsCode">echo exec startfluxbox &gt; ~/.xinitrc</pre>
<div></div>
<p></p>
<p> </p>
<p>Then run</p>
<p> </p>
<p></p>
<pre class="ipsCode">startx</pre>
<div></div>
<p></p>
<p> </p>
<p> </p>
<p>And X will start, running fluxbox and any programs you set to load in your startup files.</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>What is the slit?</strong></span></p>
<p> </p>
<p>The slit is a special dock in fluxbox where you can put applications called dockapps. It can be located on any side of the screen, and you can change this and many other features by right clicking it and changing them. These options are also available in the main fluxbox menu under:</p>
<p> </p>
<p></p>
<pre class="ipsCode">Fluxbox menu &gt; Fluxbox &gt; Configure &gt; Slit</pre>
<div></div>
<p></p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>Where can I get dockapps for the slit?</strong></span></p>
<p>You can find many dockapps to put in this area, at:</p>
<p> </p>
<p><a href="http://www.dockapps.org" rel="external nofollow">www.dockapps.org</a></p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I enable Anti-Aliased fonts?</strong></span></p>
<p> </p>
<p>To enable Anti-Aliased fonts, enable the following option in the Fluxbox menu:</p>
<p> </p>
<p></p>
<pre class="ipsCode">Fluxbox menu &gt; Fluxbox &gt; Configure &gt; Anti-Aliasing</pre>
<div></div>
<p></p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>What are fluxbox tabs and how do I use them?</strong></span></p>
<p> </p>
<p>Fluxbox is able to tab windows, just like tabbed browsing in Mozilla browsers. This can be a great way of saving space, organising windows, and its a great feature to show off to your GNOME or KDE friends. These tabs are integrated into the titlebar of a program and are very easy to work with.</p>
<p> </p>
<p>To tab one program with another, use your middle mouse button (left and right mouse buttons together if you dont have one) on the titlebar and drag it onto the window you want to have the program tabbed with. It should automatically tab them together and you can choose either one by clicking on it as you would in Mozilla. To untab a program, middle click it's title and drag it away, making sure it is not over any other windows.</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>How do I make windows borderless?</strong></span></p>
<p> </p>
<p><em>Temporary</em></p>
<p> </p>
<p>To set a program to be borderless temporarily, add this line to your /home/username/.fluxbox/keys:</p>
<p> </p>
<p></p>
<pre class="ipsCode">mod1 t :toggledecor</pre>
<div></div>
<p></p>
<p> </p>
<p>Then using the main fluxbox menu, reload the configuration.</p>
<p> </p>
<p>Once you have done that, select the program you want to have temporary borderlessness and type:</p>
<p> </p>
<p></p>
<pre class="ipsCode">alt-t</pre>
<div></div>
<p></p>
<p> </p>
<p><em>Permanent</em></p>
<p> </p>
<p>If you dont already have one, you will need to create a /home/username/.fluxbox/apps and then add the following lines to it:</p>
<p></p>
<pre class="ipsCode">[app] (aterm)

[Deco] {NONE}

[end]</pre>
<div></div>
<p></p>
<p> </p>
<p>Replace aterm, with the program you wish to make borderless, then restart fluxbox from its menu.</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>What do I do if I am having layering problems in Xorg 6.8</strong></span></p>
<p>If you are having layer problems in fluxbox, where windows aren't raising and lowering as you would like, fix it by changing the following.</p>
<p></p>
<pre class="ipsCode">Right click slit &gt; Layer &gt; Desktop</pre>
<div></div>
<p></p>
<p> </p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>When will Fluxbox reach 1.0?</strong></span></p>
<p>When it needs to. At the moment there is still some work to be done.</p>
]]></description><guid isPermaLink="false">18972</guid><pubDate>Tue, 21 Sep 2004 09:15:52 +0000</pubDate></item><item><title>WM/DE-02: KDE</title><link>https://mandrivausers.org/index.php?/topic/17463-wmde-02-kde/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=16303" rel="external nofollow">WM/DE: Window Managers and Desktop Environments</a>]</p>
<p> </p>
<p><strong>WM/DE-02: KDE</strong></p>
<p> </p>
<p>KDE is a <em>desktop environment</em>; the K Desktop Environment to be specific. The <strong>K</strong> can mean anything you want it to mean, Killer, Kruddy, Krazy, etc. As was explained in WM/DE-01 (add link when moved) desktop environments provide much more functionality than simple window managers.</p>
<p>Rather than convince you why KDE is the DE for you we'll attempt to help you decide for yourself by aiding you in the installation and configuration. What you use it for, and whether you even use it or not, is totally up to you :D</p>
<p> </p>
<p> </p>
<p><strong>Installation</strong></p>
<p>Installing kde via Mandrake's rpms is a simple task.</p>
<ul><li>Just open up <span style="color:#008000;">rpmdrake</span> as root and type in <strong>kde</strong> in the Search bar and hit the Search button. <br />You can then chose which apps you'd like to install individually.<br /></li>
<li>To instead install everything at once do the following command as root<br /><pre class="ipsCode">urpmi kdeutils kdeaddons kdemultimedia kdeadmin kdeartwork kdegraphics kdebase kdenetwork kdepim</pre>
<div></div>
<p><br />urpmi will do its thing and take care of the necessary dependencies<br /></p>
</li>
<li>If you'd rather take build kde from source (which I recommend) check out this page: <a href="http://uhaweb.hartford.edu/obennett/html/docs-build-kde3.html" rel="external nofollow">http://uhaweb.hartford.edu/obennett/html/d...build-kde3.html</a><br /></li>
</ul><p><strong>Configuration</strong></p>
<p>KDE is known for its configurability (and awesome eye candy but we'll get to that later) because they realize that not all users are the same and will probably want to change the default to suit themselves. KControl is the main method of configuring your KDE setup</p>
<p>First thing I usually change are the Icons and Fonts. Crystal's cool and everything but I'm in Nuvola mode for the forseeable future ;-) And as for helvetica... no comment, it might come out wrong.</p>
<p>There is an automated app in the form of the Desktop Settings Wizard which allows you to quickly personalize a new installation of KDE.</p>
<p>To run it press [Alt]+[F2] to get a Run... box, then enter <span style="color:#008000;">kpersonalizer</span>.</p>
<p><img src="http://uhaweb.hartford.edu/obennett/MUO_screens/kpersonalizer.jpg" alt="kpersonalizer.jpg" /></p>
<p>Using the Desktop Settings Wizard is a good way to attempt to get back to normalcy if your settings happen to go haywire while "tweaking" the desktop to your liking.</p>
<p> </p>
<p>It's possible to modify your mouse theme from the KDE Control Center.</p>
<p>All you have to do is untar themes into your ~/.icons. I've no idea why this isn't ~/.cursors but I've long since given up trying to make sense of what developers do.</p>
<p>You can also install the <span style="color:#0000FF;">cursor_themes</span> package if you have a contrib repository among your urpmi sources. These mouse themes will be available globally (to all users) instead of locally.</p>
<p>To change the cursor theme open up the KDE Control Center and go to Peripherals &gt; Mouse. Choose the Cursor Theme tab and select from a theme.</p>
<p><img src="http://liquidzoo.no-ip.com/mub/snapshot2.png" alt="snapshot2.png" /></p>
<p>If you then put your cursor over the section where the cursor previews you will get a live preview of how each cursor behaves, animations included.</p>
<p> </p>
<p>You can also configure the current resolution of the desktop or the resolution you want KDE to start up with. These options are present under Peripherals &gt; Display.</p>
<p> </p>
<p>Some people may want to change the default browser from konqueror o_0</p>
<p>You can do this by going to Components/KDE Components &gt; File Associations &gt; text &gt; html and adding the browser or moving it to the top of the list. Whichever browser is at the top of the list becomes the default.</p>
<p><img src="http://liquidzoo.no-ip.com/mub/snapshot1.png" alt="snapshot1.png" /></p>
<p>Newer versions of KDE have a Component Chooser which makes it easier to change the default browser. It's in KDE Components &gt; Component Chooser</p>
<p><img src="http://liquidzoo.no-ip.com/mub/snapshot3.png" alt="snapshot3.png" /></p>
<p> </p>
<p>In KDE 3.3.0 the KDE control center has a module for scpecific window settings in Desktop -&gt; Window-Specifc Settings. It's not to look at by default but becomes useful after you've saved window settings there.  I'll use KSensors as an example of how to set this up.</p>
<p>My current desktop setup looks like this</p>
<p><img src="http://uhaweb.hartford.edu/obennett/MUO_screens/desktop.jpg" alt="desktop.jpg" /></p>
<p> </p>
<p>If you look to the right you see that the Kasbar (pager thing in top right of the screen) doesn't take up the whole of the screen. I decided to use ksensors to fill up that space but it didn't turn out quite right at first.</p>
<p>pretend image is here...</p>
<p> </p>
<p>So then I removed the window border/decorations by doing [Alt]+[F3] -&gt; Advanced -&gt; No Border and resized using [Alt]+[F3] -&gt; Resize. Kasbar doesn't like it's space being invaded so to move the ksensors window in the space under it I used the [Alt]+drag technique to move the window. The end result was this.</p>
<p>pretend image is here...</p>
<p> </p>
<p>Now that I have it how I want it's time to save the settings. [Alt]+[F3] -&gt; Advanced -&gt; Special Window Settings.... I chose the <strong>Use window class (whole application)</strong> option at first.</p>
<p>In the window that pops up I went the Geometry tab and selected the Position and Size options. I selected Apply Initially in the dropdown boxes. Then I hit OK and thought I was finished. I quit KSensors and restarted to check that everything was ok and got this:</p>
<p>pretend image is here...</p>
<p>As you can see it's not quite what I'd expected. I had forgotten about the border settings and the position was a bit off (told you Kasbar didn't like to share). And worse, even though you can't see it the all ksensors windows were in the same position at the same size. Definitely not optimal.</p>
<p> </p>
<p>I went back to the Desktop -&gt; Window-Specific Settings in the control center and started modifying things. I went to the Window Extra tab and under Window title: chose Exact Match in the dropdown box. Then I moved on the the Geometry tab. Apply Initially didn't seem to be what I wanted so I chose Remember. Moving right along I went to the Preferences tab and clicked on the No border option and chose Force. Everything seemed in order so I click on OK, Applied the settings in the control center, and restarted ksensors. </p>
<p> </p>
<p>It still looked like it did in the previous shot, but now the setting only applied to the sensors window specifically. The Window title: setting in the Window Extra tab was the only one that worked as expected :-(</p>
<p>I went back to the control center and started modifying the window settings again. This time I chose Force for the Position and Size entries in the Geometry Tab. When I went to the Preferences tab I saw that I had forgotten to select the radio button beside the Force option and did so. Hit OK, Apply, restart ksensors again and...</p>
<p>Pretend there's a picture here...</p>
<p> </p>
<p>Voila! Exactly what I'd wanted. Awesomeness. It takes a bit of playing around (took me more than 3 times to get this) but it does work. </p>
<p> </p>
<p>There endeth the configuration section but stick around a while, there's more yet to come.</p>
<p> </p>
<p> </p>
<p><strong>Themation</strong></p>
<p>Theming in KDE is pretty simple. Want to install an Icon Theme? Download the zip or tarball (tar.bz2 or tar.gz) file that it's provided in and blaaaaaaaaaahhhh...</p>
<p>Styles, themes and KDE specific (and not so specific) backgrounds  for KDE can be found at KDE-Look.org. How's that for redundancy? </p>
<p>SuperKaramba/Karamba themes can also be found at at kdelook. It's good stuffs (sic).</p>
<p> </p>
<p> </p>
<p><strong>Useration</strong></p>
<p>This section will be filled in by you, the user  :D </p>
<p>Just like the K in KDE, it can be anything you want it to be. Ciao.</p>
]]></description><guid isPermaLink="false">17463</guid><pubDate>Wed, 11 Aug 2004 16:58:48 +0000</pubDate></item><item><title>IM-03: How do I get more software for Mandrake?</title><link>https://mandrivausers.org/index.php?/topic/17480-im-03-how-do-i-get-more-software-for-mandrake/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>IM-03: How do I get more software for Mandrake Linux?</strong></p>
<p><span style="color:#FF0000;">::::Finding sources::::</span></p>
<p>Urpmi Sources are mirrors of the MandrakeLinux's ftp tree. To add extra sources to urpmi you have to find mirrors.</p>
<p>You can get a list of mirrors by going to the <a href="http://easyurpmi.zarb.org" rel="external nofollow">Easy Urpmi Webpage</a></p>
<p> </p>
<p><span style="color:#FF0000;">::::Adding sources using the command-line::::</span></p>
<p>You can do all this using the command line and like most things done on the command-line/console it is usually faster.</p>
<p>The syntax for adding sources a la console is </p>
<pre class="ipsCode">urpmi.addmedia name_of_source url_of_source  with  hdlist_of_source</pre>
<div></div>
<p></p>
<p>Using the <a href="http://easyurpmi.zarb.org" rel="external nofollow">Easy Urpmi Webpage</a> makes adding sources from the command line really simple. All you have to do is:</p>
<p>1. Read the directions on the webpage. They are quite easy to follow and the information on this page will not always be up to date.</p>
<p>2. Select your operating system.</p>
<p>3. Select an architechture (the default is what most will use).</p>
<p>4. Select a mirror for each source which is close to you. Most people will want to add contrib and plf sources. Jpackage contains rpms of java programs.</p>
<p>5. Paste in the text which appears in the box below <strong>3) Type this in a console as root</strong></p>
<p> </p>
<p>As an example I'll show you the sources I've added using the console method.</p>
<p>These are cooker sources which are unstable. I did this to make sure that no one just tries to copy this word for word. Using a little grey matter is a good thing sometimes :)</p>
<p>1. Log in as root by typing </p>
<pre class="ipsCode">su</pre>
<div></div>
<p> in a console, then entering the root password</p>
<p>2. </p>
<pre class="ipsCode">urpmi.addmedia jpackage ftp://mirror.cs.wisc.edu/pub/mirrors/linux/Mandrakelinux/devel/cooker/i586/media/jpackage with media_info/hdlist.cz</pre>
<div></div>
<p></p>
<p>3. Now logout of root by typing </p>
<pre class="ipsCode">exit</pre>
<div></div>
<p> I've just added a source using the console. But wait... there's more :)</p>
<p> </p>
<p> </p>
<p><span style="color:#FF0000;">::::Adding sources using a GUI::::</span></p>
<p>It's a relatively easy task to get more free software for your Mandrake Linux box once you know what to do.</p>
<p>Unless you're in the Mandrake Club, there are 2 main rpm-based resources available to you for use:</p>
<p>2) <span style="color:#008000;">PLF RPMs</span></p>
<p>3) <span style="color:#008000;">Contrib RPMs</span></p>
<p> </p>
<p>These two sources should give you the oppurtinity to add things like DVD players, DVD rippers, extra games and artwork to you Mandrake Linux box which for one reason or another could not be added to the official discs.</p>
<p> </p>
<p>We will now look at how to add these sources using graphical utilities. The first thing you will need to do is open up the <span style="color:#0000FF;">Mandrake Control Center</span>. It will be in your menu under Configuration or on your menu panel. <span style="color:#FF0000;">UPDATE ME</span></p>
<p> </p>
<p>1. Once open, click on the <span style="color:#0000FF;">Software Management</span> icon.</p>
<p>2. Then click on <span style="color:#0000FF;">Software Sources/Media Manager</span>.</p>
<p>You will now have to find add urls to describe the path to you new rpm resources. I usually add http sources because I find them to be faster. You have the option of adding either http or ftp servers. I'll show you how to add both.</p>
<p>3. Click the <span style="color:#0000FF;">Add..</span>. </p>
<p>The "URL" will be </p>
<pre class="ipsCode">http://ftp.ibiblio.org/pub/Linux/distributions/contrib/texstar/linux/distributions/mandrake/9.1/rpms/</pre>
<div></div>
<p> and the "Relative path to synthesis/hdlist" will be </p>
<pre class="ipsCode">./hdlist.cz</pre>
<div></div>
<p> </p>
<p>4. Click <span style="color:#0000FF;">Ok</span> and wait for the sources to be added to the urpmi database. If all goes well (check for typos) you will have just finished adding your first unofficial source. Next we will do ftp sources for plf and contrib packages.</p>
<p>5. Click on <span style="color:#0000FF;">Add..</span>. For ftp servers a login and password can be added if necessary. We won't use any servers which require that here.</p>
<p>Let's do plf first so for the "Name" you can put </p>
<pre class="ipsCode">plf</pre>
<div></div>
<p>.</p>
<p>The "URL" will be </p>
<pre class="ipsCode">ftp://plf.time4t.net/pub/plf/9.1/i586</pre>
<div></div>
<p></p>
<p>and the "Relative path to synthesis/hdlist" will be </p>
<pre class="ipsCode">../hdlist.cz</pre>
<div></div>
<p>  *Note that there are <em>two</em> dots before the slash this time.*</p>
<p>Again click <span style="color:#0000FF;">Ok</span> and wait for the source to be added to the urpmi database.</p>
<p>6. Finally we will add our contrib source, again from ftp. The "Name" will be </p>
<pre class="ipsCode">contrib</pre>
<div></div>
<p>. </p>
<p>The "URL" will be </p>
<pre class="ipsCode">ftp://mirrors.secsup.org/pub/linux/mandrake/Mandrake/9.1/contrib/RPMS</pre>
<div></div>
<p></p>
<p>and the "Relative path to synthesis/hdlist" will be </p>
<pre class="ipsCode">../../i586/Mandrake/base/hdlist2.cz</pre>
<div></div>
<p></p>
<p>Click <span style="color:#0000FF;">Ok</span> one last time and wait for the source to be added to the urpmi database.</p>
<p>Congratulations, you are now able to download software from all these sites using Rpmdrake or the urpmi command.</p>
<p> </p>
<p><span style="color:#FF0000;">::::Advanced Tricks::::</span></p>
<p> </p>
<p>Here you'll learn a couple of tricks which are best and I think only possible with the command line. First is adding gpg keys. </p>
<p>Rpmdrake has a security feature which asks you if you want to install which does not have a recognized gpg signature. </p>
<p> </p>
<p>On the main <a href="http://plf.zarb.org/" rel="external nofollow">plf</a> page is a neat little trick to import their gpg key into the root user's keyring. To download and install the plf gpg key go to this link for instructions : <a href="http://plf.zarb.org/packages.php" rel="external nofollow">http://plf.zarb.org/packages.php</a></p>
<p> </p>
<p>Another useful trick is trying to find out which mirrors are close to you so that you can get the best download speeds. The closeness of a mirror isn't the only factor influencing downloads (how many other people are downloading is also a factor) but it's a factor that is easily determined. To do this we will need the <span style="color:#008000;">traceroute</span> command.</p>
<p>If you don't have it installed:</p>
<p>1. Open up a console and login as root</p>
<p>2. </p>
<pre class="ipsCode">urpmi traceroute</pre>
<div></div>
<p></p>
<p>3. Once installed you use traceroute like so </p>
<pre class="ipsCode">traceroute url_without_http_or_ftp_prefix</pre>
<div></div>
<p></p>
<p>eg </p>
<pre class="ipsCode">traceroute plf.time4t.net</pre>
<div></div>
<p></p>
<p>My rule of thumb is that, "the mirror which takes the least number of hops to get to you is the closest." The "hops" are numbered so it is pretty easy to figure them out.</p>
<p>Oh yeah, before you forget, log out of root :)</p>
<p>Want to know some mirrors so the you can find out how close they are? </p>
<p>Go to the <a href="http://easyurpmi.zarb.org" rel="external nofollow">Easy Urpmi Webpage</a> and check out the different mirrors there or go to the Mandrake Linux download page <a href="http://www.mandrakelinux.com/en/ftp.php3" rel="external nofollow">http://www.mandrakelinux.com/en/ftp.php3</a></p>
]]></description><guid isPermaLink="false">17480</guid><pubDate>Thu, 12 Aug 2004 04:02:03 +0000</pubDate></item><item><title>WM/DE-04: XFCE</title><link>https://mandrivausers.org/index.php?/topic/16874-wmde-04-xfce/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=16303" rel="external nofollow">WM/DE: Window Managers and Desktop Environments</a>]</p>
<p> </p>
<p><strong>WM/DE-04: XFCE</strong></p>
<p> </p>
<p>Many, many thanks to <a href="http://www.mandrakeusers.org/index.php?showuser=1717" rel="external nofollow">Andrewski</a> for this FAQ</p>
<p> </p>
<p>Many Gnomers are disillusioned with the bloated look and performance of 2.8.  Xfce, while not a replacement in all respects, is a worthy successor; it is much more modular and is quite zippy!</p>
<p> </p>
<p><strong>Basic Configuration and Installation</strong></p>
<p>(Note: I don't know of a location for 4.2 beta RPMs.)</p>
<p>The best way to find Mandrake RPMs for Xfce is to install from Charles Edwards's site: <a href="http://www.eslrahc.com" rel="external nofollow">http://www.eslrahc.com</a>.  If you get a chance, thank him for his contribution!  (Xfce used to be in the Mandrake main repository but, for some reason, is no longer.)  See the RPM tutorial on this site for how to add a collection (like this one) to your urpmi database.</p>
<p> </p>
<p>A note on which RPMs to install: Similar to Gnome, not all packages available are necessary.  There are plenty of plugins for the panel that, mostly because I use GKrellM, I have never wanted to install.  Also, there is a session control program that I also don't like; I prefer to have Xfce start up by opening my symlinks in my autostart folder (something its default xinitrc does for you).  It means one less program running and one less system tray icon.</p>
<p> </p>
<p>Once you have the repository set up, you can just `urpmi xfce` and the dependencies will be calculated for you.</p>
<p> </p>
<p><strong>Basic Setup</strong></p>
<p>Most of the basic setup involves the startup script.  Instead of editing the "standard" xinitrc, Xfce uses a script to launch its own xinitrc.  By default, the script reads from a global file (somewhere like /etc/.../xfce4/xinitrc).  The basic setup it provides is OK, but probably has some things you don't want and misses others you do.  So, copy that one to ~/.xfce4/xinitrc.  (The script will then execute your user's file before it tries to execute the global one.)  Make sure it is executable! (chmod u+x xinitrc); otherwise, it will not be run and the global one will be executed as a fallback (a known bug that won't be fixed until the 4.2 release).  Once it's copied, you can open it up in your favourite editor and customise to taste.  Most of the commands are commented fairly well so you know what's happening when, but a few additional notes thereon:</p>
<p><img src="https://mandrivausers.org/uploads/emoticons/default_icon_idea.gif" alt=":idea:" data-emoticon="" /> You can change the path to your ~/Desktop/Autostart folder if you choose; I much prefer ~/desktop/.autostart so my folder is hidden and so I don't have any folders with caps.</p>
<p><img src="https://mandrivausers.org/uploads/emoticons/default_icon_idea.gif" alt=":idea:" data-emoticon="" /> Don't put any commands after the xfce4panel section or they won't get executed; the panel is the controlling application, i.e. killing it kills your Xsession.  Thusly and therefore, it is the last command executed.</p>
<p> </p>
<p>Once you have it customised to taste, the included script to start is startxfce4 (in xfce4-utils).  I suggest, even if you normally use a DM to log in, that you use this script the first few times to catch any output, error or otherwise, that your xinitrc will give.  I use the following command to do so, which will catch the standard output as well as the error output and output it to a file xfce.log in my home directory:</p>
<p></p>
<pre class="ipsCode">startxfce4 &amp;&gt; ~/xfce.log</pre>
<div></div>
<p></p>
<p>You'll get output from your X server and from Xfce, so not all is applicable (but that is a good way to debug your X output, if you haven't already!).</p>
<p>The RPMs should automagically add Xfce to your display managers, so once you start it up it should already be listed in the available sessions.</p>
<p> </p>
<p><strong>Theming</strong></p>
<p>Xfce is good. <img src="https://mandrivausers.org/uploads/emoticons/default_banana.gif" alt=":banana:" data-emoticon="" /> It utilises GTK themes for widgets, since it's pretty good-looking and since there is already a large user base contributing to the themes (from Gnome).  Thusly, you can find any GTK theme you like and download it (or use the one you used to use in Gnome).  Unzip it to ~/.themes/ (or at least provide therein a symlink to the appropriate folder where the theme resides).  It will then be available for selection in the Settings -&gt; User Interface.  (Make sure you have the appropriate GTK engine installed for the theme you choose! otherwise it will just look plain.)</p>
<p> </p>
<p>If screenshots are important to you, then here are some that showcase the actual features of Xfce:</p>
<p><a href="http://www.xfce.org/index.php?page=screenshots" rel="external nofollow">http://www.xfce.org/index.php?page=screenshots</a></p>
<p><a href="http://xfce.lindesign.se/db/viewtopic.php?t=171" rel="external nofollow">http://xfce.lindesign.se/db/viewtopic.php?t=171</a></p>
<p> </p>
<p>I'm not going to duplicate information that's already out there, especially if this hasn't sold you yet.  So here are some good resources for the Xfce user, or if you'd just like to read more about it:</p>
<p><a href="http://www.xfce.org/" rel="external nofollow">Xfce homepage</a></p>
<p><a href="http://www.xfce.org/index.php?page=documentation" rel="external nofollow">Xfce Documentation</a> - Though lacking in some cooler tricks, it covers the basics for everything</p>
<p><a href="http://forum.xfce.org/" rel="external nofollow">Xfce forum</a> - Has some good information; peruse the archives!</p>
<p><a href="http://xfce-goodies.berlios.de/" rel="external nofollow">Xfce Goodies</a> - Plugins and such.</p>
<p> </p>
<p>I particularly recommend the forum since, not to toot my own horn but, I'm a moderator there (same username) and I try to answer all the questions.  Our userbase is still small enough that this is feasible. :)</p>
<p> </p>
<p><em>Updated 11/09/04</em></p>
]]></description><guid isPermaLink="false">16874</guid><pubDate>Wed, 21 Jul 2004 19:30:37 +0000</pubDate></item><item><title>NT-06: How-To set up Samba Networking</title><link>https://mandrivausers.org/index.php?/topic/16737-nt-06-how-to-set-up-samba-networking/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://mandrakeusers.org/index.php?showtopic=4457" rel="external nofollow">NT: Networking</a>]</p>
<p> </p>
<p><strong>NT-06: How-To set up Samba Networking</strong></p>
<p> </p>
<p> </p>
<p><strong>Installing Samba</strong></p>
<p>The first thing we need to do is get some wizard action going. As root </p>
<p></p>
<pre class="ipsCode">urpmi drakwizard</pre>
<div></div>
<p> </p>
<p>After all that's done open up Mandrake Control Center </p>
<p></p>
<pre class="ipsCode">mcc</pre>
<div></div>
<p> </p>
<p>then go to Server Wizards -&gt; Configure Samba. Say yes to any questions which get asked till you get to something similar to this screen.</p>
<p><img src="http://uhaweb.hartford.edu/obennett/MUO_screens/mcc-samba-wizard1.png" alt="mcc-samba-wizard1.png" /></p>
<p> </p>
<p>Then hit <strong>Next</strong> and enter a name for your Workgroup. </p>
<p>Hit <strong>Next</strong> two more times and choose an <strong>Access level</strong></p>
<p>If you selected <strong>My rules</strong> you will now be given the option to refine which computers are allowed on your network. </p>
<p>When at the <em>Enable Samba server</em> step DO NOT check file sharing area. You will not be able to finish the wizard.</p>
<p>Continue through the wizard. If you had chosen to share printers, a configuration screen will be available to you.</p>
<p> </p>
<p>Once this is done, you will need to configure your users.  You will need to add your Windows logon id (XP only, I think, the Administrator users will be added by default for Win2k) to the users list.  To do this, open a console and su to root.  Then type:</p>
<p> </p>
<p></p>
<pre class="ipsCode">smbpasswd -a USER</pre>
<div></div>
<p></p>
<p> </p>
<p>where USER is your Windows username.  You will be prompted (twice) for a password for this user.  Enter one you will remember.  You will need it when you access your shares from your Windows PC, at least the first time.</p>
<p> </p>
<p><strong>Networking</strong></p>
<p>	:: Linux</p>
<p>To use samba between linux computers one needs to be a server (configured above) and the other needs to have smbclient installed. To do this </p>
<p></p>
<pre class="ipsCode">urpmi libsmbclient</pre>
<div></div>
<p></p>
<p>The computer with only smbclient installed will be able to access samba shares. </p>
<p>The computer with smbclient AND the samba server install will be able to both serve and access shares. </p>
<p> </p>
<p>	:: Windows</p>
<p>To enable sharing in Windows open up the Control Panel and go to Network Connections.</p>
<p>Right Click on your connection and select <strong>Properties</strong></p>
<p>Make sure that both <em>Client for Microsoft Networks</em> and <em>File and Printer Sharing</em> are checked.</p>
<p>Then right click on My Computer and go to <strong>Properties</strong></p>
<p>Go to the <em>Computer Name</em> tab and click on the <strong>Change</strong> button.</p>
<p>Select a sensible name for your computer And change the workgroup to the same one that made when you configured the samba server. It doesn't have to be the same, but it's neater this way.</p>
<p> </p>
<p>Configuring Shares</p>
<p>Now comes the hard part, and for this we go to the Samba Configuration file.</p>
<p>Open up  <span style="color:#008000;">/etc/samba/smb.conf</span> and scroll all the way down to the bottom. Read the comments and select the type of share which you would like. </p>
<p>Then modify the examples to fit your specific needs.</p>
<p>For example, If I only want the user Illogic-al to be able to access my musiz share I'd change</p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="16737" data-ipsquote-contentclass="forums_Topic"><div># A private directory, usable only by fred. Note that fred requires write<p># access to the directory.</p>
<p>;[fredsdir]</p>
<p>;   comment = Fred's Service</p>
<p>;   path = /usr/somewhere/private</p>
<p>;   valid users = fred</p>
<p>;   public = no</p>
<p>;   writable = yes</p>
<p>;   printable = no</p>
</div></blockquote>
<p>to this</p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="16737" data-ipsquote-contentclass="forums_Topic"><div># A private directory, usable only by fred. Note that fred requires write<p># access to the directory.</p>
<p>[fredsdir]</p>
<p>   comment = Mah Muzak</p>
<p>   path = /mnt/Music</p>
<p>   valid users =  <span style="color:#FF0000;">illogic-al</span></p>
<p>   public = no</p>
<p>   writable = yes</p>
<p>   printable = no</p>
</div></blockquote>
<p>illogic-al, of course, needs to be created using smbpassword, as stated above.</p>
<p>The <span style="color:#008000;">/etc/samba/smb.conf</span>  has more examples of potential sharing situations which users may want so go check it out.</p>
<p> </p>
<p>For those longing for a Graphical approach the <span style="color:#0000FF;">samba-swat</span> package or <span style="color:#0000FF;">webmin</span> package may be for you. Be awars however that after using samba-swat the comments in the smb.conf file will be gone. The comments provide useful information so I recommend backing up or making a copy before editing via SWAT. I'm unfamiliar with webmin and whether or not it too erases the comments.</p>
<p>To install SWAT</p>
<p></p>
<pre class="ipsCode">urpmi samba-swat</pre>
<div></div>
<p></p>
<p></p>
<pre class="ipsCode">urpmi webmin</pre>
<div></div>
<p></p>
<p> </p>
<p><strong>Security</strong></p>
<p>There are varioius security options which are available to samba. Some are commented in the <span style="color:#008000;">/etc/samba/smb.conf</span> and many others are documented via man or info page.</p>
<p></p>
<pre class="ipsCode">man smb.conf</pre>
<div></div>
<p> or </p>
<pre class="ipsCode">info smb.conf</pre>
<div></div>
<p> to access them.</p>
<p>Two of these options will be demonstrated. Be very careful however as these options will make more <strong>in</strong>secure.</p>
<p> </p>
<p>The first smb.conf we'll look at the <span style="color:#0000FF;">security = </span> option.</p>
<p>To allow access to certain shares (e.g. read-only public shares) without any logging in, change the option </p>
<p></p>
<pre class="ipsCode">security = user</pre>
<div></div>
<p> in <span style="color:#008000;">/etc/samba/smb.conf</span> to </p>
<p></p>
<pre class="ipsCode">security = share</pre>
<div></div>
<p> </p>
<p> </p>
<p>On Windows XP accounts are created by default without a password. Other account normally don't have passwords (e.g. the Guest user). If a user is added using smbpasswd samba will expect that user to have a password (even if you entered no password for the user). Therefore if you a a remote user from a Windows computer which has no password they won't be able to log in as samba will keep asking for a password. </p>
<p>to disable this security option put </p>
<p></p>
<pre class="ipsCode">null passwords = yes</pre>
<div></div>
<p> in your <span style="color:#008000;">/etc/samba/smb.conf</span> file.</p>
<p> </p>
<p><strong>Enabling Changes</strong></p>
<p>After any changes are made to the smb.conf file the samba server needs to be restarted to load them. To do this simply type as root</p>
<p></p>
<pre class="ipsCode">service smb restart</pre>
<div></div>
<p></p>
<p> </p>
<p><strong>Accessing Shares</strong></p>
<p>	:: Linux</p>
<p>There are various which are used to access samba shares.</p>
<p></p>
<pre class="ipsCode">urpmi smb4k</pre>
<div></div>
<p> is a good start.</p>
<p>If you use konqueror or nautilus you can access samba share bye typing </p>
<p></p>
<pre class="ipsCode">smb:/</pre>
<div></div>
<p> in the address box. In konqueror it looks a little something like this</p>
<p><img src="http://uhaweb.hartford.edu/obennett/MUO_screens/samba-kio.png" alt="samba-kio.png" /></p>
<p> </p>
<p><img src="http://uhaweb.hartford.edu/obennett/MUO_screens/samba-workgroup.png" alt="samba-workgroup.png" /></p>
<p> </p>
<p>It is also possible to use command line tools to access samba shares. These tools are available w/ the samba-client package. To install</p>
<p></p>
<pre class="ipsCode">samba-client</pre>
<div></div>
<p></p>
<p>This package provides <span style="color:#008000;">smbmount</span> which can't be used to mount shares. Usage of smbmount is left as an exercise for the reader :-)</p>
<p> </p>
<p> </p>
<p>	:: Windows </p>
<p> </p>
<p>You can browse your Samba shares by going through Network Neighborhood.  Simply click on it, browse to "Computers in my Workgroup" and you should see your Samba shares.  You will be prompted, at least the first time, for your username and password.  Alternatively, you can mount them as network drives.  Right click on My Computer and go to Map Network Drive.  Choose a drive letter, then click on the Browse button.  Find your shares as above and mount them to your heart's content.</p>
<p> </p>
<p> </p>
<p>/***************************************************************************</p>
<p>This FAQ has been brought to you by iillogic-al and LiquidZoo</p>
<p>Updated By illogic-al</p>
<p>Proofread by Steve Scrimshire</p>
<p>***************************************************************************/</p>
]]></description><guid isPermaLink="false">16737</guid><pubDate>Sun, 18 Jul 2004 20:31:47 +0000</pubDate></item><item><title>FAQ's Table of Contents</title><link>https://mandrivausers.org/index.php?/topic/4452-faqs-table-of-contents/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrivausers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrivausers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrivausers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrivausers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>]</p>
<p> </p>
<p><span>FAQ's Table of Contents </span></p>
<p>Last update: 2006-07-12</p>
<p> </p>
<p>This Forum currently(*) has 80 FAQ Topics divided in 16 Sections.</p>
<ul><li>
<a href="https://mandrivausers.org/index.php?showtopic=10597" rel="external nofollow"><strong>BL:  Bootloaders</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=10598" rel="external nofollow">BL-01</a>: LILO Configuration<br /><a href="http://www.mandrivausers.org/index.php?showtopic=5082" rel="external nofollow">BL-02</a>: Will LILO boot a second Linux Distribution?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=10616" rel="external nofollow">BL-03</a>: GRUB Configuration<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4464" rel="external nofollow"><strong>BQ: Board Questions</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4470" rel="external nofollow">BQ-01</a>: I have a FAQ, how can I post it into the FAQ Forum?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4501" rel="external nofollow">BQ-02</a>: How do I link directly to a specific post? <br /><a href="http://www.mandrivausers.org/index.php?showtopic=5604" rel="external nofollow">BQ-03</a>: I need a language translator!<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4463" rel="external nofollow"><strong>CL: Command Line Questions</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4473" rel="external nofollow">CL-01</a>: How can I edit a file in command line?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4497" rel="external nofollow">CL-02</a>: How do I move/rename a file from the command line?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4523" rel="external nofollow">CL-03</a>: What is the size of a directory?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4559" rel="external nofollow">CL-04</a>: How can I use shortcuts in the command line?<br /><a href="https://mandrivausers.org/index.php?showtopic=4638" rel="external nofollow">CL-05</a>: How do I check if my CD/ISO is not corrupted (md5sum)?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4737" rel="external nofollow">CL-06</a>: How to burn data cds from the command line?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=6397" rel="external nofollow">CL-07</a>: Understanding And Moving Thru the Directory Structure<br /><a href="http://www.mandrivausers.org/index.php?showtopic=13575" rel="external nofollow">CL-08</a>: File Creation<br /><a href="https://mandrivausers.org/index.php?showtopic=30195" rel="external nofollow">CL-09</a>: Compiling C or C++ Programs<br /><a href="https://mandrivausers.org/index.php?showtopic=10771" rel="external nofollow">CL-10</a>: Basic Shell Scripting<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4462" rel="external nofollow"><strong>GE: Games-Emulation</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4578" rel="external nofollow">GE-01</a>: How do I install Unreal Tournament 2003 for Linux?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=10941" rel="external nofollow">GE-02</a>: How to install WineX from CVS<br /><a href="http://www.mandrivausers.org/index.php?showtopic=13793" rel="external nofollow">GE-03</a>: HOWTO: Arcade Emulation<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4456" rel="external nofollow"><strong>GQ: General questions not covered in the other sections</strong></a><br /><a href="https://mandrivausers.org/index.php?showtopic=4639" rel="external nofollow">GQ-01</a>: How do I find (additional) help? <br /><a href="http://www.mandrivausers.org/index.php?showtopic=4496" rel="external nofollow">GQ-02</a>: What do I do when my system stops responding?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4498" rel="external nofollow">GQ-03</a>: How do I copy and paste between two applications? <br /><a href="http://www.mandrivausers.org/index.php?showtopic=4483" rel="external nofollow">GQ-04</a>: How do I remove Linux to reinstall windows?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4678" rel="external nofollow">GQ-05</a>: WTF does WTF mean?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=6392" rel="external nofollow">GQ-06</a>: History of Linux<br /><a href="http://www.mandrivausers.org/index.php?showtopic=10182" rel="external nofollow">GQ-07</a>: How To Connect to IRC<br /><a href="http://www.mandrivausers.org/index.php?showtopic=10191" rel="external nofollow">GQ-08</a>: How to Create an ISO Image From a CD<br /><a href="http://www.mandrivausers.org/index.php?showtopic=13499" rel="external nofollow">GQ-09</a>: What are the benefits / why use Linux?<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4461" rel="external nofollow"><strong>HW: Hardware, drivers...</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4567" rel="external nofollow">HW-01</a>: How to install the nVidia driver<br /><a href="http://www.mandrivausers.org/index.php?showtopic=13792" rel="external nofollow">HW-02</a>: Using Hauppauge WinTV PVR with Mandrake 10<br /><a href="http://www.mandrivausers.org/index.php?showtopic=13773" rel="external nofollow">HW-03</a>: Lucent Winmodem drivers mdk10 Kernel 2.6<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4460" rel="external nofollow"><strong>IM: Installing and Configuring Mandrake</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4499" rel="external nofollow">IM-01</a>: How do I install Mandrake from the harddrive?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4572" rel="external nofollow">IM-02</a>: How to Configure Mandrake/Where is the Control Panel?<br /><a href="https://mandrivausers.org/index.php?showtopic=17480" rel="external nofollow">IM-03</a>: How do I get more software for Mandrake Linux?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4774" rel="external nofollow">IM-04</a>: How do I disable/enable supermount?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4831" rel="external nofollow">IM-05</a>:  How do I mount music CDs in Linux?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4960" rel="external nofollow">IM-06</a>: read and write permission on Windows partition<br /><a href="http://www.mandrivausers.org/index.php?showtopic=5084" rel="external nofollow">IM-07</a>: How do I start programs at boot? <br /><a href="http://www.mandrivausers.org/index.php?showtopic=5742" rel="external nofollow">IM-08</a>: What Linux software corresponds to Windows software? <br /><a href="http://www.mandrivausers.org/index.php?showtopic=6388" rel="external nofollow">IM-09</a>: Filesystem Layout  Partitioning<br /><a href="http://www.mandrivausers.org/index.php?showtopic=6389" rel="external nofollow">IM-10</a>: Dual-Booting with Windows<br /><a href="http://www.mandrivausers.org/index.php?showtopic=6665" rel="external nofollow">IM-11</a>: Copying And Burning CD's with K3b<br /><a href="http://www.mandrivausers.org/index.php?showtopic=7254" rel="external nofollow">IM-12</a>: How To Participate in the MDK Cooker Project<br /><a href="http://www.mandrivausers.org/index.php?showtopic=11801" rel="external nofollow">IM-13</a>: How to Make a Boot CD<br /><a href="http://www.mandrivausers.org/index.php?showtopic=14094" rel="external nofollow">IM-14</a>: Creating CD's from the FTP Tree<br /><a href="https://mandrivausers.org/index.php?showtopic=19212" rel="external nofollow">IM-15</a>: How do I make my NTFS partition writable?<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4459" rel="external nofollow"><strong>KC: Kernel Compilation</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4595" rel="external nofollow">KC-01</a>: How do I compile a kernel?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4596" rel="external nofollow">KC-02</a>: How do I compile a SRPM kernel?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4597" rel="external nofollow">KC-03</a>: How do I apply a patch to the kernel?<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4458" rel="external nofollow"><strong>LT: Laptops</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=5494" rel="external nofollow">LT-01</a>: PCMCIA Wireless access for your Laptop<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4457" rel="external nofollow"><strong>NT: Networking</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4486" rel="external nofollow">NT-01</a>: eDonkey 2000 under Linux<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4502" rel="external nofollow">NT-02</a>: KaZaA Lite under Linux<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4549" rel="external nofollow">NT-03</a>: LimeWire under Linux<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4731" rel="external nofollow">NT-04</a>: How to configure Shorewall (the default firewall)<br /><a href="http://www.mandrivausers.org/index.php?showtopic=5083" rel="external nofollow">NT-05</a>: How to permanently set the hostname with MCC<br /><a href="http://www.mandrivausers.org/index.php?showtopic=16737" rel="external nofollow">NT-06</a>: How to setup Samba Networking<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4455" rel="external nofollow"><strong>RPM: About rpm usage (urpmi, rpmbuild...).</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4516" rel="external nofollow">RPM-01</a>: How can I recompile SRPMs as normal user?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=10600" rel="external nofollow">RPM-02</a>: How to use Urpmi And Solving RPM Dependencies<br /><a href="http://www.mandrivausers.org/index.php?showtopic=10611" rel="external nofollow">RPM-03</a>: synthesis.hdlist.cz and hdlist.cz<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4454" rel="external nofollow"><strong>SE: Security, firewalls...</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4564" rel="external nofollow">SE-01</a>: What is msec, and how do I use it?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=13265" rel="external nofollow">SE-02</a>: Linux Security Overview<br /><a href="https://mandrivausers.org/index.php?showtopic=19256" rel="external nofollow">SE-03</a>: How do I safely allow regular users to use utilities requiring root privileges?<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=10614" rel="external nofollow"><strong>SI: Software Installation</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=10615" rel="external nofollow">SI-01</a>: How do i install tar.gz's and RPM's?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4554" rel="external nofollow">SI-02</a>: How do I IM Windows Users?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4548" rel="external nofollow">SI-03</a>: How do I Install Java?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=10855" rel="external nofollow">SI-04</a>: How To build your own Live CD with mklivecd?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=14069" rel="external nofollow">SI-05</a>: HOWTO: Personal Video Recorder<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=9545" rel="external nofollow"><strong>TR: Troubleshooting</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=5144" rel="external nofollow">TR-01</a>: How do I kill programs without killing linux?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=8481" rel="external nofollow">TR-02</a>: How to restore a lost menu<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4937" rel="external nofollow">TR-03</a>: How can I rebuild my RPM databases?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4990" rel="external nofollow">TR-04</a>: umount says: "device is busy"<br /><a href="http://www.mandrivausers.org/index.php?showtopic=14716" rel="external nofollow">TR-05</a>: How to Troubleshoot problems<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=16303" rel="external nofollow"><strong>WM/DE: Window Managers and Desktop Environments</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=16264" rel="external nofollow">WM/DE-01</a>: X, WMs &amp; DEs<br /><a href="https://mandrivausers.org/index.php?showtopic=17463" rel="external nofollow">WM/DE-02</a>: KDE<br /><a href="https://mandrivausers.org/index.php?showtopic=16874" rel="external nofollow">WM/DE-04</a>: XFCE<br /><a href="https://mandrivausers.org/index.php?showtopic=18972" rel="external nofollow">WM/DE-05</a>: Fluxbox<br /> <br /> <br /></li>
<li>
<a href="https://mandrivausers.org/index.php?showtopic=4472" rel="external nofollow"><strong>XD: XFree86, desktops, Gnome, KDE...</strong></a><br /><a href="http://www.mandrivausers.org/index.php?showtopic=4484" rel="external nofollow">XD-01</a>: How do I install/add new icons to KDE?<br /><a href="http://www.mandrivausers.org/index.php?showtopic=4488" rel="external nofollow">XD-02</a>: How do I add resolutions or change refresh rates? <br /><a href="http://www.mandrivausers.org/index.php?showtopic=4495" rel="external nofollow">XD-03</a>:  How do I move the X pointer without using the mouse?<br /><a href="https://mandrivausers.org/index.php?showtopic=26003" rel="external nofollow">XD-04</a>: Konqueror FAQ<br /></li>
</ul><p><span style="font-size:8px;"><span>(*)Last update: Tue Jul 11 22:00:03 UTC 2006</span></span></p>
<p><span style="font-size:8px;"><span>This TOC is automatically updated every day at 00:00 hours (local time) through </span></span><span style="font-size:8px;"><span><strong>mubfaqtoc </strong></span></span></p>
<p><span style="font-size:8px;"><span>$Id: mubfaqtoc,v 1.8 2006/06/25 08:01:21 aru Exp $</span></span></p>
<p><span style="font-size:8px;"><span>If you find something wrong on this post please PM any of the FAQ-Maintainers.</span></span></p>
]]></description><guid isPermaLink="false">4452</guid><pubDate>Tue, 15 Apr 2003 14:30:58 +0000</pubDate></item><item><title>WM/DE: Window Managers and Desktop Environments</title><link>https://mandrivausers.org/index.php?/topic/16303-wmde-window-managers-and-desktop-environments/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>]</p>
<p> </p>
<p><strong>WM/DE: Window Managers and Desktop Environments</strong></p>
<ul><li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=16264" rel="external nofollow">WM/DE-01</a>: X, WMs &amp; DEs<br /></li>
<li>
<a href="http://mandrakeusers.org/index.php?showtopic=17463" rel="external nofollow">WM/DE-02</a>: KDE<br /></li>
<li>Gnome - Still Waiting<br /></li>
<li>
<a href="http://mandrakeusers.org/index.php?showtopic=16874" rel="external nofollow">WM/DE-04</a>: XFCE<br /></li>
<li>
<a href="http://mandrakeusers.org/index.php?showtopic=18972" rel="external nofollow">WM/DE-05</a>: Fluxbox<br /></li>
</ul><p></p>
]]></description><guid isPermaLink="false">16303</guid><pubDate>Thu, 08 Jul 2004 03:33:54 +0000</pubDate></item><item><title>WM/DE-01: X, WMs, and DEs</title><link>https://mandrivausers.org/index.php?/topic/16264-wmde-01-x-wms-and-des/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=16303" rel="external nofollow">WM/DE: Window Managers and Desktop Environments</a>]</p>
<p> </p>
<p><strong>WM/DE-01: X, WMs &amp; DEs</strong></p>
<p> </p>
<p>Linux is like a stack of papers, it is layered. Different layers do different things. The bottom layer is the Kernel, it is the core, manages memory and provides an interface to devices. It does much more, but that is out of the scope of this faq. </p>
<p>Above that is X, the X Window System, X11. X is the blank canvas of an artist. It provides simply the ability for GUI applications to run. It not only provides the screen, but the ability for programs to receive and interpret key presses, mouse movements and clicks. Programs which run on X are 'X Clients', they connect to the X Server, it gives them the screen real estate, and they start. </p>
<p> </p>
<p>On top of X can go Window managers and Desktop Environments. </p>
<p> </p>
<p><strong>What are Window Managers </strong></p>
<p>Window managers (WM) are X Clients which provide the border around the window. The WM, controls how an app looks, border, titlebar, size of a window and the ability to resize a window. Many Window managers provide other things like, places to stick dockapps (www.dockapps.org), a menu to start programs, menus to configure the WM and other usefull things. Fluxbox for example has the ability to tab windows. </p>
<p> </p>
<p>Window managers generally dont provide things like desktop icons. These are commonly seen in Desktop Environments, though it is possible to have icons in a WM through another program (<a href="http://idesk.timmfin.net/" rel="external nofollow">http://idesk.timmfin.net/</a>). </p>
<p> </p>
<p>Because of the lack of 'extras' WMs are much lighter on system resources. </p>
<p> </p>
<p><strong>What are Desktop Environments</strong> </p>
<p>Desktop Environments (DE) are different to the Window Manager in the fact they provide much more, a whole environment. DEs are a bringing together of a range of different X clients, including a Window manager, often a panel for applets, starters and menus, icons and an integrated file manager are common. For a WM, GNOME uses Metacity by default and KDE inludes its own KWin. This WM can be changed. </p>
<p> </p>
<p>DEs are much easier to use but are unfortunately heavier on system resources.</p>
]]></description><guid isPermaLink="false">16264</guid><pubDate>Wed, 07 Jul 2004 13:01:03 +0000</pubDate></item><item><title>TR-05: How to Troubleshoot problems</title><link>https://mandrivausers.org/index.php?/topic/14716-tr-05-how-to-troubleshoot-problems/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4455" rel="external nofollow">RPM: About rpm usage (urpmi, rpmbuild...)</a>]</p>
<p> </p>
<p><strong>TR-05: How to Troubleshoot problems</strong></p>
<p> </p>
<p>Here's a list of useful links to check out and things you should know, should something go wrong with your beloved PC.</p>
<ul><li>My second favorite troubleshooting hangout (no. 1 being here) is on IRC.<br />Check the <a href="http://www.mandrakeusers.org/index.php?showtopic=10182" rel="external nofollow"> connecting to IRC</a> how to to see how to connect. <br /> Freenode (an IRC network) hosts a large no. of open source project channels where you can get help. <br /> Usually all you have to do is type the name of the project preceded by the hash sign (#), e.g. #kde, #qt, #xchat, #nvidia. <br /> Some linux distributions have unofficial channels in freenode as well where you can go for help, e.g. #mandrake, #slackware, #fedora, #gentoo. <br /> There're also channels aimed at more general non-distro, non-app(lication) specific help, e.g. #linux, #musb. Be forewarned though, some of these channels are pretty crowded so you may have to ask your questions more than once. <br /></li>
<li>Troubleshooter No. 2 for me, which really should be the first, is the manuals/documentation which comes with most distros.<br />The <a href="http://www.linuxdoc.org/" rel="external nofollow">Linux Documentation Project</a> is an excellent source of these. Also any distro worth its salt will have it's own documentation and help manuals. They are available with boxed (bought) products, online or both. More often than not these manuals/how tos have the answer to you're exact question. <br /></li>
<li>Provided documentation that comes with applications (not distros, but the apps themselves) can also be useful in troubleshooting.<br />Provided documentation that comes with applications (not distros, but the apps themselves) can also be useful in troubleshooting. <br /> These can be accessed from man and info pages, the documentation found in the /usr/share/doc directory and in the Readmes accompanying source files. Man pages for a certain program can be accessed at a terminal by typing <br /><pre class="ipsCode">man name_of_program</pre>
<div></div>
<p><br />Similarly, info pages can be accessed by typing <br /></p>
<pre class="ipsCode">info name_of_program</pre>
<div></div>
<p><br />Documentation in the /usr/share/doc ($DOC) directory usually have names which somewhat correspond to the app being looked for e.g. $DOC/php_manual_en/ or $DOC/NVIDIA_GLX/. Information is usually obtained here in the form of webpages (html) or READMEs (text files). <br /> The README files accompanying most source packages, a.k.a tarballs, may also contain useful troubleshooting information. <br /></p>
</li>
<li>GOOGLE!  &lt; insert angelic harmony here &gt;<br />For the experienced troubleshooter, google can be the first thing to head for when in trouble or a last bastion for the hopeless. Either way, it is an invaluable resource. <br /> Whatever problems you're having, chances are somebody else has had them before. This means you can search for it on Google and be damn near guaranteed of finding something on it, including but not limited to solutions for the problem. <br /> Google also has a linux specific search engine called, imaginatively enough, Google Linux :) which can be found @ <a href="http://www.google.com/linux" rel="external nofollow">www.google.com/linux</a>. <br /> For troubleshooting you can paste in parts of an error message to get results on sights with similar messages. Chances are a fix will be floating around somewhere. Google is also useful for solving rpm dependencies. <br /> N.B.: www.google.com/linux is NOT the same as www.google.com/linux/. Notice the trailing slash at the end... <br /> RPM stands for Redhat Package Management (or something like that). It is an alternative method to installing applications, much like exe(cutable)s as seen in windows.<br /></li>
</ul><p>You may have noticed that most of the troubleshooting methods documented here involved a working system of some kind. Either the internet has to be working or you need to have bought a boxed product to get available documentation. Sucks if it's your ethernet card or modem that you're having problems with, don't it? </p>
<p> Lesson for today? Buying a boxed product of you</p>
]]></description><guid isPermaLink="false">14716</guid><pubDate>Sat, 29 May 2004 21:36:21 +0000</pubDate></item><item><title>SI-05: HOWTO: Personal Video Recorder</title><link>https://mandrivausers.org/index.php?/topic/14069-si-05-howto-personal-video-recorder/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=10614" rel="external nofollow">SI: Software Installation</a>]</p>
<p> </p>
<p><strong>SI-05: HOWTO: Personal Video Recorder</strong></p>
<p> </p>
<p>Software Needed: </p>
<p> </p>
<p>For watching and recording TV: Freevo</p>
<p>For grabbing TV guide listings: XMLTV</p>
<p>For video-editing: GOPchop and mencoder</p>
<p> </p>
<p><strong>Money</strong></p>
<p> </p>
<p>If you are like me and have an electricity bill going through the roof you'll be glad to find out that you can save money by doing away with your VCR (and when you don't mind a small screen even with your TV :) ). A computer and TV card are all you need.</p>
<p> </p>
<p><strong>Freevo</strong></p>
<p> </p>
<p>For watching and recording TV I use <a href="http://freevo.sourceforge.net" rel="external nofollow">Freevo</a>. It's in 'Contrib' so installing is 'urpmi freevo'. That will take care of all the dependancies.</p>
<p> </p>
<p>Ugly hack: </p>
<p>The Freevo version in 'Contrib' is 1.4.1-12mdk and I couldn't get the recording to work. (I use a Hauppauge WinTV PVR 250 and the 'ivtv' driver). However later versions from CVS and the 1.5.0-pre1 worked fine (I haven't used 1.5.0-rc1). So if you use the ivtv driver I suggest you use the freevo 1.5.0 series. </p>
<p> </p>
<p>-Just leave the 1.4.1 installation in place and download freevo 1.5.0. </p>
<p> </p>
<p>-Untar it and copy the Freevo folder to /usr/local/.</p>
<p> </p>
<p>-Edit /etc/freevo/boot_config (FREEVO_HOME="/usr/local/freevo")</p>
<p> </p>
<p>-To start the 'good' Freevo version you will have to give the complete path /usr/local/freevo/freevo.</p>
<p> </p>
<p>The 'local_conf.py': </p>
<p>This file in you $HOME/.freevo folder contains all the settings and you will have to edit it to get freevo working. This is not easy :(. It took me quite awhile to understand what it was all about so I sugest you take your time with it. I'll post below some of my settings as a pointer, but it will still be difficult.</p>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="14069" data-ipsquote-contentclass="forums_Topic"><div>CONFIG_VERSION  = 5.06<p> </p>
<p> </p>
<p># ======================================================================</p>
<p># General freevo settings:</p>
<p># ======================================================================</p>
<p> </p>
<p>AUDIO_DEVICE        = '/dev/dsp'      # e.g.: /dev/dsp0, /dev/audio, /dev/alsa/?</p>
<p># AUDIO_INPUT_DEVICE  = '/dev/dsp1'     # e.g.: /dev/dsp0, /dev/audio, /dev/alsa/?</p>
<p># MAJOR_AUDIO_CTRL    = 'VOL'           # Freevo takes control over one audio ctrl</p>
<p>#                                       # 'VOL', 'PCM' 'OGAIN' etc.</p>
<p>CONTROL_ALL_AUDIO   = 0               # Should Freevo take complete control of audio</p>
<p>MAX_VOLUME          = 90              # Set what you want maximum volume level to be.</p>
<p>DEFAULT_VOLUME      = 70              # Set default volume level.</p>
<p>TV_IN_VOLUME        = 90              # Set this to your preferred level 0-100.</p>
<p>VCR_IN_VOLUME       = 70              # If you use different input from TV</p>
<p> </p>
<p>START_FULLSCREEN_X  = 0               # Start in fullscreen mode if using x11 or xv.</p>
<p> </p>
<p>CONFIRM_SHUTDOWN    = 0               # ask before shutdow</p>
<p> </p>
<p>MENU_ARROW_NAVIGATION = 0</p>
<p> </p>
<p> </p>
<p> </p>
<p># ======================================================================</p>
<p># Plugins:</p>
<p># ======================================================================</p>
<p> </p>
<p> </p>
<p> </p>
<p># Use this ivtv_record instead if you have an ivtv based card (PVR-250/350)</p>
<p># and want freevo to do everthing for you.  TV_SETTINGS must be set </p>
<p># correctly.  To use you need the following two lines in local_conf.py:</p>
<p>plugin.remove('tv.generic_record')</p>
<p>plugin_record = plugin.activate('tv.ivtv_record')</p>
</div></blockquote>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="14069" data-ipsquote-contentclass="forums_Topic"><div>MPLAYER_ARGS = { 'ivtv' : '-cache 5000'}</div></blockquote>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="14069" data-ipsquote-contentclass="forums_Topic"><div>TV_SETTINGS  = 'pal television europe-west /dev/video0'<p>TV_VCR_SETTINGS = 'pal television europe-west /dev/video0'</p>
<p> </p>
<p># if using the persitant record_server</p>
<p>TV_RECORD_SCHEDULE = '%s/record_schedule.xml' % FREEVO_CACHEDIR</p>
<p> </p>
<p>TV_RECORD_SERVER_IP = 'localhost'</p>
<p>TV_RECORD_SERVER_PORT = XXXXX</p>
<p> </p>
<p> </p>
<p># Settings for ivtv based cards such as the WinTV PVR-250/350.</p>
<p>#</p>
<p># XXX TODO: Add descriptions and valid settings for each option.</p>
<p># bitrate in bps</p>
<p># stream type</p>
<p># Options are: 0 (mpeg2_ps), 1 (mpeg2_ts), 2 (mpeg1), 3 (mpeg2_pes_av),</p>
<p>#              5 (mpeg2_pes_v), 7 (mpeg2_pes_a), 10 (dvd)</p>
<p> </p>
<p>TV_IVTV_OPTIONS = {</p>
<p>#     'input'         : 4,</p>
<p>     'resolution'    : '720x576',</p>
<p>     'aspect'        : 2,</p>
<p>     'audio_bitmask' : 233,</p>
<p>     'bframes'       : 3,</p>
<p>     'bitrate_mode'  : 1,</p>
<p>     'bitrate'       : 4000000,</p>
<p>     'bitrate_peak'  : 4000000,</p>
<p>     'dnr_mode'      : 0,</p>
<p>     'dnr_spatial'   : 0,</p>
<p>     'dnr_temporal'  : 0,</p>
<p>     'dnr_type'      : 0,</p>
<p>     'framerate'     : 0,</p>
<p>     'framespergop'  : 15,</p>
<p>     'gop_closure'   : 1,</p>
<p>     'pulldown'      : 0,</p>
<p>     'stream_type'   : 10,</p>
<p> }</p>
<p> </p>
<p> </p>
<p>VIDEO_GROUPS = [</p>
<p>      VideoGroup(vdev='/dev/video0',</p>
<p>                 adev='/dev/dsp',</p>
<p>                 input_type='tuner',</p>
<p>                 input_num=4,</p>
<p>   tuner_norm='PAL',</p>
<p>                 tuner_chanlist='europe-west',</p>
<p>                 tuner_type='internal',</p>
<p>                 desc='TV kaart',</p>
<p>                 group_type='ivtv',</p>
<p>                 recordable='True'),</p>
<p>]</p>
<p> </p>
<p> </p>
<p> </p>
<p># FREQUENCY_TABLE - This is only used when Freevo changes the channel natively.</p>
<p># This is only the case if you are using V4L2 and any of the following plugins:</p>
<p># timeshift, ivtv_record, ivtv_basic_tv.</p>
<p># For the standard frequancy tables see src/tv/freq.py.  To add your own just </p>
<p># replace tuner_id in the following example with a valid tuner id (ie: '5' or</p>
<p># 'BBC1') and a frequency in KHz.  You may have as many entries as you like,</p>
<p># anything here will simply override a coresponding entry in your standard</p>
<p># frequency table and you can also have entries here that are not present i</p>
<p># there.</p>
<p> </p>
<p>FREQUENCY_TABLE = {</p>
<p>   '11-'   :  216000,</p>
<p>   '6+'    :  184000,</p>
<p>   '7+'    :  192000,</p>
<p>  </p>
<p>}</p>
<p> </p>
<p>#</p>
<p># The TV_CHANNELS-list can look like this:</p>
<p>#</p>
<p>TV_CHANNELS = [('1.tvgids.nl', 'Nederland 1', '11-'), </p>
<p>  ('2.tvgids.nl', 'Nederland 2', '6+'),</p>
<p>  ('3.tvgids.nl', 'Nederland 3', '7+'), </p>
<p>  ('4.tvgids.nl', 'RTL 4', '12-'),</p>
</div></blockquote>
<p> </p>
<p>These quotes from my local_conf.pyare only a help . Best is to start Freevo from a terminal the first few times and watch the error messages you get. These can help you find a solution more easily.</p>
<p> </p>
<p>The Freevo recordserver:</p>
<p>This is a service that is needed to start and end a recording.You can find it in the MCC. However when you start it from there it won't work. (It's the 1.4.1 version). It must be started manually. Just like Freevo, start it the first time from a terminal as root (/usr/local/freevo/freevo recordserver).When it works use 'Alt-F2' (as root).</p>
<p> </p>
<p>Stability: </p>
<p>I have the recordserver on 24/7 now for more then 2 weeks without problems. The same goes for Freevo. It's on one of my 4 desktops and I only shut it down when I exit X.</p>
<p> </p>
<p><strong>XMLTV</strong></p>
<p> </p>
<p>To get tv listings you need a grabber. Add <a href="http://rpm.nyvalls.se/graphics10.0.html" rel="external nofollow">Thac's RPM's</a> as one of you repositories and do 'urpmi XMLTV'.</p>
<p> </p>
<p>To use it open a terminal get the grabber for your country:tv_grab_XX --output /tmp/TV.xml --days X. The --slow option will give you more information (what a movie is about etc), but it's... slow :).</p>
<p> </p>
<p>Freevo expects the TV.xml in /tmp</p>
<p> </p>
<p><strong>Video editing</strong> </p>
<p> </p>
<p>There isn't a really good video editor for Linux yet. KdenLive and Avidemux don't work with MPEG2 files and Cinelerra is unstable. The only program usuable for me is <a href="http://outflux.net/unix/software/GOPchop/" rel="external nofollow">GOPchop</a>. I use it to cut commercials and bits at the beginning and the end of a program. There is no RPM that i'm aware of so you have to compile it yourself (./configure-make-make install straightforward stuff)</p>
<p> </p>
<p>For compressing a file there is mencoder (urpmi mencoder). The commands I use are :</p>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="14069" data-ipsquote-contentclass="forums_Topic"><div>mencoder *.mpeg -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o outputfile.avi<p>mencoder *.mpeg -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o outputfile.avi</p>
</div></blockquote>.<p> </p>
<p>But if you're making a DVD use of course the MPEG2 file.</p>
<p> </p>
<p><strong>Conclusion</strong></p>
<p> </p>
<p>It is possible to use Mandrake as a PVR. With the steps I have described you can turn your computer in a television and VCR. I haven't gone into the use of Freevo but it has many nifty features. One of the things I use most is listing a program as 'favorite'. That means Freevo will record the show every time it's on without me having to do anything. The only thing I need now is more time to watch all my recordings :)</p>
]]></description><guid isPermaLink="false">14069</guid><pubDate>Tue, 11 May 2004 12:00:10 +0000</pubDate></item><item><title>IM-14: Creating CD's from the FTP Tree</title><link>https://mandrivausers.org/index.php?/topic/14094-im-14-creating-cds-from-the-ftp-tree/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>IM-14: Creating CD's from the FTP Tree</strong></p>
<p> </p>
<p>Okay guys, here's the deal. I downloaded the full official tree. It took about a day and it came in at over 5 gig. The full tree includes the usual mandrake, 3 gig of extra apps under contrib and 330meg of java apps under contrib/jpackage.</p>
<p> </p>
<p>After downloading I have successfully created 4 versions including the Hard Drive Installation.</p>
<p> </p>
<p>1) Hard Drive/Network/FTP Install (same thing)</p>
<p>2) 10 CD version including everything</p>
<p>3) 5 CD Version (use to be 4 CDs. This will eventually be the ISO download)</p>
<p>4) 2 DVD Version which includes everything int the 10 CD Version.</p>
<p> </p>
<p>Additionally I have discovered that Mandrake is stressing everyone for no apparent reason. The much talked about 8 meg boot.iso file that is needed to be able to boot and chose your method of installation, is no different from the regular boot files that come on CD1 of any version.</p>
<p> </p>
<p>The only thing you have to do is to edit the file "isolinux.cfg" in the isolinux folder. Inside the file, remove all instances of "automatic=method:cdrom" and save the file. Then create the images for whichever "version" of mdk10 that you choose. To create the different versions that I have listed above you have to do 2 things first:</p>
<p></p>
<ul><li> edit the "hdlist" file in the "Mandrake/base" folder. In this file you will find a list of all the hdlist.cz files needed to build a particular version. Remove the 3 lines for "SRPM" files. Now depending on which version you want to create, the 10CD and the DVD versions will have 3 lines.<ul><li> hdlist.cz       Mandrake/RPMS   Installation CD<br /> <br /></li>
<li> hdlist2.cz      Mandrake/RPMS2  Contrib CD<br /> <br /></li>
<li> hdlist3.cz      Mandrake/RPMS3  Jpackage.org<br /></li>
</ul><p>take note of the paths above. if you downloaded the whole tree like I did, you will have these folders. The RPMS folder is the standard 4 or 5 CD download version. The RPMS2 and RPMS3 folders aded to the RPMS folder make the 10CD and DVD version. So to make the 5CD version, remove the last two lines. Dont forget to backup the original "hdlists" file.</p>
<p> </p>
<p>[*] To make the 10 CD or 2 DVD version,  use the "mkcd"command below. Use 716800000 discsize for the 10CD version and 4000000000 for the 2 DVD version. When the command finishes, the images will be in the directory you specified after the -t option.</p>
<p> </p>
<p>To make the 5CD version, move the folders "RPMS2" and RPMS3" someplace safe and don't forget to remove the last two lines in the  "hdlists" file as described above. The RPMS2 and RPMS3 folders are only links so it should take no time at all to move them. Then use 716800000 discsize and run the "mkcd" command. Don't forget to move the RPMS2 and RPMS3 folders back to their original location when you finish your 5CD images.</p>
<p> </p>
<p>Also rememeber that you will need plenty of disc space if you wantto keep all the images for all version on your hard drive. I have the 10CD, 5CD, 2 DVD and the HD install files all on my hard rive and they take up 23GIG.</p>
<p> </p>
<p>mkcd --discsize 716800000 -t ./5CD-Version -a -s ./hdinstall</p>
<p> </p>
<p>--discsize is the size of the image you want to make in bytes. the above figure is for a 700M CD. I used 4000000000 (9 zeroes) to make 2 DVDs.</p>
<p> </p>
<p>-t &lt;path to where yu want to make the images&gt;</p>
<p> </p>
<p>-a means automatic creation based on the hdlist files and the downloaded directory structure. It keeps you from having to use many other ugly options on the command line.</p>
<p> </p>
<p>-s &lt;source directory of mdk10&gt; this is the top fodler not thr RPM folder. This top folder will have the "Mandrake" folder in it.</p>
<p></p>
</li></ul><p></p>
<p>I hope this info is useful for someone out there. If you have any questions, email me at linuxguru@operamail.com. I check my mail more than I check this forum.</p>
<p> </p>
<p>enjoy</p>
<p>iomari</p>
]]></description><guid isPermaLink="false">14094</guid><pubDate>Tue, 11 May 2004 06:44:03 +0000</pubDate></item><item><title>GE-03: HOWTO:  Arcade Emulation</title><link>https://mandrivausers.org/index.php?/topic/13793-ge-03-howto-arcade-emulation/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4462" rel="external nofollow">GE: Games-Emulation</a>]</p>
<p> </p>
<p><strong>GE-03: HOWTO:  Arcade Emulation</strong></p>
<p> </p>
<p>Always wanted to play those old arcade games again? Want to relive your youth by playing 'Galaxian', 'Pole Position' and 'Jungle King'? Here's a HOWTO....</p>
<p> </p>
<p><strong>Getting the emulator</strong></p>
<p> </p>
<p>To play these games we have to use an emulator and the one I like best is <a href="http://x.mame.net" rel="external nofollow">xmame</a>. Go download/untar the source. </p>
<p> </p>
<p><strong>Compiling the emulator</strong></p>
<p>To compile the program we have to edit the 'makefile.unix'. I won't say much about this because it's different for each and everyone but if you're not sure just follow the defaults. When your done editing you give 'make -f makefile.unix' and watch xmame being compiled.</p>
<p> </p>
<p>If everything goes as it should go you'll end up with an 'xmame.x11' file. I don't bother with installing so I sugest you don't either :).</p>
<p> </p>
<p><strong>Installing the GUI</strong></p>
<p>Next we need a GUI. You can use the command line but I find that this soon becomes very tedious. The best GUI I have found is <a href="http://kaf.sourceforge.net" rel="external nofollow">KAF</a>. Download the binaries or the source just as you like. Both work fine. I don't bother installing KAF either. Just put a link in your $PATH and your set.</p>
<p> </p>
<p><strong>How to set PATH</strong></p>
<p> </p>
<p>Path can be set in the file ~/.bash_profile. Below is an example of assigning things to PATH:</p>
<p> </p>
<p></p>
<pre class="ipsCode">PATH=$PATH:$HOME/bin</pre>
<div></div>
<p></p>
<p> </p>
<p>To add entries to PATH, you append them to the end of this line after a colon. For instance, to add the directory '/randomdirectory' to your path (just as an example), you would do this to the previous line.</p>
<p> </p>
<p></p>
<pre class="ipsCode">PATH=$PATH:$HOME/bin:/randomdirectory</pre>
<div></div>
<p></p>
<p> </p>
<p>Now we need the game information. Download the 'mameinfo.dat' from <a href="http://www.mameworld.net/mameinfo" rel="external nofollow">here</a>.</p>
<p> </p>
<p><strong>Getting some games...</strong></p>
<p> </p>
<p>Last we need the games. This is a bit difficult. There are some legal questions about using ROMS. If you're not sure about the legality of this I suggest you stop here :(. Otherwise, you can find some games on the xmame site, you can buy CD's with games or you can try Suprnova.org. They usually have (X)MAME roms on offer. </p>
<p> </p>
<p>The games come in zip files. You don't need to unzip them.</p>
<p> </p>
<p>We now have evrything to get started so fire up KAF, press F8 (or choose mame, paths and make sure all the paths are correct (xmame=/home/yourname/....../xmame.x11, same for the dat file, roms, etc etc). KAF will now begin to build a gameslist and after that's done you only have to load the games by pressing F5 (searching for available games).</p>
<p> </p>
<p>You're ready now to play. You can edit the options (rapid fire is always usefull :), fullscreen or windowed etc etc) but it's not really neccesary (with esc you end the game if you're stuck fullscreen :))</p>
<p> </p>
<p>Happy Playing</p>
<p> </p>
<p>(**<span style="color:#FF0000;">Warning</span>** There are 'adult' games (it's a category). If you download roms better make sure you get what you want and nothing more)</p>
]]></description><guid isPermaLink="false">13793</guid><pubDate>Mon, 03 May 2004 20:23:20 +0000</pubDate></item><item><title>HW-02: Using Hauppauge WinTV PVR with Mandrake 10</title><link>https://mandrivausers.org/index.php?/topic/13792-hw-02-using-hauppauge-wintv-pvr-with-mandrake-10/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.MandrakeUsers.org/index.php?showtopic=4461" rel="external nofollow">HW: Hardware, drivers...</a>]</p>
<p> </p>
<p> </p>
<p><strong>HW-02: Using Hauppauge WinTV PVR250/350 with Mandrake 10</strong></p>
<p> </p>
<p> </p>
<p>As I having nothing else to do today I decided to write a little HOWTO install the ivtv driver used by the Hauppauge WinTV PVR250/350 tv-cards.</p>
<p> </p>
<p><strong>Getting a new kernel</strong></p>
<p> </p>
<p>First, I found that I could not change channels when I had compiled the ivtv driver using the standard Mandrake 10.0 2.6.3-4mdk kernel so we need the 2.6.4 (that's the one I used). In Contrib we find the 2.6.4-1.tmb.6mdk kernel (you may see another but it shouldn't matter) and that's the one we are going to use. Download the kernel-source with urpmi. (I'll assume you know how to compile a kernel. There is one important thing. The ivtv driver actually comes with this kernel but it didn't work form me. Make sure you don't build it when you compile the kernel).</p>
<p> </p>
<p>You can find more information about compiling and installing kernels <a href="http://www.MandrakeUsers.org/index.php?showtopic=4459" rel="external nofollow">here</a>.</p>
<p> </p>
<p><strong>Getting the "ivtv" driver and firmware</strong></p>
<p> </p>
<p>Second, we now need the driver. You can download it from the <a href="http://ivtv.sourceforge.net" rel="external nofollow">ivtv</a> website. Make sure you download 0.1.10pre2. Untar the source and change to the 'utils' folder.</p>
<p> </p>
<p>Third, we need the firmware. With 'wget <a href="http://hauppauge.lightpath.net/software/pvr250/pvr250_17_21288.exe" rel="external nofollow">http://hauppauge.lightpath.net/software/pv..._21288.exe'</a> you can download it. Login as root and with './ivtvfwextract.pl pvr250_17_21288.exe' we install it. Now cd to the 'driver' folder.</p>
<p> </p>
<p><strong>Building and installing the driver</strong></p>
<p> </p>
<p>Fourth, we have to build the driver. First make sure we are using the correct Makefile by 'mv Makefile2.6 Makefile'. Login as root and give 'make'. You'll see the driver getting build probably with a few errors. Ignore them :).</p>
<p> </p>
<p>Fifth, install the driver by 'make install' (still logged in as root).</p>
<p> </p>
<p>Sixth and seventh, load the drivers by 'modprobe ivtv' (it didn't work for me so I'll assume it won't work for you either. To make sure do a 'modprobe r ivtv' and try again with 'make reload' (still in the drivers folder logged in as root). Test if it works by a 'cat /dev/video(0)'.</p>
<p> </p>
<p>If you see a lot of funny things happening it works. If you get an error message post it and I'll try to help you. :) Hope you could use some of my advice.</p>
<p> </p>
<p>To watch TV I advise Freevo (Tvtime, Xawtv don't work with this driver). </p>
<p> </p>
<p>Maybe I'll write another HOWTO about getting Freevo to work.</p>
]]></description><guid isPermaLink="false">13792</guid><pubDate>Mon, 03 May 2004 17:52:47 +0000</pubDate></item><item><title>HW-03: Lucent Winmodem drivers mdk10 Kernel 2.6</title><link>https://mandrivausers.org/index.php?/topic/13773-hw-03-lucent-winmodem-drivers-mdk10-kernel-26/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.MandrakeUsers.org/index.php?showtopic=4461" rel="external nofollow">HW: Hardware, drivers...</a>]</p>
<p> </p>
<p><strong>HW-03: Lucent Winmodem drivers mdk10 Kernel 2.6</strong></p>
<p> </p>
<p>Some of you may use a Lucent Winmodem like I do with Mandrake. When I used Mandrake 9.2 I would just grab an RPM for Kernel 2.4 <a href="http://www.physcip.uni-stuttgart.de/heby/ltmodem/dists/mandrake/8.26a9/" rel="external nofollow">here</a> or <a href="http://www.sfu.ca/~cth/ltmodem/dists/mandrake/8.26a9/" rel="external nofollow">here</a> and they installed with ease. </p>
<p> </p>
<p>However, when I installed Mandrake 10 Official with Kernel 2.6.3.7mdk, I couldn't find any RPMs that worked with a 2.6 kernel! I finally found <a href="http://linmodems.technion.ac.il/resources.html" rel="external nofollow">this</a> page which had source I could use <a href="http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/" rel="external nofollow">here</a>. But as a newbie, how could I do it? I had compiled programs from source before, but this wasn't working! I would receive an error when I tried to compile. So I asked for help and received some excellent advice which I followed and found to work without problems! Hooray! Thanks to Tormented's post in <a href="http://linuxquestions.org/questions/showthread.php?s=&amp;threadid=175967" rel="external nofollow">this thread</a> on linuxquestions.org (from which I will now quote), here are the step by step instructions:</p>
<p> </p>
<p><strong>Downloading</strong></p>
<p> </p>
<p>Get <a href="http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ltmodem-2.6-alk-2.tar.gz" rel="external nofollow">this file</a> before you begin, it's what you'll compile using the instructions below. I copied it into /root/ and it compiled correctly, otherwise in other directories it gave an error. Of course you need to extract the contents of the file before you begin. :)</p>
<p> </p>
<p>** Quote begin: **</p>
<p> </p>
<p>1. Make sure you have the kernel-source rpm installed.</p>
<p> </p>
<p>2. Edit the modem driver's Makefile and change:</p>
<p> </p>
<p></p>
<pre class="ipsCode">KERNEL_DIR := /usr/src/linux-2.6/</pre>
<div></div>
<p></p>
<p>to</p>
<p></p>
<pre class="ipsCode">KERNEL_DIR := /usr/src/linux/</pre>
<div></div>
<p></p>
<p> </p>
<p>3. Become root and type make.</p>
<p> </p>
<p>4. Type the following commands:</p>
<p> </p>
<p></p>
<pre class="ipsCode">mkdir /lib/modules/`uname -r`/other
cp -v *.ko /lib/modules/`uname -r`/other
mknod --mode=0640 /dev/ttyLT0 b 62 64
depmod -a
modprobe ltserial
ln -vs /dev/ttySLT0 /dev/modem</pre>
<div></div>
<p></p>
<p> </p>
<p>5. Add these lines to /etc/modprobe.conf</p>
<p> </p>
<p></p>
<pre class="ipsCode">install winmodem /sbin/modprobe ltserial
alias /dev/modem ltserial
alias char-major-62 ltserial
alias /dev/tts/LT0 ltserial[/color]</pre>
<div></div>
<p></p>
<p> </p>
<p>6. Add this to the end of /etc/modprobe.preload</p>
<p> </p>
<p></p>
<pre class="ipsCode">winmodem</pre>
<div></div>
<p></p>
<p> </p>
<p>** Quote End **</p>
<p> </p>
<p>After all the above I rebooted my system (even though I may not have needed to, I did it anyway) and installed KPPP. When I ran KPPP my modem was found without any problems. I hope this helps some of you Lucent Winmodem users who may be having trouble getting yours to work with Mdk10 and Kernel 2.6.</p>
]]></description><guid isPermaLink="false">13773</guid><pubDate>Mon, 03 May 2004 04:00:24 +0000</pubDate></item><item><title>CL-08: File Creation</title><link>https://mandrivausers.org/index.php?/topic/13575-cl-08-file-creation/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4463" rel="external nofollow">CL: Command Line Questions</a>]</p>
<p> </p>
<p><strong>CL-08: File Creation</strong></p>
<p> </p>
<p>This FAQ is to tell of some of the command line ways to create a file.  There are many, and I won't say that this list is in any way complete; but here are a few:</p>
<ul><li>Using a test editor (vi, vim, emacs, nano, etc.)<br /></li>
<li>The Touch command<br /></li>
</ul><p>Let's start with the first one.  I will go from the vim standpoint, because that's what I use.  It's easy, but some people prefer other editors.  That's what's great about Linux, though; everyone can have their choice.  We're not forced into using 1 program over another.</p>
<p> </p>
<p>The it's easy to create a file using vim.  Just cd to the directory that you want the file in and</p>
<p></p>
<pre class="ipsCode">vim newfilename</pre>
<div></div>
<p></p>
<p> </p>
<p>If the file doesn't exist in the directory, it will be created and the editor (vim in this case) will be opened for you to edit the file.</p>
<p> </p>
<p>Now, say you want to create a file but you don't want to edit it for whatever reason.  For that you would use the touch command.  For you to do this, it's easy.  Just cd to your directory and</p>
<p></p>
<pre class="ipsCode">touch newfilename</pre>
<div></div>
<p></p>
<p> </p>
<p>This will create a file, with your users permissions, wherever you are in the directory structure (provided, of course, that you have the proper permissions).</p>
<p> </p>
<p>There are other options for touch.  Some of them, along with a brief description can be found here:</p>
<p></p>
<pre class="ipsCode">-a
--time=atime
--time=access
--time=use
 Change the access time only.

-c
--no-create
 Do not create files that do not exist.

-d
--date=time
 Use TIME instead of the current time. It can contain month names,
 timezones, `am' and `pm', etc.

-f
 Ignored; for compatibility with BSD versions of `touch'.

-m
--time=mtime
--time=modify
 Change the modification time only.

-r FILE
--reference=FILE
 Use the times of the reference FILE instead of the current time.

-t [[CC]YY]MMDDhhmm[.ss]
 Use the argument (optional four-digit or two-digit years, months,
 days, hours, minutes, optional seconds) instead of the current
 time. If the year is specified with with only two digits, then CC
 is 20 for years in the range 0 ... 68, and 19 for year in 69 ...
 99. If no digits of the year are specified, the argument is
 interpreted as a date in the current year.</pre>
<div></div>
<p></p>
<p> </p>
<p>You can also see the manfile on touch for more.</p>
]]></description><guid isPermaLink="false">13575</guid><pubDate>Tue, 27 Apr 2004 03:42:58 +0000</pubDate></item><item><title>GQ-09: What are the benefits of / Why use Linux?</title><link>https://mandrivausers.org/index.php?/topic/13499-gq-09-what-are-the-benefits-of-why-use-linux/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="?showtopic=4453" rel="">About the FAQ forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">table of contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">contribute</a>] [<a href="http://www.MandrakeUsers.org/index.php?showtopic=4456" rel="external nofollow">GQ: General Questions not covered in the other sections</a>]</p>
<p> </p>
<p><strong>GQ-09: What are the benefits of / Why use Linux? </strong></p>
<p> </p>
<p>Ok, first of all, just as tyme mentions: the real first message of this topic was written by sitor, and the foreplay and idea came from Darkelve, as you can read <a href="http://www.mandrakeusers.org/index.php?showtopic=13445" rel="external nofollow">here</a>.</p>
<p>As I was just the one posting a hint to start a fresh topic, my message ended up on top - you can read it below, I left it here for completeness.</p>
<p> </p>
<p>The real idea, as Darkelve already hinted, is not to state why you don't use/like MS, please open a topic in the offtopic subforum.</p>
<p> </p>
<p>So please, post the reasons why you like linux, how you got started and what you feel is good about it. Take sitor and Darkelve's posts as examples. And I will add my story as well, though you can find a lot of my opinion on my website...</p>
<p> </p>
<p> </p>
<p><strong><span style="text-decoration:underline;">aRTee's comments</span></strong></p>
<p> </p>
<p>==============Original message===================</p>
<p>sitor, great arguments, why don't you just start a new topic with </p>
<p>This is why linux!</p>
<p>as a topic subject, and paste your info in there.</p>
<p>I agree with loads, but will add my own comments, as soon as this new topic gets opened. Just reply here with the link to it, I'm tracking this one....</p>
<p> </p>
<p>Also: yes I agree Darkelve, that antims link is just enough reasons to know why not to use any MS stuff, Linux has a lot more going for it - most of what I think is on my switchsuccess page, but that was written a year ago, and I'm not the same person anymore... nor is linux the same linux anymore.. :P</p>
<p> </p>
<p><strong><span style="text-decoration:underline;">sitor's comments</span></strong></p>
<p> </p>
<p>Before I go, first a little history on how I became hooked on Linux:</p>
<p> </p>
<p>Being at work as a project manager in IT, I felt that I should learn some basic stuff on UNIX (not having the least knowledge of it at the time). As UNIX trainings were quite expensive, it each time got postponed. At a certain point in time I heared that Linux was a type of UNIX that could be run on a normal PC which you can download for free. So I started to install it on a test PC. And that is how it started. Today I have my desktop at home in dual boot Mandrake Linux 10.0 CE with the Windows XP that came with it (which I still barely use). When the time comes that I will need a new PC I will for certain buy one that comes without M$ tax. I will not install M$ software illegally either.</p>
<p> </p>
<p>So here is my list:</p>
<p> </p>
<p>1. Ease of Operating System (OS) installation: I use my PC quite a lot and love to try out new softs. This means that in my Windoze days I needed to reïnstall Windoze about every year. It took about two full days to install and configure the Windoze box with all the soft I require. This include the installation of most of the softs I use (Office, Winamp, Winzip, ...) next to the OS and changing the basic settings to my liking, but without the really detailed finetuning. When I reïnstall my box now, it is not because I have to, but because a new version came out. Installation of Mandrake Linux and softs takes less then 1 full day (again without detailed finetuning).</p>
<p> </p>
<p>As mentioned Windoze becomes unstable after time, especially when often installing and removing new software. I do not use this as a pro-Linux argument, because with Linux I change the whole system when a new version comes out, not only the software running on it. So I have no experience myself how Linux behaves in this respect. I never had the same installation long enough.</p>
<p> </p>
<p>2. Ease of application installation: On most OSes, installing software has become a piece of cake. However what I find particularly nice in Mandrake Linux is that if you want to install a bunch of new softs, you just indicate which ones you want in the Mandrake Control Center (MCC), and it all gets installed automatically in one go. No need anymore to install the different softs one by one.</p>
<p>Removing applications is as easy and again, you can do lots of them in one go. I never had bad experiences regarding stability.</p>
<p> </p>
<p>3. Choice: For anything that runs on your PC there is choice. If you are scared by that, don't, just stick with the Mandrake defaults and you'll be fine. If not and you like to try out stuff, there is tons you can try. Ranging from the way your desktop behaves (desktop manager), the way the application windows are presented (window manager) up to different applications (different applications of the same task, but even different versions of the same application).</p>
<p> </p>
<p>4. Availability: It is so easy to start doing new things in Mandrake Linux. You just open the MCC and do a search on keywords relative to what you want to do in the packages descriptions. You get a list of applications that have something to do with those keywords and their descriptions. Just indicate the package that look like they seem to meet your needs and install them all in one go. After that you just try which one suits your needs best. No need to go to a shop first. You want it, it will be downloaded for you.</p>
<p> </p>
<p>5. Problem solving: I'm the typical Community Edition guy. I want the newest and the latest that is not really development anymore. If I want to do something, and it does not work, I'll take the time to try to get it working. With closed source stuff (even the stuff you paid hard €'s for), if you ask the owners to help you, most of the time you get: "Only bought a license, no support contract? Sorry." Or: "Yes I know you have a support contract, but that is not a supported feature." Or: "Yes, that is a known bug. We will let you know when it is resolved." I experienced that I you request help from the Free and Open Source Software (FOSS) community, that often the responses come so fast that you cannot follow the pace. I actually had a case of a bug in video editing SW. The mean time between my message and return message from the author was about three times faster then the other way around (I tried to respond as fast as I could, but I'm a full time working man with children).</p>
<p> </p>
<p>6. Evolution: Everything is going so fast! When I started a little more then a year ago, certain things were only possible in command line interface (CLI) (which I'm not afraid of, but I much prefer Graphical User Interface (GUI)). So much things that I needed then and postponed or did in CLI, can now be done via a very good GUI.</p>
<p> </p>
<p>7. Ethics regarding licenses: I do not want to imply that using proprietary SW would not be ethical. However using illegal copies of SW is not. And I have yet to meet the first home user that does not use FOSS and that does not use any illegal SW on his PC. I don't, I use FOSS.</p>
<p> </p>
<p>8. Ethics regarding the less rich: FOSS is a great thing for the countries where they do not have the money to buy software. Mostly when you use FOSS, you give something back to the community (even if it is only that the more users there are, the more important it is for vendors to support Linux / FOSS). This way the people who need to use FOSS from necessity (lack of money) get a better experience and can get more done thanks to FOSS. Of course giving back in the financial form to the organisations that create FOSS or by really helping other people are even much better.</p>
<p> </p>
<p>9. The feeling to belong: Maybe that is more this board then Linux, but when you are into it, you really get a good feeling that you belong to a nice group of people, even if you never see any of the others (which would even be impractical, because the live often at the other side of the planet).</p>
<p> </p>
<p>10. Study: If you would want to know how certain things in IT work, Linux is great. Just start playing with it. If you don't know anything about the subject yet, you'll have problems. Google your way out of them. Install stuff, read manuals, get the satisfaction to get it working and learn,.... for free!</p>
<p> </p>
<p>11. Get rid of the fear: Stop fearing viruses, trojans, worms, spyware and all that kind of stuff. I'll not say that it doesn't exist in Linux, or that it will never exist (wow, that would probably start some debate). But in practise, at this moment, you do not have to care. I never heard any Linux user have problems with it yet.</p>
<p> </p>
<p>12. Be in control: Anything in Linux can be changed. From the way it boots till the fonts it uses to display you something.</p>
<p> </p>
<p>13. Live Distro's: A live distro is a Linux distribution (distro) that is put on one CD. You can download the image of that CD and burn it. There are a couple of live distro's that combine certain sets of software (like all kinds of video and audio software, educational games, ...). If you stick CD in the CD reader and boot the PC from the CD, it will start the distro from the CD without that you need to install anything on the Hard Drive. Cooool man! Some of them have the capability to get info from USB sticks. So they store your data and settings on the USB stick. Next time you use it (on any PC with a CDROM and USB port), just use your own desktop to work on your own data!</p>
<p> </p>
<p>14. Tools: There are so much nice tools on Linux that are sitting there, just waiting to be used by you. Whenever you get bored, just start a small discovery. You'll notice there are things that allow you to do things that are so handy, without having thought about the fact that it could be possible before in your life.</p>
<p> </p>
<p>15. Safe to let anyone use your PC: By default there is a root user that is the only one allowed to do the risky stuff. Your normal user can not mess up too much (except his own data). In Mandrake Linux this is very intuitive and not disturbing. But you can allow your 4 year old to play games on his own, without having to fear that he will by accident render your system useless. It is possible to make Windoze safe like this, but by default it is not. You can get Linux unsafe but the good distro's are safe by default (there are some bad distro's that are unsafe as well though).</p>
<p> </p>
<p>16. Specific for Mandrake Linux: Know what you are doing: Most of the time when (in the GUI) you need to make some decision on how to configure something, you will get a basic explication on what a good choice would be. This gives the good feeling that you know what you are doing.</p>
<p> </p>
<p>17. Lower Hardware (HW) requirements: For the same type of experience, it is my experience that you need less heavy HW then with e.g. Windoze. In the case of Windoze the HW requirements go up with every version. In the case of Mandrake Linux, the 10.0 version actually runs faster then the previous one (9.2). That means that you need less HW to make it run as well.</p>
<p> </p>
<p>18. Oh, yeah, I almost forgot. The price of course. If you can contribute, you should of course (I paid for a Mandrake Club membership myself). But you can without any problem download it for free and use it. If you like what you get, it is appropriate to pay something (if you have the means to do so), otherwise you are a considered as freeloader. But even if you pay quite some, it will always be much less then the amount you would have spent to get the same kind of software in a FOSS-less world.</p>
<p> </p>
<p>OK, that's it for the moment. I'm anxious to see what other things come up. But it seems that the list could get very long.</p>
<p> </p>
<p>Ciao,</p>
<p> </p>
<p>Sitor</p>
<p> </p>
<p><strong><span style="text-decoration:underline;">Darkelve's comments</span></strong></p>
<p> </p>
<p>Ok, here's my list.</p>
<p> </p>
<p><strong>EDIT: This whole section is going to be revised, as I am on the brink of using Linux more full-time (still waiting for SuSe 9.1 Pro). And as bvc showed me, I need to voice my arguments more clearly, maybe get some things clear in my own head before I start blattering about them. Read it if you want, but it's going to be updated soon to better reflect my reasons for using Linux.</strong></p>
<p><strong> </strong></p>
<p><strong>Darkelve</strong></p>
<p> </p>
<p>MY BACKGROUND</p>
<p> </p>
<p>I have always been interested in technology, since I was just a kid I was learning to work with computers (those old yellow monochrome things with the big square floppies back then). </p>
<p> </p>
<p>I went from Dos to using about every version of Windows. Somehow, I didn't feel quite at ease using the OS and software I was using, so I decided to explore. One day, a short while after I started to learn Html on my own, I discovered a link to one of said "anti-Microsoft" sites. Curious to learn more, I read about any article/discourse on the web I could find about it and compared the reasoning of all sides (anti-Ms, Neutral, Pro-Ms). However, I quickly had to admit the 'anti'-MS people seemed to hit the nail right on the head. I also had the 'pleasure' of experiencing this live while learning Html and coding for different browsers. One of the more interesting things in there, were the alternatives for M$ OS/software. I got very interested in Linux by then. It appealed to me because I was -still am- an idealistic person. It also appealed to me because it was so popular and seemed very mature. It promised to be able to work with my existing hardware. And, not at all unimportant, it was free and within my grasp. So shortly after, I started downloading a Linux distro and a few hours later, I burned my first coaster :D). After some searching online, I found instructions for burning ISO's and was on my way.</p>
<p> </p>
<p>WHY I USE LINUX</p>
<p> </p>
<p>Before I start with the list, I want to give a remark here: a very important reason I started using it was because it was 'free'. However, at this time, the being free does not really matter to me that much. I will be glad to pay money for a Linux distro that suits my needs for the following reasons:</p>
<p> </p>
<p><strong>1. I can decide what to do on my own machine</strong></p>
<p>If I want to use browser X, I can. If I don't have to, I can just ignore it, or uninstall. It's all up to me. Because at the end of the day, this is my system, and I see no reason why I shouldn't be in control of it.</p>
<p> </p>
<p>Oh yeah, and it doesn't spy on me or want to learn my habits.</p>
<p> </p>
<p><strong>2. Linux acts nice to my hardware</strong></p>
<p>The first year I seriously started exploring Linux, I never used more than 5 Gigabytes for all I did with it, despite of the dozens of software programs I installed. I felt really comfortable knowing I did not have to worry too much about disk space. Another thing I noticed is that my surfing and downloading things from the net is going much more fluid, especially when doing several of these things at the same time. One time, when I was experimenting and installing Vector Linux, in text mode, I had to go through a really long step (I think choosing packages or partitioning). So I was curious if after a few minutes, some kind of screen saver would show up. I was delighted to find out that, yes, it did. Call me a purist but it was these little things that showed me that yes, Linux did care for my hardware.</p>
<p> </p>
<p><strong>3. Broad choice of applications</strong></p>
<p>Tell the truth, when I first started using Linux, the applications I really 'wanted' were either not there yet, or not mature enough. However, major improvements were made in this by OpenOffice.org, K3B, the different Desktop environments &amp; Window Managers, distros themselves... Right now I've got any program I need.</p>
<p> </p>
<p><strong>4. Security</strong></p>
<p>I don't really have to worry about viruses anymore. I can go on the internet with peace of mind. Hacking is of course still a problem (although not nearly as big as in Windows), but with only a little effort this too can be done.</p>
<p> </p>
<p><strong>5. Customizable</strong></p>
<p>I can make my system look *excactly* the way I want. If I like Apple, I can make it look like OSX. If I like BeOS, I can do that too. Just about every element of my desktop is customizable.</p>
<p> </p>
<p> </p>
<p><strong>6. Features</strong></p>
<p>Virtual desktops, tabbed browsing and chatting, split window view in the filemanager (konqueror), ... all of these features and more make the use of my computer a real pleasure.</p>
<p> </p>
<p><strong>7. Linux is social</strong></p>
<p>I would have never imagined it, but the Linux community, which I know especially via the internet, appeared to be really helpful and much bigger I originally thought. It is also I nice way to get in touch with people from all over the world, discuss opinions etc. It gives choice to developping countries and/or schools on a budget. Now who said we were just a bunch of hippies ;)</p>
<p> </p>
<p><strong>8. Linux is good to my data</strong></p>
<p>With Linux, I am sure that I will still be able to read in a few years, the things I create today. I am never forced to upgrage a program just to be able to read an old document or continue to use a certain function (cough* MSN Messenger*cough*).</p>
<p> </p>
<p><strong>Conlusion</strong></p>
<p>Linux offers everything I need to use my computer on a day-to-day basis. It gives me peace of mind and a satisfying feeling I am contributing to something beautiful. Linux gives me the possibility to make my own choices. With Linux, I am in control.</p>
<p> </p>
<p>All that said, these reasons are nice also:</p>
<p><a href="http://www.geocities.com/urifrid/whylinux.html" rel="external nofollow">http://www.geocities.com/urifrid/whylinux.html</a></p>
<p> </p>
<p><strong><span style="text-decoration:underline;">gmac's comments</span></strong></p>
<p> </p>
<p>What might also be interesting is how many are using or investigating linux because they are computer geeks, nerds, whatever, and how many are users of computers for work purposes and started looking at alternatives to windows from that perspective.</p>
<p> </p>
<p>In my case it was the office suites that got me started as I looked in to an alternative to MS office professional.(sad isn't it. As a student I dropped computing science as an option because spending a career designing accounting and production control systems struck me as being very boring the sort of stuff I could but didn't find interesting)</p>
<p> </p>
<p>basically the attraction boils down to</p>
<p> </p>
<p>1) choice of software and not being tied to one office suite with ever spiralling costs.</p>
<p>2) reliability I can stop my computer crashing so often but I learned the hard way.</p>
<p>3) Cost, £450 or free or £50 star office,, its a no-brainer tried star office and got hooked (I really do need the database not just spreadsheets)</p>
<p>4) usability, I can take my skill level to what I need, I like to fix things myself and know what's going on. Windows is like looking for a goldfish with rubber gloves on-you know its there but can't really work out what's going on and just hope you've got it and its a relief when you do..</p>
<p>5) I might not bother acquiring that level of skill-its not how I make a living, but its nice to have a choice if I choose to take it.</p>
<p>6) cost to experiment is low.</p>
<p>7) I can get help if i need it without paying the earth or being patronized(mostly)</p>
<p>8) the ethos has become an attraction, in particular this site is interesting beyond any immediate needs for information on linux. I like the diversity. </p>
<p> </p>
<p>On short its usability but if I can't get it doing what I need i may be stuck with windows, most issues i can now work around but for some things I am stuck with windows.</p>
<p> </p>
<p>what's putting me off at the moment</p>
<p> </p>
<p>1) scanning software-I am well on the road to a paperless office I need linux to be able to do that</p>
<p>2) remote access to my home computer-not yet but give it another year or two</p>
<p>3) remote back up. the industry I am in off site storage will be an issue that i have to deal with. Most such services I know of use windows, I need to be compatible.</p>
<p>4) striking a balance between spending my time experimenting, making a living and studying for some professional qualifications I need to acquire. </p>
<p> </p>
<p>Like I said it might be interesting. I am curious that's why I mention it.</p>
<p> </p>
<p>One thing hat strikes me about linux advocates on this site and others asking why people don't try linux is they sometimes miss the interest that others show.</p>
<p> </p>
<p>Give you an example, I was at a networking meeting, software consultant prattled on about thin client servers, remote access, intranet working blah blah, In reality most of the people will use such things if not now then in the not too distant future or now if they knew they could. He lost potential clients because he talked about what he did rather than them. </p>
<p> </p>
<p>Nobody cares if microsoft is a rip off they know they need it so give them an alternative that's relevant to what they are actually doing with the computer</p>
<p> </p>
<p><strong><span style="text-decoration:underline;">cybrjackle's comments</span></strong></p>
<p> </p>
<p>I use Linux because it's the BEST OS for "ME" :D </p>
<p> </p>
<p>Yes, I've used </p>
<p>Windows &lt;all of them&gt; Yes, I think they all suck, again, for "ME"</p>
<p>Mac &lt;OSX is the only other OS i like to use, OS9 on down blew for "ME"</p>
<p>All the BSD's &lt;not bad, but there features that they lack for "ME"</p>
<p>Solaris 6-10beta &lt; good server/ desktop sucks&gt;</p>
<p>HP-UX &lt;same as above&gt;</p>
<p> </p>
<p> </p>
<p> </p>
<p>You all can call me a Linux Zealot all you want, because I am B) </p>
<p> </p>
<p>And I can back it up because I have used all the other OS's a lot more than most people. Windows, I know it better than most of the SA's that work on it were I work, doesn't matter, "I" still think it sucks.</p>
<p> </p>
<p>:lol:</p>
]]></description><guid isPermaLink="false">13499</guid><pubDate>Fri, 23 Apr 2004 15:53:10 +0000</pubDate></item><item><title>IM-13 How To Make a Boot CD</title><link>https://mandrivausers.org/index.php?/topic/11801-im-13-how-to-make-a-boot-cd/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>IM-13: How To Make a Boot CD</strong></p>
<p> </p>
<p>Like many recent distros, the kernel for mdk9.2 is too large to make a bootable floppy. My previous post dealt with how  to get around this problem by making extended floppies using fdutils:</p>
<p> </p>
<p><a href="http://www.mandrakeusers.org/index.php?showtopic=9014" rel="external nofollow">http://www.mandrakeusers.org/index.php?showtopic=9014</a> </p>
<p> </p>
<p>This is an alternative method for creating a bootable cd for kernels that won't fit on a standard floppy. It works by creating a 2.88MB image on your hard drive to which you copy the necessay files like you would normally have on a bootable floppy then converting that image to a bootable iso image which you can burn with k3b just like any other bootable cd.</p>
<p>Here's how:</p>
<p> </p>
<p>1. Open a console and creat a directory in /home/&lt;username&gt; called test and navigate to test:</p>
<p> </p>
<p></p>
<pre class="ipsCode">$ mkdir test
$ cd test</pre>
<div></div>
<p></p>
<p> </p>
<p>2. "su" to root and create an empty 2.88MB floppy image called 288boot.img:</p>
<p> </p>
<p></p>
<pre class="ipsCode">$ su
# &lt;enter root password&gt;
# dd if=/dev/zero of=288boot.img bs=1k count=2880</pre>
<div></div>
<p></p>
<p> </p>
<p>3.Format the image you just made to msdos:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># mkfs -t msdos 288boot.img</pre>
<div></div>
<p></p>
<p> </p>
<p>4. Install the bootlader, syslinux on the image:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># syslinux -s 288boot.img</pre>
<div></div>
<p></p>
<p> </p>
<p>4. Create a directory in test called "floppy" to mount the image:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># mkdir floppy</pre>
<div></div>
<p></p>
<p> </p>
<p>5.Mount the image using loop:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># mount -t msdos -o loop 288boot.img floppy</pre>
<div></div>
<p></p>
<p> </p>
<p>6. Open another console, su to root and fire up konqueror:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># su
&lt;enter root password&gt;
# konqueror</pre>
<div></div>
<p></p>
<p> </p>
<p>7. Navigate in konqueror to /home/&lt;username&gt;/test/floppy. If the above went correctly you should see a file called "ldlinux.sys". That's the syslinux bootloader that you installed to 2.88boot.img which is now mounted on /home/&lt;username&gt;/test/floppy. The way 288boot.img was created with the "dd" command makes it act like a simulated 2.88MB floppy drive. That's why you were able to format the image file and mount it, just like an ordinary floppy drive.</p>
<p> </p>
<p>8.From konqueror, copy and paste the vmlinuz and initrd files from /boot to the floppy directory in test. The ones that came with the download edition are "initrd-2-4.22-10mdk.img" and "vmlinuz-2-4.22-10mdk". if you've updated your kernel or are using a nonstandard kernel, you'll have different numbers.</p>
<p> </p>
<p>9. In your /home/&lt;username&gt;/test/floppy directory rename the initrd and vmlinuz files to simply "initrd.img" and "vmlinuz".</p>
<p> </p>
<p>10.Create two empty text files in floppy and name them "syslinux.cfg" and "boot.msg". These will be your text configuration files for the bootloader. In boot.msg copy and paste the following text:</p>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="11801" data-ipsquote-contentclass="forums_Topic"><div>Press &lt;return&gt; (or wait 10 seconds) to boot your Mandrake Linux system from<p>/dev/hdxx. You may override the default linux kernel parameters by typing</p>
<p>"linux &lt;params&gt;", followed by &lt;return&gt; if you like.</p>
</div></blockquote>
<p> </p>
<p>In syslinux.cfg, copy the following text:</p>
<p> </p>
<p></p>
<pre class="ipsCode">default linux
prompt 1
display boot.msg
timeout 100
label linux
kernel vmlinuz
append initrd=initrd.img root=/dev/hdxx</pre>
<div></div>
<p></p>
<p> </p>
<p>In both instances "xx" should correspond to the location of your root partition for mdk9.2. also, if you have any drives running under scsi emulation you should add "hdx=ide-scsi" to the append line in syslinux.cfg for each drive. Do not put the append line in quotes like you do for lilo's append line.</p>
<p> </p>
<p> </p>
<p>11. Close konqueror and the console that opened it and unmount 288boot.img in the remaining open console:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># umount floppy</pre>
<div></div>
<p></p>
<p> </p>
<p>12.Delete the floppy directory in test:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># rmdir floppy</pre>
<div></div>
<p></p>
<p> </p>
<p>13. Make the iso from 288boot.img:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># mkisofs -r -b 288boot.img -o bootcd.iso /home/&lt;username&gt;/test</pre>
<div></div>
<p></p>
<p> </p>
<p>Note, you must be in the "test" directory when you run mkisofs and you must designate the full path after "bootcd.iso". This will create the bootable iso "bootcd.iso" in the /home/&lt;username&gt;/test directory.</p>
<p> </p>
<p>14. Burn bootcd.iso just like you would any iso with your favorite cd burning program. If all went well, the cd you burn should work just like a boot floppy but it will load much faster. The above procedure is adaptable to any linux distro that has a kernel too big to fit on a floppy.</p>
]]></description><guid isPermaLink="false">11801</guid><pubDate>Tue, 24 Feb 2004 18:27:08 +0000</pubDate></item><item><title>SE-02: Linux Security Overview</title><link>https://mandrivausers.org/index.php?/topic/13265-se-02-linux-security-overview/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4454" rel="external nofollow">SE: Security, firewalls...</a>]</p>
<p> </p>
<p><strong>SE-02: Linux Security Overview</strong></p>
<p> </p>
<p> </p>
<p>	The first thing to understand about security, is that it is an on going, ever changing evolution.  Security is not about a particular piece of software, it is not an OS, it is not a particular piece of hardware. Security is a process. Security is as much education as implementation. </p>
<p> </p>
<p>	Linux offers great flexibility and power in the area of security, so lets look at how. </p>
<p> </p>
<p>1.<strong>Permissions:</strong> (chmod)</p>
<p>	Chmod has often been confusing for newbies. Each file has a set of permissions, and 			   each directory also has a set of permissions, these permissions are set through chmod. Whether a file or a directory they all have three (3) groups. Each group has a set of permissions. The groups are broken down as follows:</p>
<p> </p>
<p>        u: the owner user (the one who created the file or directory)</p>
<p>	g: the owner group (belonging to the same group as the owner of the file or directory)</p>
<p>	o: others a.k.a world (everybody else)</p>
<p> </p>
<p>Each group has permissions. The permissions are:</p>
<p> </p>
<p>	r: read</p>
<p>	w: write</p>
<p>	x: execute</p>
<p> </p>
<p>	So if  I said a file had rwxrwxrwx, that would mean that the owner has read, write and 	execute abilities. The group would also have read, write and execute abilities, and so 	would everyone else (others/world).  </p>
<p> </p>
<p>	Chmod is expressed in a numerical format called hexadecimal. The above example 	would be expressed as 777. How did we get that? Each permissions is a binary bit, either 	1 or 0. The 0 would indicate the permission is turned off. In the above example, all the 	permissions are turned on. </p>
<p> </p>
<p>	For the owner we have rwx.		</p>
<p>	Which translates to       111 in binary bits.</p>
<p> </p>
<p>	For the group we have rwx.</p>
<p>	Which translates to      111 in binary.</p>
<p> </p>
<p>	For the others we have rwx.</p>
<p>	Which translates to       111 in binary.</p>
<p> </p>
<p>	Maybe you don't know binary. A brief lesson in binary. </p>
<p>	  0=0</p>
<p>	  1=1</p>
<p>	10=2</p>
<p>	 11=3</p>
<p>	100=4</p>
<p>	101=5</p>
<p>  	110=6</p>
<p>   	111=7</p>
<p> </p>
<p>We'll stop here on binary, since thats all that is relevant. So now we can see how we got to 777. 7 for the owner, which again is read, write and execute (rwx). 7 for the group, which is read, write and execute (rwx). 7 for others/world, which is read, write execute (rwx). These set of permissions may not be what you'd want your files or directories to be set at, but then, i can't determine that for you. Only you can do that. All you have to do is determine who has what permissions.</p>
<p> </p>
<p> </p>
<p>2.<strong>Firewalls:</strong> There are many firewalls out there. Some are scripts, which can offer some of the greatest control over a firewall, others are GUI's or frontends. Frontends are great for beginners as it offers a way to quickly and effectively configure your firewall. Some of the firewalls I like are; <a href="http://firestarter.sourceforge.net/" rel="external nofollow"> Firestarter</a>, and <a href="http://www.simonzone.com/software/guarddog/" rel="external nofollow">Guarddog</a>. Some scripts i like are; <a href="http://rocky.eld.leidenuniv.nl/index-org.html/" rel="external nofollow">Arno's firewall</a>, and <a href="http://www.linuxkungfu.org/" rel="external nofollow">IPkungfu</a>.</p>
<p> </p>
<p> </p>
<p>3.<strong>Services:</strong> Always, always, always, turn off any unnecessary services. </p>
<p><a href="http://www.cae.wisc.edu/fsg/linux/linux-security.html" rel="external nofollow">http://www.cae.wisc.edu/fsg/linux/linux-security.html</a></p>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="13265" data-ipsquote-contentclass="forums_Topic"><div>cron, anacron- Cron is responsible for running scheduled system jobs and anacron is responsible for running any missed jobs due to system downtime.  Some versions of Linux use these two services to perform housekeeping chores, so they should be left on.<p> </p>
<p>ftpd- This is the File Transfer Protocol daemon that allows a FTP server to run.  If you do not have an FTP server or do not know what that is, turn it off.</p>
<p>httpd- This is the HTTP daemon that allows a web server to run.  If you do not run a web server on your machine, turn it off.</p>
<p> </p>
<p>iptables- One of the major Linux firewall tools.  Since it is used to implement many of the standard firewalls, this service should be left enabled.</p>
<p> </p>
<p>isdn- A service for people using ISDN to access the internet.  If you do not use ISDN, disable this service.</p>
<p> </p>
<p>lpd- The Linux printing daemon.  If you do not have a printer, turn it off.</p>
<p> </p>
<p>nfs, nfslock, portmap- Three services required for the old style Linux Network File System format.  Unless you are using this format, disable these three services.</p>
<p> </p>
<p>pcmcia- The services for controlling laptop pcmcia devices.  Disable this service unless you are running Linux on a laptop.</p>
<p> </p>
<p>samba, smb, smbd, nmbd- Various services related to Samba servers for allowing Windows machines to connect to printer or disk shares on your machine.  These can be turned off unless you would like to access your Linux shares from Windows.</p>
<p>sshd, sshd2- These two services allow remote access to your machine from the SSH and SSH2 protocols respectively.  If you would like to remotely access your machine, we recommend that you leave sshd2 on and turn off sshd, otherwise both can be turned off (Please note that OpenSSH appears as sshd even though it can use the SSH2 protocol, so if you want to use OpenSSH, leave sshd enabled).</p>
<p> </p>
<p>telnet, telnetd- These services all you to remotely access your machine through telnet.  This is very insecure and we recommend disabling telnet.</p>
</div></blockquote>
<p> </p>
<p> </p>
<p>4.<strong>Securetty:</strong> This is a file in the /etc directory (/etc/securetty). This should be commented out. It allows a person to remotely login as root. </p>
<p> </p>
<p></p>
<pre class="ipsCode">cat /etc/securetty
#
# This file contains the device names of tty lines (one per line,
# without leading /dev/) on which root is allowed to login.
#
tty1
tty2
tty3
tty4
tty5
tty6
# for devfs:
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6</pre>
<div></div>
<p></p>
<p> </p>
<p>This is what an uncommented securetty file looks like. Simply put a # in front of tty1-6 and vc/1-6. If you want to login in as root just lease tty1 and vc/1 uncommented. </p>
<p> </p>
<p> </p>
<p>5.<strong>Xserver:</strong> Xserver is a part of Xwindows and while it has its function and purpose, if you don't absolutely need the server function in X, then you should disable that. </p>
<p> </p>
<p></p>
<pre class="ipsCode">cat /etc/X11/xdm/Xservers
# $XConsortium: Xserv.ws.cpp,v 1.3 93/09/28 14:30:30 gildea Exp $
#
#
# $XFree86: xc/programs/xdm/config/Xserv.ws.cpp,v 1.1.1.1.12.2 1998/10/04 15:23:14 hohndel Exp $
#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line).  If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well.  Each X terminal line should
# look like:
#
#       XTerminalName:0 foreign
#
# Note: The vt07 is required to start the local X server on the virtual
#       console 7. This avoids conflicts with gettys of /etc/inittab.
#
:0 local /usr/X11R6/bin/X     -nolisten tcp</pre>
<div></div>
<p></p>
<p> </p>
<p>This will stop Xserver from acting as a server. By leaving this active anyone with the knowledge and ability can literally see/watch what you are doing. </p>
<p> </p>
<p> </p>
<p>6.<strong>Updates:</strong> Regularly keep your system up to date. </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>For further study: </p>
<p><a href="http://www.linuxsecurity.com/docs/LDP/Security-HOWTO/network-security.html" rel="external nofollow">http://www.linuxsecurity.com/docs/LDP/Secu...k-security.html</a></p>
<p><a href="http://www.tldp.org/HOWTO/Security-HOWTO/" rel="external nofollow">http://www.tldp.org/HOWTO/Security-HOWTO/</a></p>
<p> </p>
<p> </p>
<p>Book: "Hacking Linux Exposed 2nd Edition"</p>
]]></description><guid isPermaLink="false">13265</guid><pubDate>Wed, 14 Apr 2004 21:25:07 +0000</pubDate></item><item><title>LT-01: PCMCIA wireless access for your Laptop</title><link>https://mandrivausers.org/index.php?/topic/5494-lt-01-pcmcia-wireless-access-for-your-laptop/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4458" rel="external nofollow">LT: Laptops</a>]</p>
<p> </p>
<p><strong>LT-01: PCMCIA wireless access for your Laptop</strong></p>
<p> </p>
<p>Having Wireless access for your laptop is really easy to set up.  Here's what you'll need:</p>
<ul><li>Wireless PCMCIA adapter<br /> <br /></li>
<li>Wireless access point or Router<br /></li>
</ul><p>I went with the Siemens Speedstream PCMCIA 802.11b adapter.  You can get any you would like, but I went with this particular adapter because it said on the box that it worked with Linux.  I also picked up a Netgear ME102 Wireless Access Point.  Thinking back on it, I should have bought a router, or a different access point.  The only way to set up this particular access point is through a USB connection with Windows.  This only has to be done once, though, so if you don't have Windows yourself; find another computer you can use to configure the access point.  It only takes a few minutes and the only things you need to change are </p>
<ul><li>The ESSID (This is the "name" of your access point)<br /> <br /></li>
<li>The Key password and type (only if you want to encrypt your access point so you're not sharing it with your neighbors)<br /></li>
</ul><p>Then we can set up the PCMCIA card.  Open up a console and as root type</p>
<p></p>
<pre class="ipsCode">/sbin/cardctl ident</pre>
<div></div>
<p></p>
<p>This will produce results like this:</p>
<p></p>
<pre class="ipsCode">[ liquidzoo ]# /sbin/cardctl ident

Socket 0:

 no product info available

Socket 1:

 product info: "Siemens", "SpeedStream Wireless PCMCIA", "", ""

 manfid: 0x02ac, 0x3021

 function: 6 (network)

[ liquidzoo ]#</pre>
<div></div>
<p></p>
<p>What we're looking for is the product info and the manfid.  Write them down, or leave the console window open so you have them.  Next, we need to edit some config files, you can use whatever editor you want.  Since I'm already in X when I'm doing this, I use kwrite.  As root, in your console type </p>
<pre class="ipsCode"># kwrite /etc/pcmcia/config</pre>
<div></div>
<p></p>
<p>Somewhere in this file, near the end where cards are defined, you will want to put in the following info:</p>
<ul><li>card (This is just so you know what card it is for)<br /> <br /></li>
<li>manfid (this is what came from the output of /sbin/cardctl ident)<br /> <br /></li>
<li>bind "orinoco_cs" (This tells the kernel which module and driver to use)<br /></li>
</ul><p>Use the existing entries in this file as a guide for formatting.</p>
<p> </p>
<p>Save and exit that file.  </p>
<p> </p>
<p>Next, you have to reboot (I know, but it has to be done).  Once you have rebooted, it should recognize your card, but it might give you an error because it is not configured yet.  Once you have brought up X, go into the MCC.  Go into the Hardware section and choose HardDrake.  After it detects your hardware, you should see an entry under Ethernetcard for eth1.  Select that and click on run config tool.  This will bring up drakconnect.  Set this up just as you would normally set up your network, choosing autodetect and expert mode.  You will get to the eth1 config tool, where you can set the mode of the wireless card.  I choose Auto for WIRELESS_MODE and Any for WIRELESS_ESSID.  This will let you connect to any available wireless network.  If you encrypted your Wireless Access Point, you will need to enter the Key in WIRELESS_ENC_KEY.  Once you have that set up, you are all set.  Say yes when it asks to restart the network.  Once that is done, check your internet connection by firing up your favorite browser and heading to this board!</p>
<p> </p>
<p> </p>
<p><strong>Additional Information</strong></p>
<p> </p>
<p><a href="http://www.mandrakeusers.org/index.php?showtopic=9865" rel="external nofollow">http://www.mandrakeusers.org/index.php?showtopic=9865</a></p>
]]></description><guid isPermaLink="false">5494</guid><pubDate>Sat, 31 May 2003 07:56:03 +0000</pubDate></item><item><title>GE-02: How to install winex from cvs</title><link>https://mandrivausers.org/index.php?/topic/10941-ge-02-how-to-install-winex-from-cvs/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4462" rel="external nofollow">GE: Games-Emulation</a>]</p>
<p> </p>
<p><strong>GE-02: How to install winex from cvs</strong></p>
<p> </p>
<p>1. Go to the <a href="http://www.transgaming.com/license.php?source=1" rel="external nofollow">Transgaming Website</a></p>
<p>2. Scroll all the way down and hit <strong>I Agree</strong> if you do.</p>
<p>3. Open up a console.</p>
<p>4. Type </p>
<pre class="ipsCode">cvs -d:pserver:cvs@cvs.transgaming.org:/cvsroot login</pre>
<div></div>
<p></p>
<p>When prompted for the password enter "cvs" then, again in the console type </p>
<p></p>
<pre class="ipsCode">cvs -z3 -d:pserver:cvs@cvs.transgaming.org:/cvsroot co winex</pre>
<div></div>
<p></p>
<p>5. Change into the new winex directory </p>
<pre class="ipsCode">cd winex</pre>
<div></div>
<p></p>
<p>6. Now to set some config options. Since this is the first time I'm doing this, for no particular reason, hear are mine:</p>
<pre class="ipsCode">./configure --prefix=/usr --with-x --enable-opengl</pre>
<div></div>
<p></p>
<p>I tried adding --enable-sdldrv  but got an error after installing libSDL1.2-devel and then just gave up.</p>
<p><span style="color:#FF0000;">[*]</span><strong>Note:</strong> I came back to this and found that I had to do the configure step as root to have sdl-config work. The ammended command <em>while logged in as </em><em><strong>root</strong></em> was </p>
<p></p>
<pre class="ipsCode">./configure --prefix=/usr --with-x --enable-sdldrv  --enable-opengl</pre>
<div></div>
<p></p>
<p>7. You may need to install some devel and other rpms, here's the list of what I had to install:</p>
<ul><li>byacc<br /></li>
<li>flex<br /></li>
<li>libxfree86-devel<br /></li>
<li>libMesaglut3-devel<br /></li>
<li>libalsa2-devel (for Alsa drivers)<br /></li>
<li>kernel-source (for OSS drivers)<br /></li>
<li>libfreetype6-devel<br /></li>
<li>libfontconfig1-devel<br /></li>
</ul><p>8. After taking care of dependencies it's time to start the build. I did </p>
<p></p>
<pre class="ipsCode">make depend &amp;&amp; make</pre>
<div></div>
<p></p>
<p>and waited.</p>
<p>9. After all that niceness </p>
<pre class="ipsCode">make install</pre>
<div></div>
<p> brings it all home and finishes out the install. </p>
<p>10. I suppose now you'll want to configure wine to install games. Unfortunately there are different install methods for different games so you'll have to look to google for an answer to that one <img src="https://mandrivausers.org/uploads/emoticons/default_oops.gif" alt=":oops:" data-emoticon="" /><img src="https://mandrivausers.org/uploads/emoticons/default_furious3.gif" alt=":furious3:" data-emoticon="" /></p>
]]></description><guid isPermaLink="false">10941</guid><pubDate>Thu, 22 Jan 2004 01:49:49 +0000</pubDate></item><item><title>CL-10: Basic Shell Scripting</title><link>https://mandrivausers.org/index.php?/topic/10771-cl-10-basic-shell-scripting/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4463" rel="external nofollow">CL: Command Line Questions</a>]</p>
<p> </p>
<p><strong>CL-10: Basic Shell Scripting</strong></p>
<p> </p>
<p>This FAQ will cover basic shell-scripting techniques in BASH (Bourne-Again SHell), the default shell on all (or at least 99%) of all current Linux distributions, and probably for many years this will remain the case.</p>
<p> </p>
<p>BASH is a very powerful shell, and bash scripting can introduce users to concepts used in all computer programming, which I will talk about briefly in this FAQ.</p>
<p> </p>
<p>A program is just a collection of instructions to carry out a task. Finding efficient ways to do these "tasks" is what programming is all about.</p>
<p> </p>
<p>To program in BASH, you need slight knowledge of different Linux terminal commands, as that is essentially all BASH scripting is, instead of writing several commands to do a specific task, you can combine them all so they can all be done through one command with BASH scripts.</p>
<p> </p>
<p>I will begin with a simple example:</p>
<p> </p>
<p>Create a file called firstscript.sh, using the command</p>
<p></p>
<pre class="ipsCode">touch firstscript.sh</pre>
<div></div>
<p></p>
<p>Now open that file with your favourite text editor and type the following code into the file.</p>
<p> </p>
<p></p>
<pre class="ipsCode">#!/bin/bash

echo "Hello, What is your name?"
read NAME
echo "Nice to meet you, $NAME"</pre>
<div></div>
<p></p>
<p> </p>
<p>Now save the file. Now, before you can use this program, you must first make the file executable, you can do this like so:</p>
<p> </p>
<p></p>
<pre class="ipsCode">chmod 0755 firstscript.sh</pre>
<div></div>
<p></p>
<p>or</p>
<p> </p>
<p></p>
<pre class="ipsCode">chmod +x firstscript.sh</pre>
<div></div>
<p></p>
<p> </p>
<p>Now you are free to run the program, like so:</p>
<p> </p>
<p></p>
<pre class="ipsCode">./firstscript.sh</pre>
<div></div>
<p></p>
<p> </p>
<p>I will go over the different lines of the program, so this will make more sense (hopefully).</p>
<ul><li> #!/bin/bash  -  This tells the computer that the program is a BASH script.<br /></li>
<li> echo "Hello, What is your name?"  -  "echo" prints the contents between double quotes (also known as a String Literal) to the screen<br /></li>
<li> read NAME  -  This line introduces the concept of a "variable", a simple analogy for a variable would be a pocket, it is a storage space which can hold a variety of things, in this case the words entered by the user. In other words, The program stores anything you enter, into the variable NAME, and things can be done with that variable, which will be covered soon.<br /></li>
<li> echo "Nice to meet you, $NAME"  -  The only new content of this line that you haven't seen before is "$NAME", as you may have found out out by running the program, when used with "echo," prints out the contents of variable NAME. The "$" can be interpreted to mean "contents/value of", so with <pre class="ipsCode">$VARIABLE</pre>
<div></div>
<p> you would be referring to the contents, or the value, stored in the variable, named VARIABLE .<br /></p>
</li>
</ul><p><strong>Evaluating expressions</strong></p>
<p> </p>
<p>Evaluating an expression can be done through the use of square brackets ([ and ]).</p>
<p>A simple way to explain this would be through making a rudimentary calculator, so write the code below in your favourite editor and save it as "calculator.sh"</p>
<p> </p>
<p></p>
<pre class="ipsCode">#!/bin/bash

echo "Finding X * Y"
echo "Enter X:"
read X
echo "Enter Y:"
read Y
echo "X * Y = $X*$Y = $[X*Y]"</pre>
<div></div>
<p></p>
<p> </p>
<p>You can run the program by making it executable as shown before, and executing it. (./calculator.sh).</p>
<p> </p>
<p>As you can see, the $[X*Y] returns the value by multiplying the values stored in the variables X and Y. You should take note that if you have many variables, you should use parenthesis  '(' and ')' to show the order you want the expressions evaluated. As an example:</p>
<p> </p>
<p></p>
<pre class="ipsCode">"$[((X*Y) / (X + Y)) - X]"</pre>
<div></div>
<p></p>
<p> </p>
<p>As you should know from maths, the contents of the brackets will be evaluated first.</p>
<p> </p>
<p><strong> If and Else Statements </strong></p>
<p> </p>
<p>If and else statements are useful in the way that you can get a certain block of code to be used only if a condition is true.</p>
<p> </p>
<p>To show this as an example, make a new file called "ifandelse.sh", you can copy the code from "calculator.sh" to take a slight shortcut, and modify the file to look as it is below:</p>
<p> </p>
<p></p>
<pre class="ipsCode">#!/bin/bash

echo "Finding the greater number"
echo "Enter X:"
read X
echo "Enter Y:"
read Y

if test "$X" -gt "$Y"; then
echo "$X is greater than $Y"

elif test "$X" -lt "$Y"; then
echo "$X is less than $Y"

else
echo "$X is equal to $Y"

fi</pre>
<div></div>
<p></p>
<p> </p>
<p>A few new things were introduced in this script, and I'll go over each.</p>
<ul><li> The "if" statement  -  This tests if the "expressions next to it are true, I'll cover these soon. and if thy are true, the code under them will be "used". After that code has been executed, the script continues from after the "fi" statement.<br /></li>
<li> test "$X" -gt "$Y"  - This uses the GNU command "test" and tests if the value stored in X is greater than (-gt) the value stored in Y.<br /></li>
<li> The wonderous semicolon ( ; )  -  Like many programming languages, BASH can use the semicolon to separate statements (NOTE: The semicolon is only needed in BASH if you have more than one statement/command on the same line, otherwise it is optional, unlike many other languages where a semicolon is needed to separate every statement.).<br /></li>
<li> then  -  This statement is used after "if" and "elif" (It is not used anywhere else.) to tell it to use the code under the statement, if the condition is true.<br /> <br />An easy way to think what this code means<br /> <br /><pre class="ipsCode">if test "$X" -gt "$Y"; then
echo "$X is greater than $Y"</pre>
<div></div>
<p><br /> <br />is "If X is greater than Y, "then" print the contents of the double quotes in the echo statement to the screen.<br /> <br /></p>
</li>
<li> elif  - (short for "else if") This tests another condition if the previous condition was found as false, if the previous condition was found as true, this elif statement, and the rest of the code until after the "fi" statement, is ignored. If the condition here is found true, the code below it is executed (as with the "if" statement).<br /> <br /></li>
<li> -lt  -  (less than) This is another argument to the "test" command that tests if a the value stored in a variable is less than another. You can find out about the different options that the test command offers you by using the command "man test"<br /> <br /></li>
<li> else  -  This is used to test the last condition between the "if" and "fi" statements. As you can see, "then" isn't needed after the else statement.<br /> <br /></li>
<li> fi  -  This shows the end of the if/else statements.<br /></li>
</ul><p><strong>Looping with "while" statements</strong></p>
<p> </p>
<p>Usually, "program flow" in a shell script goes in the order "top to bottom". If you want a certain piece of code to be used a certain amount of times, there are a few different statements you can use, this part of the FAQ will cover the "while" statement.</p>
<p> </p>
<p>The way the computer uses "while" statements is like so:</p>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="10771" data-ipsquote-contentclass="forums_Topic"><div>while condition is true, execute code between the "do" and "done" statements over and over until the condition becomes false</div></blockquote>
<p> </p>
<p>A good example is getting the computer to show you that it can count up to ten. So create a file called "while.sh", and write the following code into it:</p>
<p> </p>
<p></p>
<pre class="ipsCode">#!/bin/bash

X=1

while test "$X" -le "10"
do
echo "$X"
X=$[X+1]
done</pre>
<div></div>
<p></p>
<p> </p>
<p>If you run the script you will get the following output:</p>
<p> </p>
<p></p>
<pre class="ipsCode">1
2
3
4
5
6
7
8
9
10</pre>
<div></div>
<p></p>
<p> </p>
<p>As you can see, using loops (with "while" statements in this case) is much more efficient than writing 10 different "echo" statements to get exactly the same output.</p>
<p> </p>
<p>Loops are a very important part of all programming and most programs that you will ever write are very likely to contain at least one loop.</p>
<p> </p>
<p>As with other examples, this one also introduced new ideas.</p>
<ul><li> X=1  -  This stores the value "1" in the variable named X, quite simple. NOTE: You cannot have spaces between X and the equals sign ( = ), and the equals sign and 1, otherwise they are all treated as separate statements.<br /> <br /> <br /> <br /> <br /></li>
<li> while  -  As said before, this is used like "while condition is true, execute/process code between the "do" and "done" statements.<br /> <br /> <br /> <br /> <br /></li>
<li> -le  -  (less than or equal to) Tests if one expression/value is less than or equal to another.<br /> <br /> <br /> <br /> <br /></li>
<li> do  -  If the condition in the while statement was true, the do statement shows where to start processing the code. "do" is used with while, until and for statements. (both of which will be explained shortly.)<br /> <br /> <br /> <br /> <br /></li>
<li> X=$[X+1]  -  This increments the value stored in variable X by one every time this code is encountered.<br /> <br /> <br /> <br /> <br /></li>
<li> done  -  As said before, this shows the end of the "while" statement. Behaves in much the same way as "fi" does for if/else statements.<br /></li>
</ul><p>Exercise: Now you can try making a script that counts down from 10 to one using your gained knowledge of shell scripting. If you really want, you can even send me a PM and I'll mark it for you ;).</p>
<p> </p>
<p><strong>The "until" loop</strong></p>
<p> </p>
<p>Something that uses the opposite logic of "while", but has the same syntax is the "until" statement which is quite self-explanatory, though i will provide an example anyway.</p>
<p> </p>
<p></p>
<pre class="ipsCode">#!/bin/bash

X=1

until test "$X" -gt "10"
do
echo "$X"
X=$[X+1]
done</pre>
<div></div>
<p></p>
<p> </p>
<p>This executes the code between "do" and "done" until the value stored in the variable X is greater than 10. This script has the same output as the previous example.</p>
<p> </p>
<p><strong>The "for" loop</strong></p>
<p> </p>
<p>"for" loops have quite a different syntax from that of "while" and "until" loops. The best way to explain these differences is by example, so create a file "forloop.sh", And write the following code into it:</p>
<p> </p>
<p>NOTE: The code below contains only my opinion, I mean no offence to anybody whatsoever, if you don't agree with it you can substitute values for your tastes.</p>
<p> </p>
<p></p>
<pre class="ipsCode">#!/bin/bash

for food in chinese italian korean vietnamese japanese thai cambodian
do
echo "$food food tastes good"
done
echo "But indian food does not"</pre>
<div></div>
<p></p>
<p> </p>
<p>I will go over the new parts in this script.</p>
<p> </p>
<p></p>
<ul><li> for  -  "for" statements have the syntax "for &lt;variable&gt; in &lt;variable value&gt; ...". I will explain parts of this now. &lt;variable&gt; you substitute for the name of a variable you want to access/use inside the for loop. "in" stores the strings and/or values after it into &lt;variable&gt;. &lt;variable name&gt; are the values or strings that you want &lt;variable&gt; to store.<br /> <br />For example, the first time through the last "for" loop, the value stored in the variable food would be the string "chinese", the second time through, "italian" and so on. The value of &lt;variable&gt; is one of the strings/numbers after "in" each time through the loop. The loop finishes when all of the numbers/strings after "in" have been used.<br /> <br />If you are confused over what was just said (I wouldn't be surprised), you should run the script and the code should be understood quite easily.<br /></li></ul><p></p>
<p> </p>
<p><span style="text-decoration:underline;">The alternative "for" syntax</span></p>
<p> </p>
<p>If you have ever come across some programming in C or C++, you are likely to have seen that the syntax of the "for" statement is quite different to what has been shown in the previous examples. This other way of using for loops will be introduced now:</p>
<p> </p>
<p></p>
<pre class="ipsCode">for (( i=0; i&lt;10; i++ ))</pre>
<div></div>
<p></p>
<p> </p>
<p>For loops contain three parts, each one separated by semicolons. The format of this is:</p>
<p> </p>
<p>for ((<span style="text-decoration:underline;">initialisation</span>;<span style="text-decoration:underline;">condition</span>;<span style="text-decoration:underline;">increment</span>))</p>
<p> </p>
<p>I will explain each part now:</p>
<p> </p>
<p></p>
<ul><li> <span style="text-decoration:underline;">initialisation</span> - This part creates, and sets the value for one or more variables. In the above example, "i = 0" Creates the variable 'i' if not previously created, and sets the value that 'i' contains, to zero.<br /> <br /> <br /> <br /> <br /></li>
<li> <span style="text-decoration:underline;">condition</span> - This part tests one or more conditions, just like the if/while statements do. Using the above as an example: "i&lt;10" would test if the value stored in 'i' is less than ten. If it is, the loop will run, if not, the loop will be ignored.<br /> <br /> <br /> <br /> <br /></li>
<li> <span style="text-decoration:underline;">increment</span> - This part is used to alter the variable(s) that were previously created. In the previous case "i++", The value stored in 'i' is incremented by one each time the loop has run through.<br /></li>
</ul><p></p>
<p> </p>
<p>A new thing that you may have noticed is the increment operator (++). This will increment the value stored in a variable by one. There is also a decrement operator that can be used (--), which will decrement a value by one.</p>
<p> </p>
<p>Time for a proper example of it's use, note that the output will look familiar.</p>
<p> </p>
<p></p>
<pre class="ipsCode">for ((i=0, f = 10; i&lt;10, f &gt; 5; i++, f--)); do echo $i;done</pre>
<div></div>
<p></p>
<p> </p>
<p>This certainly isn't the most efficient for loop, but it demonstrates what they can do quite well.</p>
<p> </p>
<p>It can be "read" as saying, "Initialise 'i' as 0 and 'f' as 10, while 'i' is less than 10 and 'f' is greater than 5, carry out the loop (printing each value of 'i' to the screen) between the 'do' and 'done' statements, and at the end of each "loop", to increment 'i' by one, and decrement 'f' by one." The loop will give the following output:</p>
<p> </p>
<p></p>
<pre class="ipsCode">0
1
2
3
4</pre>
<div></div>
<p></p>
<p> </p>
<p><strong>The "seq" command</strong></p>
<p> </p>
<p>This command prints out a sequence of numbers, and as quoted from the "seq" man page, takes these arguments.</p>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="10771" data-ipsquote-contentclass="forums_Topic"><div>       seq [OPTION]... <span style="text-decoration:underline;">LAST</span><p>       seq [OPTION]... <span style="text-decoration:underline;">FIRST</span> <span style="text-decoration:underline;">LAST</span></p>
<p>       seq [OPTION]... <span style="text-decoration:underline;">FIRST</span> <span style="text-decoration:underline;">INCREMENT</span> <span style="text-decoration:underline;">LAST</span></p>
</div></blockquote>
<p> </p>
<p>I'll give an example of each use, even though they are quite easy to understand.</p>
<p> </p>
<p></p>
<pre class="ipsCode">seq 20</pre>
<div></div>
<p></p>
<p> </p>
<p>That would print out the numbers 1, to 20, being incremented by 1 each time. Though if you are wanting the numbers to count up starting from 0, you will need to use the one of the last two formats of the "seq" command, as shown below.</p>
<p> </p>
<p></p>
<pre class="ipsCode">seq 0 20</pre>
<div></div>
<p></p>
<p> </p>
<p>That would display the numbers from 0 to 20, again incrementing by one each time.</p>
<p> </p>
<p>If you want to change the amount incremented, you will have to use the third format of the seq command, for example:</p>
<p> </p>
<p></p>
<pre class="ipsCode">seq 0 3 50</pre>
<div></div>
<p></p>
<p> </p>
<p>This would display the numbers one through to 50 with an increment of three each time (as compared to the others where "seq" only incremented by 1 each time.</p>
<p> </p>
<p>Counting down with the "seq" command is also possible, to do this, you would have a negative "<span style="text-decoration:underline;">INCREMENT</span>", prefixing the number with a "-", like so:</p>
<p> </p>
<p></p>
<pre class="ipsCode">seq 400 -20 5</pre>
<div></div>
<p></p>
<p> </p>
<p>This would count down from 400 with a decrement of 20 until the number 5 is reached, as you will be able to see from these examples, "seq" is very easy to use, and you can find out a little more about it from it's man page. "seq" can be used in your shell scripts like all other commands, and as you may see, is much more efficient than any loop to do the same task.</p>
<p> </p>
<p>Thanks to aru for telling me about the seq command and the ability of using C's syntax in for loops.</p>
<p> </p>
<p>If you have any ideas, comments etc. for this FAQ, you can PM me.</p>
]]></description><guid isPermaLink="false">10771</guid><pubDate>Wed, 14 Jan 2004 05:17:04 +0000</pubDate></item><item><title>BL-03: GRUB configuration</title><link>https://mandrivausers.org/index.php?/topic/10616-bl-03-grub-configuration/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=10597" rel="external nofollow">BL: Bootloaders</a>]  </p>
<p> </p>
<p><strong>BL-03: GRUB configuration</strong></p>
<p> </p>
<p>GRUB stands for "GRand Unified Bootloader" and is one of the many bootloaders available for Linux and other OS's. One thing that must be noted about grub, is the device syntrax. GRUB counts starting from zero. For example, hda is seen as (hd0). The partition hda1 would be seen as (hd0,0), hda2 as (hd0,1), hdb3 as (hd1,2), etc.  Under Mandrake, the GRUB configuration file is "/boot/grub/menu.lst". Other distributions may use /etc/grub.conf or /boot/grub/grub.conf though.</p>
<p> </p>
<p>Here's an example of a simple configuration</p>
<p></p>
<pre class="ipsCode">timeout 10
color black/cyan yellow/cyan
i18n (hd0,0)/boot/grub/messages
password linux
default 0
fallback 1

title linux
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 devfs=mount hdc=ide-scsi resume=/dev/hda2 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title windows
root (hd0,1)
chainloader +1</pre>
<div></div>
<p></p>
<p> </p>
<p><strong>Simple list of options:</strong></p>
<ul><li>timeout # : The amount of time, in seconds, for the bootloader to wait before booting the default section.<br /> <br /></li>
<li>color foreground/background/highlight : Specifies what color to display the menu in. You can prefix blink- to foreground if you want a blinking foreground color.<br /> <br /></li>
<li>i18n (partition /boot is located)/path/to/msg-file : Specifies path to a text file that will display in the boot menu.<br /> <br /></li>
<li>default # : The default entry to boot. Note to start counting entries from zero, not 1. The default in the configuration would be "linux", which is called as "0'.<br /> <br /></li>
<li>fallback # : The entry to boot if the default entry fails.<br /> <br /></li>
<li>title string : The begining line of a boot entry. String is what will display in the menu for that entry.<br /> <br /></li>
<li>kernel (partition)/path/to/kernel kernel options : this specifies the kernel image to boot from. kernel options is the line that is passed to the kernel at boot.<br /> <br /></li>
<li>initrd (partition)/path/to/initrd : The ramdisk image too load at boot.<br /> <br /></li>
<li>root (partition) : Specifies<br /> <br /></li>
<li>chainloader +1 : Mechanism for loading unsupported operating systems by loading another boot loader. It is typically used for loading DOS or Windows.<br /> <br /></li>
<li>password : To specify a password  for a lock function.<br /></li>
</ul><p>	</p>
<p> </p>
<p><strong>Examples:</strong></p>
<p></p>
<pre class="ipsCode">title Mandrake
kernel (hd0,1)/boot/vmlinuz root=/dev/hda1 vga=788 devfs=mount hdc=ide-scsi splash=silent
initrd (hd0,1)/boot/initrd.img</pre>
<div></div>
<p></p>
<p>This example will be labeled "Mandrake" and will load the kernel image (vmlinuz) and ramdisk (initrd.img) image from hda2. root=/dev/hda1" tells the kernel the "/" partition is /dev/hda1 (note it's not using the GRUB naming convention because GRUB does not use this, but only passes it to the kernel). "vga=788" tells the kernel what size Framebuffer to run. The are rest are kernel specific options. In this example, devfs=mount to mount the devfs filesystem, hdc=ide-scsi tells hdc to use SCSI emulation (usually used for cd-burners), and splash=silent instructs bootsplash to hide the booting messages (other option is "verbose").</p>
<p> </p>
<p></p>
<pre class="ipsCode">title Windows XP
root (hd0,0)
chainloader +1</pre>
<div></div>
<p></p>
<p>This example will have an entry labeled "Windows XP" and will chainload off of hda1. Windows must be chainloaded so that it may boot itself.</p>
<p> </p>
<p><strong>Note on Security:</strong></p>
<p> </p>
<p>Because of the way GRUB works, it can be easy for someone to pass bad or harmful options to the kernel during boot. To secure GRUB, a  <em>password</em> entry can be used. Firstly, run the command "grub-md5-crypt" to generate an md5sum encryption of your password. For example, the password "linux" md5sum'd can be "$1$AUHMA0$lhDHRrJrV0kAkY7QQw0lW.", and would be entered into menu.lst like so...</p>
<p></p>
<pre class="ipsCode">password --md5 $1$AUHMA0$lhDHRrJrV0kAkY7QQw0lW.</pre>
<div></div>
<p></p>
<p>The <em>password</em> entry could also be a non-encrypted password if you desire, by not appending the --md5</p>
<p></p>
<pre class="ipsCode">password linux</pre>
<div></div>
<p></p>
<p>To make a boot entry require a password to boot, just insert "lock" after the title section. For example, say we want to lock windows from being loaded without a password.</p>
<p></p>
<pre class="ipsCode">title "Windows"
lock
root (hd0,0)
chainloader +1</pre>
<div></div>
<p></p>
<p> </p>
<p> </p>
<p>There are many more options available for GRUB. Please refer to the <a href="http://www.gnu.org/software/grub/manual/html_mono/grub.html" rel="external nofollow">GRUB Manual</a> for more info on these options and features.</p>
<p>It is possible for GRUB to use a splashimage for the menu. Unfortunately, Mandrake's rpm for GRUB isn't patched for this.  Please refer to <a href="http://ruslug.rutgers.edu/~mcgrof/grub-images/" rel="external nofollow">http://ruslug.rutgers.edu/~mcgrof/grub-images/</a> for more information on GRUB splash image support.</p>
<p> </p>
<p>Please PM me if you think a feature should be added or noted.</p>
]]></description><guid isPermaLink="false">10616</guid><pubDate>Tue, 06 Jan 2004 02:45:50 +0000</pubDate></item><item><title>SI-01: How do I install tar.gz's and RPM's?</title><link>https://mandrivausers.org/index.php?/topic/10615-si-01-how-do-i-install-targzs-and-rpms/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=10614" rel="external nofollow">SI: Software Installation</a>]</p>
<p> </p>
<p> </p>
<p><strong>SI-01: How do I install tar.gz's and RPM's?</strong></p>
<p> </p>
<p>There are as many ways to install software on linux as there are penguins in antarctica, but in this FAQ I will describe the two most simple ways, <span style="color:#FF0000;"><strong>RPM</strong></span>'s and .tar.<span style="color:#008000;"><strong>gz</strong></span>'s/.tar.<span style="color:#0000FF;"><strong>bz2</strong></span>'s.</p>
<p> </p>
<p><span style="text-decoration:underline;"><span style="color:#FF0000;"><strong>RPM Installation</strong></span></span></p>
<p> </p>
<p>RPM (Redhat Package Manager) is the packaging system that Mandrake, Red Hat (of course) and some other distributions use.</p>
<p> </p>
<p>To install a RPM that you have downloaded off the net:</p>
<ul><li> <strong>In the console:</strong><br /><pre class="ipsCode">	rpm -ivh /location/of/package.rpm</pre>
<div></div>
<p><br /> <br />	You will have to substitute "/location/of/package.rpm" for the location of the package.<br /> <br />	For example, if you have a GAIM RPM for Mandrake 9.1 in your /home directory, you would install it 	like so (assuming that the user has the name bob, substitute for your username.):<br /> <br /></p>
<pre class="ipsCode">	rpm -ivh /home/bob/gaim-0.74-1mdk9.1.i586.rpm</pre>
<div></div>
<p><br /> <br />	And to upgrade an RPM that you currently have installed, you substitute the -ivh argument for -Uvh, 	so to upgrade a version of GAIM to 0.74 (as an example), you 	would use the following command, like 	so:<br /> <br /></p>
<pre class="ipsCode">	rpm -Uvh /home/bob/gaim-0.74-1mdk9.1.i586.rpm</pre>
<div></div>
<p><br /> <br /></p>
</li>
<li> <strong>In a GUI File Manager</strong> (Like Konqueror, or Nautilus):<br /> <br />	To install a package using the File Managers is simple. All you need to do is<br />	click/double click (depending on your configuration) on the rpm and Mandrakes' (I'm assuming that you 	use Mandrake) gurpmi tools will choose whether to install or upgrade (depending on if you have the 	package installed already), tell you any dependencies that the package has (I will talk about these 	later), and of course, install the package.<br /></li>
</ul><p><strong>Useful rpm command-line arguments:</strong></p>
<p> </p>
<p>There are many arguments for using "rpm", too many to list here in fact, so I will summarise some of the most useful options for installing and upgrading RPMs. </p>
<ul><li> -v  This will print verbose information to the screen when installing an RPM.<br /></li>
<li> -i  This installs an RPM package.<br /></li>
<li> -U  This upgrades an RPM package.<br /></li>
<li> -h  This prints 50 hash marks (#) while package archive is unpacked.<br /></li>
<li> --nodeps  This tells "rpm" to not perform a dependency check before installing an RPM.<br /></li>
<li> --oldpackage  This allows an old package to replace a newer one.<br /></li>
<li> --replacefiles This makes "rpm" install files even if they replace files from other packages.<br /></li>
</ul><p>You can get a Complete summary of the options by typing "man rpm" at the command line.</p>
<p> </p>
<p><strong>RPM dependencies</strong></p>
<p> </p>
<p>Dependencies would probably be my most hated part on RPM installations.</p>
<p> </p>
<p>You get dependencies when a package relies on some other package to be able to function. The only simple solution to RPM dependencies is URPMI. (Refer to LiquidZoo's FAQ for information on how to use URPMI, which you can find <a href="http://www.mandrakeusers.org/index.php?showtopic=10600" rel="external nofollow">here.</a>). Otherwise you will most likely end up searching for days on the net, which is a huge hassle.</p>
<p> </p>
<p><span style="text-decoration:underline;"><strong><span style="color:#008000;">.tar.gz Installation</span></strong></span></p>
<p> </p>
<p>.tar.gz's come with many different contents, from binaries, to source packages, i will cover the default installation of both types, so you should be able to install most of the .tar.gz packages you find on the net, and if not, there should always be a README and/or INSTALL file with installation instructions.</p>
<p> </p>
<p><strong>.tar.gz Source Installation/Compilation</strong></p>
<ul><li> First you must extract the .tar.gz<br /> <br />	To do this, you use the command "tar", like so:<br /><pre class="ipsCode">	tar -xzvf /home/bob/compressedfile.tar.gz</pre>
<div></div>
<p><br /> <br />	This command would extract the contents of the file "compressedfile.tar.gz" into the current<br />	directory. If you didn't issue this command from the "/home/bob" directory (substituting "bob" for<br />	your username of course), "tar" would try and extract the contents to whatever directory you are in, 	showing an error if you do not have permissions to the directory. You can find the current directory 	you are in with the command "pwd" (Present Working Directory).<br /> <br /></p>
</li>
<li> Now you "cd" into the location of the source code<br /> <br />	For example, MPlayer 0.91 when extracted creates a directory "MPlayer0.91/".<br />	So, to go into this directory wou would use this command:<br /> <br /><pre class="ipsCode">	cd MPlayer0.91/</pre>
<div></div>
<p><br /> <br />	This should be similar to any other software that you download (with, of course, a different name)<br /> <br /><strong>Compiling &amp; Installing it</strong><br /> <br />	Most Linux software follows the same conventions when packaging their software, and with most<br />	software, only four commands should usually be needed. They are used in the order shown below:<br /> <br /></p>
<pre class="ipsCode">./configure
make
su
make install</pre>
<div></div>
<p><br /> <br />The <em>configure</em> command, oddly enough, configures software for your computer and checks if you have everything needed for it to build.<br />The <em>make</em> command compiles the software.<br />The <em>su</em> command allows you to log in as the root user (all powerful admin).<br />And finally, <em>make install</em> installs the compiled software as the root user.<br /> <br />	NOTE: Sometimes when using ./configure you get an error that you are missing some "devel", or<br />	"development" packages, for example, I got the following error compiling Gaim (gaim.sourceforge.net)<br /> <br /></p>
<pre class="ipsCode">	*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.</pre>
<div></div>
<p><br /> <br />	Sometimes, the ./configure script will tell you where you can find the missing package (as above), 	sometimes it will, not, if not, you can either search for the rpm, there are some useful sites for 	doing this like:<br /> <br /> <br /></p>
</li>
<li> pbone.net<br /></li>
<li> rpmfind.net<br /></li>
</ul><p>	Development packages usually have the -devel suffix in the filename</p>
<p> </p>
<p>	The Mandrake (or whatever distribution you use) cds you have contain many of the development packages 	that you should ever need. The net should only be a last resort for finding packages</p>
<p> </p>
<p>	You will usually find more accurate and extra information in the README and/or INSTALL files</p>
<p>	contained with the software about the different compile options.</p>
<p> </p>
<p> </p>
<p><strong>.tar.gz Binary Installation</strong></p>
<p> </p>
<p>Some software packages, with realplayer as an example, distribute their binaries in a .tar.gz and not source code, these are much easier to install, first you extract the contents of the tar.gz and then run the binary like so:</p>
<p> </p>
<p></p>
<pre class="ipsCode">./nameofbinary</pre>
<div></div>
<p></p>
<p> </p>
<p>As you can see, you precede the name of the binary with './'</p>
<p> </p>
<p>NOTE: Sometimes, if you can't use "./nameofbinary", you will need to make the file executable, you do this like so:</p>
<p> </p>
<p></p>
<pre class="ipsCode">chmod +x nameofbinary</pre>
<div></div>
<p></p>
<p> </p>
<p><strong><span style="color:#0000FF;">.tar.bz2 Software</span></strong></p>
<p> </p>
<p>Bzip2 files use a newer and much better compression algorithm than gzip (.gz) and are just as simple to use.</p>
<p> </p>
<p>You uncompress them like this (as an example):</p>
<p></p>
<pre class="ipsCode">tar -xjvf /home/bob/compressedfile.tar.bz2</pre>
<div></div>
<p></p>
<p> </p>
<p>And you can follow the same instructions as for .tar.gz's for installing/compiling the software.</p>
<p> </p>
<p>If you have any suggestions, comments, corrections etc, you can send me a PM.</p>
]]></description><guid isPermaLink="false">10615</guid><pubDate>Tue, 06 Jan 2004 01:30:53 +0000</pubDate></item><item><title>SI: Software Installation</title><link>https://mandrivausers.org/index.php?/topic/10614-si-software-installation/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>]</p>
<p> </p>
<p><strong>SI: Software Installation</strong></p>
<ul><li>
<a href="http://www.MandrakeUsers.org/index.php?showtopic=10615" rel="external nofollow">SI-01</a>: How do i install tar.gz's and RPM's?<br /> <br /></li>
<li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=4554" rel="external nofollow">SI-02</a>: How do I IM Windows Users?<br /> <br /></li>
<li> <a href="http://www.mandrakeusers.org/index.php?showtopic=4548" rel="external nofollow">SI-03</a>: How do I Install Java?<br /> <br /></li>
<li>
<a href="http://www.MandrakeUsers.org/index.php?showtopic=10855" rel="external nofollow">SI-04</a>: How To build your own Live CD with mklivecd?<br /> <br /></li>
<li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=14069" rel="external nofollow">SI-05</a>: HOWTO: Personal Video Recorder<br /></li>
</ul><p></p>
]]></description><guid isPermaLink="false">10614</guid><pubDate>Tue, 06 Jan 2004 01:25:34 +0000</pubDate></item><item><title>RPM-03: synthesis.hdlist.cz and hdlist.cz</title><link>https://mandrivausers.org/index.php?/topic/10611-rpm-03-synthesishdlistcz-and-hdlistcz/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4455" rel="external nofollow">RPM: About RPM usage (urpmi, rpmbuild...)</a>]</p>
<p> </p>
<p><strong>RPM-03: synthesis.hdlist.cz and hdlist.cz</strong></p>
<p> </p>
<p>It seems that many people dont know this but when adding sources to urpmi's list you have two choices. </p>
<p>You can either use a file called <span style="color:#008000;"><strong>hdlist.cz</strong></span> which contains a list of all the rpm files which should be on the mirror. In addition to this it also contains information on these rpms, such as descriptions of the programs and files it contains.</p>
<p><span style="color:#008000;"><strong>synthesis.hdlist.cz</strong></span> on the other hand is a much slimmer, less bandwidth intensive alternative. If you have dialup access or downloading hdlist.cz just takes too much time for you then synthesis.hdlist.cz is for you. The synthesis also contains info on which rpms should be on the mirror, but is doesn't have other information which saves a lot of space, leading to it's smaller size and hence smaller toll on your bandwidth IN TURN leading to faster download times for our broadband challenged users. whew! That was a mouthful.</p>
<p> </p>
<p>The <span style="color:#008000;">hdlist</span> file usually (relatively) located in the ../base/ directory whereas the <span style="color:#008000;">synthesis</span> file usually in the same directory as the rpms, i.e. ( ./ relatively speaking). As a matter of fact if you provide no hdlist location when adding urpmi sources, urpmi will automatically attempt to download a synthesis.hdlist.cz file. </p>
<p>One final word of wisdom from our resident sage bvc, if synthesis.hdlist.cz is used urpmf is useless and can not help in resolving rpm dependencies. Google will be all you have left.  Well that and the forum. <img src="https://mandrivausers.org/uploads/emoticons/default_twisted.gif" alt=":twisted:" data-emoticon="" /></p>
<p> </p>
<p>If this or any other "perl"'s of linuxly wisdom have helped you or your grandmother, please consider giving back to our fine community... Adopt a scad!</p>
]]></description><guid isPermaLink="false">10611</guid><pubDate>Mon, 05 Jan 2004 23:44:43 +0000</pubDate></item><item><title><![CDATA[RPM-02: How to use Urpmi & solving dependencies]]></title><link>https://mandrivausers.org/index.php?/topic/10600-rpm-02-how-to-use-urpmi-solving-dependencies/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4455" rel="external nofollow">RPM: About RPM usage (urpmi, rpmbuild...)</a>]</p>
<p> </p>
<p><strong>RPM-02: How to use Urpmi &amp; solving dependencies</strong></p>
<p> </p>
<p>I know many people out there pull out there hair with RPMs.</p>
<p>They can be so easy if you know what to do.</p>
<p>The first thing you should do is setup urpmi</p>
<p> </p>
<p><strong>1) Urpmi</strong></p>
<p>Urpmi is the Mandrake Package management tool. It's job is to make the installation and removal of RPMs (see glossary) simpler.</p>
<p>It does this by, 1 having repositories or sources where all the rpms are and secondly by automatically getting all of the rpm's a program requires</p>
<p> </p>
<p>To use urpmi, open a command line and <em>su</em> to root*, then:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost]# urpmi program</pre>
<div></div>
<p></p>
<p>eg:</p>
<p></p>
<pre class="ipsCode">[root@localhost]# urpmi xmms
[root@localhost]# urpmi bluefish</pre>
<div></div>
<p></p>
<p>* - To su to root:  type 'su' (no quotes) and hit enter</p>
<p>type in your root password when you are prompted to, note that the cursor will not move, and hit enter.</p>
<p> </p>
<p>However urpmi is only capable of doing this if you add sources.</p>
<p> </p>
<p>The easiest way is Easy URPMI.</p>
<p> </p>
<p>a] To use Easy URPMI, point your browser here:  <a href="http://easyurpmi.zarb.org/" rel="external nofollow">easyurpmi.zarb.org</a> (or local mirror <a href="http://www.mandrivausers.org/easyurpmi/index.php" rel="external nofollow">www.mandrivausers.org/easyurpmi</a>).</p>
<p> </p>
<p>b] Select your version of Mandrake in the first dropdown. Then select your CPU architecture in the second. If you are unsure, pick i586.</p>
<p> </p>
<p>c] For each of the dropdowns, select the location nearest to you then check the checkbox next to the dropdown. Once you have done this, click 'Proceed to step 3'</p>
<p> </p>
<p>d] Open any command line (konsole, aterm, rxvt, gnome-terminal) and copy the things in the black box into the command line. Do this by selecting it and middle mouse clicking or left and right click at the same time in the command line. Hit enter.</p>
<p> </p>
<p>Congratulations, you have now added an urpmi source.</p>
<p><strong>2) other rpm sources</strong></p>
<p>Not all the time are we lucky enough to have our favourite XYZ program or a particular ABC rpm that we need in our sources. In these terrible times we need to visit the following web sites.</p>
<p> </p>
<p>a] <a href="http://www.rpmseek.com" rel="external nofollow">http://www.rpmseek.com</a></p>
<p>b] <a href="http://www.rpmfind.net" rel="external nofollow">http://www.rpmfind.net</a></p>
<p>c] <a href="http://rpm.pbone.net" rel="external nofollow">http://rpm.pbone.net</a></p>
<p>d] <a href="http://www.google.com" rel="external nofollow">http://www.google.com</a></p>
<p>When using these sources try to get a Mandrake rpm for your version of Mandrake. If there isnt one and there is a cooker (see glossary) one, get that or the nearest version of mandrake. As for src.rpms (Source rpms) avoid them, unless you know what they are and how to use it. See below for instructions.</p>
<p> </p>
<p>We found rpm XYZ on one of the above sources, now what do we do with it?</p>
<p> </p>
<p></p>
<pre class="ipsCode">[joe@localhost]$ su
Password:
[root@localhost]# urpmi /home/joe/downloads/XYZ1.2-3.i586.rpm</pre>
<div></div>
<p></p>
<p>Usually we will be lucky and all of rpm XYZ's dependencies will be in the sources and it will install. But today, we aren't lucky</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost]# urpmi /home/joe/downloads/XYZ1.2-3.i586.rpm
error: Failed dependencies:
        ABC = 9.8.7 is needed by XYZ1.2-3.i586.rpm
[root@localhost]#</pre>
<div></div>
<p></p>
<p>So we need to go and get ABC from our sources. If we are unfortunate we might enter dep_hell (see glossary). </p>
<p>Other times we might get this response:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost]# urpmi /home/joe/downloads/XYZ1.2-3.i586.rpm
error: Failed dependencies:
        ABCDEF.so.0 = 9.8.7 is needed by XYZ1.2-3.i586.rpm
[root@localhost]#</pre>
<div></div>
<p></p>
<p>How do we know what package ABCDEF.so.0 is in? COuld be anything from libABC to libXYZ, so we go and ask rpmseek. www.rpmseek.com</p>
<p> </p>
<p>We select 'Package Contains File' then put ABCDEF.so.0 in the search box.and select an appropriate rpm from the list given to us. </p>
<p><strong>3) Updating &amp; Upgrading</strong></p>
<p>You've finally got all the software you want but it's been a few weeks/months since you installed it all. To update it all, all you need to do is </p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost]#  urpmi --auto-select</pre>
<div></div>
<p></p>
<p>This however may give you some complaints about GPG signatures(see below) on the files. </p>
<p>To automatically ignore this, instead of the above use:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost]#  urpmi --auto-select --no-verify-rpm --auto</pre>
<div></div>
<p></p>
<p>To upgrade to the next version of Mandrake without using the installer, remove your sources and add new sources for the next version of Mandrake. Then perform the above command and the below command. This can sometimes mess up the system and often causes bloat by installing many extra packages.</p>
<p></p>
<pre class="ipsCode">[root@localhost]#  urpmi kernel</pre>
<div></div>
<p></p>
<p><strong>Excluding Packages</strong></p>
<p> </p>
<p>If you are upgrading versions of Mandrake through urpmi (not really recommended, but it can be done) or you are running a 'bleeding edge' cooker system that you update frequently, you may run into a package or packages that are broken.  This happened to me recently with a package in cooker.  In my case, and probably yours as well, installing the earlier version of the package cured the problem.  Because of this, I want to exclude that package from further urpmi --auto-select commands.  This is pretty easy to do.  You need to be root, so open a terminal and su to root.  You will need to edit the file /etc/urpmi/skip.list  Use your favorite text editor to do that.  It's pretty self-explanatory.  You just add the packagename, or the begining name of the package like this:</p>
<p> </p>
<p></p>
<pre class="ipsCode">package1.0.1.mdk
package2
package2-devel</pre>
<div></div>
<p></p>
<p>And so on.  Save the file and the next time you run your update, those packages will be excluded from the file listing.</p>
<p> </p>
<p><em>- Section added by LiquidZoo</em></p>
<p> </p>
<p><strong>4) Glossary</strong></p>
<p><em>GPG signatures:</em> Often you will be asked whether or not to install an RPM because urpmi can't verify the signature. Most of the time this its fine to install it. I always do.</p>
<p> </p>
<p><em>RPM</em></p>
<p>The Red Hat Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. Each software package consists of an archive of files along with information about the package like its version, a description, and the like. </p>
<p> </p>
<p><em>Source RPM</em></p>
<p>A source rpm is just like a standard RPM except it contains the Source code of an program/package. TO use these the appropriate development packages such ass GCC, and any development libraries must be installed. You can use a source rpm with the following command:</p>
<p>[root@localhost]#  rpm --rebuild foo.src.rpm</p>
<p>A rpm will be generated and put into /usr/src/RPM/RPMS/i586/ for installation by urpmi or by rpm -ivh.</p>
<p> </p>
<p><em>dep_hell</em></p>
<p>Dep hell is when an rpm requires another rpm which requires another one.... and on it goes or a particular required rpm is hard to find. Resolving dep_hell situations can often be futile, slow and painful. </p>
<p> </p>
<p>Should you need any more help feel free post on the board here.</p>
<p>Any questions about this FAQ should be sent to me via PM (Private Message) or emailed to me, iphitus, at iphitusau@yahoo.com.au </p>
<p> </p>
<p>Good Luck!!!</p>
<p> </p>
<p>iphitus</p>
]]></description><guid isPermaLink="false">10600</guid><pubDate>Mon, 05 Jan 2004 08:59:43 +0000</pubDate></item><item><title>BL-01: LILO Configuration</title><link>https://mandrivausers.org/index.php?/topic/10598-bl-01-lilo-configuration/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=10597" rel="external nofollow">BL: Bootloaders</a>]  </p>
<p> </p>
<p><strong>BL-01: LILO configuration</strong></p>
<p> </p>
<p>LILO stands for "LInux LOader". It is one of the many Bootloaders for Linux, and the default on most distributions.</p>
<p> </p>
<p>This FAQ will cover the configuration of LILO.</p>
<p> </p>
<p>The File /etc/lilo.conf contains the information that allows LILO to "know" where to boot your Operating Systems/Kernels.</p>
<p> </p>
<p>Below is an example of my /etc/lilo.conf file.</p>
<p> </p>
<p></p>
<pre class="ipsCode">boot=/dev/hda
map=/boot/map
vga=normal
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
       label="linux"
       root=/dev/hda6
       initrd=/boot/initrd.img
       append="devfs=mount hdd=ide-scsi acpi=off"
       read-only
other=/dev/hda1
       label="windows"
       table=/dev/hda
other=/dev/fd0
       label="floppy"
       unsafe
image=/boot/vmlinuz-2.4.21-0.13mdk
       label="linux2"
       root=/dev/hda6
       initrd=/boot/initrd-2.4.21-0.13mdk.img
       append="devfs=mount hdd=ide-scsi acpi=off"
       read-only
image=/boot/vmlinuz
       label="failsafe"
       root=/dev/hda6
       initrd=/boot/initrd.img
       append="failsafe devfs=nomount hdd=ide-scsi acpi=off"
       read-only</pre>
<div></div>
<p></p>
<p> </p>
<p><strong>Summarising the options:</strong></p>
<ul><li>boot=/dev/hda  This is the device that will be booted. It will almost always be either /dev/hda or /dev/sda, depending on your Hard Drive.<br /> <br /></li>
<li>map=/boot/map  This is a file that contains the specific locations from where your kernels are booted. You should never need to change this option.<br /> <br /></li>
<li>vga=normal  This sets LILO's resolution, your distribution should set it up on install, and you should not need to change it. vga=791 is 1024 x 768, vga=788 is 800 x 600 and vga=normal is 640 x 480.<br /> <br /></li>
<li>default="linux"  You can set a default kernel to boot here. This corresponds to one of the label="*****" options.<br /> <br /></li>
<li>keytable=/boot/us.klt  To be honest i don't actually know what this line does, and if someone can inform me that would be appreciated. For a guess, i think that this would load the default so-called "keymap" that "tells" the kernel what your keyboard layout is.<br /> <br /></li>
<li>prompt  Tells LILO to display a prompt where you can select which kernel to boot.<br /> <br /></li>
<li>nowarn  With this i also have no idea of what it does. If anyone can inform me, this would, again, be much appreciated.<br /> <br /></li>
<li>timeout=100  Tells LILO how many tenths of a seconds to display the prompt (after which the first kernel is booted).<br /> <br /></li>
<li>message=/boot/message  I do not know what this does, either should you need to know it. Anyone know?<br /> <br /></li>
<li>menu-scheme=wb:bw:wb:bw  I have no idea how to modify this, nor should you ever need to, i am guessing it corresponds to the colour of LILO's prompt, but i am not too sure. I'd say this line is only applicable for a text-based LILO, not Mandrake's graphical stuff.<br /></li>
</ul><p><strong>Now the options for the specific boot options:</strong></p>
<ul><li>image=/boot/vmlinuz  This tells LILO which linux kernel image to boot, by default, Mandrake's kernel is stored in the file /boot/vmlinuz .<br /> <br /></li>
<li>other=/dev/hda1  The "other=" prefix tells LILO that this is a non-linux kernel to boot. In my case here, a windows kernel (*gasp*, NOTE: I do not use is, it's for my mother ;) ). The "/dev/hda1" part shows the device to boot the kernel from. This may vary for you, depending on your configuration.<br /> <br /></li>
<li>label="linux"  The text to type/select at the boot prompt to boot the kernel is contained within double-quotes. In my case here, "linux" of course :D<br /> <br /></li>
<li>root=/dev/hda6  This points to the root partition ( / ) that the kernel must mount at boot. NOTE: This option is only applicable for Linux kernels, not Windows.<br /> <br /></li>
<li>initrd=/boot/initrd.img  This points to the so-called "Initial Ramdisk". I do not know much about it, but you should not need to modify this, ever.<br /> <br /></li>
<li>append="devfs=mount hdd=ide-scsi acpi=off"  This passes options to the kernel at boot time (the stuff in the double quotes). Using mine as an example, the devfs filesystem is mounted, the kernel is "told" to enable SCSI emulation for cd burners (Thanks to HJ for this correction) and it is "told" to turn off ACPI. You will rarely need to change this, the only case i can think of would be when compiling your own kernel from source, but i have never needed to change this.<br /> <br /></li>
<li>read-only  This option specifies that the root filesystem must be mounted "read-only" initially. You should not need to change this.<br /> <br /></li>
<li>table=/dev/hda  Only applicable for Windows, this points out where your windows partition is (my guess is that the option is called "table=" because of Windows' filesystem being FAT, a.k.a File Allocation Table.) I do not know what this line would look like for an NTFS partition, sorry.<br /> <br /></li>
<li>unsafe  I do not know what this option does, you can probably always keep this "as-is".<br /></li>
</ul><p><strong>Configuring LILO to boot a "custom-kernel":</strong></p>
<p> </p>
<p>Since i have never done this using LILO, i will just improvise, and please, someone correct me if i'm wrong here.</p>
<p> </p>
<p>WARNING: Though you may feel the urge to kill me if a custom kernel doesn't boot properly after using the instructions outlined below, i will point out now that you are doing it at your own risk, and i take no responsibility for what happens with your "custom kernel". Use these instructions at your own risk.</p>
<p> </p>
<p>You can copy one of the sections for the kernel you are using, e.g</p>
<p></p>
<pre class="ipsCode">image=/boot/vmlinuz
       label="linux"
       root=/dev/hda6
       initrd=/boot/initrd.img
       append="devfs=mount hdd=ide-scsi acpi=off"
       read-only</pre>
<div></div>
<p></p>
<p> </p>
<p>to the bottom of the file /etc/lilo.conf. then you can edit the options for the new kernel image (most likely a bzImage file). You should only need to modify the "image=" line and "label=" line, and in some special cases, the "append=" line.  Also, in some cases (RPM install for example) you will have to edit the "initrd=" line.</p>
<p> </p>
<p>For example, a 2.6.0 kernel would have a setup something like this:</p>
<p></p>
<pre class="ipsCode">image=/boot/bzImage-2.6.0
       label="Linux2.6"
       root=/dev/hda6
       initrd=/boot/initrd.img
       append="devfs=mount hdd=ide-scsi acpi=off"
       read-only</pre>
<div></div>
<p></p>
<p> </p>
<p>After making any changes to LILO, in lilo.conf, you must run "lilo" in the terminal to make the changes take effect.</p>
<p> </p>
<p>If you have any corrections, suggestions, constructive-critisism, please, pm me.</p>
]]></description><guid isPermaLink="false">10598</guid><pubDate>Mon, 05 Jan 2004 06:44:00 +0000</pubDate></item><item><title>BL:  Bootloaders</title><link>https://mandrivausers.org/index.php?/topic/10597-bl-bootloaders/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>]</p>
<p> </p>
<p><strong>BL:  Bootloaders</strong></p>
<ul><li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=10598" rel="external nofollow">BL-01</a>: LILO Configuration<br /></li>
<li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=5082" rel="external nofollow">BL-02</a>: Will LILO boot a second Linux Distribution?<br /></li>
<li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=10616" rel="external nofollow">BL-03</a>: GRUB Configuration<br /></li>
</ul><p></p>
]]></description><guid isPermaLink="false">10597</guid><pubDate>Mon, 05 Jan 2004 06:16:08 +0000</pubDate></item><item><title>GQ-08: How to Create an ISO Image From a CD</title><link>https://mandrivausers.org/index.php?/topic/10191-gq-08-how-to-create-an-iso-image-from-a-cd/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="?showtopic=4453" rel="">About the FAQ forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">table of contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">contribute</a>] [<a href="http://www.MandrakeUsers.org/index.php?showtopic=4456" rel="external nofollow">GQ: General Questions not covered in the other sections</a>]</p>
<p> </p>
<p><strong>GQ-08: How to Create an ISO Image From a CD</strong></p>
<p> </p>
<p><strong>How do I make an ISO image of a data CD?</strong></p>
<p>here's two ways you can do it from the command line...</p>
<p><strong>1. Use the "dd" command.</strong></p>
<ul><li>a. Pop the CD into your CD-ROM/DVD/CD-RW drive<br /></li>
<li>b. then run the command...<br /><pre class="ipsCode">dd if=&lt;device&gt; of=cdimage.iso</pre>
<div></div>
<p><br />&lt;device&gt; will be your CD-ROM device. This should be "/dev/hdc" for a DVD-ROM or CD-ROM drive, and "/dev/sr1" or "/dev/sg1" for a CD-RW device.<br /></p>
</li>
</ul><p></p>
<ul><li>c. Now you'll have an iso image of the CD you put in your drive.<br /></li></ul><p>Now sometimes, "dd" just won't work. It'll end with a really small file that obviously isn't the image. So, this is where mkisofs comes in handy.</p>
<p> </p>
<p><strong>2. Use the "mkisofs" command.</strong></p>
<ul><li>a. Pop the CD into your CD drive, and make sure it's mounted.  Also make sure you know the mount point. This is usually "/mnt/cdrom".  Just type "mount" to look at all mounted devices.<br /></li>
<li>b. Then run the command...<br /><pre class="ipsCode">mkisofs -o cd.iso -lR /mnt/cdrom</pre>
<div></div>
<p><br /></p>
</li>
</ul><p></p>
<ul><li>c. Now you'll have an iso cd image of the mounted CD<br /></li></ul><p>On another note, you could also create an ISO image from a group of files and/or folders in a directory using the mkisofs command. Just substitute the CD mount point with the dir of the files you want to make the image out of.</p>
<p>For example, if you want to make an image out of the files and folders included in the dir "/home/bob/stuff/" ...</p>
<p> </p>
<p>	</p>
<pre class="ipsCode">mkisofs -o stuff.iso -lR /home/bob/stuff/</pre>
<div></div>
<p></p>
<p> </p>
<p>You'll then have an ISO image "stuff.iso" which contains the files from that directory. You could then burn using cdrecord or your favorite GUI cd burning app.</p>
<p> </p>
<p> </p>
<p> </p>
<p>Note that if you need to make an image of a bootable cd use the dd method.   mkisofs won't retain the bootable information.</p>
]]></description><guid isPermaLink="false">10191</guid><pubDate>Sun, 14 Dec 2003 09:33:15 +0000</pubDate></item><item><title>GQ-07: How to Connect to IRC</title><link>https://mandrivausers.org/index.php?/topic/10182-gq-07-how-to-connect-to-irc/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="?showtopic=4453" rel="">About the FAQ forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">table of contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">contribute</a>] [<a href="http://www.MandrakeUsers.org/index.php?showtopic=4456" rel="external nofollow">GQ: General Questions not covered in the other sections</a>]</p>
<p> </p>
<p><strong>GQ-07: How to Connect to IRC</strong></p>
<p> </p>
<p><strong>Setting up</strong></p>
<p>We'll be using X-Chat2, with all it's anti-aliased, clean looking goodness as the GUI client we use to connect. If you have X-Chat 1.x you can choose to upgrade or just figure it out. It shouldn't be that hard. Otherwise to get it just type in </p>
<pre class="ipsCode">urpmi xchat</pre>
<div></div>
<p> at the console while logged in as root.</p>
<ul><li>When you start up xchat 2 for the first time you'll be greeted with a window that has a list of names. <br /></li>
<li>Since most open source projects are located on Freenode, scroll down, locate it on the list, then highlight/click on/select it.<br /><img src="http://www.i-kubed.org/images/xchat_shot01.png" alt="xchat_shot01.png" /><br /></li>
</ul><p>There should be an <span style="color:#0000FF;">Edit mode</span> checkbox near the bottom. Click on it. This will allow you to do various things. You can: </p>
<ul><li>add channels which you frequently visit so that xchat connects to them on startup. <br /></li>
<li>add commands which you want to run on startup always, such as nickserv identification, if/once you register a nickname. <br /></li>
<li>choose a nickname, secondary nickname (in case someone has your's already) and real name (should you choose to divulge this info).<br /><img src="http://www.i-kubed.org/images/xchat_shot02.png" alt="xchat_shot02.png" /><br /></li>
<li>also choose whether or not you want to see the box at startup. If no, when you start xchat you'll connect to the last server you were connected to before closing.<br /><span style="color:#FF0000;"> N.B. Server does not = chat room</span>. You'll only join chatrooms in the autostart list, you will not join the rooms you were in last upon reconnecting. It would be a nice feature though.<br /></li>
</ul><p>For now, just choose a nickname, alternative (in case someone already has it) and <span style="color:#0000FF;">Connect</span>.</p>
<p> </p>
<p>For those who want to use CLI app for IRC irssi seems to be the app of choice around here.  To get it type in </p>
<pre class="ipsCode">urpmi irssi</pre>
<div></div>
<p> as root in a console. Once you've got irssi installed log out of root and in your console type </p>
<pre class="ipsCode">irssi</pre>
<div></div>
<p> to start it up for the first time.</p>
<p>the command </p>
<pre class="ipsCode">/server add -auto freenode irc.freenode.net:6667</pre>
<div></div>
<p> will add and automatically connect to freenode.</p>
<p> </p>
<p><strong>Chatting in IRC</strong> </p>
<p>Now you need to do a couple of IRC commands to join a channel (chat room) and start talking. I'll give you a couple to get you started but for a comprehensive list try here or search on Google for IRC commands. </p>
<ul><li>Once connected to freenode (or any other server) type /list in the text input box to get a list of all the available channels. <br /></li>
<li>Once you see one you like type /join #name_of_channel to join. e.g. to join our chatroom on IRC you'd type<br /><pre class="ipsCode">/join #musb</pre>
<div></div>
<p><br />To join #musb while in irssi you can either use the join command above or you can do </p>
<pre class="ipsCode">/channel add -auto #musb freenode</pre>
<div></div>
<p> <br />Also you can do </p>
<pre class="ipsCode">/save</pre>
<div></div>
<p> to save your settings for each time irssi is opened. This will ensure that you are automatically connected to freenode and #musb whenever you start irssi.<br /></p>
</li>
</ul><p>Now you're in a channel and ready to chat, query and cajole. </p>
<p>Once you're ready to leave the channel type /part #name_of_channel to leave just that channel. You don't have to be in that actual channel to leave. As long as you are in a channel that is one the same server (e.g. freenode) as the one you're trying to leave it will work. </p>
<p>If you want to quit both channel and server at the same time just use /quit and that'll do the job.</p>
<p> </p>
<p><strong>Miscellaneous IRC commands</strong></p>
<p> </p>
<p>Once you're connected to IRC there are other commands at your disposal </p>
<p> </p>
<p></p>
<pre class="ipsCode">/who #musb</pre>
<div></div>
<p> </p>
<p>gives you information on everyone in #musb.</p>
<p>the /me command makes it seem as if you're speaking in the third person or as if you thoughts are transmagically being transmitted to everyone in the channel.</p>
<p> </p>
<p></p>
<pre class="ipsCode">/me is crazy</pre>
<div></div>
<p> will like something like *illogic-al is crazy</p>
<p> </p>
<p>A little known IRC fact fact newbies is that the @ before the names of some people means that they are channel ops. That means that they possess powers of cyber life and death. Don't mess with these people. ;-p</p>
<p> </p>
<p></p>
<pre class="ipsCode">/whois Tomm</pre>
<div></div>
<p></p>
<p>You get some info about Tomm or whatever nickname you entered.</p>
<p> </p>
<p></p>
<pre class="ipsCode">/whois yournick</pre>
<div></div>
<p></p>
<p>This is some info others see about you.</p>
<p> </p>
<p></p>
<pre class="ipsCode">/nick newnick</pre>
<div></div>
<p></p>
<p>Changes your nick to "newnick"</p>
<p> </p>
<p></p>
<pre class="ipsCode">/msg Tomm hi there.</pre>
<div></div>
<p></p>
<p>Only Tomm sees your message (you don't need to be on the same channel for this to work).</p>
<p> </p>
<p></p>
<pre class="ipsCode">/ping #musb</pre>
<div></div>
<p></p>
<p>Gives information on the delay (round-trip) between you and everybody on #musb.</p>
<p> </p>
<p></p>
<pre class="ipsCode">/ping Tomm</pre>
<div></div>
<p></p>
<p>Gives information on the delay (round-trip) between you and just Tomm.</p>
<p> </p>
<p></p>
<pre class="ipsCode">/dcc chat MaryN</pre>
<div></div>
<p></p>
<p>This sends MaryN a request for a dcc chat session. MaryN types /dcc chat yournick to complete the connection. DCC chat is faster (lag free) and more secure than /msg.</p>
<p> </p>
<p></p>
<pre class="ipsCode">/msg =MaryN Hi there!</pre>
<div></div>
<p></p>
<p>Once a DCC connection has been established, use the /msg =nick message format to exchange messages (note the = sign). DCC does not go through servers, so it are unaffected by server lag, net splits, etc.</p>
<p> </p>
<p></p>
<pre class="ipsCode">/quit good night!</pre>
<div></div>
<p></p>
<p>You quit IRC completely, with the parting comment so that others see "*** Signoff: yournick (good night!)".</p>
<p> </p>
<p>This is a basic list, but will help in the begining and always try /help to see what's available in your client. 8)</p>
<p> </p>
<p>[Credits] </p>
<p>Additional information pointed out by Liquidzoo and provided by cybrjackle. Info on how to connect using irssi from LiquidZoo.</p>
<p> </p>
<p>[References]</p>
<p><a href="http://www.mandrakeusers.org/index.php?showtopic=8704" rel="external nofollow">http://www.mandrakeusers.org/index.php?showtopic=8704</a></p>
<p><a href="http://irchelp.org/" rel="external nofollow">http://irchelp.org/</a></p>
]]></description><guid isPermaLink="false">10182</guid><pubDate>Sat, 13 Dec 2003 20:34:34 +0000</pubDate></item><item><title>TR-02: How to restore a lost Menu</title><link>https://mandrivausers.org/index.php?/topic/8481-tr-02-how-to-restore-a-lost-menu/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>TR-02: How to restore a lost menu</strong></p>
<p> </p>
<p>Have you lost your KDE menu after adding something to it through Menudrake?  I know it has happened to me before, and I can bet I'm not alone.  Here's a quick FAQ on how to regain your lost menu.</p>
<p> </p>
<p>First things first: We need to backup your existing ~/.kde folder.  There are 2 ways to do this and I will explain them both now:</p>
<p> </p>
<p><strong>Command Line:</strong></p>
<p>Open up a terminal in your home directory.  Enter this command:</p>
<p></p>
<pre class="ipsCode">cp -r .kde/ .kde-old/</pre>
<div></div>
<p></p>
<p>And that's it.  That will copy the entire contents of your ~/.kde folder to a backup copy (~/.kde-old)</p>
<p> </p>
<p><strong>GUI</strong></p>
<p>Open up Konqueror (since we're in KDE) in your home directory.  Go to the View menu and make sure the Show Hidden Files option is checked.  Create a new folder called .kde-old  After that is created, go into your .kde folder and highlight everything that is there.  From there, go to the Edit menu and select Copy.  Then navigate back to your ~/.kde-old folder and click on Edit -&gt; Paste</p>
<p> </p>
<p>After you have backed up your ~/.kde folder, it's time to delete it.  There are 2 ways to do this too.  So here you go:</p>
<p> </p>
<p><strong>Command Line</strong></p>
<p>Open your terminal, cd to your home dir (if your not there already) and issue this command: </p>
<p></p>
<pre class="ipsCode">rm -rf .kde/</pre>
<div></div>
<p></p>
<p>There will be a few files that cannot be removed.  These will be symlinks that are located in the ~/.kde folder.  cd to that folder and type ls to get the names.  Then type </p>
<p></p>
<pre class="ipsCode">rm filename</pre>
<div></div>
<p> </p>
<p>without the @ at the end of the filename.  It will ask you if you want to remove the symlink.  Say yes and continue for each of the rest of the files.  After you have removed all of the symlinks cd back to your home dir and issue the </p>
<p></p>
<pre class="ipsCode">rm -rf .kde/</pre>
<div></div>
<p> </p>
<p>command again to remove the folder.</p>
<p> </p>
<p><strong>GUI</strong></p>
<p>Open Konqueror and once again make sure you are able to view the hidden files.  right click on the .kde folder and select delete and answer yes to any questions that pop up.  If you get errors, open the .kde folder and delete each individual file by itself.</p>
<p> </p>
<p>After this is done, you need to reboot.  I know this is Linux and you shouldn't have to, but trust me on this one.  After your reboot, start KDE the same way you normally do.  You will notice that everything is set back to default.  We will fix this.  Use your preferred method to copy the ~/.kde-old/share/icons/ ~/.kde-old/share/fonts and ~/.kde-old/share/config folders into ~/.kde/share</p>
<p> </p>
<p>After that restart KDE and you should be ok.  You may notice that you are still missing some things.  That's ok, they are all located in your ~/.kde-old folder.  If you use Konqueror as a web browser, you will need to copy your bookmarks file from ~/.kde-old to the new ~/.kde</p>
<p> </p>
<p><strong>Edit</strong></p>
<p>This came in a PM to me and I thought it was a great suggestion.  After you have gotten everything back to the way it normally was or to an appearance that you can deal with; it would be a great time to backup your ~/.kde folder incase this were to happen again.  That way, you can restore the whole thing from a backup that you know works.  Just zip it into a tar.gz file using Ark and store it in a safe place.  Thanks to Gowator for the suggestion.</p>
<p> </p>
<p>I hope this helps some people out.  I know it works, because I helped aranoke do this very thing tonight in #musb</p>
<p> </p>
<p> </p>
<p><strong>New Update</strong></p>
<p>Since I just lost, then recovered my menus in Gnome 2.4, I figure I will update this and tell you how I did it.</p>
<p> </p>
<p>I am using Mandrake 9.2, so this will be specific to it, but should work for other versions of Mandrake as well.</p>
<p> </p>
<p>Open a terminal and type </p>
<pre class="ipsCode">menudrake</pre>
<div></div>
<p> and hit enter.</p>
<p> </p>
<p>Once menudrake loads, hit the save button when it is on all environments.  You can tell which environment it is on by looking just above where the menu is listed graphically.</p>
<p> </p>
<p>Go to the Environment menu and change it to your environment (KDE, Gnome, etc)</p>
<p> </p>
<p>Once you have done that, hit save again.  The saving does take a little bit of time.</p>
<p> </p>
<p><strong>IMPORTANT</strong></p>
<p> </p>
<p>Please remember to save your configuration the next time you log out or you will have to do this again!</p>
<p> </p>
<p><strong>Please remember to do this as your normal user, not as root</strong> otherwise it will not work.</p>
<p> </p>
<p>This worked for me.  If you know of another way, please pm me and I will be happy to include it.</p>
]]></description><guid isPermaLink="false">8481</guid><pubDate>Tue, 07 Oct 2003 10:53:09 +0000</pubDate></item><item><title>TR: Troubleshooting</title><link>https://mandrivausers.org/index.php?/topic/9545-tr-troubleshooting/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>]</p>
<p> </p>
<p><strong>TR: Troubleshooting</strong></p>
<ul><li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=5144" rel="external nofollow">TR-01</a>: How do I kill programs without killing linux?<br /> <br /></li>
<li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=8481" rel="external nofollow">TR-02</a>: How to restore a lost menu<br /> <br /></li>
<li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=4937" rel="external nofollow">TR-03</a>: How can I rebuild my RPM databases?<br /> <br /></li>
<li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=4990" rel="external nofollow">TR-04</a>: umount says: "device is busy"<br /> <br /></li>
<li>
<a href="http://www.mandrakeusers.org/index.php?showtopic=14716" rel="external nofollow">TR-05</a>: How to Troubleshoot problems<br /></li>
</ul><p></p>
]]></description><guid isPermaLink="false">9545</guid><pubDate>Sat, 15 Nov 2003 19:13:10 +0000</pubDate></item><item><title>GQ-08: How To Migrate from Windows to Linux</title><link>https://mandrivausers.org/index.php?/topic/8974-gq-08-how-to-migrate-from-windows-to-linux/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>]</p>
<p> </p>
<p><strong>GQ-08: How To Migrate from Windows to Linux</strong></p>
<p> </p>
<p>OK, this is it. I've been meaning to, and now I've finally gone and done it. The definitive guide, remember that as you rip this to shreds. </p>
<p> </p>
<p><strong>Prep Work</strong></p>
<p> </p>
<p> This guide was made under the assumption that the people reading this are solely Windows XP users who want to switch to or try out the Gnu/Linux operating system (OS). All this means is that the instructions are XP-cific. Heh, I made a funny. The users of other Windows OSes can still follow and generally be guided in the right direction.</p>
<p> The first thing to do is to get some info on your system's innards. </p>
<ul><li>Boot up into Windows. When you're finally logged in and on the desktop find the My Computer icon. <br /> <br /></li>
<li>Right-click the My Computer icon and from the menu that pops up select Properties (on the bottom). <br /> <br /></li>
<li>When the System Properties window pops up click on the Hardware tab and then the Device Manager button.<br /> You should now see a tree view of all the hardware that is recognized by the OS. <br /> <br /></li>
<li>Write down the name and model of the<br /><ul><li>Video Card<br />Sound Card<br />Modem/Ethernet Card<br /> Monitor -  You should also have/get the horizontal and vertical frequencies of your monitor (available in user manual) although you may not need it. <br />Any hardware you stuck in there. e.g. TV Card.<br /></li></ul><p></p>
<p></p>
</li>
</ul><p></p>
<ul><li>Now I've heard that you should defrag your hard drive because unless you have a second, you'll have to partition your drive. I usually skip the defragger and just use Partition Magic. There are also other alternatives (more on this later).<br /> If you choose to defrag, depending on the size of your hard drive, you'll have a (long) while to wait.<br /> <br /></li>
<li>After you finish defragging do it again. This is just because the provided Windows app never does it totally properly the first time. Speaking of the defragger it can be found in the Start Menu at All Programs &gt; Accessories &gt; System Tools &gt; Disk Defragmenter<br /></li>
</ul><p><strong>Obtaining Linux</strong></p>
<p> </p>
<p> If you have a dial-up connection I suggest you buy or borrow a copy from someone.</p>
<p> If you have high speed Internet access and a CD burner you may download ISO files which can then be burned as CDs. As always I recommend starting with Mandrake Linux because its easy to install and use (and looks good). Redhat and SuSE are other downloadable options.</p>
<p> If you like it after you try, then by all means buy a boxed copy when you see it in a store. Boxed versions have more software than is available for downloabable edition,come with support and for good documentation (in the case of Mandrake and SuSE). I've never bought a boxed Redhat product :-/ Let's recap.</p>
<ul><li>If you don't have a CD burner, buy or borrow the disks. <br /> <br /></li>
<li>If you do have a burner:<br /> Get to a download site and get the ISOs. ISO files are CD images, i.e. they are replicas of CDs which can produce new CDs when used with a CD burning utility. <br /> <br /></li>
<li>The FAQ section has how tos on CD burning <a href="http://www.mandrakeusers.org/viewtopic.php?t=6665&amp;start=0&amp;postdays=0&amp;postorder=asc&amp;highlight=" rel="external nofollow">IM-13: Copying &amp; Burning CD's with K3b</a> or <a href="http://www.mandrakeusers.org/viewtopic.php?t=4737" rel="external nofollow">CL-06: How to burn data CDs from the command line?</a><br /></li>
</ul><p><strong>Space</strong></p>
<ul><li>If you can afford it, get thee a new hard drive. A 20 gig 5400 rpm Hard Drive probably is around $40 now. It's pretty cheap. <br /> <br /></li>
<li>If you can't afford it then you'll have to repartition. If you use Mandrake (MDK), they have a partition app that works with NTFS and FAT32 formatted disks. Be careful however. Defrag then back up all essential data. Shit can still happen.<br /> There are also commercial and free partition resizing programs available. The best IMO is Partition Magic, but there is also the Ranish Partition Manager, which is free. <br /> <br /></li>
<li>Set aside at least 1 gig for Linux, 2 if possible, 5 at best. <br /> <br /></li>
<li>If you can get that 20 gig HD I'd recommend 9.x gigs for Linux and 10 for a FAT32 formatted disk (you actually only get 19.something gigs from a 20 GB HD).<br /> The FAT32 partition is for stuff like Documents, Movies and Music to share between Windows and Linux. You see, Linux can see Windows data but Windows can't see stuff in Linux, (it's just not that advanced, and 'cuz windows sucks!)<br /></li>
</ul><p><strong>Installing Linux</strong></p>
<ul><li>If your computer is old, you may need to go into the BIOS and enable the computer to boot from a CD-ROM first (as in before anything else). The motherboard/computer manual should tell you how to do this. In case you've lost it, the manuals are usually available online as well.<br /> <br /></li>
<li>Pop the burnt CD into the CD drive and wait for the magic to happen. On the MDK CD1 are webpages walking you through the install process. You can view these in Internet Exploder (IE), or a proper browser like Netscape, Mozilla or Opera. <br /> <br /></li>
<li>Once you've started the install just read carefully and follow the instructions. The installer will ask for confirmation before making any earth shattering changes to your PC. <br /> <br /></li>
<li>Don't bypass adding a normal user account and password for that account, even if you don't want to have to type it in everytime you log on. That would kind of defeat the whole security aspect of Linux. You can always select to automatically log in when booting up, thereby bypassing the log in screen, but those not physically on your computer will have a hard time getting in without that :)<br /> Also don't forget to add a root user password.<br /></li>
</ul><p><strong>Migrating</strong></p>
<p> </p>
<p>This is the fun part! I guess I could've called it "Gettin' the hell outta Dogde!" but I thought that was a bit much. Now that you've used Linux and fell in love with it you'll eventually stop using Windows and want to get rid of it (after all it's taking up valuable mp3 space). Let the migration begin. </p>
<ul><li>Once in Linux you can set it up to migrate a lot of (or a little of, or all of, depending on what you have) your important data from Windows. You'll have to be able to read data from your Windows partition. MDK 9 and above will be able to set this up automatically. <br /> <br /></li>
<li>To learn how to do it manually drop by mandrakeusers.org and use the search button :P It's been asked a couple of times. Also it may be in the mandrakeusers.org faq section now.<br /></li>
</ul><p><strong>.:.Bookmarks.:.</strong></p>
<ul><li>Practically all major Linux browsers are capable of importing IE bookmarks (Opera, Konqueror, Mozilla).<br /> The IE bookmarks for XP, 2000 can be found in:<br /> C:Documents and Settings%username%Favorites <br /> <br /> <br /></li>
<li>If you were using Mozilla, Netscape or Opera in Windows the bookmark files can just be copied to your $HOME directory where $HOME=/home/name_of_user.<br /> Linux doesn't have Program Files directories instead it has hidden directories where these files are usually stored. These directories have a . before them. e.g. The mozilla directory is <pre class="ipsCode">.mozilla</pre>
<div></div>
<p><br /></p>
</li>
</ul><p><strong>.:.Address Book.:.</strong></p>
<p> </p>
<p> It is possible to copy your address book info to Linux. Both Kmail and Evolution are able to do this. To my knowledge KMail (which is a part of KDE) does it better.</p>
<p> Kmail can import from Outlook Express 4 and 5 folders, Eudora's address book and MS Exchange PABs, while Evolution AFAIK can import Outlook Express 4 .mbx files. </p>
<p> </p>
<p><strong>.:.Documents.:.</strong></p>
<p><strong>Programs, Programs, Programs</strong></p>
<p> </p>
<p> Now that you've copied those .doc, .ppt and other files you'll probably need to need to open and edit or at least look at them sometime. Linux has multiple solutions to this problem. </p>
<p> I've found out that there's already a site that does this so I'll link it but give my list too anyways. I spent too much time makin' it look pretty to just let it go like that!</p>
<p> Anyhoo, I'll list the main ones that I use here. Feel free to e-mail to get a prog added to my list. Oh yeah, and just because something isn't on my list doesn't mean that there isn't a Linux analog. It just means I don't know about or use it.</p>
<p> And now, without further ado, THE LIST:</p>
<p><strong> Office Software</strong></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="8974" data-ipsquote-contentclass="forums_Topic"><div>
<strong>Staroffice/OpenOffice (OO.o)   Microsoft Office</strong><p>OO.o Writer  Word</p>
<p>OO.o Presenter  PowerPoint</p>
<p>OO.o Adabas D  Access</p>
<p>OO.o Calc  Excel</p>
<p>Kmail/Sylpheed  Outlook Express/Eudora</p>
<p>Kontact/Evolution  Outlook</p>
<p>Kmail/Evolution  Exchange</p>
<p>Quanta 3.2  Frontpage</p>
<p>Dia  Visio</p>
</div></blockquote>
<p> </p>
<p><strong>Audio Player</strong></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="8974" data-ipsquote-contentclass="forums_Topic"><div>XMMS    Winamp 2.xx<p>juK  Windows Media Player (WMP)/RealOne</p>
<p>RealOne/Realplayer  RealOne</p>
<p>Amarok  Winamp</p>
<p>Zinf  WMP/RealOne</p>
<p>and much  much more</p>
</div></blockquote>
<p> </p>
<p><strong> Instant Messaging</strong></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="8974" data-ipsquote-contentclass="forums_Topic"><div>GAim/Kopete    All in one Messengers, eg. Trillian<p>Gaim/Kopete  Aim</p>
<p>aMSN/Kmerlin  MSN messenger</p>
<p>Gaim/Kopete/Licq  ICQ</p>
<p>Gaim  Yahoo Messenger</p>
</div></blockquote>
<p> </p>
<p><strong> Multimedia</strong></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="8974" data-ipsquote-contentclass="forums_Topic"><div>
<strong>Webbrowser Plugins</strong><p>Mozplugger  Active X plugins</p>
<p>Flash  Flash</p>
<p>Adobe Acrobat  Adobe Acrobat</p>
<p>Real  Real</p>
<p>Not yet  Shockwave</p>
<p><strong>Video Players</strong></p>
<p>Xine/Mplayer/Ogle  WinDVD</p>
<p>Xine/Mplayer  Quicktime</p>
<p>Xine/Mplayer, et al  DivX Player/WMP</p>
</div></blockquote>
<p> </p>
<p><strong> Graphics, 3D Renderers</strong></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="8974" data-ipsquote-contentclass="forums_Topic"><div>Blender    Bryce<p>Gimp/Gimp 1.3  Photoshop/Paintshop Pro</p>
</div></blockquote>
<p> </p>
<p><strong> Web Browsers</strong></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="8974" data-ipsquote-contentclass="forums_Topic"><div>Mozilla/Opera    Browsers w/ Integrated Mail<p>Mozilla  Internet Exploder (IE)</p>
<p>Konqueror  IE</p>
<p>Opera  IE</p>
<p>Mozilla  Netscape</p>
</div></blockquote>
<p> </p>
<p><strong> Miscellaneous</strong></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="8974" data-ipsquote-contentclass="forums_Topic"><div>
<strong>IRC clients</strong><p>XChat/KSirc/Konversation  Mirc</p>
<p><strong>FTP clients</strong></p>
<p>Gftp/Kbear  CuteFtp/WS_ftp/</p>
<p><strong>FTP Servers</strong></p>
<p>Pure-ftpd/Proftpd  War FTP</p>
<p><strong>Web Servers</strong></p>
<p>Apache/Apache2  Nuff Said</p>
</div></blockquote>
<p> </p>
<p><span>::References::</span></p>
<p><a href="http://www.i-kubed.org" rel="external nofollow">I^3</a> </p>
<p>Yeah I know, it's a shameless plug.</p>
]]></description><guid isPermaLink="false">8974</guid><pubDate>Sun, 26 Oct 2003 20:25:45 +0000</pubDate></item><item><title>IM-12: HowTo Participate in the MDK Cooker Project</title><link>https://mandrivausers.org/index.php?/topic/7254-im-12-howto-participate-in-the-mdk-cooker-project/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>IM-12: HowTo Participate in the MDK Cooker Project</strong></p>
<p> </p>
<p><strong>Post contents taken from MandrakeLinux.SA</strong></p>
<p> </p>
<p><span style="text-decoration:underline;">Release 10.1 in Progress</span></p>
<p> </p>
<p>10.0 is the current stable release for Mandrakelinux. Cooker is under active development for the next Mandrake release scheduled for September of 2004.</p>
<p> </p>
<p><strong>Background</strong></p>
<p> </p>
<p>One of the most common criticisms of the Mandrakelinux development process is that there is not enough time during the beta testing process for users to get involved in the process before the next release is rushed out the door. After much discussion of this subject on the Cooker mailing list, it quickly became apparent that there is a lack of understanding in the general Mandrake Community about how the Cooker process works. The truth of the matter is that the Mandrake beta testing period is almost three months long, but most users don't get involved until the very end of the process, and therefore are under the impression that the testing phase is too short.</p>
<p> </p>
<p>The purpose of this document is to give interested ordinary users the information they need to get involved in testing the next Mandrakelinux release earlier in the release timeline. This will allow feedback from those users to make it back to the Mandrake developers within a timeframe that is useful.</p>
<p> </p>
<p>Invariably, users install the second release candidate, and then post all kinds of messages for the Cooker mailing list and into the Bugzilla database requesting (sometimes demanding) new features for the current release. Unfortunately, at that point it is far too late to add features or new applications to the distro. If that decribes you, then the information in this document will be very helpful to you.</p>
<p> </p>
<p><span style="text-decoration:underline;">What Cooker Is</span></p>
<p> </p>
<p>MandrakeSoft's development version of the next Mandrakelinux release is called Cooker. The purpose of Cooker is to improve the Mandrakelinux distribution by permitting a better interaction between the development team and the Mandrakelinux users, both for debugging and adding new features. It is an entire distribution unto itself, that is constantly in progress and sometimes cannot even be installed because it is broken itself because of incompatibilities. </p>
<p> </p>
<p><strong><span style="color:#FF0000;">Be careful:</span></strong> the term Cooker is used interchangeably for the Cooker Mailing List (as discussed on Cooker), the Cooker Distribution (I'm running Cooker), the RPM repository (that package is in Cooker) and the Cooker Way of Life (I'm a Cooker, which may lead to an early demise due to the bleeding edge style).</p>
<p> </p>
<p><span style="text-decoration:underline;">What Cooker Isn't</span></p>
<p> </p>
<p>Cooker is not the place to get all the latest releases of software for the stable release. You should not try to install Cooker packages on a stable release. Cooker RPMs are incompatible because they are compiled against libraries that are not available on your stable release installation. In addition to being incompatible, many of the packages may be very buggy because of packaging errors or the software itself.</p>
<p> </p>
<p><span style="text-decoration:underline;">Ways To Participate</span></p>
<p> </p>
<p>There are many ways in which one can participate in the Cooker project. The most common way is to install one of the ISO releases during the beta test cycle, but you may also contribute software and ideas.</p>
<p> </p>
<p><span style="text-decoration:underline;">Expectations</span></p>
<p> </p>
<p>First of all, you need to remember that Cooker is a development distribution that is not well tested and is likely not to run properly most of the time. If you run it, it may mess up data, configurations, etc. It is not meant for a production environment. You have been warned.</p>
<p> </p>
<p>Running Cooker is exciting, though, because you get to be the first to see the new enhancements that are being introduced into the distribution. If you give feedback on your experiences with running Cooker, either through bug reporting or through the Cooker mailing list, you will be influencing the development of the next Mandrakelinux release.</p>
<p> </p>
<p><strong>Installing Cooker</strong></p>
<p> </p>
<p>The first step in participating in the Cooker is to get it installed, and as with any GNU/Linux distribution, there are multiple ways of doing this.</p>
<p> </p>
<p><span style="text-decoration:underline;">Via FTP from a Public Mirror</span></p>
<p> </p>
<p>Make a boot disk from the network.img file available on any of the public Cooker mirrors. The file should be located within the cooker/i586/images/ directory of the mandrake-devel tree on the mirror. If you are already running Linux, you can use dd to copy it to a floppy disk.</p>
<p> </p>
<p></p>
<pre class="ipsCode">dd if=network.img of=/dev/fd0</pre>
<div></div>
<p></p>
<p> </p>
<p>If you are not already running Linux, you can use the rawwrite utility to make the boot disk in DOS or Windows. This utility is normally located in the /cooker/i586/dosutils directory of the mandrake-devel tree.</p>
<p> </p>
<p>If your system has no floppy drive, you can burn the image (network.img, pcmcia.img, or whatever) onto a bootable CD-ROM.</p>
<p></p>
<pre class="ipsCode"> mkdir image
cp network.img image
mkisofs -b network.img image &gt; network.iso
cdrecord dev=0,0,0 network.iso
rm -fr image</pre>
<div></div>
<p></p>
<p> </p>
<p><span style="text-decoration:underline;">Installing from ISO Release</span></p>
<p> </p>
<p>ISO releases (disk images of Cooker that can be burned to CDROM) are snapshots of Cooker that start coming out about 3 months before Cooker is considered stable and forked into the next release. The first release is generally referred to as the Cooker Snapshot. Following the Cooker Snapshot release, every two weeks or so a new set of iso's are created and released for testing up through the final release date. The approximate schedule for Mandrakelinux 10.1 can be found <a href="http://qa.mandrakesoft.com/twiki/bin/view/Main/Mandrakelinux101" rel="external nofollow">here</a>, but can be summarized as:</p>
<ul><li> Cooker Snapshot - mid July<br /> <br /></li>
<li> Beta 1 - End of July<br /> <br /></li>
<li> Beta 2 - Begining of August<br /> <br /></li>
<li> Release Candidate 1 - Mid August<br /> <br /></li>
<li> Release Candidate 2 - end of August<br /> <br /></li>
<li> Final - Begining of Setptember<br /></li>
</ul><p>Many people like to install and test from these ISO releases, which is why they exist. If you test from the ISO releases, though, make sure you're testing the latest version.</p>
<p> </p>
<p>Also, it is possible that an additional release candidate will be released if there is still work to be done to get the release stable. 9.1 and 9.2 had 2 release candidates and 9.0 had 3.</p>
<p> </p>
<p>You can get the ISO images from the mandrake-iso subdirectory of most Mandrake mirrors; or, by using BitTorrent, you can download them from everybody else in peer-to-peer fashion. Check the Main page for a link to the official BitTorrent file and instructions on how to download beta iso images. If you are having trouble with BitTorrent, check out the Bittorrent FAQ over at the MandrakeClub site.</p>
<p> </p>
<p><span style="text-decoration:underline;">Keeping Your ISO's Up to Date Without Re-Downloading</span></p>
<p> </p>
<p>When you test the ISO releases, you are unfortunately faced with the task of downloading a new set of ISO images every two weeks. This can take up a lot of bandwidth, and is absolutely out of the question for dial-up users. You can drastically reduce the amount of bandwidth your iso downloads take by synching the images using a protocol known as rsync.</p>
<p> </p>
<p>I'll edit and incorporate this document later, but for now, here is a link to it: Using rsync to Update Mandrake ISO Images</p>
<ul><li>
<span style="text-decoration:underline;">From a Local Mirror</span><br /> <br />If you have about 6GB of diskspace available, it is faster and easier to install from a local mirror on your hard disk or on a local server. There are even scripts available to make a set of ISO images that can be burned to CD to install in the traditional way. Use fmirror or rsync to create a local mirror and keep it up to date.<br /> <br />Add stuff here about how to use fmirror or rsync<br /> <br />To install the rpmsync utility for Cooker:<br /> <br /><pre class="ipsCode">urpmi rpmsync</pre>
<div></div>
<p><br /> <br />Running gendistrib<br /> <br />If you keep a local mirror, often times the hdlists get screwed up, so it is a good idea to run a script called gendistrib before you update your urpmi sources. To run the script, you must have write access to the directory tree that contains the dist tree. Navigate to the directory that contains the root of the dist tree and then type<br /></p>
<pre class="ipsCode"> gendistrib --distrib</pre>
<div></div>
<p><br /> <br /></p>
</li>
<li>
<span style="text-decoration:underline;">Via NFS Over the Local Network</span><br /> <br />Use the network.img image to create a boot floppy using one of the methods described above and select NFS instead of ftp.<br /> <br /> <br /></li>
<li>
<span style="text-decoration:underline;">Via Hard Disk Install (from a local mirror)</span><br /> <br />If your local mirror is on a partition that is on the machine you intend to install Cooker on, use the hd_grub.img floppy image to create a boot floppy using one of the methods described above (get it from the install/images directory of a mirror). Then, follow the instructions from <a href="http://qa.mandrakesoft.com/hd_grub.cgi" rel="external nofollow">http://qa.mandrakesoft.com/hd_grub.cgi</a> to create a GRUB menu.<br /> <br /> <br /></li>
<li>
<span style="text-decoration:underline;">Via Hard Disk or Network with No Floppy or CD-ROM</span><br /> <br />Some machines nowadays do not have a floppy drive or a CD-ROM drive. We have found a solution for that too.<br /> <br />Copy the necessary files from the isolinux directory to /boot/<br /> <br /><pre class="ipsCode"> cd /path/to/mirror/install/isolinux/alt0/
cp vmlinuz /boot/vmlinuz-all
cp all.rdz /boot</pre>
<div></div>
<p><br /> <br />Make an entry in /etc/lilo.conf if you use LILO or /boot/grub/menu.lst if you use GRUB<br /> <br />Example entry for LILO bootloader<br /></p>
<pre class="ipsCode"> image=/boot/vmlinuz-all
label=all-install
root=/dev/ram3
initrd=/boot/all.rdz
append="ramdisk_size=32000"
vga=791
read-only</pre>
<div></div>
<p><br /> <br />As always, after you have finished editing /etc/lilo.conf, you need to run /sbin/lilo before your changes take effect.<br /> <br />Example entry for GRUB bootloader<br /></p>
<pre class="ipsCode"> title all-install
kernel (hd0,0)/boot/vmlinuz-all root=/dev/ram3 ramdisk_size=32000 vga=791
initrd (hd0,0)/boot/all.rdz</pre>
<div></div>
<p><br /> <br /></p>
</li>
<li>
<span style="text-decoration:underline;">Via Hard Disk Install (from ISO images)</span><br /> <br />The disk install can also use ISO images from a local hard disk (put all ISO images in the same directory). There are many ways to use these ISO images:<ul><li> you can get install/images/boot.iso from a mirror, burn it to CD and boot on it<br /> <br /></li>
<li> you can copy the install/isolinux/ directory from a mirror to a local hard disk, then use <a href="http://qa.mandrakesoft.com/hd_grub.cgi" rel="external nofollow">http://qa.mandrakesoft.com/hd_grub.cgi</a> to create a GRUB boot disk (see Via Hard Disk Install)<br /> <br /></li>
<li> if you already have a linux system, you can add a bootloader entry to boot on the installer (see Via Hard Disk or Network with No Floppy or CD-ROM)<br /></li>
</ul><p>Once the installer is started, it will ask the hard disk, the partition and the directory were the ISO images are located. If this directory contains more than one bootable ISO image, the installer will ask which one it should use.</p>
<p> </p>
<p>Making CD's with MakeCD</p>
<p> </p>
<p>MakeCD is a wrapper script that runs mkcd, and it will create a set of iso's for you to burn to CD. If you have a local Cooker mirror, it is quite easy to make you own set of disk's.</p>
<p> </p>
<p>If boot floppies don't contain your driver</p>
<p>Two main problems (maybe others): first, if you have an old SCSI adapter, we might have not included the driver in the boot floppies, so if you can't boot off the CDROM (old SCSI bios don't provide booting capability) you're trapped; second, if you need a proprietary SCSI driver or network driver (nvnet.o for example). That problem is solved that way:</p>
<ul><li> create a traditional boot floppy (cdrom.img if you plan to install from cdrom, network.img from network, etc)<br /> <br /> <br /></li>
<li> also create an ext2 floppy with command:<br /> <br /><pre class="ipsCode">mke2fs /dev/fd0</pre>
<div></div>
<p><br /> <br /> <br /></p>
</li>
<li> find your driver and copy it (uncompressed) on the ext2 floppy with the command or its equivalent for another driver:<br /> <br /><pre class="ipsCode"> zcat /lib/modules/&lt;kernel-version&gt;BOOT/kernel/3rdparty/dc395x_trm/dc395x_trm.o.gz \
&gt; /mnt/floppy/dc395x_trm.o</pre>
<div></div>
<p><br /> <br /> <br /></p>
</li>
<li> also copy (uncompressed) the dependencies for that module (such as scsi_mod.o for example; there might be others, check in the modules.dep file)<br /> <br /> <br /></li>
<li> boot the traditional boot floppy, hit F1 and then type "linux expert", it will allow you, a while later, to put the other floppy and load the modules from there, in dependencies order of course (scsi_mod.o first, etc)<br /></li>
</ul><p></p>
<p></p>
</li>
</ul><p><strong>Keeping Your Cooker Installation Up to Date</strong></p>
<p> </p>
<p>URPMI is Your Friend</p>
<p><span style="text-decoration:underline;">Defining a cooker urpmi source</span></p>
<p> </p>
<p>One of the most useful tools developed for the Mandrakelinux distribution is the easy urpmi script that was written by Oliver Thauvin. It can be found at <a href="http://urpmi.org/easyurpmi/index.php" rel="external nofollow">http://urpmi.org/easyurpmi/index.php</a></p>
<p> </p>
<p>You can also use a GUI, called urpmi.setup. Install the package urpmi.setup, and launch it. It will query the list of mirror on a website, and then allow you to choose the mediums to add to urpmi. In order to save bandwidth, you should use a rsync enabled mirror ( their url begins with rsync:// ).</p>
<p> </p>
<p>If you have a favorite mirror that is not listed in the easyurpmi script, or if you have a local mirror, you can create the command line yourself with the following syntax:</p>
<p> </p>
<p> </p>
<pre class="ipsCode">urpmi.addmedia &lt;name&gt; &lt;source&gt; with &lt;relative path to hdlist&gt;</pre>
<div></div>
<p> </p>
<p> </p>
<p>You can find a complete list of the up-to-date and broken mirrors at <a href="http://manu.agat.net/mandrake/mirrors_state.html" rel="external nofollow">http://manu.agat.net/mandrake/mirrors_state.html</a></p>
<p> </p>
<p>Once you have urpmi sources set up for your Cooker installation, you can keep the package lists in the individual repositories updated by running the urpmi.update command. This is handy for the stable releases when the only thing that changes is the updates repository. Try</p>
<p> </p>
<p> </p>
<pre class="ipsCode">urpmi.update &lt;repository name&gt;</pre>
<div></div>
<p></p>
<p> </p>
<p>It is easier on a Cooker system, where all the repositories change daily, to keep all of them up to date by running urpmi.update with the -a switch. This updates all package sources.</p>
<p> </p>
<p> </p>
<pre class="ipsCode">urpmi.update -a</pre>
<div></div>
<p></p>
<p> </p>
<p>This updates your urpmi configuration files with the updated hdlist.cz files that will be available on the mirrors. If you do not do this step, urpmi will not know about any of the package changes that have taken place on the mirror and you may get an error like "everything already installed" even thought you know there were lots of package changes on the mirrors.</p>
<p> </p>
<p>Once the sources are updated, run</p>
<p> </p>
<p> </p>
<pre class="ipsCode">urpmi --auto-select</pre>
<div></div>
<p></p>
<p> </p>
<p>to update all installed packages. Essentially, urpmi checks all installed packages and determines if there is a newer package in one of the source repositories. If a newer version of the package exists, it will be installed along with any required dependencies that may have been created.</p>
<p> </p>
<p>Starting with version 4.4, urpmi supports transactions. This means that packages are downloaded and installed in small related groups, instead of all at once. You will no longer have to resort to dirty tricks when you have a small /var partition. Also, since version 4.4-41mdk, urpmi updates itself first and restarts before updating any other packages.</p>
<p> </p>
<p>You can also use the --auto and --no-uninstall switch ( on a recent urpmi version, &gt; 4.3-13mdk ) to do a fully automated upgrade. Nothing will be uninstalled, and all questions will be skipped ( with a good default answer ).</p>
<p> </p>
<p>To update your kernel you have to run</p>
<p> </p>
<p> </p>
<pre class="ipsCode">urpmi kernel</pre>
<div></div>
<p></p>
<p> </p>
<p>This is required because the name of each kernel is unique so a previous kernel is never uninstalled when installing a new one.</p>
<p> </p>
<p>The last step is to update the configuration. During the update several .rpmnew files might have been created (you normally get a warning, but one easily misses those). etc-update can help you updating those config files.</p>
<p> </p>
<p><strong>Good Bug Reporting</strong></p>
<p> </p>
<p>If you think you have found a bug, there are some steps to take before reporting it into the Bugzilla database.</p>
<p> </p>
<p>First, make sure that you are up to date with Cooker for the relevant packages, this will allow you to see if it has already been fixed. Cooker changes daily, so if you think you find a bug in beta2, and it is a week post release, there is a good chance that the package has been updated several times since the iso release. The easiest way to update to the latest packages is to make sure you have your urpmi sources set up properly and and either urpmi packagename, or make sure the entire system is current with urpmi --auto-select. Detailed instructions on this are contained in the previous paragraphs.</p>
<p> </p>
<p>Second, make sure it is a reproducible problem. The developers will often dismiss a reproducible problem as a user error or a configuration problem. Therefore, if you can reproduce the problem, even on another machine, it will be very helpful in getting your bug report looked at.</p>
<p> </p>
<p>Third, search through the Cooker mailing list archives and Bugzilla to see if the bug has already been reported. If it has been reported, you can add additional information to the existing report to help sort it out. There is no sense in adding a duplicate bug report to the database.</p>
<p> </p>
<p>As for the role of the Cooker mailing list in comparison with the role of Bugzilla, use the Cooker mailing list to discuss whether something is a bug or not, use Bugzilla to report it.</p>
<p> </p>
<p>Good bug report etiquette states that you need to be precise in bug reporting. Putting "Package XYZ is broken!" without giving a clear description is not wise. Give the failing package's name, a brief description of the problem, and some revelant information about your host, and anything that we need to do to reproduce the problem on our boxes. Also provide whatever other information that you may think is useful, including, but not limited to, configuration files of the package.</p>
<p> </p>
<p><span style="text-decoration:underline;">How to Use Bugzilla</span></p>
<p> </p>
<p>Bugzilla is the master database for bug reporting In order to make a bug report, you need to get a valid Bugzilla account, which is very easy. You just navigate with your browser to qa.mandrakesoft.com and click on the "Open a new Bugzilla account" link and enter the information requested.</p>
<p> </p>
<p>Normal accounts have privileges to add bugs, add comments to existing bugs and change the status of bugs that weere created with that account. Before a new bug is posted, Bugzilla will perform a search of the database looking for similar bugs and will prompt you make sure you want to post a new bug.</p>
<p> </p>
<p><span style="text-decoration:underline;">How Bugzilla Works</span></p>
<p> </p>
<p>The web interface is the way most users interact with Bugzilla. The Mandrake Bugzilla is located at <a href="http://qa.mandrakesoft.com" rel="external nofollow">http://qa.mandrakesoft.com</a></p>
<p> </p>
<p>There is a mail interface to Bugzilla that makes it easy to add additional comments or change the status of bugs if you have the appropriate level of access.</p>
<p> </p>
<p>What the Various Bug Statuses Mean</p>
<p>These define the state the bug report is in.</p>
<ul><li> UNCONFIRMED - the bug is new and no developer or other user has confirmed it yet; until then, it stays unconfirmed<br /> <br /></li>
<li> NEW - the bug is new<br /> <br /></li>
<li> NEEDINFO - a developer has asked more details to the reporter in order to understand what's going on with this bug<br /> <br /></li>
<li> FIXED - the bug has been fixed<br /> <br /></li>
<li> INVALID - the bug was considered not "real"<br /> <br /></li>
<li> WONTFIX - for whatever reason, hopefully explained well in the comments, this bug will not be fixed (often considered non important, or we can't fix it)<br /> <br /></li>
<li> LATER - the bug has been acknowledged, but is not going to be addressed until sometime later in the development process<br /> <br /></li>
<li> REMIND -<br /> <br /></li>
<li> WORKSFORME - no one could reproduce the problem, we see normal behaviour, so we can't do much about it...<br /> <br /></li>
<li> OLD - a bug in this status is no longer relevant either because the software package in question has been updated, or because the package has been removed from the distro.<br /></li>
</ul><p><span style="text-decoration:underline;">Voting for Bugs</span></p>
<p> </p>
<p>Bugzilla maintains a voting system for helping users validate bug reports. It is supposed to be used so that people can indicate that they have duplicated a bug and feel it is important, while hopefully reducing duplicate bug reports.</p>
<p> </p>
<p><span style="text-decoration:underline;">The Cooker Mailing List</span></p>
<p> </p>
<p>Because the cooker mailing list is a very high volume mailing list (it will often get over 1000 messages a day late in the development cycle) it is important that you be careful about how and when you post to the list. To reduce the noise level, it is a good idea to search the list archives for your issue prior to posting. Searchable archives are available at <a href="http://marc.theaimsgroup.com/" rel="external nofollow">http://marc.theaimsgroup.com/</a> and <a href="http://gmane.org" rel="external nofollow">http://gmane.org</a> . To maximize the chances of your message being seen, help minimize the level of noise on the list by keeping idle chatter down and restraining yourself from making offtopic posts.</p>
<p> </p>
<p>The List is where discussions take place on how to implement things, the results of testing or whether something is a bug or not. Bug reports themselves should be reported in Bugzilla.</p>
<p> </p>
<p>If you cannot follow cooker but still want some insight of the discussion, you should see the CookerWeeklyNews. But if you run cooker, you should follow cooker, at least search the archives when you have a problem ( <a href="http://archives.mandrakelinux.com/" rel="external nofollow">http://archives.mandrakelinux.com/</a> )</p>
<p> </p>
<p><span style="text-decoration:underline;">TestZilla</span></p>
<p> </p>
<p>Through the Testzilla pages on Bugzilla, you can follow procedures to report successes or bugs on Bugzilla components.</p>
<p> </p>
<p>To be able to perform hardware testing, you must first upload your system configuration to TestZilla. To do so, install the hwdb-clients package and run hwdb_add_system &lt;bugzilla account&gt;. Then you will have access to the various hardware validation procedures from the Testzilla pages.</p>
<p> </p>
<p>Consult TestZilla if you want to contribute procedures or see how the whole system works.</p>
<p> </p>
<p><span style="text-decoration:underline;">Contributing Patches</span></p>
<p> </p>
<p>If you develop a patch that corrects a bug in one of the Mandrake developed tools, send your patch to the Cooker mailing list and to the maintainer of the package.</p>
<p> </p>
<p>If you develop a patch for a software application that is packaged and included in the Mandrakelinux distribution, send your patch to the maintainer of the package and also submit it upstream to the software project itself. Mandrake packagers often patch sources to fix major bugs, but the sources themselves should be fixed by the project. Not all software projects have MandrakeSoft employees that work on CVS, so submitting a patch to Mandrake does not guarantee that the fix will find its way into the project sources.</p>
<p> </p>
<p><strong>Glossary of Terms</strong></p>
<ul><li> Alpha Release - Also referred to as a cooker snapshot. It is probably broken and most likely quite badly but would really like you to test it as an assembly (distinct from testing the parts). The developers are still willing to make significant changes (bumping versions etc) to make everything work well, so now is the time to squawk loudly if your pet package or feature looks like being left out.<br /> <br /></li>
<li> Beta Release - a beta is an ISO release of Cooker that is meant to test the functionality that has been or is being added to various components of the distribution. It's probably got some serious bugs, so you don't want to use it in production but please feel free to use it for light duties. At this point, the package maintainers are generally unwilling to nudge package versions but will do so to fix problems. Minor problems that a lot of effort to be fixed and/or may upset other things in the fixing are now at risk of being left as they are.<br /> <br /></li>
<li> Release Candidate - a release candidate, or RC, is an ISO release of the distribution that is released for the purpose of finding show-stopper bugs in the features and packages that have been included. During the release candidate phase, no new packages or features may be added, but bug fixes may be committed if they are major. Please subject it to very heavy testing. If it works well, it will be blessed and submitted to the publisher for manufacturing the boxed sets and the iso images and distribution tree will posted to the mirrors for immediate download. The package maintainers won't nudge versions at all except as necessary to fix a showstopper. We won't fix anything if it's much less than a showstopper or security update unless it's dead easy and carries no risk of breaking anything else. It is useless to make a feature request at this time as no new features can be added.<br /> <br /></li>
<li> Contrib - packages that are not part of the main distro, but that are important because someone has packaged them and contributed them.<br /> <br /></li>
<li> Freeze - no feature adds can be made to any Mandrake software and no updates can be made to packages except for major bugfixes.<br /> <br /></li>
<li> Deep Freeze - Only showstopper bugfixes and security flaws can be upgraded.<br /></li>
</ul><p>Other references are:</p>
<ul><li> <a href="http://www.linux-mandrake.com/en/cookerfaq.php3" rel="external nofollow">Cooker FAQ</a><br /></li>
<li> <a href="http://www.linux-mandrake.com/en/howtos/mdk-rpm/" rel="external nofollow">Mandrake RPM HOWTO</a><br /></li>
<li> <a href="http://myweb.tiscali.co.uk/jwrobinson/docs/urpmi-howto/" rel="external nofollow">URPMI mini-HOWTO</a><br /></li>
</ul><p></p>
]]></description><guid isPermaLink="false">7254</guid><pubDate>Sat, 16 Aug 2003 14:45:57 +0000</pubDate></item><item><title><![CDATA[IM-11: Copying & Burning CD]]></title><link>https://mandrivausers.org/index.php?/topic/6665-im-11-copying-burning-cd/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="?showtopic=4453" rel="">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>]</p>
<p> </p>
<p><strong>IM-11: Copying &amp; Burning CD's with K3b</strong></p>
<p> </p>
<p>This How-to covers the steps to take to <strong>setup</strong> K3b to allow you to use K3b as a user (instead of root) to copy cd's from one drive to another, and burn data or audio cd's from files on your harddrive. The emphasis is on the setup, not how to use it.</p>
<p> </p>
<p>Prelim: Burners like to be the master device on your ide cable (flat, grey data cable) just like the harddrive you boot from. This guide assumes your harddrive is master on the primary ide (/dev/hd<strong>a</strong>) and that your burner is master on the secondary ide (hd<strong>c</strong>). If you have another cdrom or dvdrom drive, it should never be on the same ide cable as the burner, thus leaving /dev/hd<strong>b</strong> (primary slave, same cable as your harddrive) for it (your reader device). Note that all drives use a little jumper to know whether they are master or slave. Also note that masters go at the end of the ide cable (furthest from the motherboard) and slaves go in the middle. If you have any questions, don't be afraid to post. If everything worked ok in wino-dows, chances are you'll be fine. Most errors when copying a cd come from the reader being on the same ide cable as the burner.</p>
<p>The primary master is hda &amp; slave is hdb; the secondary master is hdc &amp; slave is hdd. </p>
<p> </p>
<p><strong><span style="text-decoration:underline;">Sections Overview</span></strong></p>
<ul><li>Setting up Reader Device<br /><ul><li>Modifying /etc/lilo.conf or /boot/grub/grub.conf<br /> <br /></li>
<li>Changing /dev/cdrom symlink<br /> <br /></li>
<li>Modifying /etc/fstab<br /></li>
</ul><p></p>
<p>[*]Running the K3b Setup as root</p>
<p></p>
</li></ul><p><span style="font-size:15pt;line-height:100%;"><strong><span style="text-decoration:underline;">1. Setting Up Reader Device</span></strong></span></p>
<p><strong>Note:</strong> You can skip to section #2 if a) you only have one drive (I assume a burner or you wouldn't be reading this) or B) you don't want to ever burn from one drive to another</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong><span style="text-decoration:underline;">a) Modifying /etc/lilo.conf or /boot/grub/grub.conf</span></strong></span></p>
<p>The first thing we will do is edit /etc/lilo.conf (the default bootloader) or /boot/grub/grub.conf (if you specifically chose to use the grub bootloader instead of the default lilo). We do this because we wish to tell the kernel at boot time to use scsi emulation for the reader device.</p>
<p>Open a terminal (konsole, RXvt, eterm, xterm, etc..)</p>
<p> </p>
<p><strong>For lilo</strong></p>
<p></p>
<pre class="ipsCode">$ su

Enter Password: [enter root password]



# vi /etc/lilo.conf</pre>
<div></div>
<p></p>
<p>Under the "Append" section for booting mandrake, you should see hdc=ide-scsi. Hit 'i' to enter Insert mode and add hdb=ide-scsi so that it now looks like this:</p>
<p></p>
<pre class="ipsCode">hdc=ide-scsi hdb=ide-scsi</pre>
<div></div>
<p></p>
<p>Now hit ESC to leave Insert mode, and type :wq to <strong>w</strong>rite changes &amp; <strong>q</strong>uit. Send your changes to the boot record by typing "lilo". Reboot by typing "reboot"</p>
<p> </p>
<p><strong>For Grub</strong></p>
<p></p>
<pre class="ipsCode">$ su

Enter Password: [enter root password]



# vi /boot/grub/grub.conf</pre>
<div></div>
<p></p>
<p>On the "kernel" line for booting mandrake, you should see hdc=ide-scsi. Hit 'i' to enter Insert mode and add hdb=ide-scsi so that it now looks like this:</p>
<p></p>
<pre class="ipsCode">kernel (hd0,1)/boot/vmlinuz hdc=ide-scsi hdb=ide=scsi other_stuff_untouched_by_your_meddling</pre>
<div></div>
<p></p>
<p>Now hit ESC to leave Insert mode, and type :wq to <strong>w</strong>rite changes &amp; <strong>q</strong>uit. Reboot by typing "reboot"</p>
<p> </p>
<p><strong>Everybody</strong></p>
<p>When mandrake boots back up, a wizard should detect that an ide drive has been removed and a new scsi drive has been installed. If you like wizards doing it all for you, accept all the guff it gives ya and log back in - skip to section #2. If you'd prefer to do it by hand to know your system better (and it's two short steps anyway), cancel the wizard changes and read parts b and c. I recommend doing by hand because if something fails to work you can post exactly what you changed and we can easilier help you - not that easilier is a word, but you get the picture.</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong><span style="text-decoration:underline;">B) Changing the /dev/cdrom symlink</span></strong></span></p>
<p>Chances are you have a soft link /dev/cdrom pointing to /dev/<strong>ide</strong>/host0/bus0/target0/lun0/cd (where your reader <em>was</em>). We'll need to change that because as far as linux is concerned, your reader is now aboard the scsi train, not ide. Do as many "ls" and "ls -la" commands as it takes to find what we're looking for on your machine.</p>
<p></p>
<pre class="ipsCode">$ su

Enter Password: [enter root password]



# cd /dev

# ls -la cd* 

[analyse the ls output to see where your cdrom and cdrom2 links are pointing. cdrom2 should be the flashing, broken one. We want to fix the broken one]

# rm cdrom

# ln -s /dev/scsi/host0/bus0/target0/lun0/cd ./cdrom

[if you watch dvd's, or would like to eventually with your dvd drive, there's one more - check to see if you have a dvd link already]

# ls -la dvd

# rm dvd (if it's there)

# ln -s /dev/scsi/host0/bus0/target0/lun0/cd ./dvd</pre>
<div></div>
<p></p>
<p> </p>
<p>Fhew! That was easy... as long as you were careful to find the right stuff.</p>
<p>Now anything that was looking for /dev/cdrom still sees the same drive. One more step before we reboot:</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong><span style="text-decoration:underline;">c) Modifying /etc/fstab</span></strong></span></p>
<p>/etc/fstab is the "filesystem table" of where your kernel should mount which filesystems. It typically wants to mount /dev/cdrom to /mnt/cdrom, /dev/cdrom2 to /mnt/cdrom2, and so on.</p>
<p></p>
<pre class="ipsCode">$ su

Enter Password: [enter root password]



# vi /etc/fstab</pre>
<div></div>
<p></p>
<p> </p>
<p>It should look something like this:</p>
<p></p>
<pre class="ipsCode">/dev/hda2 / reiserfs noatime,notail 1 1

/dev/hda3 swap swap defaults 0 0

none /dev/pts devpts mode=0620 0 0

none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0

/dev/hda1 /mnt/win_c ntfs iocharset=iso8859-1,codepage=850,umask=0 0 0

/dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,codepage=850,umask=0 0 0



none /proc proc defaults 0 0</pre>
<div></div>
<p></p>
<p>We want the /mnt/cdrom line's dev=/dev/hdb to now be /dev/cdrom instead... change that as root of course, just like above (&amp; don't forget to :wq to write changes before quitting). Then reboot by typing, yep, you guessed it, "reboot".</p>
<p> </p>
<p><span style="font-size:15pt;line-height:100%;"><strong><span style="text-decoration:underline;">2. Running the K3b Setup as root</span></strong></span></p>
<p>Once logged back in, open up your prefered terminal. We will now run the k3b setup.</p>
<p></p>
<pre class="ipsCode">$ su

Enter Password: [enter root password]



# k3b</pre>
<div></div>
<p></p>
<p>The setup window should pop up. You can "Next" your way through it, but remember to set the proper max write speed for your burner to get the quickest burn. <strong>Be sure you add you user to the list of users who are allowed to use k3b. Allow k3b to edit your fstab</strong> so that it can add these two lines:</p>
<p></p>
<pre class="ipsCode">/dev/scsi/host0/bus0/target0/lun0/cd   /mnt/cdrom/   auto   ro,noauto,user,exec   0 0 

/dev/scsi/host0/bus0/target1/lun0/cd   /mnt/cdrom2/  auto   ro,noauto,user,exec   0 0</pre>
<div></div>
<p></p>
<p>Exit k3b when it opens up after the setup dialog (because you're still root and you won't be running it as such). Now open it again as your user, and in the menu at the top there is a k3b - Configuration (as opposed to Setup). Quick scan through that to set your options/preferences for your user and you're done!</p>
]]></description><guid isPermaLink="false">6665</guid><pubDate>Tue, 22 Jul 2003 12:52:17 +0000</pubDate></item><item><title>CL-07: Understanding the Directory Structure</title><link>https://mandrivausers.org/index.php?/topic/6397-cl-07-understanding-the-directory-structure/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="?showtopic=4453" rel="">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>]</p>
<p> </p>
<p><span style="font-size:17pt;line-height:100%;"><strong><span style="text-decoration:underline;">CL-07: Understanding &amp; Manuevering Through the Directory Structure</span></strong></span></p>
<p> </p>
<p>(I couldn't really name this anything else, but man! It's so long! I had to chop it to fit in the subject line)</p>
<p> </p>
<p>The purpose of this article is to aid your understanding of the way the linux filesystem, or directories (folders), are laid out, and to help you learn the basics of manuevering through them, along with the methods on manipulating files within your linux domain.</p>
<p> </p>
<p><span style="font-size:18pt;line-height:100%;"><strong>Understanding the Directory Structure</strong></span></p>
<p> </p>
<p>Without covering <span style="text-decoration:underline;">every</span> directory, here's a metaphor to help you understand the directories (folders), are laid out.</p>
<p> </p>
<p><span style="color:#0000FF;">/</span> is the yard, and the directory <span style="color:#0000FF;">/home</span> is the house where you keep your stuff. In <span style="color:#0000FF;">/home</span>, there can be (and will be) different directories (rooms) for the different people who live in the house. </p>
<p> </p>
<p>Let's say Joe, the owner of the computer, is going to let his little sister Jen use his computer. There's a room in the house for both Joe and Jen; <span style="color:#0000FF;">/home/joe</span> and <span style="color:#0000FF;">/home/jen</span>. That is where each of them can keep their personal stuff, and neither of them have rights to the other's directory. You see, in linux, every file, like an mp3, and even every directory, like <span style="color:#0000FF;">/home/joe</span>, belongs to somebody. We'll see how great this can be for security and stability later.</p>
<p> </p>
<p>The directory <span style="color:#0000FF;">/dev</span> is the garage where the devices are kept. Within /dev there's /dev/cdrom (for your CD drive), /dev/fd0 (for your floppy drive), and so on. However, these are more like files that define the device drive rather than what is on the cdrom in the drive, say.</p>
<p> </p>
<p><span style="color:#0000FF;">/mnt</span> is a special directory. Distributions usually mount devices in <span style="color:#0000FF;">/dev</span> for you, but here's what is happening. To use a device, i.e. to be able to see files on a cdrom, you need to mount the <span style="color:#0000FF;">/dev/cdrom</span> to <span style="color:#0000FF;">/mnt/cdrom</span>. Now, if you look in <span style="color:#0000FF;">/mnt/cdrom</span>, you will see the files on the plastic disc in the drive <span style="color:#0000FF;">/dev/cdrom</span>. Picture <span style="color:#0000FF;">/dev/cdrom</span> as the engine, and <span style="color:#0000FF;">/mnt/cdrom</span> the running car. Which would you rather get into? The same goes for your floppy disks - <span style="color:#0000FF;">/dev/fd0</span> usually gets mounted to <span style="color:#0000FF;">/mnt/floppy</span>.</p>
<p> </p>
<p>So let's recap the filesystem layout:</p>
<p> </p>
<p><span style="color:#0000FF;">/</span>  - the root directory - every other directory is contained within <span style="color:#0000FF;">/</span> (and that is why we usually write their names preceeded with a / - it's the root of the filesystem.)</p>
<p> </p>
<p><span style="color:#0000FF;">/bin</span> - This isn't a bin for trash! This is where system binaries are kept. Binaries are executable files that you can run, and they are for programs that run the operating system.</p>
<p> </p>
<p><span style="color:#0000FF;">/boot</span> - All the files for booting up your computer and loading the OS are kept in here.</p>
<p> </p>
<p><span style="color:#0000FF;">/dev</span> - All your devices, like CDROMs and floppy drives, are in here</p>
<p> </p>
<p><span style="color:#0000FF;">/etc</span> - this is where the system configuration files are kept (the way the OS is setup, so to speak)</p>
<p> </p>
<p><span style="color:#0000FF;">/home</span> - Within home, there is always a directory for each user. If your name is Joe, you are only allowed to download and save files (or change existing files) in <span style="color:#0000FF;">/home/joe</span> (sometimes called ~)</p>
<p> </p>
<p><span style="color:#0000FF;">/usr</span> - this is where applications go. Inside <span style="color:#0000FF;">/usr</span> looks very much like a mini <span style="color:#0000FF;">/</span> but the difference is instead of OS binaries or configs, it's the binaries or configs for applications not vital to the OS such as office or games. All users are allowed to run apps in <span style="color:#0000FF;">/usr</span> , but they aren't allowed to alter or delete the files there in any way.</p>
<p> </p>
<p> - <span style="color:#0000FF;">/usr/bin</span> - binaries for apps like office or games</p>
<p> - <span style="color:#0000FF;">/usr/etc</span> - configs or setup for them</p>
<p> - <span style="color:#0000FF;">/usr/src</span> - source code for the apps (preinstalled packages)</p>
<p> </p>
<p><span style="color:#0000FF;">/var</span> - If you're running a server, the files that you are serving other people on the internet (like music or webpages) would be contained in here.</p>
<p> </p>
<p><span style="font-size:18pt;line-height:100%;"><strong>Using the Command Line</strong></span></p>
<p>OK, now onto command line fun. And it is fun, so don't leave now! It may take more than one reading to grasp it all, but a million mile journey starts with a single step. Throughout this tutorial, I will give commands in quotes; You don't type the quotes, I just do to avoid confusion between command text and tutorial text, capice?</p>
<p> </p>
<p>When we talk about going "into" a directory, like opening a folder in a graphical user interface (GUI) with your mouse, we will be able to view the contents of it. "ls" (for list) will list the files and directories within your current working directory (CWD), that is, the directory you are currently sitting in. When you first log onto the computer, or when you first open a "terminal" in X windows (X windows is a GUI incredibly similar to microsoft's GUI called windows), you are at the command line, and your working directory is usually <span style="color:#0000FF;">/home/joe</span> to start (if your name is joe - and for now IT IS &gt;:| ) </p>
<p> </p>
<p>Let's look at the command line. It looks kinda funny, doesn't it?</p>
<p></p>
<pre class="ipsCode">[joe@joes.computer joe]$</pre>
<div></div>
<p></p>
<p>looks really funny! What this is telling you is joe is logged into (joe@) the computer, which happens to have been cleverly named "joes.computer". joe@joes.computer makes sense, doesn't it. The last joe is telling you the current working directory, <span style="color:#0000FF;">/home/joe</span> (it always only shows the last directory name of your CWD.) Not so funny anymore, is it? The command "pwd" will print your working directory to the screen. It will look like this:</p>
<p></p>
<pre class="ipsCode">[joe@joes.computer joe]$ pwd
/home/joe

[joe@joes.computer joe]$ _</pre>
<div></div>
<p></p>
<p> </p>
<p>O.K. joe, your home directory <span style="color:#0000FF;">/home/joe</span>)</p>
<p></p>
<pre class="ipsCode">[joe@joes.computer joe]$ cd ..

[joe@joes.computer home]$ _</pre>
<div></div>
<p></p>
<p> </p>
<p>"cd .." again would take you up a directory to <span style="color:#0000FF;">/</span></p>
<p></p>
<pre class="ipsCode">[joe@joes.computer home]$ cd ..

[joe@joes.computer /]$ _</pre>
<div></div>
<p></p>
<p> </p>
<p>Every directory has two special directories in them; "." and ".." ; "." means "this directory" and ".." means "the directory above me" or "my parent directory". The only exception is <span style="color:#0000FF;">/</span> has no parent directory there is no /.. to "cd" to. </p>
<p> </p>
<p>Remember <span style="color:#0000FF;">~</span> being the same as /home/joe? Well "cd ~" from anywhere will take you straight to /home/joe. Also, "cd /" will take you straight to the top, /.  From /, you could type "cd home" and do an "ls" just to see</p>
<p></p>
<pre class="ipsCode">[joe@joes.computer /]$ cd home

[joe@joes.computer home]$ ls
./
../
jen/
joe/

[joe@joes.computer home]$ _</pre>
<div></div>
<p></p>
<p>Directories are shown in blue and have a forward slash after their name. Executable binaries are shown in green, installable rpms are red, text and unknown types are white, pictures are purple, links (like shortcuts) are a light aqua, etc.</p>
<p> </p>
<p>Now lets cover some basic commands that you would use everyday. In X windows, people often right click to select cut, copy or paste, to make a directory or link (shortcut), or to move or remove (delete) a file. Believe it or not, these tasks go faster using the command line interface (CLI)! Some commands take arguments to understand exactly what you want to do, like "ls -l". The "-l" is the argument and tells "ls" to list the files in the directory using the long, detailed format, showing you the file sizes and attributes. You can check the options or the syntax for a command in the manual for that command by typing "man command" (e.g. "man ls"). For even more detail, you can type "info command".</p>
<p> </p>
<p><strong>Command Quick Reference</strong></p>
<ul><li>cd  =  change directory<br /> <br /></li>
<li>ls  =  list directory contents (show files)<br /> <br /></li>
<li>cp  =  copy<br /> <br /></li>
<li>mv  =  move/rename<br /> <br /></li>
<li>rm  =  remove/delete. Use "-R" argument to remove an entire directory and all of it's contents. Use with Caution!<br /> <br /></li>
<li>su  =  switch user (without an argument means switch to root, the superuser/administrator)<br /> <br /></li>
<li>pwd =  print working directory<br /> <br /></li>
<li>mkdir = make a directory<br /> <br /></li>
<li>ln -s = make a soft link (shortcut)<br /></li>
</ul><p><strong>Examples</strong></p>
<p></p>
<pre class="ipsCode">cp song.mp3 ~ =&gt; Copy song to /home/joe

mv ~/song.mp3 ~/newname.mp3 =&gt; rename song in /home/joe to newname

cd ~ =&gt; change directory to /home/joe

mkdir downloads =&gt; make a new directory "downloads" within the current working directory.</pre>
<div></div>
<p></p>
<p> </p>
<p>ln -s is awesome. It works like a shortcut in windows. Let me explain how I use this to my major advantage.</p>
<p> </p>
<p>I use some applications (well, games <img src="https://mandrivausers.org/uploads/emoticons/default_oops.gif" alt=":oops:" data-emoticon="" /> ) in both windows and linux, so instead of having the files installed twice, I can link to the windows files.</p>
<p></p>
<pre class="ipsCode">ln -s /mnt/windows/KlingonWOF/gamedata /usr/games/KlingonWOF/gamedata</pre>
<div></div>
<p></p>
<p> </p>
<p>Now everytime my linux looks at <span style="color:#0000FF;">/usr/games/KlingonWOF/gamedata</span> it's actually following the link and looking at the file on the windows partition! This works for entire directories, too. You can "ln -s /path/to/directory ~", and from then on "cd ~/directory" will take you into it!</p>
<p> </p>
<p><strong><span style="text-decoration:underline;">Permissions</span></strong></p>
<p> </p>
<p>Earlier I mentioned that users don't have access to other's files. This is because each file, as well as each directory, has permissions. There are read, write, and execute perms. You need write perms on a something before you can modify or delete it, and you need execute perms before you can execute a binary (executable). Let's do an "ls -l" and examine the output.</p>
<p></p>
<pre class="ipsCode">[joe@joes.computer joe]$ ls -l

Permissions  Owner Group  Size

drwxr-----  1 joe  users    0      Jan 1 1970 ./

drwxr-----  1 joe  users    0      Jan 1 1970 ../

drwxr-----  1 joe  users    0      Jan 1 1970 Desktop/

drwxr-----  1 joe  users    0      Jan 1 1970 Documents/

-rwxr-----  1 joe  users    32     Jan 1 1970 music -&gt; /mnt/windows/My Documents/My Music/

-rw-r-----  1 joe  users  1,000    Jan 1 1970 picture.jpg

-rw-r-----  1 joe  users   64      Jan 1 1970 readme.text

-rwxrwxrwx  1 joe  users   64      Jan 1 1970 readme_from_windows.txt

-rw-r-----  1 joe  users 2,345,255 Jan 1 1970 zinf-1.0.i586.mdk.rpm</pre>
<div></div>
<p></p>
<p> </p>
<p>Because permissions for files and directories requires a lengthy explaination, I'm going to short-hand this a little to give you more of a general knowledge rather than an "administrative guru" status on the topic. It isn't a tough subject, there's just a lot to talk about.</p>
<p> </p>
<p>What we are seeing in the first column: Directories have a "d" as the very first character, followed by the permissions for the owner of the file or directory, permissions for users in the specified group, then the permissions for everyone else.</p>
<p>According to the output, Joe has <strong>r</strong>ead and <strong>w</strong>rite access to every file and directory, and <strong>e</strong>xecute rights on every directory (and the link "music"). Anybody who belongs to the group "users" can read every file and directory, and anyone else has no rights. The one exception is "readme_from_windows.txt" - a file copied over from a windows partition - which gives <span style="text-decoration:underline;">everyone</span> full rights to the file. This can be dangerous!! Insane punk-clown hackers can do what they please with this file!</p>
<p> </p>
<p>To change the permissions of a file (for instance - Joe sees his "readme_from_windows.txt" file permissions and has a conniption fit so decides to do something about it) you use the command "chmod". WTH that stands for beats the fudge outta me, but I sure know how to use it. Each of the permissions, read, write, and execute can be represented by a number to "simplifiy" things. :roll:</p>
<ul><li>read = 4<br /> <br /></li>
<li>write = 2<br /> <br /></li>
<li>exectute = 1<br /></li>
</ul><p>In other words, right now "readme_from_windows.txt" has permissions of 777 (4+2+1 ; 4+2+1 ; 4+2+1). You can give everyone full permissions to a file with the command "chmod 777 filename"; however, most of the time you would rather give more restricted access. So here's how.</p>
<p> </p>
<p>Let's say Joe decides he wants everyone who belongs to the "users" group to read "readme_from_windows.txt", (but not write to it, i.e. change or delete it). He might issue the command "chmod 640 readme_from_windows.txt". Now user joe has read(4) + write(2) = 6 ; group users has read(4) = 4 ; and others have no rights = 0 ; therefore, 640. See? This will get clearer as time goes by.</p>
<p> </p>
<p><strong>Conclusion</strong></p>
<p>Now you know how to move around at the command prompt, view the files in the directories and their permissions, copy and move files, and read the manuals for new commands as you hear about them.</p>
]]></description><guid isPermaLink="false">6397</guid><pubDate>Fri, 11 Jul 2003 18:16:31 +0000</pubDate></item><item><title>GQ-06: History of Linux</title><link>https://mandrivausers.org/index.php?/topic/6392-gq-06-history-of-linux/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="?showtopic=4453" rel="">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.MandrakeUsers.org/index.php?showtopic=4456" rel="external nofollow">GQ: General Questions not covered in the other sections</a>]</p>
<p> </p>
<p><strong>GQ-06: History of Linux</strong></p>
<p> </p>
<p>Linux is an OS (<em>operating system</em>) kernel created by Linus Torvalds when he was a student at the University of Helsinki. To say that Linux is an OS kernel means that it's meant to be used as an alternative to other OS's like MS-DOS or the various versions of Windows.</p>
<p> </p>
<p>When Linus Torvalds was studying at the University of Helsinki, he was using a version of the UNIX OS called "Minix". Linus and other users sent requests for modifications and improvements to Minix's creator, Andrew Tanenbaum, but he felt that they weren't necessary. That's when Linus decided to create his own OS that would take into account users' comments and suggestions for improvements.</p>
<p> </p>
<p>This philosophy of asking for users comments and suggestions and using them to improve computer programs was not new. Richard Stallman, who worked at the Massachusetts Institute of Technology, had been advocating just such an approach to computer programming and use since the early 1970's. He was a pioneer in the concept of "free software", always pointing out that 'free' means 'freedom', not zero cost. Finding it difficult to continue working under conditions that he felt went against his concept of 'free software' he left MIT in 1984 and founded GNU (which stands for "GNU's Not UNIX"). The goal of GNU was to produce software that was free to use, distribute and modify; so they wrote the GPL (General Public License), which protects software licensed under it. The GPL basically states that any sourcecode licensed under the GPL is freely available (open) and allowed to be modified by anyone, so long as the software's derived sourcecode is also open and licensed under the GPL. This OSS (Open-Source Software) is therefore protected from being taken and used for closed source, proprietary software.</p>
<p> </p>
<p>Linus Torvalds' goal 6 years later was to produce an OS that not only took into account its' users' feedback, but allowed them to help eliminate bugs (errors in the code). So, in 1991, we had the ideal conditions that would create Linux. To make a long story short, Linus Torvalds had a kernel but no programs of his own; Richard Stallman and GNU had programs but no working kernel.</p>
<p> </p>
<p>So, combining the necessary programs provided by GNU in Cambridge, Massachusetts and a kernel, developed by Linus Torvalds in Helsinki, Finland, Linux was born. Due to the physical distances involved, the means used to get Linus' kernel together with the GNU programs was the Internet, then in its' infancy. We can say then that Linux is an OS that came to life on the Internet. The Internet would also be crucial in Linuxs' subsequent development as the means of coordinating the work of all the developers that have made Linux into what is is today. </p>
<p> </p>
<p>By late 1991, Linus Torvalds had his kernel and a few GNU programs wrapped around it so it would work well enough to show other people what he had done. And that's what he did. The first people to see Linux knew that Linus was on to something. At this point, though, he needed more people to help him. Here's what Linus had to say back in 1991. </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="6392" data-ipsquote-contentclass="forums_Topic"><div>"Are you without a nice project and dying to cut your teeth on an OS you can try to modify for your needs?... This post might just be for you."</div></blockquote>
<p>People all over the world decided to take him up on it. At first, only people with extensive computer programming knowledge would be able to do anything with that early Linux. These people started to offer their help. The version numbers of Linux were getting higher and higher. People began writing programs specifically to be run under Linux. Developers began writing drivers so different video cards, sound cards and other gadgets inside and outside your computer could use Linux. Nevertheless, throughout most of the early 90's Linux did not get out of the 'GURU' stage. For some reason, though, Linux hasn't yet completely shaken off that 'Gurus only' image that it took on at the beginning. That is mostly the result of articles in the popular, non-technical press written by people who have not kept up to date with recent versions of Linux. </p>
<p> </p>
<p>As mentioned before, Linux is in the UNIX family of operating systems. UNIX is primarily designed to be used by multiple users, and often professionals. You will have to learn some UNIX concepts, but that doesn't mean that Linux is a professionals-only operating system. Quite the contrary; Most major versions of Linux are designed to be as user-friendly and as easy to install as any other operating system on the market today.</p>
]]></description><guid isPermaLink="false">6392</guid><pubDate>Fri, 11 Jul 2003 15:56:21 +0000</pubDate></item><item><title>IM-10: Dual-Booting with Windows</title><link>https://mandrivausers.org/index.php?/topic/6389-im-10-dual-booting-with-windows/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="?showtopic=4453" rel="">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>IM-10: Dual-Booting with Windows</strong></p>
<p> </p>
<p>OK listen up: I have the best way to dual boot hands down. You'll have to reload windows, though, 'cause partition resizing causes poor performance ever after in windows. The sizes I mention are relative, here I am talking about an 80 gig drive. As my friend floyd pointed out, you can easily dual-boot if you have two drives - install windows on the first drive and linux on the second. The main focus of this how-to is partitioning a single drive so that people with one drive don't shy away from linux.</p>
<p> </p>
<p>Always read a tutorial before going through with the procedure. I recommend this because, for instance in Step 4, if you aren't sure how to do it, you're stuck half-way through the installation without a PC to read another How-To!!</p>
<p> </p>
<p><strong>Step 1</strong></p>
<p>Pop in the Windows cd. Reboot. Delete ALL partitions. Make a partition big enough for windows + apps, like 20GB. Make another HUGE one for keeping all your music, downloads, movies, pictures, etc... leaving enough free unpartitioned space for linux (say 20GB at the end of the drive).</p>
<p> </p>
<p><strong>Step 2</strong></p>
<p>Choose to install on the first part (20GB) as NTFS full format (not quick).</p>
<p> </p>
<p><strong>Step 3</strong></p>
<p>Boot into windows when done and select the HUGE partition and right click - format full as <strong>FAT32</strong>, NOT NTFS. This will now be writable in both OS's!! Great for listening to the same MP3s in either, etc.</p>
<p> </p>
<p><strong>Step 4</strong></p>
<p>Pop in mandrake (preferably the newest stable version) and reboot. Select the left over free space for / (or divvy it up for /, /usr, /home). Create another 800Mb partition for swap (on another harddrive if possible - You'll get a bit better performance / stability this way). </p>
<p><strong>Note:</strong> If you aren't sure how to partition your harddrive (or have no idea what I'm talking about) be <span style="text-decoration:underline;">sure</span> to read <a href="http://www.mandrakeusers.org/index.php?showtopic=6388" rel="external nofollow">this Filesystem Layout  Partitioning How-To</a>.</p>
<p> </p>
<p><strong>Step 5</strong></p>
<p>Be sure to install mandrake's boot loader to the MBR (master boot record). All done!</p>
<p> </p>
<p>A perfect system. Now if you EVER have to update/upgrade either OS, all your music, downloads, etc stay! Enjoy!</p>
<p> </p>
<p>I promise this system won't let you down. I say do it right the first time and enjoy everafter. Trust me - you'll want to upgrade both OSes eventually, and windows more often 'cause it always degrades slowly... </p>
<p> </p>
<p>In the case where you reload windows, it'll write over the boot record and boot straight into win. Don't be afraid, linux isn't gone. You just boot off the first mandrake disk, press F2 and type rescue. One option is repair the bootloader/MBR. Done!</p>
]]></description><guid isPermaLink="false">6389</guid><pubDate>Fri, 11 Jul 2003 15:02:29 +0000</pubDate></item><item><title>IM-09: Filesystem Layout  Partitioning</title><link>https://mandrivausers.org/index.php?/topic/6388-im-09-filesystem-layout-partitioning/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="?showtopic=4453" rel="">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>IM-09: Filesystem Layout  Partitioning</strong></p>
<p>by static</p>
<p> </p>
<p>Many people wonder how the harddrive should be partitioned at install time. This guide will help you understand the linux directory structure, how it corresponds to the filesystem layout, and help you make an educated decision for which filesystem types to use for the different partitions.</p>
<p> </p>
<p>Your filesystem is the base of your computer. It is a structure in which all your files are kept, ranging from files that run the operating system to files such as e-mails or mp3 music files. Rather than keep every file in one giant mess, they've been sorted out into groups of files that belong together and kept in directories, or "folders" as they're called in other operating systems. (Think of it this way, if you went fishing and caught a salmon, a pike, a bass, and a minow, you wouldn't want to keep them all in one tub, would you? Of course not! That would be insane! You want a different tub for each fish. The fish are the files, and the tubs are the directories.)</p>
<p> </p>
<p>Without going into too much detail, here's what you need to know to install linux.</p>
<p> </p>
<p><span style="color:#0000FF;">/</span> - Called the "root" (and that is why we usually write directory names preceeded with a / - it's the root of the filesystem. Not to be confused with the system administrative god, who's login name is also root!)</p>
<p> </p>
<p><span style="color:#0000FF;">/bin</span> - This isn't a bin for trash! This is where system binaries are kept. Binaries are executable files that you can run, and in this case they are for programs that run the operating system. This directory will </p>
<p> </p>
<p><span style="color:#0000FF;">/boot</span> - Where all the files necessary to boot the system are kept. If you choose to create a separate partition for this directory (explained below), it must be the first partition you create (i.e. at the forefront of the drive). It doesn't need to be larger than 20 megs or so.</p>
<p> </p>
<p><span style="color:#0000FF;">/dev</span> - All your devices, like CDROMs and floppy drives, are in here.</p>
<p> </p>
<p><span style="color:#0000FF;">/etc</span> - This is where the system configuration files are kept (the way the OS is setup, so to speak)</p>
<p> </p>
<p><span style="color:#0000FF;">/home</span> - This is where user's directories are created. For example, <span style="color:#0000FF;">/home/static</span> is where files for the user <strong>static</strong> are kept by default. </p>
<p> </p>
<p><span style="color:#0000FF;">/usr</span> - This is where general applications usually place their files.</p>
<p> </p>
<p> - <span style="color:#0000FF;">/usr/bin</span> - binaries for apps like office or games</p>
<p> - <span style="color:#0000FF;">/usr/etc</span> - configs setup for them</p>
<p> - <span style="color:#0000FF;">/usr/src</span> - source code for the apps </p>
<p> </p>
<p><span style="color:#0000FF;">/sexygirls</span> - I can't tell you what I keep in here (but I can tell you that they don't think I'm funny when I tell them I'd "give them access to my harddrive")</p>
<p> </p>
<p><span style="color:#0000FF;">/var</span> - If you're running a server, the files (like music or webpages) that you are serving other people on the internet would be contained in here.</p>
<p> </p>
<p>When installing linux, you have the option of dividing up the space on your hard drive into separate sections (or parts) called partitions. This can be handy, as it can improve the stability and security of your system. Here's an example:  Your operating system tends to begin operating poorly if it's running out of space. You could, therefore, take your 10 Gig harddrive and divide it into 2 partitions (let's say 5 gigs each to keep it simple); one for <span style="color:#0000FF;">/</span> and one for <span style="color:#0000FF;">/home</span>. Considering anything you download will end up in your home directory (<span style="color:#0000FF;">/home/joe</span> for example), if you try to download more than 5 gigs of that Amish dance music you like so much, you'll be told you're out of space; however, the operating system is still as happy as a pig in the mud, because his space hasn't been invaded by your gigs of Amish dance music.</p>
<p> </p>
<p>To take that example and apply it to your own linux installation, let's first consider a few things. First of all, downloading music won't be the only thing you'll want to do with your PC. You will want to install applications and games, and these get put into <span style="color:#0000FF;">/usr</span>. You should create separate partitions for the major directories so that you've got a safety net for the OS. This way, you have a partition for <span style="color:#0000FF;">/</span> (the OS), one for <span style="color:#0000FF;">/usr</span> (for applications and games like Klingon Wheel of Fortune), and one for <span style="color:#0000FF;">/home</span> (for the Amish dance music).</p>
<p> </p>
<p>Also, linux (like other OS's) uses <strong>Swap</strong> space - which is just used like imaginary RAM. The difference with linux is it likes to keep another partition solely for the Swap. Another OS, we'll call it "wino-dows", just uses a swapfile on the same partition as the OS. Note this can make things unstable, though, if the swapfile needs more space - but that space is already used up by the OS, the wino-dows version of Klingon Wheel of Fortune, and your Amish dance music! So, you see why multiple partitions is a very smart idea (thank you linux, thank you).</p>
<p> </p>
<p>So, when installing linux, you must decide how big to make these partitions. One of the most common partitioning practices is to have 4 partitions: <span style="color:#0000FF;">/</span>, Swap, <span style="color:#0000FF;">/usr</span>, and <span style="color:#0000FF;">/home</span>. With this sceme, use about a gig for <span style="color:#0000FF;">/</span>, twice your RAM for Swap, a third of what space is left over for <span style="color:#0000FF;">/usr</span>, and the rest for <span style="color:#0000FF;">/home</span>.</p>
<p> </p>
<p>I personally make <span style="color:#0000FF;">/usr</span> a little bigger though, because almost anything I put into <span style="color:#0000FF;">/home/static</span> I end up burning onto a CD or DVD anyway, and I'd like to have the extra space for installing apps and games.</p>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-username="Glitz" data-cite="Glitz" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="6388" data-ipsquote-contentclass="forums_Topic"><div>IMHO it's also good to spread the partitions over different hard drives.<p> </p>
<p>For example I have my swap partition on separate harddrive, and I noticed significant speed increase (especially while using VMware with WindowsXP), my hard disks don't "grind" so much anymore. Accessing two hard drives at the same time is much faster than accessing one (I think up to twice as fast).</p>
</div></blockquote>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-username="Afrosheen" data-cite="Afrosheen" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="6388" data-ipsquote-contentclass="forums_Topic"><div>I'll try to explain the filesystem types briefly.<p> </p>
<p>First I need to subdivide the fs types into two categories: journaling and non-journaling.</p>
<p> </p>
<p>Journaling filesystems include: xfs, jfs, reiserfs, and ext3. There might be one more but these are the major ones.</p>
<p> </p>
<p>Non-journaling filesystems include: ext2, swap. The swap is a special partition type so I don't know if it really counts or not, just threw it in for completeness. It IS, however, it's own fs type, whether you use reiser or whatever, swap is swap.</p>
<p> </p>
<p>The difference between journaling and non-journaling filesystems is that journaling fs's keep a log, or a journal, of bits written to the disk. This is also called a meta-data system, because in effect, data is stored bout the rest of the data on the disk. The benefit of keeping a log/journal of the rest of the info on the disk is for safety. Look at it this way:</p>
<p> </p>
<p>Newbie lets his server run all day and all night. Once in a while the power goes out and resets his computer. With a non-journaling fs like ext2 he may lose data and may experience filesystem corruption when the machine resets because the disk isn't properly finalized and unmounted safely. With a journaling filesystem, the filesystem compares the dates on the log with other info on the drive, replaying the log to repair/replace lost data. Did I mention it's really, really fast too? Ext2, in the event of a crash, forces fsck to run. Fsck is the filesystem checker utility that checks/repairs partitions much like scandisk on windows. Journaling filesystems don't require a fsck very often, if at all. They replay their logs and keep going.</p>
<p> </p>
<p>Now that you understand the benefits, let's examine the advantages/disadvantages of each journaling filesystem. You'd be wise to choose one based on what you need.</p>
<p></p>
<span style="font-size:19pt;line-height:100%;"><strong>Reiserfs</strong></span>:<br />A. <strong>Benefits</strong><br />1. A very efficient filesystem that journals metadata. It also uses very small blocks so it's even more efficient, because if a tiny text   file is just a few bytes, and there are many, they'll all get packed   into one block rather than written as separate blocks.   <br />2. Journals metadata. This can be considered a partially true journaling filesystem, because it's not redundant. A true journaling filesystem actually mirrors the data in a sense. Reiser does not.<br />3. Very fast with huge files. Because of the way it journals, it merely moves pointers in the log rather than physically moving gigantic (1gb or more) files. I'm not 100% sure about this but you can do your own research :smile:<br />4. Better than ext2 for the filesystem performance and journaling alone.<br />5. Large maximum file size. Ext2 is limited to 2gb, Reiser is limited to 4gb.<br /> <br />B. <strong>Disadvantages</strong><br />1. Not a true journaling filesystem, so it doesn't protect you 100% from losing data.<br />2. Not good with lots of medium-sized files.<br />3. Not 110% stable with older 2.4.x series kernels. Personally I have never had a problem with it but other people with other distros have.   <br />4. Not easy to recover data from like ext2, there just aren't any tools.<br /> <br /><span style="font-size:19pt;line-height:100%;"><strong>JFS</strong></span>:<br />A. <strong>Benefits</strong><br />1. A true journaling filesystem. Not only does it log but it more or less mirrors data (jounals).<br />2. Large filesize support. Again, ext2 can only handle a 2gb file, JFS can handle between 512 terabytes to 4 petabytes. That's a big file. :wink:<br />3. Developed and supported by IBM, used for many years across many systems and there are lots of server people familiar with it, but...<br /> <br />B. <strong>Disadvantages</strong><br />1. Although it's mature on other systems, some linux people believe it's still too cutting-edge. Not a great idea for a primetime server. Still needs work under linux.<br />2. While it's a true journaling FS, that journal comes at a price. Performance isn't as quick as Reiser or EXT2.<br /> <br /><span style="font-size:19pt;line-height:100%;"><strong>XFS</strong></span>:<br />A. <strong>Benefits</strong>   <br />1. Very, very fast. SGI has been using XFS on their IRIX boxes for years, and considering what they do for a living, they need filesystem speed above all else. This has made it popular for linux as well.<br />2. Very large files supported. Again, EXT2 is stuck with a 2gb limit while XFS can handle between 16-64 terabytes. Gigantic. In the future when linux adopts 64bit disk I/O, this number scales to over 1 million terabytes.<br />3. Dump/restore tools come with XFS and they work as expected.<br /> <br />B. <strong>Disadvantages</strong><br />1. Not a true journaling filesystem. Like Reiser, it sacrifices true journaling for speed. Not a bad tradeoff actually.<br />2. Some people believe SGI isn't serious about Open Source, or at least not as serious as IBM. Their motives are questionable at this point. Not really a disadvantage but support for XFS in the future may/may not continue.<br /><p></p>
<p> </p>
<p>I've used Reiser for a couple of years now and have grown to trust it and enjoy its' performance, even on crappy older computers. I've never experienced corruption like others have mentioned on the net so personally I recommend it. I've also used XFS and JFS, and I'm torn on which one to put above the rest. They're all pretty equal IMHO but I've used Reiser for the longest so I can testify to it's reliability.</p>
</div></blockquote>
<p> </p>
<p>I was reading Afro's great filesystem comparison but he didn't go into detail for ext3, the default (which is basically the old ext2 filesystem with journaling). This makes it a tiny bit slower than ext2, but it's rock solid, and hence the default choice. I use ext3 for the ultra important system partitions and the speedy Reiserfs for data partitions (like <span style="color:#0000FF;">/usr</span> and <span style="color:#0000FF;">/home</span>).</p>
<p> </p>
<p>Now you have enough knowledge to successfully and confidently install a linux distribution to your harddrive. We recommend Mandriva linux, of course!</p>
]]></description><guid isPermaLink="false">6388</guid><pubDate>Fri, 11 Jul 2003 14:44:04 +0000</pubDate></item><item><title>IM-08: What Linux software corresponds to Windows</title><link>https://mandrivausers.org/index.php?/topic/5742-im-08-what-linux-software-corresponds-to-windows/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="?showtopic=4453" rel="">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>IM-08: What Linux software corresponds to Windows software? </strong></p>
<p> </p>
<p>This question often arises for new users who come from the Microsoft Windows world. They would like to find software that is similar in functionality to their accustomed Windows software.</p>
<p> </p>
<p>There are many linux software products to choose from when looking for equivalent software. </p>
<p> </p>
<p>Check this <a href="http://linuxshop.ru/linuxbegin/win-lin-soft-en/table.shtml" rel="external nofollow">link</a> for a table of equivalent software.</p>
<p> </p>
<p>You may also want to look on <a href="http://www.freshmeat.net" rel="external nofollow">Freshmeat</a> or <a href="http://www.sourceforge.net" rel="external nofollow">SourceForge</a> for software based on keywords.</p>
<p> </p>
<p>Finally, you can learn to master <a href="http://www.winehq.com" rel="external nofollow">Wine</a>. Wine is an emulator that actually allows you to run original windows software under Linux. However, this can be touch and go in terms of success.</p>
]]></description><guid isPermaLink="false">5742</guid><pubDate>Wed, 11 Jun 2003 02:53:06 +0000</pubDate></item><item><title>BQ-03 : I need a language translator!</title><link>https://mandrivausers.org/index.php?/topic/5604-bq-03-i-need-a-language-translator/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrivausers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrivausers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrivausers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrivausers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrivausers.org/index.php?showtopic=4464" rel="external nofollow">BQ: Board Questions</a>]</p>
<p> </p>
<p><strong>BQ-03 : I need a language translator! </strong></p>
<p> </p>
<p>The following board members have volunteered their help with translating. Please contact one of them by sending him/her a <strong>PM</strong> (private message) or contact a Moderator or Site Admin for further help.</p>
<p> </p>
<p>If you wish to add your name and translating skills to this list, please post in <a href="https://mandrivausers.org/index.php?showtopic=20633&amp;view=findpost&amp;p=156072" rel="external nofollow">this thread</a>.</p>
<p> </p>
<p></p>
<ul><li>
<strong>FranÃ§ais/French</strong><br /></li></ul><a href="http://www.MandrivaUsers.org/index.php?showuser=74" rel="external nofollow">theYinYeti</a> [<a href="http://www.MandrivaUsers.org/index.php?act=Msg&amp;CODE=04&amp;MID=74" rel="external nofollow"><strong>PM</strong></a>]<br /> <br /><strong>Deutsch/German</strong><br /><a href="http://www.mandrivausers.org/index.php?showuser=5267" rel="external nofollow">arctic</a> [<a href="https://mandrivausers.org/index.php?act=Msg&amp;CODE=04&amp;MID=5267" rel="external nofollow"><strong>PM</strong></a>]<br /> <br /><strong>EspaÃ±ol/Spanish</strong><br /><a href="http://www.mandrivausers.org/index.php?showuser=5267" rel="external nofollow">arctic</a> [<a href="https://mandrivausers.org/index.php?act=Msg&amp;CODE=04&amp;MID=5267" rel="external nofollow"><strong>PM</strong></a>]<br /> <br /><strong>Danish</strong><br /><a href="http://www.MandrivaUsers.org/index.php?showuser=6673" rel="external nofollow">Artificial Intelligence</a> [<a href="http://www.MandrivaUsers.org/index.php?act=Msg&amp;CODE=04&amp;MID=6673" rel="external nofollow"><strong>PM</strong></a>]<br /> <br /><strong>Polish</strong><br /><a href="http://www.MandrivaUsers.org/index.php?showuser=10327" rel="external nofollow">ianw1974</a> [<a href="http://www.MandrivaUsers.org/index.php?act=Msg&amp;CODE=04&amp;MID=10327" rel="external nofollow"><strong>PM</strong></a>]<br /> <br /><strong>Russian</strong><br /><a href="http://www.MandrivaUsers.org/index.php?showuser=10930" rel="external nofollow">ilia_kr</a> [<a href="http://www.MandrivaUsers.org/index.php?act=Msg&amp;CODE=04&amp;MID=10930" rel="external nofollow"><strong>PM</strong></a>]<br /> <br /><strong>Hebrew</strong><br /><a href="http://www.MandrivaUsers.org/index.php?showuser=10930" rel="external nofollow">ilia_kr</a> [<a href="http://www.MandrivaUsers.org/index.php?act=Msg&amp;CODE=04&amp;MID=10930" rel="external nofollow"><strong>PM</strong></a>]<br /> <br /><strong>Japanese/Nihongo</strong><br /><a href="http://www.MandrivaUsers.org/index.php?showuser=2475" rel="external nofollow">alexpank</a> [<a href="http://www.MandrivaUsers.org/index.php?act=Msg&amp;CODE=04&amp;MID=2475" rel="external nofollow"><strong>PM</strong></a>]<br /><p></p>
<p> </p>
<p>-------------------------------------------------------------------------------------------------------------------</p>
<p>Anyone who has not logged in for 6 months is removed from this list.</p>
<p>Last pruned: 12 July 2010</p>
]]></description><guid isPermaLink="false">5604</guid><pubDate>Thu, 05 Jun 2003 05:54:19 +0000</pubDate></item><item><title>IM-06: read and write permission on Windows partition</title><link>https://mandrivausers.org/index.php?/topic/4960-im-06-read-and-write-permission-on-windows-partition/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4460" rel="external nofollow">IM: Installing and Configuring Mandrake</a>]</p>
<p> </p>
<p><strong>IM-06: read and write permission on Windows partition</strong></p>
<p> </p>
<p>As you probably know, there are two filesystems commonly used on Windows: Fat32 and NTFS.  The first part of this FAQ covers Fat32 problems only.  See the second part for information on NTFS support.</p>
<p> </p>
<p>I use VI to edit files via the command lines.  <a href="http://www.mandrakeusers.org/index.php?showtopic=4473" rel="external nofollow">  HERE is what you have to know about VI</a>.</p>
<p> </p>
<p>Open a console, login as root and edit <strong>/etc/fstab</strong>. Look at the line where your Windows filesystem is.  That should be something like this</p>
<p></p>
<pre class="ipsCode">/dev/hda5  /mnt/win_c  vfat  defaults  0 0</pre>
<div></div>
<p></p>
<p>Now modify the above line so that it look like this one (ie, add <strong>umask=0,quiet</strong> after <strong>defaults</strong>)</p>
<p></p>
<pre class="ipsCode">/dev/hda5  /mnt/win_c  vfat  defaults,umask=0,quiet  0 0</pre>
<div></div>
<p></p>
<p>Now save and quit the file.  Finally, remount (umount and mount the partition) by typing</p>
<p></p>
<pre class="ipsCode">umount /mnt/win_c

mount /mnt/win_c</pre>
<div></div>
<p></p>
<p>If you get <strong>umount: /mnt/win_c: device is busy</strong>, check at XMMS or Konqueror.  Something is within /mnt/win_c and prevents you to umount the partition[1].  If that worked, you should now have read and write access by all users.</p>
<p> </p>
<p>Note that you can organise your /etc/fstab file so that it look like <a href="http://www.mandrakeusers.org/index.php?showtopic=5429" rel="external nofollow">THIS</a> one (user Cannonfodder).  You can put spaces between each line.  The ONLY thing that matters is the order of things within one line.  The order is</p>
<p> </p>
<p># &lt;fs&gt;  &lt;mountpoint&gt;  &lt;type&gt;  &lt;opts&gt;  &lt;dump&gt; &lt;fsck&gt;</p>
<p> </p>
<p>Look at 'man mount' and 'man fstab' for further details about that.</p>
<p> </p>
<p>Reference:</p>
<p>man mount</p>
<p>man fstab</p>
<p> </p>
<p>[1] More info about solving that particular problem at: '<a href="http://www.mandrakeusers.org/index.php?showtopic=4990" rel="external nofollow">IM-07</a>: Umount says "device is busy"'</p>
]]></description><guid isPermaLink="false">4960</guid><pubDate>Tue, 06 May 2003 00:54:02 +0000</pubDate></item><item><title>TR-01: How to kill programs without killing linux</title><link>https://mandrivausers.org/index.php?/topic/5144-tr-01-how-to-kill-programs-without-killing-linux/</link><description><![CDATA[
<p><strong>Browse:</strong> [<a href="http://www.mandrakeusers.org/index.php?showtopic=4453" rel="external nofollow">About the FAQ Forum</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4452" rel="external nofollow">Table of Contents</a>] [<a href="http://www.mandrakeusers.org/index.php?showforum=29" rel="external nofollow">FAQs</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4470" rel="external nofollow">Contribute</a>] [<a href="http://www.mandrakeusers.org/index.php?showtopic=4456" rel="external nofollow">GQ: General Questions not covered in the other sections</a>]</p>
<p> </p>
<p><strong>TR-01: How to kill programs without killing linux</strong></p>
<p> </p>
<p>I'm sure many of you have heard that "linux is more stable than windows" but are somewhat surprised when that odd program takes over and you have no recourse but to hit the reset button. Well I'm hear to tell you that that reset button may not be necessary. </p>
<p>There are many ways to end errant programs without killing linux (reset switch) which many times will run perfectly once that program is dealt with.</p>
<p>I'll start with X (XFree86 Windowing System which provides the GUI) and work my way down to the console methods.</p>
<p> </p>
<p><span style="color:#FF0000;">::X gonna give it to ya::</span></p>
<p>If you use KDE and you experience problems with a program which doesn't want to close (in spite of you pressing the close button) you first recourse is something provided by KDE.</p>
<p>1. If you press <span>Ctrl+Alt+Esc</span>-clicking on a window will also get rid of the skull.</p>
<p>2.I've found this method to be quick but rather messy at times as the program is still using up resources. You can open KDE System Guard from the menu <span style="color:#008000;">Kmenu -&gt; Applications -&gt; Monitoring -&gt; KDE System Guard</span> button to see the updated list of applications. </p>
<p>There may be more than one of the programs with the same name listed. Instead of clicking on them all you can choose the Tree view to kill the top-most (parent) application which will then kill the rest. The Tree view is obtained by clicking on the box next to <span style="color:#0000FF;">Tree</span>.</p>
<p>You can also sort programs by there memory usage which is especially useful if you don't know a program's name. Programs that have gone bad will usually use a lot of memory and show up at the top when sorted under <span style="color:#0000FF;">User%</span>. You can then select this program and kill it. This is good if it is a child process which has frozen and not a parent (with other children who are ok).</p>
<p>3. There is also the option of using XKill which is provided in the default Mandrake installation under <span style="color:#008000;">Kmenu -&gt; Applications -&gt; Monitoring -&gt; Xkill</span>-clicking anywhere on the desktop.</p>
<p>4. There is also a <span>kill</span>-clicking on the window decoration.</p>
<p>5. If an application is using up so much resources that your PC is too slow for you to bring up the menu or wait for KDE System Guard then there is always the <span>Ctrl+Alt+Backspace</span> combo which will kill X itself.</p>
<p> </p>
<p><span style="color:#FF0000;">::Killing a la Console::</span></p>
<p>You can also kill apps from the console using the <span style="color:#008000;">kill</span> commands.</p>
<p>1. To kill programs using the <span style="color:#008000;">kill</span> where username is your user name (since, unless you are root, you cannot kill other users' programs).</p>
<p>2. The <span style="color:#008000;">killall</span></p>
<p>3. I also use <span style="color:#008000;">top</span> to kill the program. If it's still alive after that I repeat, only this time i use 9 as the signal. Occasionally signal 9 doesn't work and I've always wondered why.</p>
<p>*<span>[3]</span> Why can't I kill a process with -9? </p>
<p> </p>
<p>    One of the early things people learn about Unix is that a "kill -9" is </p>
<p>    invincible- that a process must die if you send it a KILL (-9). </p>
<p>    However, that's not entirely true: </p>
<p>      </p>
<ul><li>A process can be sleeping in kernel code. Usually that's because <br />        of faulty hardware or a badly written driver- or maybe a little of <br />        both. A device that isn't set to the interrupt the driver thinks <br />        it is can cause this, for example- the driver is waiting for <br />        something its never going to get. The process doesn't ignore your <br />        signal- it just never gets it.<br /> <br /></li>
<li>A zombie process doesn't react to signals because it's not really <br />        a process at all- it's just what's left over after it died. What's <br />        supposed to happen is that its parent process was to issue a <br />        "wait()" to collect the information about its exit. If the parent <br />        doesn't (programming error or just bad programming), you get a <br />        zombie. The zombie will go away if it's parent dies- it will be <br />        "adopted" by init which will do the wait()- so if you see one <br />        hanging about, check its parent; if it is init, it will be gone <br />        soon, if not the only recourse is to kill the parent..which you <br />        may or may not want to do. <br /> <br /></li>
<li> Finally, a process that is being traced (by a debugger, for <br />        example) won't react to the KILL either.<br /></li>
</ul><p>       </p>
<p>    See SCO TA 104438 for more details.</p>
<p> </p>
<p><span style="color:#FF0000;">::Terminal Death::</span></p>
<p>Before you ask no this isn't the same thing as the previous section. I can see that some clarification is necessary so I'll explain. In the context that I'm using it the console is what you use when you log in without X (i.e. that big black screen asking you to log in). The terminal on the other hand is what you use inside of X when using konsole or Eterm, etc. (Any *n*x gurus out there who know better feel free to correct my terminology :D).</p>
<p>First off, you can use all the methods used in <span style="color:#FF0000;">Killing a la Console</span> commands need to be done as root. </p>
<p>1. In case of a total freeze as oppose to intense system slowdown it may be time for the <a href="http://www.mandrakeusers.org/viewtopic.php?t=4496" rel="external nofollow">Alt+SysRq</a> sequences. </p>
<p>2. If only X has frozen (usually you can only move the mouse) you can get away with not doing all the SySRq sequences. This works for me </p>
<ul><li>At this point X sometimes dies a horrible, painful death. If not The next one is sure to do the job and always drops me to a console <br /> <br /></li>
<li>
<span>Alt+SysRq+I</span>.<br /> <br /></li>
<li>While doing some research i also found that <span>Alt+SysRq+K</span> fails this should work.<br /> <br /></li>
<li>When i get to the console all i do is login as root then <span style="color:#008000;">init 1</span><br />Whew, well that's it. Happy exterminating.<br /></li>
</ul><p><span>::References::</span></p>
<p> </p>
<p><span>[1]</span>Information provided by paul</p>
<p><span>[2]</span>Provided by tyme</p>
]]></description><guid isPermaLink="false">5144</guid><pubDate>Wed, 14 May 2003 22:21:58 +0000</pubDate></item></channel></rss>
