Feb 5, 2009

ubuntu ethxx rename

不知道為甚麼,eth0不見了,只剩下eth1

http://mydebian.blogdns.org/?p=177

# /etc/init.d/networking stop

首先要知道網路卡的driver module name

# lsmod   (找出網路卡module : NICmod)

# rmmod NICmod

確認udev rule for NIC設定檔

通常在 /etc/udev/rules.d/xxx-net.rules

將它清空,重新載入NIC module

# modprobe NICmod

# /etc/init.d/networking start

0 comments:

Post a Comment