Gentoo / ArchLinux - NetworkManager and policykit

Posted on Thu 26 January 2012 in Linux • Tagged with Arch Linux, Gentoo, linux, notepad, networkmanager • 1 min read

If you want to use the NM (especially the nm-applet) in Gentoo or ArchLinux, you have to grant the user to access the NM. Therefor you create the following file

# cat /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla 
[nm-applet]
Identity=unix-group:plugdev
Action=org.freedesktop.NetworkManager.*
ResultAny=yes …

Continue reading

Gentoo Binary Packages

Posted on Mon 16 January 2012 in Linux • Tagged with Gentoo, linux, notepad • 1 min read

GCC (4.5.3) flags for

* Intel(R) Core(TM) i7 CPU M 620
* Intel(R) Core(TM) i7 CPU 920
* Intel(R) Core(TM)2 Duo CPU T7700
CFLAGS="-march=core2 -mtune=generic -O2 -pipe -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4 -mmmx"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu …

Continue reading

archlinux - Acrobat Reader

Posted on Fri 13 January 2012 in Linux • Tagged with Arch Linux, Linux, Notepad • 1 min read

Sometimes its necessary/pleasanter to use the Acrobat Reader for some PDF files like forms...

Enable the multilib repository

# cat /etc/pacman.conf
[...]
[multilib]
Include = /etc/pacman.d/mirrorlist
[...]
# pacman -Sy

Install necessary packages

# pacman -S lib32-libxml2 lib32-gtk2 lib32-gdk-pixbuf2

Maybe there are some more packages still missing on your system …


Continue reading

pv - monitor the progress of data through a pipe

Posted on Thu 08 September 2011 in Linux • Tagged with Arch Linux, Linux, tools, notepad • 1 min read

I've found a very nice tool pv ...

$ dd if=/dev/sda1 | pv | dd of=backup.img
359MB 0:00:05 [75.3MB/s] [    <=>                       ]

libvirt - QEMU Monitor Protocol (QMP)

Posted on Fri 20 May 2011 in Linux • Tagged with KVM, Linux, libvirt, notepad • 1 min read

Because libvirt self is using the qemu monitor to mange the guests, it is not available for the user. Since version 0.8.6 [1] its possbile to send a command throught libvirt to the monitor.

virsh qemu-monitor-command  

The problem is that you must use the QMP format to send …


Continue reading

Force a reboot/shutdown

Posted on Wed 27 April 2011 in Linux • Tagged with Linux, notepad • 1 min read

force reboot

$ echo 1 > /proc/sys/kernel/sysrq
$ echo b > /proc/sysrq-trigger

force shutdown

$ echo 1 > /proc/sys/kernel/sysrq
$ echo o > /proc/sysrq-trigger

ERROR: boot device didn't show up after 30 seconds

Posted on Wed 20 April 2011 in Linux • Tagged with Arch Linux, HowTo, linux, notepad • 1 min read

If you're trying to boot the Archlinux 2010.05 CD/DVD/Netinstall and getting the message

ERROR: boot device didn't show up after 30 seconds ...

try this one to fix the problem

$ udevadm trigger
$ exit

openssl with version information under sles11sp1

Posted on Tue 29 March 2011 in Linux • Tagged with Server, SUSE Linux Enterprise Server, notepad, linux, openssl • 2 min read

If you getting errors like this one

$ /path/to/program
/usr/lib/libcrypto.so.0.9.8: no version information available

you need a libcrypto.so and a libssl.so with version information.

Here are some information about the problem.

openssl has evolved to a very important library in Linux …


Continue reading

JBoss Cluster - ServerPeerID

Posted on Tue 22 February 2011 in Linux • Tagged with JBoss, Server, Work, linux, notepad, java • 1 min read

$SERVER/deploy/messaging/messaging-service.xml

${jboss.messaging.ServerPeerID:0}

For clustered environment each jboss node need a unique ServerPeerID which must be a valid integer.


Migrating Ubuntu to Linux Mint 10

Posted on Tue 22 February 2011 in Linux • Tagged with Debian, Linux, notepad, ubuntu, linux mint • 1 min read

Here are some random notes for the migration from ubuntu to linux mint 10 (julia) !

/etc/apt/sources.list

deb http://packages.linuxmint.com/ julia main upstream import
deb http://archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse …

Continue reading