Entries Tagged as 'Allgemeines'

dos2unix missing (Ubuntu 10.04)

clipped from www.virtualhelp.me

dos2unix missing (Ubuntu 10.04)
Yet another “feature” from the developers of ubuntu to simplify life. “dos2unix” and “unix2dos” are missing in version 10.04 (Lucid).
First of all, install dos2unix package:
sudo aptitude install tofrodos
Then if you want “dos2unix” type “fromdos” and if you want “unix2dos“, type “todos“.

Debian on the Lemote YeeLoong

Loongson Club logoLemote YeeLoong dragon mascotSo, I bought myself a Lemote YeeLoong 8089B “notebook”. Well, actually its more a netbook. As I had such god success with Debian on my SGI O2, I wanted to try a more modern MIPS based device. Something that I could actually use for something other than just show of as fancy old school hardware to my buddies. Lemote’s YeeLoong with its Chinese “dragon chip” Loongson, a reverse engineered, MIPS compatible CPU, provided me with just that thing.

[Read more →]

How to Change the default “Open with” program for a file type Ubuntu Nautilus

THX panayara
clipped from shibuvarkala.blogspot.com

  1. Open Nautilus,
  2. Right click on the file you want to change and choose Properties from the menu .
  3. In Properties , select Open With tab. Now You can see One or More Applications.
  4. Now you can select your option, for default application.
  5. Suppose the application is not in the list, use the Add button to add application.

When NFS4 shares with Kerberos encryption will not mount after an upgrade to Debian Squeeze

Then maybe you are facing this problem:
clipped from ubuntuforums.org
kinit in krb5-user (Ubuntu 10.04 beta2) not working

To use Kerberos, I installed the ssh-krb5 & krb5-user package in Ubuntu 10.04 beta 2, but when I call kinit, it gives the following error message:

No supported encryption types (config file error?) while getting initial credentials

I had this same problem. The reason for me was that my KDC requires des-cbc-crc encryption, which is apparently deprecated as of 10.04. After a Google search, I found:

“Please also note, that des-cbc-crc encryption is depreciated and, starting with Ubuntu 10.04, is no longer supported by default in the Kerberos libraries. For nfs4 to work, you need to add allow_weak_crypto = true to /etc/krb5.conf”
under [libdefaults] section

Testing a null modem serial connection under linux

Used this to test the connectivity of two HA-Nodes connected via a null modem cable on their serial ports. Also nice to find which ports are connected, since not every machine has their ports mapped to the same devices…
clipped from www.ibm.com
Set up the serial connection
Use a null modem cable to connect the two nodes through their serial ports. Now test the serial connection, as follows:
On ha1 (receiver), type:


cat < /dev/ttyS0

On ha2 (sender) type:


echo "Serial Connection test" > /dev/ttyS0

You should see the text on the receiver node (ha1). If it works, change their roles and try again.

Probleme mit 32 Bit Java Applikationen auf 64 Bit Systemen

Scheinbar haben gewisse Java-Applikationen Probleme mit x86-64 GNU/Linux-Distributionen. Mich traf es, als ich die diesjährige Version des Steuern-Programmes auf Ubuntu 8.04.2 amd64 (Hardy Heron aka der gehärtete Reiher ;-). Zum Glück fand aber bereits jemand eine Lösung für das Problem. Man muss einfach noch die 32-Bit-Java-Version installieren und zum System-Standard machen:

clipped from forum.frostwire.com

Re: after upgrading to Ubuntu 8.04 frostwire is not starting.

by xbj9000 on Fri May 16, 2008 3:13 pm

I have a solution for those of us running 64 bit systems:

sudo apt-get install ia32-sun-java6-bin
sudo update-alternatives --config java

Then choose the ia32 version of Java 6.

Manually fixing bug with Darklooks GTK-theme and Compiz

This is annoying: Whenever I install a new GNOME-Desktop with my favourite Darklooks theme from the gnome-theme-extras package (in Ubuntu) I am confronted by this silly bug. As soon as I change to the compiz-window-manager it starts resetting the theme to default colours.Finally found the corresponding bug report. To fix it open the file /usr/share/themes/Darklooks/gtk-2.0/gtkrc and edit it like follows:

clipped from bugs.launchpad.net

You can fix it by changing the two tooltip lines…

from:

181: bg[NORMAL] = @tooltip_bg_color
182: fg[NORMAL] = @tooltip_fg_color

to:

181: bg[NORMAL] = @tooltips_bg_color
182: fg[NORMAL] = @tooltips_fg_color

Installation from USB Stick

The method described below is truly one of the simplest for installing an Ubuntu ISO image on an USB stick.
clipped from ubuntuforums.org

  • use syslinux to make the usb stick bootable (you will need to set the bootable flag too. i think syslinux gives you pointers on how to if it isn’t set, that or use something like fdisk)
  • copy the contents of the ‘isolinux’ dir on the install iso into the root dir on the usb stick
  • rename isolinux.cfg to syslinux.cfg
  • goto http://archive.ubuntu.com/ubuntu/dis…ages/hd-media/ and download the initrd.gz and vmlinuz files.
  • create a folder on the usb stick called ‘install’ and copy initrd.gz and vmlinuz into it (or alternatively edit the syslinux.cfg to point it to the correct location of initrd.gz+vmlinuz)
  • copy the ubuntu iso you wish to install onto the root of the usb stick