Debian/Ubuntu Tips and Tricks

Debuntu

Debian/Ubuntu Tips and Tricks

How-To: Set up a LAN gateway with DHCP, Dynamic DNS and iptables on Debian Etch

Posted by chantra on June 29th, 2008

Linux is a perfect platform to act as a router/gateway.

In this tutorial, I will explain how to set up a Linux box to operate as a network router. The box will provide the following services:

  • DHCP server to provide the ip addresses to the machines in the LAN
  • DNS server to resolve domain names
  • Gateway with IP tables to give access to the Internet.
  • Firewall with IP tables.

The resulting machine will have quite a small footprint: about 600M, and except if your network is intensively used, a low spec computer can be recycled to do the job.

As the machine is going to operate as a router/firewall

Read the rest of this entry »

Tags: , , , ,
Posted in Administration, HowTo, Networking, System | No Comments »

How-To: copy files over the network and preserve file permissions and informations with ssh and rsync

Posted by chantra on June 20th, 2008

When copying files over the network, the files informations can be modified.

When using cp, one can avoid this issue by using the -a which will do the copy in archive mode, meaning that it will keep the links, preserve mode, ownership and timestamps and the copy is recursive.

the solution to this over the network is rsync alongside with ssh.

Read the rest of this entry »

Tags: , , ,
Posted in Administration, HowTo, Networking, System | No Comments »

How-To: Intel Wireless 4965 AGN with Ad-Hoc network + WEP

Posted by chantra on June 20th, 2008

The Intel wireless card 4965 AGN does not work properly on ad-hoc networks since hardy and kernel 2.6.24 or around, network-manager can't get it to use the mode ad-hoc and a standard configuration like:

$ sudo iwconfig wlan0 essid myessid mode ad-hoc channel X key s:mykey13charss
$ sudo dhclient wlan0

will fail to get an ip except a long battle at dhclient'ing around.

I managed to get a process to get things working faster.

Read the rest of this entry »

Tags: ,
Posted in HowTo, Networking, System | No Comments »

Terminator 0.9 beta 1

Posted by chantra on June 18th, 2008

Terminator 0.9, an application that allow you to have multiple terminal within the same window, is getting close to be released. FeatureFreeze has been started since a couple of weeks.

The bugs opened against terminator milestone 0.9 are being closed.

A big bunch of new features and enhancements come shipped with this new release.

A package is available from Launchpad PPA. You can grab the .deb there. Feedback to terminator bug tracker on launchpad are welcome.

Read the rest of this entry »

Posted in .deb packages, News, Softwares | No Comments »

Transmission 1.22 .deb for Ubuntu 8.04 Hardy Heron

Posted by chantra on June 17th, 2008

transmission, a lightweight bittorrent client version 1.22 was released on the 14th of June 2008.

A .deb package is available for Ubuntu Hardy i386 and amd64 from the debuntu repository.

Read the rest of this entry »

Posted in News, Softwares | No Comments »

Transmission 1.21 for Ubuntu 8.04 Hardy Heron

Posted by chantra on May 26th, 2008

transmission 1.21 is out.

Transmission is a fast, easy, and free multi-platform BitTorrent client with a focus on being lightweight yet feature-filled.

Read the rest of this entry »

Posted in .deb packages | No Comments »

Subtitleeditor 0.21.1 for Ubuntu Hardy Heron

Posted by chantra on May 23rd, 2008

Subtitled movie lovers, here it comes, subtitleeditor 0.21.1 is out.

Read the rest of this entry »

Posted in .deb packages | No Comments »

How-To set up a serial console client

Posted by chantra on May 3rd, 2008

In the 2 previous articles, I explained how to set up a serial console on Ubuntu and Debian.

This tutorial will now show how to connect to those serial console using another machine using a software called minicom.

Read the rest of this entry »

Tags:
Posted in Administration, HowTo, System | No Comments »

How-To set up a serial console on Debian

Posted by chantra on May 3rd, 2008

This tutorial will go over the steps to go through in order to set up a serial console on Debian Linux.

Debian uses sysvinit to handle the booting process, amongst the different task, and as such, there is a few differences between most of the tutorial that you might find on the internet regarding how to set up a serial console.

A Serial Console becomes handy when running a headless server (i.e no keyboard and screen) or if you cannot connect a a server because of a network issue.

Read the rest of this entry »

Tags:
Posted in Administration, HowTo, System | No Comments »

How-To set up a serial console on Ubuntu

Posted by chantra on May 3rd, 2008

This tutorial will go over the steps to go through in order to set up a serial console on Ubuntu Linux.

Unlike most other distros, Ubuntu uses upstart instead of sysvinit and as such, there is a few differences between most of the tutorial that you might find on the internet regarding how to set up a serial console.

A Serial Console becomes handy when running a headless server (i.e no keyboard and screen) or if you cannot connect a a server because of a network issue.

Read the rest of this entry »

Tags:
Posted in Administration, HowTo, System | No Comments »