Category Archives: Debian-Testing

How to build a vanilla kernel from kernel.org on Linux and install it properly.

How to build and install a vanilla kernel on a Linux computer. This posting will explain how to build a vanilla kernel from kernel.org and properly install it to your Linux machine. Getting the source code. Firstly; download a vanilla tarball from http://www.kernel.org. I chose the 3.12-rc6 kernel tarball. Type this command to unpack the […]

How to use the host command to get information about a host and do a reverse IP lookup.

This is how to get IP address information for a host. The host command is very useful for performing a DNS lookup. homer@neo:~$ host yahoo.com yahoo.com has address 206.190.36.45 yahoo.com has address 98.139.183.24 yahoo.com has address 98.138.253.109 yahoo.com mail is handled by 1 mta5.am0.yahoodns.net. yahoo.com mail is handled by 1 mta7.am0.yahoodns.net. yahoo.com mail is handled […]

My system information program I coded for Linux a while ago. This works very well.

http://www.securitronlinux.com/files/sysinfo.kdevelop-1.0.tar.bz2. This is my system information program I coded for Linux. This gives a bit of information about your Linux system. Just download and unpack this tarball and type make to compile. Here is some sample output. 13:21:02 ~/Downloads/sysinfo.kdevelop-1.0 homer@neo $ ./sysinfo 1 –System name – Linux –Nodename – neo.deusexmachina –Release – 3.9.5-301.fc19.x86_64 –Version – […]

How to renew your network interface IP address on Linux with the dhclient command.

The dhclient command on Linux is used to renew an IP address for a network interface. Here i am using Fedora 19 with the new standardised network interface names. root@neo homer# dhclient -v wlp0s26f7u5 Internet Systems Consortium DHCP Client 4.2.5 Copyright 2004-2013 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on […]

Another way to get information about your laptop battery when you are running Linux.

This command: upower -i /org/freedesktop/UPower/devices/battery_BAT0 will give you information about your laptop battery. homer@neo:~/Documents$ upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0c/PNP0C0A:00/power_supply/BAT0 vendor: PANASONIC model: Li_Ion_4000mA serial: 0000 power supply: yes updated: Sun Sep 29 02:39:34 2013 (3 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging energy: 27.2484 Wh energy-empty: 0 […]

How to capture packets from a WIFI interface using Wireshark on Debian Linux 7.0.

How to prevent a file from being overwritten using the tcsh shell on Linux.

This example using the set noclobber command prevents existing files from being overwritten. 9:18am homer /home/homer/Documents ) set noclobber 9:18am homer /home/homer/Documents ) ls ip.txt ip.txt 9:18am homer /home/homer/Documents ) echo “hello” > ip.txt ip.txt: File exists. But you can still erase the file with the rm command. 9:20am homer /home/homer/Documents ) rm ip.txt 11:27pm […]

How to easily create a bash shell prompt for your personal use using a website interface.

The bash $PS1 generator here: http://www.kirsle.net/wizards/ps1.html allows you to create a cool bash shell prompt with a minimum of fuss. You can add colors to various parts of the prompt and make it look very nice indeed. Check it out now and see what you think. Here is one that I made. This uses tput […]

Happy 20th birthday to Debian. The distribution that spawned Ubuntu and Linux Mint.

This Linux distribution was started by Ian Murdock. He named Debian after his then-girlfriend Debra Lynn, therefore the distribution gained the name of Debian. Nowadays with the many derived distributions that use the Debian apt packaging system; the legacy of this distribution will live on long after the anniversary. We will not see the end […]

Useful applications and extensions for doing a WIFI site survey on Linux.

The WIFI Scanner application for Linux allows you to perform a WIFI site survey to test signal strength when deploying a wireless setup. This is very useful; you can walk around the building and see the signal strength to determine whether you should tweak the transmit power or add more wireless access points to improve […]

How to install the gcj Java compiler on Debian 7.0 and compile a simple program.

This is how to compile a Java source file on Linux with gcj. homer@neo:~/Documents$ gcj –main=HelloWorld HelloWorld.java This is the source file that I am working with. /* * My first Java program. * */ import java.util.Date; public class HelloWorld { public static void main(String[] args) { System.out.printf(“\”Hello, World\”\n”); Date date = new Date(); System.out.println(“The […]

Some very useful online Linux resources.

http://www.scribd.com/doc/12918020/Linux-Starter-Pack; The Linux starter pack. This is very good as an introduction to the Linux desktop and the various utilities available. http://tille.garrels.be/training/bash/; Introduction to Linux guide for beginners. This is a good resource if you want to learn more about the Linux shell and usage in general. http://securitron.securitronlinux.com/lc/rute/; Rute User’s Tutorial and Exposition. The definitive […]

How to install an anti-virus product for your Linux computer to protect any Windows machines from viruses.

Installation of Anti Virus software for Linux. This is to protect Windows users who are connecting to the Linux server to get files. This posting describes the installation and configuration of an Anti Virus product for Linux. I have chosen the Clamav Anti Virus product for x86 Linux. This Anti-Virus product is installed on a […]

International Space Station switches to Debian 6.0 instead of Windows XP.

The International Space Station has migrated all of its computers from Windows XP to Debian GNU/Linux 6.0. This will greatly add to the security of the computers on the ISS and although it requires retraining Cosmonauts in the use of the computers; this will have many benefits in the long run. Linux is more secure […]

The new Debian 7.0 distribution really is an awesome desktop Linux distribution.

I have just started using the Debian 7.0 distribution after installing it today on my laptop and it is an extremely good Linux distribution that has codecs already installed allowing the user to play Xvid and MP3 formats straight out of the box. The installation was quite painless; I had used up all of the […]