你好,游客 登录 注册 搜索
背景:
阅读新闻

教你一招 自动激活网卡以及开机自动拨号上网

[日期:2007-06-01] 来源:Linux公社  作者:Linux [字体:大 中 小]
  在终端中输入

      sudo pppoeconf

  设置完宽带上网后——

  问 题:系统启动的时候网卡都没自动激活,每次都要到 系统--联网 —-激活eth0...

  解决方案:看看/etc/network/interfaces是不是像这样的:

     # This file describes the network interfaces available on your system
     # and how to activate them. For more information, see interfaces(5).

     # The loopback network interface
     auto lo
     iface lo inet loopback

     # This is a list of hotpluggable network interfaces.
     # They will be activated automatically by the hotplug subsystem.
     mapping hotplug
     script grep
     map eth0

     # The primary network interface
     iface eth0 inet dhcp
     --
  把/etc/network/interfaces文件末尾多的一条命令那行去掉,我的是多了这么一行:

     pre-up /sbin/ifconfig eth0 up
     # line maintained by pppoeconf

  删掉之后系统就能自动激活eth0了。

  然后再在终端里输入:

     sudo ln -s /etc/ppp/pppoe_on_boot /etc/ppp/ppp_on_boot

  pppoeconf也能自动拨号了。linux
相关资讯       自动激活网卡  开机自动拨号上网 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款