Posted by chantra on 20th June 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: network, security, ssh, system
Posted in Administration, HowTo, Networking, System | No Comments »
Posted by chantra on 20th June 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: network, system
Posted in HowTo, Networking, System | No Comments »
Posted by chantra on 3rd May 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: system
Posted in Administration, HowTo, System | No Comments »
Posted by chantra on 3rd May 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: system
Posted in Administration, HowTo, System | No Comments »
Posted by chantra on 3rd May 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: system
Posted in Administration, HowTo, System | No Comments »
Posted by chantra on 15th April 2008
This tutorial will show how you can export and import a set of GPG keys from one computer to another.
This way, you can sign/encrypt the same way one different computer.
Read the rest of this entry »
Tags: security, system
Posted in HowTo, Softwares, System | 1 Comment »
Posted by chantra on 12th April 2008
SSH is great. There is so many thing you can do with it other than just a remote secure shell like X forwarding, port forwarding, authenticate using a private/public key, compress the transmitted stream….
If you have different account that you use on an every day basis, it becomes quickly cumbersome to type those lengthly command lines.
One could work around this by using aliases, the right way would be to use ~/.ssh/config
This tutorial will show some customization examples that should cover most ssh use cases.
Read the rest of this entry »
Tags: ssh, system
Posted in Administration, HowTo, System | No Comments »
Posted by chantra on 15th March 2008
Chainloading an operating system allows grub to boot an opearating system’s boot loader. This is commonly used to boot Windows for instance.
I personnaly use it to be able to have my “production” system’s grub on the MBR, and address other distros’grub install on their root partition. The advantage is that kernel updates are real easy to handle. Each testing distro modifying their own grub won’t interfere with my main OS bootloader.
This tutorial will explain how to configure grub’s menu.lst from the main OS to boot other OSes bootloader through an example.
Read the rest of this entry »
Tags: system, tuning
Posted in General, HowTo, System | No Comments »
Posted by chantra on 2nd February 2008
cron-apt is a tool run by a cron job at regular interval that will check for package updates and optionally do some actions.
cron-apt will by default download the packages without installing them.
This tutorial will explain how to set up cron-apt in order to have it send an email to a specified address when updates are ready to be installed.
Read the rest of this entry »
Tags: dpkg, system
Posted in Administration, HowTo, System | No Comments »
Posted by chantra on 17th November 2007
A standard Linux system has an incredible amount of files installed. Looking for a file location can be a painful task to do though a file browser.
Fortunately, there is a nifty command line available by default on any Linux distribution: find.
find can virtually find anything on your computer and comes with a lot of options. This tutorial will introduce a basic use of it and show how you can search your filesystem for file names matching a name pattern.
Read the rest of this entry »
Tags: system
Posted in Administration, HowTo, System | No Comments »