Posts

Unlock/desimlock your blackberry for free

Some advertising today :) I've found a website offering free blackberry unlock/desimlock: http://freemyblackberry.com/index.html You need to follow the instructions, send your information and after 24 hours maximum, you should receive the code to unlock your phone. I got the code after only 18h and it was working fine. I didn't notice more spam incoming or anything annoying after using the service from this website... #1

VirtualBox not allowing to delete a snapshot

Today I got an error while trying to delete a VirtualBox snapshot : "Failed to delete the snapshot XXXX of the virtual machine YYYY" (english) "Échec de la suppression de l'instantané XXXX de la machine virtuelle YYYY" (french) Hard disk 'XXXX.vdi' has more than one child hard disk (2). In the snapshot manager, there were only two snapshots linked to my virtual machine. I could delete the newest one, but I was not able to delete the oldest one/root snapshot. To resolve this issue, I went to the "File > Virtual Media Manager" menu, then the [Hard Disks] tab and I've expanded the tree under my virtual machine. I've deleted one snapshot that was not linked to any virtual machine, or snapshot. After what I was able to delete my oldest/root snapshot.

Bash script launched by cron on OpenBSD not working

In the pink world of Ubuntu from where I come, things are easy, and PATH variable is fully set in each context. But in the dark world of OpenBSD, things aren't always obvious ;) If you decide to write a bash script intended to be used as a cron task, DO NOT forget to fully qualify path of non standard commands : e.g. zip or smbclient should be written as /usr/local/bin/zip and /usr/local/bin/smbclient . Hope it could save time for others...

Use squid on ubuntu server 11.10 joined to a domain in order to force NTLM authentication (review ubuntu 11.10)

This installation was made on an ubuntu server 11.10 and is partially based on my previous tutorial . Install squid: sudo apt-get install squid You can already test the installation by configuring your web browser to use your server on port 3128 as the proxy server. You should receive an error web page generated by squid or the requested web page. In order to request your domain controler, you have to install the following packages: sudo apt-get install samba krb5-user libpam-krb5 winbind During the installation, you should be prompted for a default kerberos realm . Enter your domain name in capital letters : YOURDOMAIN.COM You can test that all is running fine by typing the following command: sudo kinit Administrator You will be prompted for the administrator password. If all is correctly configured, the command should return no result. You can also check the credential cache with: sudo klist Edit /etc/samba/smb.conf and add or modify the following items: [glo...

linux : show current subfolders size

The following command show the size used by each subfolder in the current folder ordered by size and in a human readable format : paste <(du -xs *) <(du -xhs *) | sort -n | cut -f3,4

Belgacom BBox2 : use TV as internet port

Connect to the web interface of the bbox (http://192.168.1.1) Go to ' Advanced Settings ' > ' Route ' and select the tab ' Routing ' on the top of page. At the really bottom of the page, uncheck the port you would use as internet ports and check those you want to use as TV ports. #1

Easily delete Lan Server entries in Belgacom BBOX routeur

Deleting Lan Server entires via the BBOX web interface is a pain when there are more than five entries to delete. Hopefully, you can connect to the telnet interface to achieve this task 10 times quicker : Connect to the router via telnet (check this post to figure out how to connect via telnet) Check the ID numbers of the entries you want to delete: You can hover the button to edit or delete an entry in the web interface in order to see the ID in the URI Or you can run this command rg_conf_print /fw/rule/loc_srv/ to see the list of Lan Servers Run the following command for each ID to delete where [ID] is the id to delete : rg_conf_del /fw/rule/loc_srv/ [ID] If you don't want to execute the command manualy, you can use my tool . Usage : bbox_fw_delete_id -i [bbox_ip] -l [login_name] -p [password] -s [start_id] -e [end_id] This tool is provided 'as is' and could not work as expected or even corrupt your BBox. .NET library used to write this tool