Udgivet i Skriv en kommentar

DNS nameserver and static IP, Ubuntu 14.04 LTS

sudo nano /etc/network/interfaces

and there

auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1

If you are using ubuntu 14.04, you may find you can not setting dns on your /etc/resolv.conf
This is because ubuntu using resolvconf to manage the dns setting, every times system boot, resolvconf will regenerate resolv.conf file.
But there always have way to do this.
sudo gedit /etc/resolvconf/resolv.conf.d/base put your nameserver list in


nameserver 8.8.8.8
nameserver 8.8.4.4

then run

resolvconf -u

this command tell resolvconf to regenerate the resolve file

Udgivet i Skriv en kommentar

How to fix splash screen in all Ubuntu releases!

This is solution how to fix no splash screen in Ubuntu after nvidia proprietary driver installation. It’s no matter what Ubuntu version you use, it should work anyway.

Open your terminal and type

sudo apt-get install v86d

Then

sudo gedit /etc/default/grub

Find this line

#GRUB_GFXMODE=640x480

and chagne for this one (of course choose your resolution)

GRUB_GFXMODE=1440x900x24
GRUB_GFXPAYLOAD_LINUX=keep

Save file and type in terminal

echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
sudo update-initramfs -u
sudo update-grub2