debian 通过路由器上网

一开始是通过adsl上网的,后来想通过路由器上网却发现无法登录路由器。在网上找了一些,解决方法如下:

1>修改 /etc/network/interfaces文件,将最后一行的iface eth0 inet manual改成inface eth0 inet dhcp

2> 在终端中输入/etc/init.d/networking restart

原文地址:https://www.cnblogs.com/wbbice/p/2740128.html