Linux System Administration

Here is a quick installation of HP officejet printer on Ubuntu linux jauntu:
# apt-get install hplib
Enable X-window to root
$ xhost +
# hp-setup
If the automatic discovery does not work tick a manual selection and enter IP address of your printer. If its USB go for USB option. All done.

Grub boot verbose modeGrub Boot Silent mode

Install Prerequisites

apt-get install linux-source-2.6.18 kernel-package \
linux-patch-bootsplash bootsplash libc6-dev

Patching Linux kernel

Uncompress Linux Kernel Source

cd /usr/src
tar xjf linux-source-2.6.18.tar.bz2

Uncompress Linux Kernel Source

Read more...

This article describes a simple steps to configure Wireless interface with WPA and WPA2 on Ubuntu and debian Linux. Before we can configure wireless network interface to be used with WPA and WPA2 encryption we need to install a wpasupplicant package:

# apt-get install wpasupplicant wireless-tools

Next change a permissions on /etc/network/interfaces to read/write by a root user only:

# chmod 0600 /etc/network/interfaces

Next use iwcofig command to get a name of your wireless interface:

# iwconfig

Open up /etc/network/interfaces file and add the following code to set wlan0 wireless interface to be used with DHCP:

auto wlan0
iface wlan0 inet dhcp
       wpa-ssid network-name
       wpa-psk pre-shared-key

In case you want to set your wireless interface with a static IP address add a following code into your /etc/network/interfaces file and alter it according to your needs:

auto wlan0
iface wlan0 inet static
       address 10.1.1.2
       netmask 255.0.0.0
       network 10.0.0.0
       broadcast 10.255.255.255
       gateway 10.1.1.1
       wpa-ssid network-name
       wpa-psk pre-shared-key

Restart your network and you should be done:

# /etc/init.d/networking restart


Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top