DHCP is great but there usually comes a time when you need to make sure that your IP stays always the same. This post outlines the steps you can take to setup a static IP on Fedora, Centos and Oracle Linux.
Before you begin do these two steps in terminal:
yum -y install net-tools
After ip a, you will see something like this:
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether dc:4a:3e:43:dc:1c brd ff:ff:ff:ff:ff:ff inet 22.214.171.124/24 brd 126.96.36.199 scope global dynamic eno1 valid_lft 68056sec preferred_lft 68056sec inet6 fe80::593e:cf18:df4e:f815/64 scope link valid_lft forever preferred_lft forever Continue reading →
Here are few of my favorite terminal tricks that might be useful to other users as well.
1. Your live media automatically logs you in but you need to set a custom DPI value, Press Control+ALT+F3 (usually also F4,F5,F6 will work) and open another instance of a virtual terminal. The actual number of terminals depends upon system settings. From another virtual terminal instance you can easily start a new session. This time around the automatic login should not happen since the live media already has reached this goal with the initial instance. This trick might not work with heavy window managers but with lightweight ones it should work just fine. Continue reading →
Usually things go fine. You have your Openbox, Fluxbox, PekWM or Awesome etc. window manager running and everything scales up nicely. Sometimes you end up into a situation where you are not that lucky: window frames are too small and the desktop font is just too tiny – and you cannot even read the text properly.
Luckily, the previous issues are easy to fix. Usually, the root cause of them is that you have a big display and your window manager does not know how to size things correctly by itself. Another reason might be that you have changed your wires. For example, I replaced a broken old HDMI wire with a newer one and the issues appeared. You should edit your .Xresources file to apply changes to Gtk and QT programs alike. If you are only using GTK apps it might be a bit easier to change your DPI value via .Xdefaults file. Continue reading →