Linux
Second Network Address on same NIC
Submitted by TimBruce on Mon, 2009-05-25 11:32Sometimes 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
Submitted by TimBruce on Wed, 2009-04-01 17:25How 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
Submitted by TimBruce on Wed, 2008-03-12 16:40After 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
Submitted by TimBruce on Tue, 2008-01-22 18:51On 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
Submitted by TimBruce on Sat, 2007-07-28 18:14Many 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:
