您的位置:首页 > 其它

ubuntu网卡配置

2012-08-22 22:50 211 查看
####################################配置本地连接###############################

/etc/network/interfaces

auto lo

iface lo inet loopback

auto eth0

iface eth0 inet static //静态网址

#iface eth0 inet dhcp //动态网址

#pre-up ifconfig eth0 hw ether AA:AA:AA:AA:AA:AA //mac值

address 192.168.1.218

netmask 255.255.255.0

gateway 192.168.1.1 //网关

====================================================================================

/etc/resolv.conf

nameserver 192.168.1.1 //dns





下面的网址是配置宽带连接,和无线网路的

/article/2612399.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: