现在的位置: 首页 > 综合 > 正文

ubuntu网卡配置

2013年09月03日 ⁄ 综合 ⁄ 共 507字 ⁄ 字号 评论关闭

####################################配置本地连接###############################

/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

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

http://blog.csdn.net/ermuzhi/article/details/8006310

抱歉!评论已关闭.