Ubuntu PPTP VPN  

This tutorial describes how to enable PPTP VPN log ins to your local network from an external network.

Ubuntu Serial Console Login  

If you have a headless machine, as is the case with many serviers, it is often nice to be able to see what's going on without having to connect a monitor and a keyboard to the system.  In this short tutorial we'll show you how to configure the serial port on your server, or Desktop, machine to allow you to view the console though it.

  • You have enabled the serial console in your BIOS
  • The serial connection is being made at 115200 baud 8n1, on first serial port, called /dev/ttyS0 in linux (9600 8n1 is the default fall back if your hardware does not support 115200 baud)
  • You are comfortable editing critical system files such as /etc/inittab, /boot/grub/menu.lst
  • You are using a serial (null modem) cable. It is also possible to use a USB to Serial adaptor, but the tty* must be changed to reflect your hardware.
Ubuntu Server Static IP  

Sometimes the things that seem the most obvious are the most difficult to get to work.

If you plug in the values for your local network, you should be able to cut and paste.

Local Domain:		
Local Search:		
Domain Name Server:		← External domain name server address.
Wide Area Network:
	Address:		← Your Static IP (from Your ISP).  Start here.
	Netmask			← Here next.
	Network:		← Calculated.
	Broadcast:		← Calculated.
	Gateway:		← Best guess, replace with ISP's value.

In order configure your Ubuntu server for a static external IP address, you will have to change '/etc/network/interfaces'.  So lets back it up:

cp /etc/network/interfaces{,.`date +%F`.BU}

Now open '/etc/network/interfaces' and add the following:

# The primary network interface
auto eth0
iface eth0 inet static
Update Bind With Your DHCP Server  
Some portions of this page are currently not functioning as expected. Please use caution when copying and pasting information to ensure that the data is correct. It will be corrected as soon as posible.
We apologize for any inconvenience.

If you'd like to be able access a computer or network appliance without having to remember it's IP or manually add it to your DNS server, this tutorial is for you. This tutorial was written while configuring an Ubuntu 11.04 server, and utilizes the isc-dhcp-server DHCP Server and the bind9 Internet Domain Name Server. It functioned for me as is and hopefully will do the same for you, BUT... I don't guaranty it.

This entire tutorial requires that you be logged on as root, or a healthy use of the sudo command. I prefer the former.

If you plug in the values for your local network, you should be able to cut and paste.

Local Network:
Start here.
Netmask ← Here next. Network: ← Calculated. Broadcast: ← Calculated. Local Domain:
Domain Name Server:
Dynamic Address Range: Min: Max:
There should NOT be any static addresses within the Dynamic Address Range of your DHCP Server, and that includes the 'Address' parameter above. Adjust the range up or down to exclude any equipment that may have a static IP assigned.

From the Webmin website: "Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely."  The installation is generally straight forward, this tutorial is just to show you which packages are required, and to fix some of the little things that may need tweaking.


Page 4 of 4