Friday, 26 June 2015

Kali Linux.Using the Graphical User Interface to Configure Network Interfaces

Configuring the network cards, also called network adapters, in Linux was once a process that could only be completed through the command line. This has changed in recent years, and Kali Linux is no different in fact Kali Linux has a robust graphical user interface (GUI ) that allows many of the common se ings to be configured through the use of simple dialog boxes. The network configurations dialog box is easily accessible by selecting A pplications in the top right of the user interface (Figure 4.4) and then selecting System Tools, Preferences, and Network connections.
FIGURE 4.4 Graphical network configuration.


By clicking network connections, the network connections dialog box will be displayed, the wired tab is selected by default (Figure 4.5).  A lternatively, right clicking on the two computers on the top right of the screen, as in Figure 4.6, and selecting edit connections will result in accessing the same dialog box. I n most cases, computers will have only one network card that will need to be configured, in cases where multiple N I Cs are installed, ensure you are configuring the correct card. This example will configure Wired connection 1, a name that can be changed if you like to something more meaningful, the only physical network card in the computer. The configuration dialog box is displayed after selecting the connection to be modified and clicking the Edit bu on. This will bring up the Editing box for the connection, with the Wired tab selected by default. This tab displays the devices media access control (MA C) address, an address that is designed to
remain the same for the life of the device, see the note on MA C addresses for more information on MA C addresses. The devices identifier is also displayed in parenthesis after the MA C address. I n this case, the device identifier is eth0, where eth is short forEthernet and 0 is the first card in the computer. The numbering sequence for network cards starts at 0 and not 1 so the second card in the computer would be eth1.tab.




FIGURE 4.5 Graphical wired network configuration.


FIGURE 4.6 Alternate graphical wired network configuration.

Wired Ethernet configurations can be made by selecting the 802.1x S ecurity tab, theI Pv4 S e ings, or the I Pv6 S e ings tab. This book will focus on configuring the I P version 4 (I Pv4) se ings so that tab will be selected. O nce selected the configurations for the computers I P address (192.168.1.66), S ubnet Mask or N etmask (255.255.255.0), Gateway (192.168.1.1), and D N S servers (192.168.1.1). Multiple D N S servers can be used by separating each with a comma. The configuration can be saved and made active by selecting the Save button.

Thursday, 25 June 2015

How to Update Kali Linux

If you try to update Kali with
apt-get update
and you see these errors:
 
W: GPG error: http:// http. kali. org kali Release: The following
 signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 
KEYEXPIRED 1425567400 
 
 
 
W: GPG error: http://security. kali. org kali/updates Release: The 
following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 
1425567400 KEYEXPIRED 1425567400
 
This is the solution:
rm -rf /var/lib/apt/lists apt-get update
apt-get install kali-archive-keyring
apt-get update

Source

http://superuser.com/questions/890383/kali-linux-update-fails

Tuesday, 23 June 2015

How to Install Oracle VirtualBox 4.3.28 on Ubuntu 15.04, 14.04, 12.04 and Debian 7/6 Linux 

Oracle VirtualBox 4.3.28 has been released on May 13th, 2015. Oracle VirtualBox 4.3.28 is a maintenance release of VirtualBox 4.3 which improves stability and fixes regression. See the ChangeLog for more details.
This article will help you to install Oracle VirtualBox on your Ubuntu 15.04, 14.10, 14.04 LTS, 13.10, 13.04, 12.10, 12.04 LTS and 10.04 LTS and Debian 7/6 systems.

Step 1: Setup Apt Repository

Firstly edit /etc/apt/sources.list file and add one of following line according to your distribution to your system.
For Ubuntu 15.04 ("Vivid")
deb http://download.virtualbox.org/virtualbox/debian vivid contrib

For Ubuntu 14.10 ("Utopic Unicorn")
deb http://download.virtualbox.org/virtualbox/debian utopic contrib

For Ubuntu 14.04 LTS ("Trusty Tahr")
deb http://download.virtualbox.org/virtualbox/debian trusty contrib

For Ubuntu 12.04 LTS ("Precise Pangolin")
deb http://download.virtualbox.org/virtualbox/debian precise contrib

For Debian 7.0 ("Wheezy")
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib

For Debian 6.0 ("Squeeze") 
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free

Step 2: Setup Oracle public key

After adding required apt repository in your system, download and import the Oracle public key for apt-secure using following commands.
$ wget http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
$ sudo apt-key add oracle_vbox.asc

Step 3: Install Oracle VirtualBox

After completing above steps, lets install VirtualBox using following commands. If you have already installed any older version of VirtualBox, Below command will update it automatically.
$ sudo apt-get update
$ sudo apt-get install virtualbox-4.3

Step 4: Start VirtualBox

We can use dashboard shortcuts to start VirtualBox or simply run following command from terminal.
 
$ virtualbo