2009年8月24日

修復ubuntu9.04開機時會在starting nfs common utilities fail卡很久

轉自作者:dimis2410

I had the same problem when i tried to set up a static IP... and this worked for me :



sudo gedit /etc/network/interfaces


and make the file look like this:

修改即可
auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0



"192.168.1.100 " my static ip
"255.255.255.0" my subnet mask
"192.168.1.1" my routers/gateway ip
"eth0" my current ethernet interface

Change the addresses to yours...
and then restart networking...

sudo /etc/init.d/networking restart


Now i'm sure that it will not hang on "Starting NFS common utils..."

:)

沒有留言:

張貼留言

NO-CARRIER 網卡無法啟動

 工作時,由於想要啟動linux OS的網卡, 發現某張新設定的網卡一直無法啟動,就算下指令UP了,但是也沒有順利啟動 所以爬文後,想要確認該網卡的status, 發現某行為: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu...