Linux学习笔记--网络

网卡驱动位置

/lib/modules/2.6.18-194.e15/kernel/drivers/net/

配置文件

/etc/modprobe.conf

alias eth1 8139too

modprobe 8139too

设置ip地址

ifconfig eth1 192.168.1.1

ifconfig eth0 down/up

ip ad sh

网络命令

mtr

dig | nslookup

namp -sS -P0 -O 192.168.1.1  -p 1-65535 扫描端口

dhclient -s DHCPSERVER

posted @ 2012-08-24 14:19  周书记  阅读(123)  评论(0)    收藏  举报