Posts Tagged ‘Linux’

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface “org.freedesktop.Hal.Device.Volume” member “Mount” error name “(unset)” destination “org.freedesktop.Hal”)

Got this error when I plug a usb stick on my newly installed Slackware 12.2 machine (Axioo TVS laptop)

This is how I fix it :

I add my username (‘rumy’ in this case) on plugdev group (/etc/group), restarting messagebus and hald (/etc/rc.d/rc.messagebus and /etc/rc.d/rc.hald) and Voila! everything works fine.


Here’s the workaround:


root@cbug-nest:~# /usr/bin/start-network

After that clicking Internet -> Wicd Network Manager (or type /usr/bin/wicd-client on terminal) should bring you the Wicd Manager

I got a little problem after upgrading my Fujitsu’s Ubuntu 8.10 to 9.04, I removed some of the kernel files and directory by hand some time ago, and it turned back as a problem after the upgrading was complete. To make it short, I can not update anything before the broken dependencies is fixed, but I can’t fix the broken dependencies because all the files were already manually deleted by me. Lucky me the Synaptic Package Manager list the directories and files that were deleted, so here’s what I’ve done

1. Created all the directories with mkdir
mkdir -p /lib/modules/2.6.27-7-generic/volatile/

2. Created all the files with touch
touch /boot/
touch /boot/initrd.img-2.6.27-7-generic

3. Fixing it with
sudo aptitude -f remove

And finally I can use the Update Manager again.

iptables and youtube

Posted: April 5, 2009 in Linux
Tags: ,

SurfNet asked me to block youtube (youtube was taking almost if not all bandwidth in our cybercafe said the owner), after some research I found that an iptables rules can help me, and since youtube owned all 208.65.153.x subnets it make things easier, so here it is:

/sbin/iptables -A OUTPUT -d -j DROP
/sbin/iptables -A FORWARD -d -j DROP

Symptom :
cannot lock media/.hal-mta
when tried to access device such usb-flash

Solution :
(as root)
# mkdir /media

Find this when searching for Japanese’s font solution on BackTrack :

Slackware is not the most user-friendly of distros; or rather, as the Unix joke goes, it’s picky about who its friends are. On the other hand, it has distinct advantages in terms of flexibility, simplicity and a charming literalness of mind. It does not, however, speak many languages ‘out of the box’.

true … ^^

“Feature only available with HAL” pesan ini keluar pada saat memasukkan usb-flash stick ke USB port di Toshiba Laptop (OS : BackTrack) sebagai user biasa (bukan root), ini bisa diperbaiki dengan menambah username di /etc/groups pada group plugdev, seperti berikut ini :


Sesudah itu usb-flash stick bisa dimasukkan tanpa ada masalah ^o^