Thứ Ba, 31 tháng 12, 2013

Network icon disabled in ubuntu 11.10/12.04 -- Solved


Network icon disabled in ubuntu 11.10/12.04 -- Solved



Today I successfully upgraded my system from Ubuntu 11.04 to 11.10. All went well and I was feeling happy about the Lightgdm interface and the improved window management system. Then I noticed my network manager applet icon which was in offline or disconnected mode, to my surprise I was able to go online without any issues.

I then checked in the Network manager config file found under /etc/NetworkManager/NetworkManager.conf, and I came across ifupown managed=false, So I quickly stopped the Network Management service and changed the [ ifupdown managed] value to true and all went back to normal.
Steps to get it going:

Firstly
, stop the network manager service by typing in terminal:sudo service network-manager stop
Open nautilus in sudo mode by typing in terminal: sudo nautilus
Goto etc/NetworkManager and open NetworkManager.conf.


Change the managed value to true:


Restart the Network Manger service by typing in: sudo service network-manager start
And after that your Network Manger should be back online.

Lấy lại màn hình boot Ubuntu sau khi cài lại Windows Xp or Windows 7



Boot máy bằng một đĩa CD Ubuntu, vào chế độ LiveCD.
Mở Terminal rồi chạy lệnh:
sudo fdisk -l

Giả sử màn hình có kết quả cuả lệnh fdisk như sau:




Các partition sda1 và sda5 là partition Linux, sda2 là extended partition có chứa sda3, sda4 là partition Windows (ntfs).
Chạy lệnh fdisk chỉ để đọc các partition có trên ổ cứng. Nếu trước đó đã nhớ là Ubuntu cài trên partition nào thì không cần chạy lệnh này.
Giả sử trước đó ta cài Ubuntu lên sda5 thì lệnh tiếp theo như sau:

Mã:

sudo mount /dev/sda5 /mnt
Lệnh này mount sda5 vào thư mục /mnt
Chạy tiếp lệnh:
Mã:

sudo grub-install --root-directory=/mnt/ /dev/sda
Chú ý trong lệnh trên, cụm ký tự cuối là /dev/sda, không phải /dev/sda5.
Lệnh này cài phần mềm quản lý boot grub2 lên ổ cứng sda và trỏ đến thư mục gốc là sda5 đã được mount vào /mnt. để tiếp tục quá trình boot.
Khởi động lại máy từ ổ cứng. Boot menu của Ubuntu sẽ xuất hiện nhưng chưa có Windows. Cho khởi động tiếp vào Ubuntu.
Trong Ubuntu, mở terminal rồi chạy lệnh:
Mã:

sudo update-grub
Lệnh này bảo grub dò tìm trên ổ cứng các hệ điều hành khác đã cài và cập nhật nó vào boot menu. Khởi động lại máy sẽ thấy Windows xuất hiện trong boot menu của Ubuntu.
Hot girl Viet Nam Click Here
Hot girl Viet Nam Click Here