Howtos / Articles

Enable IP Forwarding on Ubuntu 13.04

This howto guide outlines the steps to enable IP forwarding on Ubuntu 13.04. This is required if you want your system to act as a router. Check the current setting: $ sysctl net.ipv4.ip_forward This should output a 0 or a 1 depending on if it is already enabled or not. eg: the following shows where ip forwarding is disabled $ sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 0 Enable the kernel option for IP forwarding: $ sudo sysctl net.ipv4.ip_forward=1 eg: $ sudo sysctl…

Read more [...]

Enable hibernation support on Ubuntu

On a standard desktop install of Ubuntu, you dont have the option for hibernating. This guide steps you through the process of enabling the hibernation option if your PC can support it. Test hibernation to make sure it will work on your PC: (Save any work before doing this test incase hibernation doesnt work and the PC just restarts) Open a terminal window using ctrl + alt + t Run the following command to test hibernation: $ sudo pm-hibernate If…

Read more [...]

Display custom desktop notifications on Ubuntu

The ‘notify-send’ package can be used to send custom notification messages to the Ubuntu desktop. These messages will pop-up on the screen, and shouldn’t get in the way of what the user is currently doing. To send a custom notification: $ notifiy-send “This is a test” Sample pop-up notification window:   This can be used within background scripts to display notifications to the desktop user.  …

Read more [...]

Enable workspaces in Ubuntu 13.04

Since upgrading my Ubuntu desktop from 12.10 to 13.04, my workspaces disappeared. It turns out that Ubuntu 13.04 disables workspaces by default. Thankfully it can easily be enabled again. Follow the steps below to enable workspaces on Ubuntu 13.04.…

Read more [...]

Generate random passwords on Ubuntu

The ‘makepasswd’ package on Ubuntu can be used to easily generate random passwords. This package is part of the Ubuntu repositories, however probably wont be installed by default. It also has the ability to generate MD5 hashes of the random passwords. Install makepasswd: $ sudo apt-get -y install makepasswd Generate a random password: You can now run makepasswd to generate a random password. $ makepasswd Example output: $ makepasswd 6HL5y9F9sC Generate 5 random passwords: $ makepasswd –count=5 Example output: $…

Read more [...]



Page 2 of 812345678