Archive

Posts Tagged ‘Linux’

Free network scanner for OSX, Windows and Linux

January 23rd, 2010

Angry IP scanner is a free network scanner which supports Mac OSX, Windows and Linux. It has an intuitive GUI which makes it easy to use. You can download Angry IP scanner here, more screenshots are available here.

Software , , , ,

Fixing Cyrus SASL(-13): authentication failure: checkpass failed error

October 7th, 2009

The last few days I keep having trouble connecting to my imap server running Cyrus. I started to view my syslog when trying to authenticate to the Cyrus server, there was one line interesting:

Cyrus SASL(-13): authentication failure: checkpass failed error

I thought it should have something to do with the passwords so I tried to enter the Cyrus server with:

# cyradm localhost

When I entered my password I could not connect. This was weird since I was 100% sure about the correctness. To be sure I resetted all my imap box passwords using:

# saslpasswd2 username

This didn’t fix it either. Then I read on a website about the saslauthd daemon not running. I restarted the service and everything worked as normal :) My guess is that an Ubuntu update stopped the saslauthd daemon but did not restart it.

Linux , , , ,

Readout sensors of an EEE Box running Ubuntu server

August 11th, 2009

Quintin, a friend of mine, showed me a way to readout the sensors of my EEE Box in Ubuntu server.

The first step is to install the lm-sensors package

$ sudo apt-get install lm-sensors

Then you need to load the w83627ehf kernel module using

$ sudo modprobe w83627ehf

In order to have your sensors detected launch the command below and follow the steps shown (basically you can just press [enter] to each question).

$ sudo sensors-detect

Now you can readout your sensors by using the command

$ sensors

Remember if you want to load the w83627ehf module every time the sysem reboots, you need to update your /etc/rc.local with the line:

modprobe w83627ehf
readout of my sensors

readout of my sensors

Linux , , , , ,

Set Xubuntu splash

July 20th, 2009

I wanted to switch from Kubutu to Xubuntu, this all went fine except the splash screen. The startup splash still was the Kubuntu one. In order to change this to the following:

$ sudo update-alternatives –config usplash-artwork.so

Select the option of your Xubuntu splash screen. Reload the spash with:

$ sudo dpkg-reconfigure usplash

Picture 4

Linux , ,

How to change the timezone in Ubuntu

July 14th, 2009

After installing Xubuntu in VMWare I noticed that it had the wrong timezone set up. In order to change the timezone execute (as root) the following:

# dpkg-reconfigure tzdata

Picture 15

general , , ,

Kubuntu Jaunty on Samsung NC10

April 25th, 2009

A while ago I posted about how one can install Kubuntu on a netbook without cd-rom device. Although there were some issues on the NC10 still it worked pretty neat. Two days ago Kubuntu Jaunty (9.10) was released. I updated my NC10 with this version and this is what I discovered:

  • Video artifacts in KDE login screen disappeared
  • Speakers are muted when plugging in earphones
  • Getting Wifi to work is a lot harder than the old Kubuntu version (especially 802.1x). I have to use knetworkmanager to make it work (sometimes it does not work at all).
  • The screen brightness can be set with the slider of the energy widget.
The new Kubuntu

The new Kubuntu

Gadgets , , , ,

Disable root login for ssh server in Kubuntu

February 13th, 2009

If you are a hacker, what is the thing you want to be on a Linux System? Root. You can try to access a ssh server with the root user. There is an option in the ssh server configuration which prevents a remote root login. This does not mean you can not become root, it means no one can directly login as the root user. So if you are logged in as Alice you can simple enter the “su” command to become root.

How we can prevent the remote root login is described below.

root

Read more…

Linux, Software, general ,

Samsung NC10’s Kubuntu finally mutes speakers when using headphone

January 29th, 2009

When I bought my Samsung NC10, I noticed some weird behaviour of the sound card; when I plugged in my headphone the speakers still played sound as well. This morning I updated my Kubuntu running Samsung NC10 with a new kernel: 2.6.27-11-generic. After a reboot  I noticed I finally had a headphone slider in KMixer.

kmixer

KMixer

Read more…

Linux , , ,

Sync folders between linux servers using rsync

January 12th, 2009

I have my netbook, and I have a server. Now I want to sync files between these machines in order to keep a backup of all the documents of my netbook on the server. I found a page which explains how to sync between two servers. With a little tweak I created the command which I needed in order to sync the two folders.

$ rsync -avrR --links --rsh=/usr/bin/ssh ~/Documents/ home.basvandijk.eu:

In this command Documents/ is the documents folder in my home dir, home.basvandijk.eu is the server containing a Documents folder as well which is used to sync to.

  • -a enables archive mode
  • -v enables verbose mode
  • -r means recursive
  • -R means use relative paths
  • –links means copy symlinks as symlinks
  • -rsh specifies which remote shell to use

Linux ,