eth0 ไม่ทำงาน

หลังจาก ghost Ubuntu Web Server แล้ว
ปัญหาหนึ่งที่เจอคือ network ไม่ยอมรีสตาร์ท
วิธีที่ใช้เดิมจะต้องไปเปลี่ยน eth0 เป็น eth1 ใน
$ sudo nano /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto
eth0
iface eth0 inet static
address 192.168.xx.xxx
netmask 255.255.255.0
gateway 192.168.xx.xxx
--> เปลี่ยนเป็น
auto eth1
iface eth1 inet static

แต่ตอนนี้ไม่ต้องแล้ว ใช้วิธีดังนี้
ให้ลบหรือเปลี่ยนชื่อเพื่อแบ็คอัพไฟล์ /etc/udev/rules.d/70-persistent-net.rules ก่อน


$ sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.org
จากนั้นรีบู๊ต
$ sudo reboot
น่าจะใช้ได้เป็นปกติ


ลิงค์ที่น่าสนใจ

http://ubuntuforums.org/showthread.php?t=1540959
https://help.ubuntu.com/community/VirtualBox/Networking
http://mylinuxramblings.wordpress.com/2010/06/03/installing-virtualbox-guest-additions-on-ubuntu-server-10-04/
http://blog.brettalton.com/2010/04/28/installing-guest-additions-in-virtualbox-for-an-ubuntu-server-guest/


ขอบคุณที่ติ่งครับ...

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

วิธีแก้ปัญหา putty เป็นภาษาต่างดาวหรือเครื่องหมาย ???

ประวัติต้นแดง

แก้ปัญหา Directory Index เป็นภาษาต่างดาว