Continuing with Add second IP Ubuntu" Now let's see how to do it on Arch Linux.
First edit the file rc.conf (I like the way Arch Linux is so simple).
You have these options:
<!--break-->
Two Statics IPs
Iptables, is a great tool to create firewall in Linux, actually it is not only for that, but useful to pre-process or post-process any package of data that arrives to our Linux Operating System machine.
The other day I was needing to block the access to my network using the mac address of a machine, and Iptables come to save my day.
I like to work a lot on the command line of my Linux Boxes, and I am using Twitter a little bit these days, so I want to post from the command line.
I have checked the twitter page and have found that they already have the solution, with the files of their API
Log files are important when debugging or just to check how a system is performing, we usually use cat to list the log on the screen, but if we want to see a live view of the log file, the command is:
tail -f /var/log/logfile.log
I have Ubuntu 12.10 running on HP 4000 PC, the PC has two network cards, one is eth0, another is wlan0. eth0 is connected to internal network (192.168.18.0/24), wlan0 is connected to intranet (10.123.64.0/22) with internet access. I try to add following up commands into /etc/network/interfaces to set up default gateway during the boot time.
Just a short Tutorial today. It’s surprising how many people do not know this. To change the hostname under Linux, open a terminal window. Type the following code.
sudo nano /etc/hosts
and change the text to your new hostname. Changes will take effect on Restart.
Im using an old dell tower as a server and im trying to give it a static IP and when i opened the file "etc/network/interfaces" all i got was "auto lo" settings, no "auto eth0"?
Hi
I'm trying to set up Clonezilla on a fresh Ubuntu install, following this tutorial:
http://geekyprojects.com/cloning/set...ver-on-ubuntu/
It mostly works out ok, but i have some problems setting up the virtual network card.
How do I set up a static default route, for a router, in linux?
I know that the usual way to go for a static route is to edit the /etc/network/interfaces and add at the proper interfaces the following line:
up route add -net <destination> gw <next-hop>
But how should the line be modified for a default route?