wengduke 2019-07-15 12:22 采纳率: 0%
浏览 371
已结题

debian8 的网卡只能手动激活,不能自动激活。

debian8 系统,网卡不能自动启动。

/etc/network/interfaces的配置也对:

auto lo

iface lo inet loopback

auto eth0

iface eth0 inet static

address 192.168.1.188

netmask 255.255.255.0

gateway 192.168.1.2

使用systemctl status networking.service 查看网卡服务状态时,显示:

7月 15 12:08:01 hnhnlp1 networking[2636]: process and the information we find helpful for debugging..

7月 15 12:08:01 hnhnlp1 networking[2636]: exiting.

7月 15 12:08:01 hnhnlp1 networking[2636]: Failed to bring up eth0.

7月 15 12:08:01 hnhnlp1 networking[2636]: RTNETLINK answers: Operation not permitted

7月 15 12:08:01 hnhnlp1 networking[2636]: Failed to bring up eth1.

7月 15 12:08:01 hnhnlp1 networking[2636]: RTNETLINK answers: Operation not permitted

7月 15 12:08:01 hnhnlp1 networking[2636]: Failed to bring up eth2.

7月 15 12:08:01 hnhnlp1 networking[2636]: /etc/network/if-up.d/mountnfs: 17: /etc/network/if-up.d/mountnfs: systemctl: Permission denied

7月 15 12:08:01 hnhnlp1 networking[2636]: done.

7月 15 12:08:01 hnhnlp1 systemd[1]: Started LSB: Raise network interfaces..

虽然不能自动激活,但是手动输入if-up eth0却能手动激活。

  • 写回答

1条回答 默认 最新

  • rpmdeb 2019-07-15 16:19
    关注

    会不会是少了 allow-hotplug eth0 ?

    评论

报告相同问题?

悬赏问题

  • ¥15 运筹学中在线排序的时间在线排序的在线LPT算法
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试,帮帮忙吧