ÅäÖÃRedHat Linux 5 DNS½âÎö
1¡¢vi /etc/resolv.conf
Ôö¼ÓÒÔÏÂÄÚÈÝ£º
nameserver DNSserver_ip_address1
nameserver
DNSserver_ip_address2
ÈçÏ£º
[root@REDHATAS5 /]# cat /etc/resolv.conf
nameserver 192.168.88.1
2¡¢²âÊÔDNSÊÇ·ñÉúЧ
[root@Develop-Server ~]# nslookup www.baidu.com
Server: 192.168.88.1
Address: 192.168.88.1#53
Non-authoritative answer:
www.baidu.com canonical name = www.a.shifen.com.
Name: www.a.shifen.com
Address: 119.75.217.56
Name: www.a.shifen.com
Address: 119.75.218.45
Ïà¹ØÎĵµ£º
#include <stdio.h>
#include <sys/select.h>
#include <termios.h>
#include <unistd.h>
#include <ctype.h>
#define STDIN 0
int main()
{
struct timeval tv = {0,0};
struct termios term , termbak;
& ......
´ó²¿·ÖÈËÓÃpingÃüÁîÖ»ÊÇ×÷Ϊ²é¿´ÁíÒ»¸öϵͳµÄÍøÂçÁ¬½ÓÊÇ·ñÕý³£µÄÒ»ÖÖ¼òµ¥·½·¨¡£ÔÚÕâÆªÎÄÕÂÖУ¬×÷Õß½«½éÉÜÈçºÎÓÃCÓïÑÔ±àдһ¸öÄ£ÄâpingÃüÁÄܵijÌÐò¡£
pingÃüÁîÊÇÓÃÀ´²é¿´ÍøÂçÉÏÁíÒ»¸öÖ÷»úϵͳµÄÍøÂçÁ¬½ÓÊÇ·ñÕý³£µÄÒ»¸ö¹¤¾ß¡£pingÃüÁîµÄ¹¤×÷ÔÀíÊÇ£ºÏòÍøÂçÉϵÄÁíÒ»¸öÖ÷»úϵͳ·¢ËÍICMP±¨ÎÄ£¬Èç¹ûÖ¸¶¨ÏµÍ³µÃµ½Á˱¨ÎÄ£ ......
dnw in linux
Use xterm as a serial terminal. In Fedora 9
use "yum install screen" to install screen package.
Plug the USB-UART cable, see if there is a ttyUSB0 in /dev
Enter "screen /dev/ttyUSB0 115200,cs8,-ixon,-ixon,istrip" to connect to USB-UART.
Screen as Serial Terminal
Download the ......
================================================================================
=Linux²é¿´Ó²¼þÐÅÏ¢¼°Çý¶¯É豸Ïà¹ØÕûÀí=
============ ......
redhat9ϰ²×°VMware Tools
ÏÂÃæÊǰ²×°²½Öè:
1.Æô¶¯Rad Hat 9.0(ͼÐνçÃæ·½Ê½µÇ½)£¬²¢ÇÒÒÔ¹ÜÀíÔ±µÄÉí·ÝµÇ½¡£
2.ÔÚVMwareÐéÄâ»úµÄ²Ëµ¥Öеã»÷£ºÐéÄâ»ú->°²×°VMware ¹¤¾ß->install¡£
3.Red Hat 9.0×Ô¶¯¹ÒÔØVMware ToolsµÄÐéÄâ¹âÇý,²¢ÏÔʾÔÚ×ÀÃæ¡£
4.½øÈ¥VMware ToolsµÄÐéÄâ¹âÇýÀ°ÑVMwareTools-5.5.1-19175.tar ......