Menu Close

Month: January 2013

Gestione IpFire e Firewall Linux

 

IPFire Fails to make ADSL Connection

 

Have you checked the Link status of you network cable?

If you don’t get a lease it is normal that red0 was disabled.

Check with “ifconfig -a”

go to console and Press ALT+F12 to see the systemlog (or use tail -f /var/log/messages over ssh)

 

Check the Syslog (/var/log/messages) or in the WebIF (kernel and red)

 

cat /var/ipfire/ethernet/settings

 

“eth0: link is not ready” but device is present

Looks like the cable is not connected or it is damaged. (No Link)

You can double check with ethtool.

 

Quote:
sudo ethtool eth0

 

How to Change the Hostname of a Linux System

by ducea.com

Normally we will set the hostname of a system during the installation process. Many peoples don’t care about this, and don’t change the hostname even if for example this was set to something really stupid by the datacenter that installed the system (most likely they will set this to “debian” on any debian installation, etc). For me, it is important to see on each one of the ssh screens I will have open at any time a different hostname that is relevant and will give me quickly the information on what system I am logged in.

Change Ubuntu Server from DHCP to a Static IP Address

by howtogeek.com

If the Ubuntu Server installer has set your server to use DHCP, you will want to change it to a static IP address so that people can actually use it.

Changing this setting without a GUI will require some text editing, but that’s classic linux, right?

Let’s open up the /etc/network/interfaces file. I’m going to use vi, but you can choose a different editor

sudo vi /etc/network/interfaces