linux telnet登陆慢问题
更改/etc/resolv.conf文件
如果你的linux主机只是在局域网内工作,请将nameserver地址改为网卡本身的地址。
例:
# vi /etc/resolv.conf
nameserver 192.168.0.160
search site
然后重启网卡
suselinux:~ # ifconfig eth0 down
suselinux:~ # ifconfig eth0 up
相关文档:
一 、Linux文件结构
文件结构是文件存放在磁盘等存贮设备上的组织方法。主要体现在对文件和目录的组织上。
目录提供了管理文件的一个方便而有效的途径。
Linux使用标准的目录结构,在安装的时候,安装程序就已经为用户创建了文件系统和完整而固定的目录组成形式,并指定了每个目录的作用和其中的文件 ......
Purpose
This examples shows how to create and stop a kernel thread.
The driver is implemented as a loadable module. In the init_module() routine five kernel threads are created. This kernel threads sleep one second, wake up, print a message and fall asleep again. On unload of the module (cle ......
debian lenny , my favorite
a. vim /etc/sysctl.conf:
modify net.ipv4.ip_forward = 1
b. flush route table:
iptables -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
c. open NAT services:
&nb ......