1、ubuntu系统修改IP地址:sudo gedit /etc/network/interfaces
auto eth0
iface eth0 inet static
address 219.218.122.168
netmask  255.255.255.0
gateway  219.218.122.254

2、ubuntu系统修改DNS: sudo gedit /etc/resolv.conf
nameserver 202.194.15.12

3、使网络生效:sudo /etc/init.d/networking restart
Ubuntu8.04虚拟机更换host主机后开机无法加载网卡,提示:No such device
删除缓存文件,重启后解决。
sudo rm /etc/udev/rules.d/70-persistent-net.rules
reboot

相关文章:

  • 2021-10-15
  • 2021-05-12
  • 2021-12-28
  • 2021-09-19
  • 2021-06-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-26
  • 2022-01-21
  • 2021-12-21
  • 2021-12-21
  • 2021-11-03
相关资源
相似解决方案