是这样的,应该没有关系。 ghost ubuntu 里 eth0 也被母机的网卡占据,用户网卡也是从 eth1 开始的,并没有出现麻烦。你说你那里网卡是 eth1,然而,正常的话,应该从 eth0开始,所以,可能系统中残留了我电脑的网卡信息
我猜应该是无线网卡的问题。等我从出差地返回的时候找一台没有无线的机器试试。
是这样的,应该没有关系。 ghost ubuntu 里 eth0 也被母机的网卡占据,用户网卡也是从 eth1 开始的,并没有出现麻烦。你说你那里网卡是 eth1,然而,正常的话,应该从 eth0开始,所以,可能系统中残留了我电脑的网卡信息
ghost ubuntu 启动时不会运行那个脚本。只有在 casper 模式启动时才会运行。billbear 写了:是这样的,应该没有关系。 ghost ubuntu 里 eth0 也被母机的网卡占据,用户网卡也是从 eth1 开始的,并没有出现麻烦。你说你那里网卡是 eth1,然而,正常的话,应该从 eth0开始,所以,可能系统中残留了我电脑的网卡信息
我猜应该是无线网卡的问题。等我从出差地返回的时候找一台没有无线的机器试试。
倒是不卡了,也上不了网了。等等,我在 /etc/rc.local 里加一句 dhclient 试试。改了下 initrd,删除了那个脚本,你可以试试
好了。我在 /etc/rc.local 里加一句 dhclient 试试
启动后,从 主菜单 --- system --- 网络 配置一下,看行不行?billbear 写了:倒是不卡了,也上不了网了。等等,我在 /etc/rc.local 里加一句 dhclient 试试。改了下 initrd,删除了那个脚本,你可以试试
那自然是可以的。启动后,从 主菜单 --- system --- 网络 配置一下,看行不行?
有可能,我试试。还有,网卡信息似乎存在 /etc/network/interface 里面。把它清空,再用旧的 initrd ,看看如何?
无效。这个文件是在启动时动态改变的。因此我的修改是白费的。还有,网卡信息似乎存在 /etc/network/interface 里面。把它清空,再用旧的 initrd ,看看如何?
我把 eth0 行都删掉了。但是启动后变成了这样:# 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
iface eth0 inet dhcp
auto eth0
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
既然如此,干脆就把 initrd 中的网络配置脚本去掉。我觉得也不必在 /etc/rc.local 里加 dhclient ,以免耽误时间 —— 并非所有人都用都用 dhcp ,而且并非每一次都会用到网络。有需要的话可以从 主菜单 --- system --- 网络 来配置。billbear 写了:那自然是可以的。启动后,从 主菜单 --- system --- 网络 配置一下,看行不行?
对,最好还是用新的 initrd。给系统安装 casper、casper-lupin 等几个包,会自动给 initrd 添加上启动脚本。参考这个 viewtopic.php?f=77&t=174719&start=0billbear 写了:可是假如用更新的内核和光盘里老的 initrd 搭配使用行吗?是不是最好还是自己修改和内核配套的 initrd 为好呢?