Cách vào facebook trên Ubuntu (Test OK 100%)




Cách vào facebook trên Ubuntu cũng dựa trên cách thay đồi file hosts giống như trên windows.
1. Đầu tiên bạn cũng phải thay đổi DNS giống trên windows
- Click vào biểu tượng kết nối mạng trên thanh Panel chọn VPN Connections -> Configure VPN...
- Xuất hiện của sổ sau: 

Chọn thẻ Wired click vào Auto eth0, chọn Edit...

- Xuất hiện của sổ này bạn click vào thẻ IPv4 Settings, nhập vào ô DNS server: 8.8.8.8

- Nhập vào ô Search domains: 8.8.4.4

Xong bước 1

2. Thay đổi file hosts để truy cập facebook
Bạn vào Applications => Accessories => Terminal 
Gõ vào đó lệnh sudo gedit /etc/hosts
Lệnh này nhằm thay đổi file hosts với quyền root








Resigzed Image
Click this bar to view the full image.


Thêm vào file hosts những dòng sau


153.16.15.71 facebook.com 153.16.15.71 www.facebook.com 153.16.15.71 apps.facebook.com 153.16.15.71 login.facebook.com 153.16.15.71 graph.facebook.com 153.16.15.71 static.ak.connect.facebook.com 153.16.15.71 developers.facebook.com 153.16.15.71 error.facebook.com 153.16.15.71 upload.facebook.com


Hoặc


96.17.180.162 www.facebook.com 96.17.180.162 www.login.facebook.com 96.17.180.162 facebook.com 153.16.15.71 apps.facebook.com 153.16.15.71 login.facebook.com 96.17.180.162 upload.facebook.com 96.17.180.162 graph.facebook.com 96.17.180.162 register.facebook.com 96.17.180.162 vi-vn.connect.facebook.com 96.17.180.162 vi-vn.facebook.com 96.17.180.162 static.ak.connect.facebook.com 96.17.180.162 developers.facebook.com 96.17.180.162 error.facebook.com 96.17.180.162 channel.facebook.com 96.17.180.162 upload.facebook.com 96.17.180.162 register.facebook.com 96.17.180.162 bigzipfiles.facebook.com 96.17.180.162 pixel.facebook.com 96.17.180.162 upload.facebook.com 96.17.180.162 register.facebook.com 96.17.180.162 bigzipfiles.facebook.com 96.17.180.162 pixel.facebook.com


Save lại thế là xong

Post a Comment

Mới hơn Cũ hơn