Options in the ifconfig command:
1) Up: Used to activate the interface
For example, ifconfig eth0 up will activate eth0
2) Down: opposite to up
Ifconfig eth0 down
3) netmask [ADDR]: sets the network mask for the interface.
For example,
Embedded Linux implementation of tinyxml
These two days, the project needs to implement tinyxml parsing simple XML files on the embedded Linux system, so I searched for and collected some information on the Internet, and now I have supplemented it!
I. Overview
The first thing to note is that each time the kernel reads and writes data, the Unit is a logical block, that is, 1024b, and the block device controller is a sector (512b.
Read/write operations on hard disks are interruptedProgramThe
Modify Linux time zone
1. view the current time zone
# Vi/etc/sysconfig/clock
Linux system time modification
2. Modify the time zone
Method (1)
# Tzselect
Method (2 Limited to RedHat Linux and centos)
# Timeconfig
3. Copy the corresponding
Linux TCP system parameter configuration
Here we apply centos5.3, and the kernel uses 2.6.18-128. el5pae #1 SMP. Some of the modifications to TCP are aimed at improving performance and load, but there is a risk of reducing stability. Some are
Starship is the best electronic dictionary in Linux. It has strong functions such as "wildcard matching", "constituency word", and "fuzzy query. This article describes how to install the main program dictionary.Wang's dictionary translated by
It took several days to compile kernel2.6.7 successfully. The process was really difficult! "Now I can finally enjoy it for a while. many of my friends know little about the operation sequence and some important configurations or are unknown. in
AbstractThe characteristics of an embedded system determine its specific functions, rather than being a general computer system. To develop embedded products based on the Linux operating system, you must customize the Startup Program.
Source: http://hi.baidu.com/guccang/item/9205cbe25c3a1c03570f1dfb
I. Local Environment: ubuntu64-bit Operating System
Uname-A Query
Operating System: Ubuntu 64-bit Operating System
Cross Compiler: arm-linux-gcc-4.4.3
Google protobuf:
Relationship between applications and library functions, kernels, and drivers
Applications, libraries, kernels, and drivers: the application calls the application function library to complete the function, the application accesses various resources
Two common errors:1. The following problems occur during module insertion:
# Insmod globalmem. Ko insmod: Error inserting 'globalmem. ko':-1 device or resource busy
Answer: The master device number is in use. Change the macro definition in the
Brother Lang called me last night and said that he opened the result file with garbled characters and asked me if I didn't handle the character encoding. Early in the morning to the lab, ask the next classmate, only to know the Linux Shell
After learning some basic knowledge of 9260, we will make some preparations for porting the kernel to the terminal.
Working environment: XP + Virtual Machine ubuntu9.10;
Kernel version: linux-2.6.27 + latest patch
Use Putty to Generate Keys and log onAccording to the principle of public key authentication (see the description below), either party can make the key pair, and the authentication can be successful as long as the authenticated party has the public
How to Use the Linux Command dhclient
The Internet Systems Consortium DHCP Client, dhclient, provides a means for processing ing one or more network interfaces using the Dynamic Host Configuration Protocol, BOOTP protocol, or if these protocols fail,
1. Solution AnalysisWhen arm-Linux is started, a small penguin pattern of armlinux is displayed in the upper left corner of the LCD, which is what we call the bootlogo.First, analyze the logo display code:It is not difficult to find that the logo
The waiting queue of Linux kernel is based on the double-loop linked list and closely integrates with the process scheduling mechanism to implement the core asynchronous event notification mechanism.
There are two data structures in this linked list:
[Recv/recvfrom/recvmsg System Call] function description:
Receives a message from a socket. For recvfrom and recvmsg, it can be applied to connection-oriented and connectionless sockets at the same time. Generally, Recv is only used in
The full text of this article is reproduced at http://blog.csdn.net/dog250/article/details/6243276.
I have not studied other architectures in depth, but many of us know about x86. Its memory can support 4 GB (PAE is not considered), because the
I have always wanted to write an article about VPN configuration. Due to time and many other problems, I have never implemented it. Now I have finally met you, due to my limited knowledge, I am not specialized in this aspect of work, it is
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