红联Linux门户
Linux帮助

在ubuntu中使用动态IP

发布时间:2007-01-07 16:02:29来源:红联作者:Tranxrootslaon
  在ubuntu中使用动态IP?(如果你是使用路由器共享上网的话,这个maybe对你有帮助)

  su到root ,cd到/etc/network,找到interfaces文件,gedit interfaces或者vi interfaces(如果你熟悉vi的话),添加如下两行:auto eth0;iface eth0 inet dhcp;保存退出,重启networking服务:以root在终端输入/etc/init.d/networking restart,貌似就可以了!
文章评论

共有 0 条评论