Slack book Chinese Translation

Source: Internet
Author: User
Tags linux

Objective

The Slackware Linux operating system is a powerful platform on the Intel architecture computer. It is designed to be stable, secure, and as a high-end server and a powerful workstation.

The purpose of this book is to guide how you start using the Slackware Linux operating system. This does not mean that the simple mask covers all the details of the release, but rather shows what it can do and tells you the basics of how to operate the system. After you have the experience of Slackware Linux, we hope you can use this book as a reference at hand. We also want you to lend this book to your friends when they ask, "You're running a cool Slackware Linux OS."

While this book may not be a novel of your taste, we will try to make it as interesting as possible. With luck, we may have a movie theme, and of course we want you to learn something from it and find it useful.

OK, see below.

The conventions used in the book

This book was written in SGML using the DocBook 4.0 DTD. Therefore, we use the built-in DocBook element to represent the file reference, the command reference, and the file content reference. This provides a unified form for all aspects of the book. You need to familiarize yourself with some of our conventions before you go on.

Any time we mention that you want to run a command, it will look like this:

command

On rare occasions, a command may exceed the length of a line in the book. When that happens, we wrap the command to the next line and use a backslash to indicate that the command continues. This is an example from later in the book:

ifconfig eth0 192.168.1.10 broadast 192.168.1.255 \
netmask 255.255.255.0

File names and directories will be mentioned throughout the book. They will look like this:

filename
directory

The contents of the command output and configuration files for many screens are also used in the book. They will appear in this form:

command output

Many times when we list the commands that you will run, we will display them as a sample command character. When a command needs to run as a normal user, we will display the dollar character ($) as the command prompt. When a command needs to run as the root user, we will display the well number (#) as the command prompt.

Network hardware

Just like using a computer to do most of the other interesting things, you have to use some special hardware to connect your computer to the network.

You need a NIC (Network Interface card) to connect to a LAN, or a modem to connect to an Internet provider, or you need both (and maybe a few or even no).

For the purpose of configuration, we divide the hardware into two categories: PCMCIA (family-specific) and non-PCMCIA. There is a reason to use this asymmetric classification, because the current release of the kernel does not support PCMCIA, you can only support it through a separate package (such as a kernel module), which contains the necessary drivers and some configuration management software. Other hardware can be directly supported by the published kernel.

Netmods

The kernel-supported network device driver is in the Netmods package (slackware/n3/netmods.tgz). If you don't have the package installed, you should put it on now. (See chapter 16th for installation of packages)

The kernel modules to be loaded at boot time are stored in the Rc.modules in the/ETC/RC.D directory. The default Rc.modules file contains a "Network Device support" section. If you open this file to see this part, you will find that the code first checks the Rc.netdevice file under/ETC/RC.D. If Setup successfully detects your network device during the installation process, the file will be created. Generally if it exists, then you are likely not to read this content (hehe, there is no paradox of the feeling?) Instead, keep reading.

Below that "if" block is a series of network devices and Modprobe commands, but each is commented out. Locate your device, then remove the corresponding modprobe annotation, and save the file at the end. Now running Rc.modules with root will load the driver of your network device (and, of course, other modules that are not commented out). Note that some modules (such as ne2000 drivers) require parameters, and you must select the line with the correct parameters.

PCMCIA Network Devices

PCMCIA network devices should be simpler than other devices. First you must ensure that the PCMCIA package (SLACKWARE/ALL/PCMCIA.TGZ) is installed. (Refer to Chapter 16th for installation.) During installation, the PCMCIA package creates a Rc.pcmcia file under/etc/rc.d, creates a/etc/pcmcia directory, and installs the driver to the/lib/modules//pcmcia directory. The PCMCIA package is cool in that it automatically detects the insertion and unloading of the device. You should be able to hear the system "drip" when inserting the device, indicating that the required module is loaded. If you uninstall the device, the corresponding module will also be automatically released.

Unfortunately, if you compile a new version of the kernel, you'll probably need to recompile the PCMCIA-CS to update the drivers. Of course, the source code is included, and in the Source/a/pcmcia directory there are source code, scripts, and related help documents.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.