Skip navigation.
Home
Computer Information for the non-computer literate.....

Linux

Second Network Address on same NIC

Sometimes you need to bind a second IP address to a Network Interface Card.  Maybe you need access to another network temporarily or you just need to fix something that comes with a default address not on your network.

From Linux, you can execute the following command:


ifconfig eth0:1 192.168.5.16 netmask 255.255.255.0 up

This will add a second IP Address to your eth0 network interface.

32-bit or 64-bit System

How do you tell if you're running on 32-bit or 64-bit hardware?

While the command uname -a will show wether you are using a 32-bit or 64-bit Operating System (as well as possibly looking at /etc/*release), it won't tell you if your hardware is actually 64-bit or not.

Manually Configuring a NIC on SuSE after adding it

 After adding a network card (NIC or Network Interface Card) to an OpenSuSE system, and configuring the device with YaST, I could not get it to activate.  After a reboot it also didn’t show up as an active interface.

Ubuntu Install on VMware

On building a new system in VMware, frequently there are additional things you need to install.  In addition to installing the VMware tools, there are certain dependencies that need to be added as well.  These include make, gcc, and the kernel libraries.  These can be done with the following commands:

Change the Default Editor From Nano on Ubuntu Linux

Many of the utilities in Ubuntu Linux use a text editor to allow you to edit configuration options and files. An example of this is using the crontab command, which allows you to edit your cron jobs using the default editor.

It's really easy to set the default editor using the update-alternatives command. Open up a terminal window and type in the following command:

Syndicate content