Command:
IP address, subnet mask, Gateway
Ifconfig eth0 192.168.0.123 netmask 255.255.255.0Route add default GW 192.168.0.1
DNS
VI/etc/resolv. conf
Add nameserver 202.106.0.20
This configuration does not take effect
Ask your boss, younger brother, who has just started to access the kernel. Now he is looking at the implementation of VLAN in Linux.
1. Where can I find information about VLAN implementation?All the information I have here is about bridge. I have
Virtual Memory (SWAP)
Virtual Memory is to plan the hard disk out of a zone.So that the memory data can be read through the hard disk. Create and expand swap:
LCreate a virtual memory device
The first formal method is to "directly add a hard disk
Service OverviewIn a Linux operating system, you often need to create some services which are made into shell scripts. These services must be automatically started when the system starts and closed.In the/etc/rc. d/init. d directory of the script to
In Linux, some common shutdown/restart Commands include shutdown, halt, reboot, and init. They can all restart the system, but the internal working process of each command is different.
I. Common commands
Restart command1. Reboot2. shutdown-R now
System# Uname-A # view kernel/operating system/CPU Information
# Head-N 1/etc/issue # view the operating system version
# Cat/proc/cpuinfo # view CPU Information
# Hostname # view the computer name
# Lspci-TV # list all PCI devices
# Lsusb-TV # list
Linux Startup Process Overview
I.Bootloader II.KernelGuide entryIii. Core Data Structure initialization-kernel boot Part 1Iv. Peripheral initialization-kernel boot Part 2V. INIT process and inittab boot commandVi. RC Startup Script7. Getty and
Each character device in the kernel corresponds to a variable in the cdev structure. Its definition is as follows:
Linux-2.6.22/include/Linux/cdev. hstruct cdev {struct kobject kobj; // each cdev is a kobject struct module * owner; // point to the
Work queue
[Overview]
A work queue is a form of pushing and executing jobs. A work queue can push jobs to a kernel thread for execution. It has all the advantages of the process context and allows rescheduling and sleep.
[Work queue implementation]
Basic knowledge and implementation of Linux Processes
I learned about Linux Process programming in the last week, and I will summarize it as follows.
In the first part, we first introduce the basic concepts of processes and how to implement real
How to obtain system information through programs in Linux
Recently, I was working on a project to dynamically obtain the hardware information of the device in the program. I have struggled for a long time. Today, I suddenly found that API functions
10. Platform
10.1 Overview
L a real Linux Device and driver usually need to be mounted on a bus. This is naturally not a problem for devices that are attached to PCI, USB, IIC, SPI, etc, however, in an embedded system, an independent peripheral
Many tools are used to configure and compile the kernel. Here, we will only introduce several key tools. For more information, see the relevant manual.
Make Make is a programming language that helps compile large-scale software projects to automate
710 is required. Back up the data first.
OriginalHttp://www.desktoplinux.com/articles/AT2280165098.html
Http://tldp.org/HOWTO/Linux-Complete-Backup-and-Recovery-HOWTO/index.html
To sum up
File to be backed up:
Personal Documents: generally stored
Method 1: mount a file in Linux
The software disks downloaded from the Internet are in ISO format and can be read without being engraved into a CD. You do not need to decompress the package.
Run the Mount-o loop/mnt/*/1.iso/mnt/CDROM
From: http://bbs.chinaunix.net/forum.php? MoD = viewthread & tid = 1967512.
Detailed description of ioctl function parametersIoctl functionThis function affects an open file referenced by the FD parameter.# IncludeInt IOCTL (int fd, int request,.../
The arm11 Development Board arrived yesterday. You need to verify the functions first. In the past, fs2410 was used with minicom + usb2ram, which is more powerful than dnw in windows. Because minicom supports color display, there will be no garbled
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed.And collect shell settings from the configuration file in the/etc/profile. d directory./Etc/bashrc:
The input subsystem is the middle layer driven by all I/O devices. How can I provide interfaces for various input devices in the lower layer and a unified interface for the upper layer?
According to the kernel code, there are two linked lists in the
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