You are currently browsing the archives for the linux category


Mercurial host fingerprint warning

The problem:

Recently I have updated my system and also mecrurial. Today I tried to do some work with a repository hosted in another machine and I got the following warning:

"warning: www.mydomainname.com certificate with fingerprint e1:0e:46:81:37:20:33:aa:42:c0:98:d7:e9:7f:c6:19:7a:ee:d5:37 not verified (check hostfingerprints or web.cacerts config setting)" 

This really annoyed me and I did some search around what is necessary to do to get rid of this warning. And the solution follows.

The solution:

Add the following lines to the .hgrc file which is located in your home directory (if the file is not there create it).

 
[hostfingerprints]
www.bscmsrc.eu = e1:0e:46:81:37:20:33:aa:42:c0:98:d7:e9:7f:c6:19:7a:ee:d5:37

 

Assuming that e1:0e:46:81:37:20:33:aa:42:c0:98:d7:e9:7f:c6:19:7a:ee:d5:37 is the fingerprint for your host (displayed in the warning message).

And this should be enough to not see the warning message anymore.

Learn Linux Distribution and Version

To learn the distribution of the linux and the version type: $cat /etc/*-release

Using DropBox in Eee PC with Xandros and KDE

DropBox is very convenient online back-up and synchronization service. It has a free version with storage capacity of 2GB.I started using it recently and liked it pretty much. I have the client application installed in one Windows, one Ubuntu and now Eee PC Xandros machines. Using it on Eee PC Xandros was a little bit tricky. DropBox consists of two components daemon and Nautilus plugin. The functionality of the serivce is in the daemon that runs at the background and monitors for changes in the Dropbox directory. The Nautilus plugin is a convenient front-end to the DropBox daemon that provides interactive GUI. The problem of using DropBox in Eee PC Xandros and in general KDE is that Nautilus which is a Genome application. And to install the available binary packages you need to install all the required Nautilus/Genome dependencies (packages). I don’t recommend trying to install these dependent packages because this may lead to uninstalling existing packages thus creating critical dependencies that may cause your system to not run at all.

So how I use DropBox in Eee PC with Xandros. I install only the daemon and don’t have the fancy file annotations and other features that comes with the Nautilus file manager:

  • Download the binary of the DropBox daemon from http://www.getdropbox.com/download?plat=lnx.x86 (this is 32bit version of the binary but should work also on 64bit architectures)
  • Then unpack the tar file ($tar -xzvf <file name>) a hidden directory with name .dropbox-dist will be created
  • move this directory to your home directory ($mv .dropbox-dist $HOME) 
  • now you have to run the DropBox daemon – this is the executable named dropboxd inside .dropbox-dist ($ ~/.dropbox-dist/dropboxd). A login dialog box will appear. Type in your credentials. The default DropBox directory is /home/user/Dropbox. If you get errors you have to upgrade some packages. Better apply all possible upgrades otherwise you can get broken packages (from CTRL+ALT+T, sudo synaptic, choolse "Mark all upgrades", Apply)
  • DropBox daemon will start synchronizing your files (downloading your files from the web storage)
  • The DropBox daemon will run in background and take care of keeping your directory in sync.

However these steps are not sufficient to make DropBox run automatically every time when you boot your computer. To make DropBox daemon run at startup you have to add the following line

/home/user/.dropbox-dist/dropboxd &

Any comments on improving this post are welcome.

 

Eee PC 901 – Thinking of Switching to Ubuntu (Easy Peasy)? Don’t!

I use Ubunut in my other more powerful laptop and I am very satisfied with it. After the clean install, I configured it very well and now it runs perfectly. So I decided to try Ubuntu Easy Peasy (I think the version was 8.04.1) on Eee PC 901. I had reinstalled Xandros in my Eee 901 which worked very well, I didn’t have any complaint’s but with installing some packages (dependencies). However installing Ubuntu Easy Peasy was completely waste of time.

Things that didn’t work out of the box are:

  • Webcam
  • Bluetooth (I am not able to connect with my mobile phone to the Internet)
  • Wireless with WPA encrypted networks
  • Function key (Fn)
  • Microphone
  • The video files (movies).

Though there are known solutions to make all these working I didn’t want to waste my time with and restored back the Xandros which I had backed up.

And one more thing that I was not satisfied with is the noticeably slow boot time of Ubuntu Easy Peasy compared to Xandros Easy Mode.

For other Eee PC models probably these probably do not exist. If you want to try Ubuntu on your Eee PC there is very nice how to article “How to install Easy Peasy (formerly Ubuntu-EEE) on an EEE PC”. But in case that you may also not like it, I would recommend you first to back up your system.