<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Silviu's Blog</title><link>https://silviuvulcan.ro/blog/</link><description>Recent content on Silviu's Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Fri, 09 Dec 2022 14:38:21 +0000</lastBuildDate><atom:link href="https://silviuvulcan.ro/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Roll Your Own Tailscale MagicDNS Using pfSense and Unbound</title><link>https://silviuvulcan.ro/blog/2022/12/09/roll-your-own-tailscale-magicdns-using-pfsense-and-unbound/</link><pubDate>Fri, 09 Dec 2022 14:38:21 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2022/12/09/roll-your-own-tailscale-magicdns-using-pfsense-and-unbound/</guid><description>The Why First question that would come to mind is why bother ? Tailscale implements a perfectly usable MagicDNS feature. Well there are a few reasons I quickly discovered after telling myself &amp;ldquo;Looks great, let&amp;rsquo;s enable it&amp;rdquo;:
Even if the issue is closed I still very often get DNS issues in Android if Tailscale with MagicDNS is active.
UPDATE: having setup this d-i-y dns scheme I never checked again for MagicDNS.</description></item><item><title>Ubuntu 22.04 Dislikes RSA Keys</title><link>https://silviuvulcan.ro/blog/2022/06/18/ubuntu-22-04-dislikes-rsa-keys/</link><pubDate>Sat, 18 Jun 2022 14:01:33 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2022/06/18/ubuntu-22-04-dislikes-rsa-keys/</guid><description>I wrote in a past article about how I&amp;rsquo;m setting up Hetzner dedicated servers with full disk encryption even if they miss an ikvm and why Debian 10 machines require a RSA key for this.
But since I switched one of my workstations to Ubuntu 22.04 I was unable to login using this RSA key. Running ssh with debug enabled showed the likely culprit:
debug1: Offering public key: /home/user/.ssh/id_rsa debug1: send_pubkey_test: no mutual signature algorithm The message sent me on the right track, Ubuntu 22.</description></item><item><title>Full Disk Encryption on Hetzner Dedicated and Debian 10 Woes</title><link>https://silviuvulcan.ro/blog/2022/06/18/full-disk-encryption-on-hetzner-dedicated-and-debian-10-woes/</link><pubDate>Sat, 18 Jun 2022 13:41:37 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2022/06/18/full-disk-encryption-on-hetzner-dedicated-and-debian-10-woes/</guid><description>As absolutely nobody knows or uses I maintain an ansible role that can setup a Debian or Ubuntu machine with full disk encryption on Hetzner Robot (baremetal dedicated machines). But wait, you shout, Hetzner usually runs consumer grade stuff without kvm&amp;rsquo;s - how do you enter your password at bootime. Easy, the role sets up a minimal boot environment with a dropbear ssh server where you can login and do cryptroot-unlock.</description></item><item><title>I’m Back</title><link>https://silviuvulcan.ro/blog/2021/10/11/im-back/</link><pubDate>Mon, 11 Oct 2021 10:06:37 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2021/10/11/im-back/</guid><description>For years I used to run both a tech blog and a blog in my native language. At some point I realized I haven&amp;rsquo;t posted in years, backed it up and shut everything down. Since then a few things happened: I got into 3D printing, have a sometime interesting $dayjob, gave up on Facebook (never been much active on twitter). All those are going towards me wanting to share stuff (I&amp;rsquo;m sure all 3 of you reading this will be happy) and having no place to do it.</description></item><item><title>About Me</title><link>https://silviuvulcan.ro/blog/pages/about/</link><pubDate>Sat, 02 Oct 2021 16:44:48 +0000</pubDate><guid>https://silviuvulcan.ro/blog/pages/about/</guid><description>I’m a DevOps engineer / sysadmin, tech and open source enthusiast by day and amateur photographer and traveler in my spare time. I also 3d print and build/repair/break stuff regularly in my garage. Sysadmin then DevOps engineer, probabbly doing DevOps before it was fashionable to be called that.</description></item><item><title>Oracle complains about long identifier on simple operations.</title><link>https://silviuvulcan.ro/blog/2016/03/25/oracle-complains-about-long-identifier-on-simple-operations/</link><pubDate>Fri, 25 Mar 2016 12:16:52 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2016/03/25/oracle-complains-about-long-identifier-on-simple-operations/</guid><description>Soo,
I&amp;rsquo;m going head first into the oracle db world. I was trying to create an spfile from the pfile and of course it didn&amp;rsquo;t work:
SQL&amp;gt; create spfile from pfile=&amp;#34;/oracle/app/product/12.1.0/dbhome_1/dbs/initORCL.ora&amp;#34;; create spfile from pfile=&amp;#34;/oracle/app/product/12.1.0/dbhome_1/dbs/initORCL.ora&amp;#34; * ERROR at line 1: ORA-00972: identifier is too long The reason is simple enough, you have to use single quotes instead of double quotes. But it took me a while to find out this so here it is for all other beginners.</description></item><item><title>Errors in mail.log from nagios check_ssmtp</title><link>https://silviuvulcan.ro/blog/2016/03/25/errors-in-mail-log-from-nagios-check_ssmtp/</link><pubDate>Fri, 25 Mar 2016 11:47:38 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2016/03/25/errors-in-mail-log-from-nagios-check_ssmtp/</guid><description>I got my nagios server banned by fail2ban because of errors in the postfix mail.log log. I know that I can simply whitelist the nagios server but I prefer it working perfectly.
Checking the logs I could see this error repeating itself on each check:
Mar 25 13:01:13 xxx-123 postfix/smtpd[17065]: connect from nagios.example.com[1.2.3.4] Mar 25 13:01:13 xxx-123 postfix/smtpd[17065]: improper command pipelining after QUIT from nagios.example.com[1.2.3.4]: Mar 25 13:01:13 xxx-123 postfix/smtpd[17065]: disconnect from nagios.</description></item><item><title>AIX git SSL woes</title><link>https://silviuvulcan.ro/blog/2016/02/23/aix-git-ssl-woes/</link><pubDate>Tue, 23 Feb 2016 09:27:39 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2016/02/23/aix-git-ssl-woes/</guid><description>Oh joy and happiness I have to admin AIX boxes. One of the first things I hit was using git to clone some stuff from github erroring out with:
SSL certificate problem: unable to get local issuer certificate Yep, simple problem, no ssl ca bundle on the system. You can use either the bulldozer solution and have either:
export GIT_SSL_NO_VERIFY=true either:
git config http.sslVerify false ( git config --unset http.sslVerify ) because who cares about MITM attacks especially to deployed software on production servers.</description></item><item><title>Use Vagrant on Windows with Ansible under Cygwin</title><link>https://silviuvulcan.ro/blog/2016/02/04/use-vagrant-on-windows-with-ansible-under-cygwin/</link><pubDate>Thu, 04 Feb 2016 11:24:45 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2016/02/04/use-vagrant-on-windows-with-ansible-under-cygwin/</guid><description>If due to some reason you have to run vagrant under windows and plan on using Ansible you will need a couple of wrappers.
ansible-playbook.bat has to be in the Windows PATH;
ansible-winpath-playbook.sh is called by ansible-playbook.bat to change paths from Windows style paths to *nix style paths that ansible under cygwin can understand.</description></item><item><title>Creating new zfs pool mixing previously used drives</title><link>https://silviuvulcan.ro/blog/2016/02/03/creating-new-zfs-pool-mixing-previously-used-drives/</link><pubDate>Wed, 03 Feb 2016 11:51:03 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2016/02/03/creating-new-zfs-pool-mixing-previously-used-drives/</guid><description>I am building a new homelab for myself using Intel NUCs. I need a NAS so I can test live migration and I was set to buy 2 bay synology. But when a 140$ HP Gen8 Microserver was on offer I couldn&amp;rsquo;t say no. FreeNAS might not be as polished as Synology but I would be getting 4 bays, two gigabit ports and iLO at a third of the price. Also it would offer the possibility of learning FreeNAS (my other, longtime NAS is slackware + zfs on linux).</description></item><item><title>Verify SMART details for members of an Intel RST RAID volume</title><link>https://silviuvulcan.ro/blog/2015/10/22/verify-smart-details-for-members-of-an-intel-rst-raid-volume/</link><pubDate>Thu, 22 Oct 2015 06:02:14 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/10/22/verify-smart-details-for-members-of-an-intel-rst-raid-volume/</guid><description>Sooo,
Be it because of the BIOS update to a beta or because of my drives but my RAID10 keeps failing. I documented before how to repair such a broken array but I didn&amp;rsquo;t want to go ahead with it too many times as data corruption is only one step away. Knowing that at least one of the disks has some minor issues (mdadm kicked it out some time ago when the disks were running under linux) I decided to check smart details and only keep only two of the disks in RAID1.</description></item><item><title>Intel RST RAID Non-RAID Disk after BIOS update</title><link>https://silviuvulcan.ro/blog/2015/10/14/intel-rst-raid-non-raid-disk-after-bios-update/</link><pubDate>Wed, 14 Oct 2015 06:06:33 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/10/14/intel-rst-raid-non-raid-disk-after-bios-update/</guid><description>So, having nothing better to do and for no good reason I decided to update my workstation&amp;rsquo;s BIOS to the latest version released by Gigabyte. Since ignoring _the &amp;ldquo;__If it works don&amp;rsquo;t fix it&amp;rdquo; _mantra is always a good idea. Beautiful, after update two of my disks from a four disk RAID10 array were showing as Non-RAID Disk. I had backups but shuffling 2TB+ of data is never fun.
Initial reports were all grim, the Intel RST BIOS does not allow repairing.</description></item><item><title>pfSense home router using the PC Engines APU1D4</title><link>https://silviuvulcan.ro/blog/2015/08/27/pfsense-home-router-using-the-pc-engines-apu1d4/</link><pubDate>Thu, 27 Aug 2015 09:05:18 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/08/27/pfsense-home-router-using-the-pc-engines-apu1d4/</guid><description>My old home router based on a sandy bridge dual core celeron and a gigabyte motherboard got &amp;ldquo;stolen&amp;rdquo; by my wife to use as a desktop as her old laptop was getting pretty slow.
I ran for a while Tomato on a Cisco E3200 router but it wasn&amp;rsquo;t able to keep up with my home connection (300 down / 100 up). Even if the router has gigabit ports it was only able to nat at ~100-150Mbit and openvpn was limited to around 10Mbit</description></item><item><title>Adding a form with autocalculated fields in squarespace</title><link>https://silviuvulcan.ro/blog/2015/08/26/adding-a-form-with-autocalculated-fields-in-squarespace/</link><pubDate>Wed, 26 Aug 2015 12:45:43 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/08/26/adding-a-form-with-autocalculated-fields-in-squarespace/</guid><description>I had to build a form on a squarespace hosted site that has to auto-calculate a couple of fields and also do field validation and offer the option to email the whole calculation to a visitor chosen address. I won&amp;rsquo;t publish the complete script here, but it should help get you going.
First of all you will have to build this in the HTML/CSS block, you won&amp;rsquo;t be able to use the squarespace offered form builder.</description></item><item><title>Brightness keys on Linux Mint for Acer E3-111</title><link>https://silviuvulcan.ro/blog/2015/06/27/brightness-keys-on-linux-mint-for-acer-e3-111/</link><pubDate>Sat, 27 Jun 2015 09:52:41 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/06/27/brightness-keys-on-linux-mint-for-acer-e3-111/</guid><description>Enabling brightness control is moderately easy (I&amp;rsquo;m pretty sure they worked out of the box on slackware).
Go to codingtony/acer-brightness-linux-acpi and follow the instructions. Change /etc/acpi/events/acer-tm-brightness-down and /etc/acpi/events/acer-tm-brightness-up with the correct events:
event=video/brightnessdown BRTDN 00000087 00000000 and
event=video/brightnessup BRTUP 00000086 00000000 Restart acpid and the shortcuts should start working.</description></item><item><title>Speed-up WAN-LAN speed on the Cisco E3200 using Tomato</title><link>https://silviuvulcan.ro/blog/2015/05/27/speed-up-wan-lan-speed-on-the-cisco-e3200-using-tomato/</link><pubDate>Wed, 27 May 2015 10:15:43 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/05/27/speed-up-wan-lan-speed-on-the-cisco-e3200-using-tomato/</guid><description>There&amp;rsquo;s a really long discussion on bcm_nat and fastnat on the various forums like linksysinfo. The short version of this is:
fastnat and bcm_nat are disabled by default because they break QOS and access restrictions. If you use any of those you&amp;rsquo;re done, you have to choose features or speed or another router. If you, like me, don&amp;rsquo;t use those you can do the following: ssh into your router and try: modprobe bcm_nat than speedtest your connection a few times you should see some improvement.</description></item><item><title>Subdomains pointing to private IPs are not resolved on Tomato</title><link>https://silviuvulcan.ro/blog/2015/05/26/subdomains-pointing-to-private-ips-are-not-resolved-on-tomato/</link><pubDate>Tue, 26 May 2015 10:47:12 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/05/26/subdomains-pointing-to-private-ips-are-not-resolved-on-tomato/</guid><description>Some time ago I used to remember IPs on my home and work network but these days I rely much more on dns and dhcp reservation for this tasks. This has the advantage that I can easy move a service, say git.example.com to a new server.
At home I switched (at least for a while) from a dedicated Debian router/gateway box to a router running Tomato. Suddenly subdomains pointing to private IP addresses were no longer resolved.</description></item><item><title>Missing 5Ghz WiFi settings on Cisco E3200 with Tomato Shibby</title><link>https://silviuvulcan.ro/blog/2015/05/20/missing-5ghz-wifi-settings-on-cisco-e3200-with-tomato-shibby/</link><pubDate>Wed, 20 May 2015 06:33:49 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/05/20/missing-5ghz-wifi-settings-on-cisco-e3200-with-tomato-shibby/</guid><description>I followed the instructions and installed Tomat on my Cisco E3200 router without issue. I chose Tomato by Shibby specifically because it supports the 5GHz radio in this particular router model. But woe and behold after I installed the settings were not there, I could only see them for the 2.4GHz WiFi.
Well it turns out instructions are made to be followed, I got curious after install and logged right in, but it turns out you really have to do the last 30-30-30 reset.</description></item><item><title>Repairing a Husky Hunter after reversing batteries.</title><link>https://silviuvulcan.ro/blog/2015/04/27/repairing-a-husky-hunter-after-reversing-batteries/</link><pubDate>Mon, 27 Apr 2015 06:15:58 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/04/27/repairing-a-husky-hunter-after-reversing-batteries/</guid><description>Ok, I did it. For the first time since I can remember I inserted batteries wrongly and reversed polarity. And that in a device I&amp;rsquo;m pretty fond of, and I recently aquired: a Husky Hunter. It was only for a few seconds before I realized my mistake but it was enough, the computer was dead. I tried leaving it overnight with fresh batteries thinking that my mistake instantly depleted the onboard RAM battery (if it&amp;rsquo;s empty a Husky will just play dead until it gets a bit of charge).</description></item><item><title>Quickly disable email for one virtual host</title><link>https://silviuvulcan.ro/blog/2015/04/22/quickly-disable-email-for-one-virtual-host/</link><pubDate>Wed, 22 Apr 2015 09:28:09 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/04/22/quickly-disable-email-for-one-virtual-host/</guid><description>If you discover that one site that you host is sending tons of emails there is an easy and quick way to disable email only for one particular virtual host. Add the following line in it&amp;rsquo;s virtual host or .httacess file
php_admin_value sendmail_path &amp;#34;/dev/null&amp;#34; If you add it to the virtual host be sure to reload apache.</description></item><item><title>Migrating Gerrit to Google OAuth from Google OpenID</title><link>https://silviuvulcan.ro/blog/2015/04/09/migrating-gerrit-to-google-oauth-from-google-openid/</link><pubDate>Thu, 09 Apr 2015 10:17:38 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/04/09/migrating-gerrit-to-google-oauth-from-google-openid/</guid><description>I expect this post to be obsolete pretty soon, but for now I expect this will help you skip many of the issues and questions I had going forward with upgrading Gerrit and switching to Google OAuth from OpenID.
This post is not exhaustive, I trust that you are familiar with Gerrit if you&amp;rsquo;ve come so far. I am running a gerrit installation that was stuck at v2.10 as all our users used Google OpenID.</description></item><item><title>Running gcp.py from cron</title><link>https://silviuvulcan.ro/blog/2015/04/03/running-gcp-py-from-cron/</link><pubDate>Fri, 03 Apr 2015 10:16:22 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/04/03/running-gcp-py-from-cron/</guid><description>On my backup server I run gcp.py from gdatacopier to backup my google docs. I had to fix two issues in order to get it to run from a bash script:
the PYTHONPATH had to be exported prior to running, or the script will fail because it requires gdata-python-client the LANG envronment has to be set otherwise it will spill the following error in the log (if you bother to log the output from cron that is, otherwise it will just not work and you won&amp;rsquo;t know why, because the script works fine when ran manually) Traceback (most recent call last): File &amp;#34;/usr/local/bin/gcp.</description></item><item><title>mono 3.10 on slackware 64 bit</title><link>https://silviuvulcan.ro/blog/2015/03/24/mono-3-10-on-slackware-64-bit/</link><pubDate>Tue, 24 Mar 2015 07:28:03 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/03/24/mono-3-10-on-slackware-64-bit/</guid><description>I installed mono using sbopkg and found the following issue while trying to run keepass:
System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Unix.Native.Syscall -&amp;gt; System.DllNotFoundException: /usr/lib/libMonoPosixHelper.so at (wrapper managed-to-native) Mono.Unix.Native.Syscall:get_at_fdcwd () at Mono.Unix.Native.Syscall..cctor () [0x00000] in &amp;lt;filename unknown&amp;gt;:0 - End of inner exception stack trace - The fix was to edit [cci]/etc/mono/config[/cci] and remove the [cci]/usr/lib/[/cci] path from the [cci]libMonoPosixHelper.so[/cci] definition so that it looks like this:</description></item><item><title>Switched to Chrome but magnet links open with kTorrent instead of custom script</title><link>https://silviuvulcan.ro/blog/2015/03/17/switched-to-chrome-but-magnet-links-open-with-ktorrent-instead-of-custom-script/</link><pubDate>Tue, 17 Mar 2015 12:23:41 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/03/17/switched-to-chrome-but-magnet-links-open-with-ktorrent-instead-of-custom-script/</guid><description>On one of my kde workstations I switched from firefox to chrome. One issue I found was that I have a custom script that takes magnet links and adds them to my NAS server instead of opening them locally. Chrome insisted on opening them with ktorrent instead of my custom script. The fix is to create a file torrent.sh.desktop inside ~/.local/share/applications/ with the following content:
[Desktop Entry] Type=Application Exec=/usr/local/bin/torrent.sh %u MimeType=x-scheme-handler/magnet; Name=torrent.</description></item><item><title>Raspberry Pi A+ Nixie NTP Clock</title><link>https://silviuvulcan.ro/blog/2015/01/27/raspberry-pi-a-nixie-ntp-clock/</link><pubDate>Tue, 27 Jan 2015 10:30:49 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/01/27/raspberry-pi-a-nixie-ntp-clock/</guid><description>Who doesn&amp;rsquo;t like a Nixie tube based clock. Even my wife loved it. Bonus points if it&amp;rsquo;s very accurate.
I had in my parts box, for a very long time now, the display PCB from an old PH-meter. Old enough that it was done using Rusian 74141 clones - K155ID1 nixie drivers - a lot of logic chips (decade counters, serial latches, etc) and nixie tubes. It was also wired in a way that defied logic.</description></item><item><title>Build a Smart Scanner using a PI</title><link>https://silviuvulcan.ro/blog/2015/01/26/build-a-smart-scanner-using-a-pi/</link><pubDate>Mon, 26 Jan 2015 21:44:09 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2015/01/26/build-a-smart-scanner-using-a-pi/</guid><description>I got a free all-in-one printer from a friend who didn&amp;rsquo;t need it (consumed way too much ink cartridges). Since I liked the idea of the ScanSnap Evernote scanner but not so much the 500$ sticker price I decided to build one using this all in one and a Raspberry PI.
Fortunately the model I received is supported by SANE.
I needed the following pieces put together:
Interface (a few buttons to take color/grayscale lowres/high res photos) A command line utility to upload scanned pages to the cloud A daemon to monitor and trigger everything.</description></item><item><title>Prevent update-grub from finding LVM based virtual machines</title><link>https://silviuvulcan.ro/blog/2014/12/09/prevent-update-grub-from-finding-lvm-based-virtual-machines/</link><pubDate>Tue, 09 Dec 2014 09:12:54 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/12/09/prevent-update-grub-from-finding-lvm-based-virtual-machines/</guid><description>I&amp;rsquo;m running a debian based XEN box to host various virtual machines. Lately I&amp;rsquo;ve been having an issue when running update-grub. All the partitions for the virtual machines are found and added to grub:
# update-grub2 [...] Found Debian GNU/Linux (7.7) on /dev/mapper/vg0-vm01-disk Found Debian GNU/Linux (7.7) on /dev/mapper/vg0-vm02-disk Found Slackware Linux (Slackware 14.1) on /dev/mapper/vg0-vm03-disk [...] It&amp;rsquo;s not a big issue as the xen kernel is still default but it&amp;rsquo;s annoying.</description></item><item><title>Benchmark comparison of Intel RST RAID and Microsoft Storage Spaces pool</title><link>https://silviuvulcan.ro/blog/2014/11/04/benchmark-comparison-of-intel-rst-raid-and-microsoft-storage-spaces-pool/</link><pubDate>Tue, 04 Nov 2014 09:53:30 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/11/04/benchmark-comparison-of-intel-rst-raid-and-microsoft-storage-spaces-pool/</guid><description>I posted last time that I upgraded my workstation&amp;rsquo;s mechanical storage. Since I had a hard time deciding between using storage spaces and my motherboard&amp;rsquo;s Intel RST sollution I searched some comparisons but couldn&amp;rsquo;t find any so I decided to make my own mini benchmark.
Hardware Intel I7 2600k Gigabyte GA-Z68XP-UD3P motherboard 4 WD 2TB Green drives (actually 3 x 2TB WD20EARS and 1 x 2TB WD20EADX) Benchmarks Storage spaces three drive parity Originally I was using just three of the disks (wanting to keep the fourth for offsite backups).</description></item><item><title>Trick Windows 8 into creating a RAID10 (striped mirrors) array</title><link>https://silviuvulcan.ro/blog/2014/10/31/trick-windows-8-into-creating-a-raid10-striped-mirrors-array/</link><pubDate>Fri, 31 Oct 2014 13:00:35 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/10/31/trick-windows-8-into-creating-a-raid10-striped-mirrors-array/</guid><description>I recently had to upgrade the storage for my desktop and I thought that since I have a few left-over disks I&amp;rsquo;d try to build a RAID10 array - RAID10 is very cool because it gives performance close to striped arrays but enjoys the reliability of mirrored arrays. Wikipedia has a nice write-up if you want it.
I had two options - using the motherboard&amp;rsquo;s Intel controller or software RAID. Coming from the Linux world I was expecting software raid to be easy enough to configure - I was wrong apparently in the Windows world options are more limited (mirrors and stripes) with only recently in Windows 8 Storage Spaces offering more options.</description></item><item><title>Latest openssh disables arcfour and blowfish-cbc</title><link>https://silviuvulcan.ro/blog/2014/10/21/latest-openssh-disables-arcfour-and-blowfish-cbc/</link><pubDate>Tue, 21 Oct 2014 10:01:26 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/10/21/latest-openssh-disables-arcfour-and-blowfish-cbc/</guid><description>If you move a lot of data using rsync/scp/ssh you probably found out by now that arcfour or blowfish ciphers are a lot faster than others. A comparison is found in this thread. (TL;DR arcfou256 is the fastest cipher).
Today I updated openssh on my slackware servers only to be greeted by this error from scripts doing rsync to my backup server:
no matching cipher found: client arcfour server aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.</description></item><item><title>Use nagios to track and graph your twitter followers</title><link>https://silviuvulcan.ro/blog/2014/10/20/use-nagios-to-track-and-graph-your-twitter-followers/</link><pubDate>Mon, 20 Oct 2014 08:23:31 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/10/20/use-nagios-to-track-and-graph-your-twitter-followers/</guid><description>2023 Update With the number of changes since Twitter is under new ownership I&amp;rsquo;m not sure this can still work.
I&amp;rsquo;ve been using Nagios to monitor servers and devices for years now. Lately as an exercise to learn more about nagios I installed a private instance that I use to monitor everything I can think of - from my personal servers to the number of hours we watch TV.
A nice use I found is to monitor the number of followers my twitter bots and personal account have.</description></item><item><title>Can you mirror a stripe? (a.k.a. 3 disks raid 10 or 1+0)</title><link>https://silviuvulcan.ro/blog/2014/10/17/can-you-mirror-a-stripe-a-k-a-3-disks-raid-10-or-10/</link><pubDate>Fri, 17 Oct 2014 12:38:52 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/10/17/can-you-mirror-a-stripe-a-k-a-3-disks-raid-10-or-10/</guid><description>TL;DR Yes you can assemble a md device from a stripe and a disk.
Please don&amp;rsquo;t shoot! 🙂 I&amp;rsquo;m doing this on a testing server, I don&amp;rsquo;t have any idea about the long term stability and/or reliability and I don&amp;rsquo;t care this is a personal testing server. I wouldn&amp;rsquo;t do this (at least yet) on a production server.
The why, what and how below:
I am looking to assemble a &amp;ldquo;Frankenstein&amp;rdquo; virtualization server (i.</description></item><item><title>Linux on the Acer E3-111 – Aspire E3-111-C5FN</title><link>https://silviuvulcan.ro/blog/2014/09/05/linux-on-the-acer-e3-111-aspire-e3-111-c5fn/</link><pubDate>Fri, 05 Sep 2014 08:39:49 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/09/05/linux-on-the-acer-e3-111-aspire-e3-111-c5fn/</guid><description>I gave up on using a tablet and sold mine some time ago. My old toshiba m100 laptop was to heavy and too old to lug around when on holiday (mainly to download photos) so I decided to buy a small laptop to replace it. 10&amp;rsquo;&amp;rsquo; is too small for me and so I decided on an 11&amp;rsquo;&amp;rsquo; low cost system.
I bought an Acer Aspire E3-111 instead of competing models from Asus and others because I found a good deal on it and because of the quad core CPU - Intel® Celeron® N2930 - that I couldn&amp;rsquo;t find on any other machine.</description></item><item><title>SSH key based authentication fails on a new computer</title><link>https://silviuvulcan.ro/blog/2014/06/02/ssh-key-based-authentication-fails-on-a-new-computer/</link><pubDate>Mon, 02 Jun 2014 10:19:04 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/06/02/ssh-key-based-authentication-fails-on-a-new-computer/</guid><description>&lt;p>Having reinstalled one of my older laptops I noticed I cannot login using it&amp;rsquo;s private key. I was sure I backed up the original and properly restored it after reinstalling. I ran ssh -v to get more information:&lt;/p>
&lt;p>&lt;code>Roaming not allowed by server&lt;/code> caught my eye. What the heck is that?&lt;/p></description></item><item><title>Using a standard mysql function returns an error</title><link>https://silviuvulcan.ro/blog/2014/05/05/using-a-standard-mysql-function-returns-an-error/</link><pubDate>Mon, 05 May 2014 05:44:19 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/05/05/using-a-standard-mysql-function-returns-an-error/</guid><description>While running some mysql scripts I suddenly hit the following error:
ERROR 1305 (42000) at line 1: FUNCTION somedatabase.find_in_set does not exist Since find_in_set is a standard function I was kind of puzzled, especially since I ran the same script before on some other servers without error. Checking the SQL script I found the issue:
I had
update [blah blah] where find_in_set (id,(select [more blah[)) from [rest of blag]; and it has to be</description></item><item><title>Count traffic from an apache log file</title><link>https://silviuvulcan.ro/blog/2014/03/03/count-traffic-from-an-apache-log-file/</link><pubDate>Mon, 03 Mar 2014 07:12:19 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/03/03/count-traffic-from-an-apache-log-file/</guid><description>I had to count traffic made by a resource from the apache log files. If awstats had been installed it would have been an easy job, but it wasn&amp;rsquo;t hard without it either. I used hints from here to build the following:
awk &amp;#39;{ s += $10 } END { print &amp;#34;Total &amp;#34;, s/1024/1024 &amp;#34; MB&amp;#34;, &amp;#34;- Average &amp;#34;, s/NR/1024/1024 &amp;#34; MB&amp;#34;, &amp;#34;- Access &amp;#34;, NR }&amp;#39; access_log This prints a result like this:</description></item><item><title>Slow ZFS write performance</title><link>https://silviuvulcan.ro/blog/2014/01/30/slow-zfs-write-performance/</link><pubDate>Thu, 30 Jan 2014 10:26:22 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/01/30/slow-zfs-write-performance/</guid><description>A note to self more than anything.
While I was rebuilding my HP N40L Microserver storage to use new drives and ZFS I experienced very slow (&amp;lt;20MB/s ) First I thought that it was because the source was a degraded RAID5 and performance was lost due to parity. But when the target was a network share instead of the local ZFS pool write speeds went to a more respectable 60-70MB/s.</description></item><item><title>Error creating zfs pools using drives that belonged to a md raid array</title><link>https://silviuvulcan.ro/blog/2014/01/27/error-creating-zfs-pools-using-drives-that-belonged-to-a-md-raid-array/</link><pubDate>Mon, 27 Jan 2014 06:37:23 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/01/27/error-creating-zfs-pools-using-drives-that-belonged-to-a-md-raid-array/</guid><description>While migrating a file server from mdadm software raid to zfs I encountered the following error while creating the pool:
zpool create -f tank mirror /dev/disk/by-id/xxx /dev/disk/by-id/yyy the kernel failed to rescan the partition table: 16 cannot label &amp;#39;sdb&amp;#39;: try using parted(8) and then provide a specific slice: -1 Even if the old mdadm array was no longer being mounted (as more than one disk was missing and it was a raid5) they were still being added to md0:</description></item><item><title>Install blinkstick on Slacware</title><link>https://silviuvulcan.ro/blog/2014/01/15/install-blinkstick-on-slacware/</link><pubDate>Wed, 15 Jan 2014 07:46:46 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/01/15/install-blinkstick-on-slacware/</guid><description>I recently built a blinkstick, a cool little device. Using it under linux is very easy using the command line, but I had some issues installing it under Slackware:
pip install blinkstick Downloading/unpacking blinkstick Downloading BlinkStick-0.7.0.tar.gz Running setup.py egg_info for package blinkstick Requirement already satisfied (use -upgrade to upgrade): grapefruit==0.1a3 in /usr/lib64/python2.7/site-packages (from blinkstick) Requirement already satisfied (use -upgrade to upgrade): webcolors in /usr/lib64/python2.7/site-packages (from blinkstick) Downloading/unpacking pyusb (from blinkstick) Could not find a version that satisfies the requirement pyusb (from blinkstick) (from versions: 1.</description></item><item><title>Evernote under Wine: "already installed by another user."</title><link>https://silviuvulcan.ro/blog/2014/01/07/evernote-under-wine-already-installed-by-another-user/</link><pubDate>Tue, 07 Jan 2014 12:34:01 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/01/07/evernote-under-wine-already-installed-by-another-user/</guid><description>Trying to update to the latest evernote version on a linux laptop I use I hit the error mentioned in the title: &amp;ldquo;evernote was already installed by another user.&amp;rdquo;
Weird, but solvable. I ended doing the following:
Uninstall evernote:
wine uninstaller Trying to install still gave the same error and so I had to do some registry surgery (be sure to replace root with your username):
grep &amp;#34;with upgrade&amp;#34; ~/.wine/drive_c/users/root/Temp/EvernoteSetup.log [01/07/2014 14:23:18] Located product {C2EECB42-2C7F-11E3-8960-00163E98E7D0} with upgrade code {AE2C091E-CF5F-4e30-8659-D640E23A8B99}.</description></item><item><title>Expose the sd-card of the Jolla phone over USB</title><link>https://silviuvulcan.ro/blog/2014/01/06/expose-the-sd-card-of-the-jolla-phone-over-usb/</link><pubDate>Mon, 06 Jan 2014 06:41:03 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/01/06/expose-the-sd-card-of-the-jolla-phone-over-usb/</guid><description>I know there are many ways to get content onto the Jolla phone (rsync over ssh springs to mind) but for large files I still prefer USB. Having just bought a 64Gb micro-sd I wanted to copy the bulk of my music and videos using USB. BTW this is the card I bought and works great (formatted as btrfs): Kingston 64GB Class 10
There is one easy step to do. Start the terminal and create a symlink to the card on the phone:</description></item><item><title>Rename an application shortcut on the Jolla phone</title><link>https://silviuvulcan.ro/blog/2014/01/03/rename-an-application-shortcut-on-the-jolla-phone/</link><pubDate>Fri, 03 Jan 2014 13:55:16 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/01/03/rename-an-application-shortcut-on-the-jolla-phone/</guid><description>Some time ago I bought OfficeSuite in the Google Play store and thought that it would be nice to have it running on my SailfishOS powered Jolla phone as well. I conacted mobisystems and they were nice enough to send me an activation code and links to the apk download. It installed and works fine (didn&amp;rsquo;t do any fancy editing yet though) but the shortcut was named &amp;ldquo;com&amp;rdquo; and the icon was blank.</description></item><item><title>[updated] List of Humble Bundle Games that work on the Sailfish OS Jolla Phone</title><link>https://silviuvulcan.ro/blog/2014/01/03/list-of-humble-bundle-games-that-work-on-the-sailfish-os-jolla-phone/</link><pubDate>Fri, 03 Jan 2014 11:53:50 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/01/03/list-of-humble-bundle-games-that-work-on-the-sailfish-os-jolla-phone/</guid><description>&lt;p>Being and old time Maemo fan I went and preordered the Jolla phone as soon as I could (March 2013 IIRC) and I&amp;rsquo;ve been happily playing with it ever since I got it. I like to play the occasional game on the go and so I bought many of the bundles that humblebundle offered. Happily they also offer an android application that functions like a store - you can see all the games you bought and download/install/update them. Follow &lt;a href="http://www.humblebundle.com/app">these directions to install the Humble Bundle&lt;/a> app.&lt;/p>
&lt;p>Read bellow is a list of the games I own and as I get time to test them I will update the status.&lt;/p></description></item><item><title>Starting 2014 Ad Free</title><link>https://silviuvulcan.ro/blog/2014/01/03/starting-2014-ad-free/</link><pubDate>Fri, 03 Jan 2014 11:16:20 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2014/01/03/starting-2014-ad-free/</guid><description>As you probably failed to notice I removed from my blog the like/tweet/etc. buttons a while ago as I figured nobody is going to tweet about how he found the latest fix to some obscure daemon. As I find ads more and more annoying I decided to start 2014 Ad free and so I removed all the ads from the site. This is a big step as Ad Sense helped a lot to pay the server bill.</description></item><item><title>Stream music from home when you are away</title><link>https://silviuvulcan.ro/blog/2013/12/13/stream-music-from-home-when-you-are-away/</link><pubDate>Fri, 13 Dec 2013 07:03:11 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/12/13/stream-music-from-home-when-you-are-away/</guid><description>I run a pretty powerful microitx system as my home router. Since it&amp;rsquo;s always on (as oposed to my nas) I decided to add some storage so I can host my music and some tv shows. I checked some projects and stopped to test Sockso.The site is simple and doesn&amp;rsquo;t really scream &amp;ldquo;open source project&amp;rdquo; but sockso seems really good at what it does. It works both as a gui and as a server tool and is available for windows, linux and mac.</description></item><item><title>The difference between exclamation mark and asterisk in /etc/shadow</title><link>https://silviuvulcan.ro/blog/2013/10/01/the-difference-between-exclamation-mark-and-asterisk-in-etcshadow/</link><pubDate>Tue, 01 Oct 2013 10:45:29 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/10/01/the-difference-between-exclamation-mark-and-asterisk-in-etcshadow/</guid><description>So, with a terrible case of memory lapsus while wanting to disable password login for a user I couldn&amp;rsquo;t remember what the difference between &amp;ldquo;!&amp;rdquo; and &amp;ldquo;*&amp;rdquo; is in the /etc/shadow file.
Well man 5 shadow to the rescue
Refer to **crypt**(3) for details on how this string is interpreted. If the password field contains some string that is not a valid result of **crypt**(3), for instance ! or *, the user will not be able to use a unix password to log in (but the user may log in the system by other means).</description></item><item><title>Apache IP based restrictions based on a text list. No restart required.</title><link>https://silviuvulcan.ro/blog/2013/10/01/apache-ip-based-restrictions-based-on-a-text-list-no-restart-required/</link><pubDate>Tue, 01 Oct 2013 10:31:32 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/10/01/apache-ip-based-restrictions-based-on-a-text-list-no-restart-required/</guid><description>I run a few services on a remote host that I want to restrict access to. For that I use both a password and IP based restrictions. The issue is that for example at home I have a dynamic allocated IP. One option would be to add a hostname in the apache rule, like this:
Allow from example.dyndns.org But this has some disadvantages:
it requires a dns lookup on each access it uglifies your access logs To get around this I moved away from Access control to a rewrite map.</description></item><item><title>CentOS 6.x misses nobootwait fstab option.</title><link>https://silviuvulcan.ro/blog/2013/09/30/centos-6-x-misses-nobootwait-fstab-option/</link><pubDate>Mon, 30 Sep 2013 06:51:14 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/09/30/centos-6-x-misses-nobootwait-fstab-option/</guid><description>Recently I added a new storage disk to a cloud server. The issue is that this disk might not always be available at boot time. There is an easy fix for this kind of problems. The nobootwait mount option (like it would show in a fstab entry):
/dev/xvdd1 /storage ext4 defaults,nobootwait 0 0 Note that the fsck order of 0 already ensures that fsck will not hold the boot process by complaining the disk is missing.</description></item><item><title>A simple retweet bot using a collocated Raspberry PI</title><link>https://silviuvulcan.ro/blog/2013/09/13/a-simple-retweet-bot-using-a-collocated-raspberry-pi/</link><pubDate>Fri, 13 Sep 2013 08:57:10 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/09/13/a-simple-retweet-bot-using-a-collocated-raspberry-pi/</guid><description>2023 Update With the number of changes since Twitter is under new ownership I&amp;rsquo;m not sure this can still work.
I have a Raspberry PI freely collocated by the nice people at pcextreme. Being a Jolla fan I found a new use for it. I made a Retweet bot that retweets everything #Jolla.
It&amp;rsquo;s pretty simple. First you need to define your new twitter app here. Install on your raspberry the tweepy twitter python library.</description></item><item><title>Sending email from the Raspberry PI</title><link>https://silviuvulcan.ro/blog/2013/07/30/sending-email-from-the-raspberry-pi/</link><pubDate>Tue, 30 Jul 2013 11:17:32 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/07/30/sending-email-from-the-raspberry-pi/</guid><description>I run a remote Raspberry PI gracefully hosted by the people over at raspberrycolocatie.nl Since one if it&amp;rsquo;s jobs is to run a few scripts monitoring various bits and pieces I want it to be able to send emails. Since I don&amp;rsquo;t want to use a full blown MTA I settled for ssmtp.
It&amp;rsquo;s worth noting that this setup applies to any debian box, not only the rPI.
sSMTP - Simple SMTP sSMTP is a simple MTA to deliver mail from a computer to a mail hub (SMTP server).</description></item><item><title>Streaming video with a Raspberry PI and a Logitech C270</title><link>https://silviuvulcan.ro/blog/2013/06/18/streaming-video-with-a-raspberry-pi-and-a-logitech-c270/</link><pubDate>Tue, 18 Jun 2013 18:31:57 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/06/18/streaming-video-with-a-raspberry-pi-and-a-logitech-c270/</guid><description>Hi,
I wanted to setup a live webcam using a Raspberry Pi (model B, first rev. with 256M RAM) so after checking and happily finding out that my camera is suported I went along. First I installed the support packages:
sudo apt-get install gstreamer-tools gstreamer0.10-plugins-bad gstreamer0.10-plugins-good v4l-utils After that I wrote a small script that would start the stream:
#!/bin/bash # set below your Raspberry PI IP address myip=&amp;#34;192.168.xxx.xxx&amp;#34; port=&amp;#34;5000&amp;#34; gst-launch -v v4l2src !</description></item><item><title>Regenerate SSH keys</title><link>https://silviuvulcan.ro/blog/2013/06/14/regenerate-ssh-keys/</link><pubDate>Fri, 14 Jun 2013 12:04:43 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/06/14/regenerate-ssh-keys/</guid><description>I&amp;rsquo;m a big fan of virtualization. I find it very useful both on my workstation as for the servers. What this means is that I often clone virtual machines to repurpose, run tests or simply add web capacity for load balanced sites. One of the steps is that you have to regenerate the ssh keys (besides the usual suspects that are changing IP, hostname and so on) so you don&amp;rsquo;t have multiple hosts with the same ssh keys.</description></item><item><title>Dia crashes with latest updates in slacware-current</title><link>https://silviuvulcan.ro/blog/2013/05/30/dia-crashes-with-latest-updates-in-slacware-current/</link><pubDate>Thu, 30 May 2013 09:58:02 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/05/30/dia-crashes-with-latest-updates-in-slacware-current/</guid><description>Having just updated to the latest set of slackware current packages I found that the trusty old Dia would segfault:
** (dia:26707): CRITICAL **: dia_renderer_set_size: assertion `irenderer != NULL&amp;#39; failed Segmentation fault With Ubuntu to the rescue 🙂 according to this report I found the fix to be:
Edit $(HOME)/.dia/persistence and change the value from false to true.
&amp;lt;p id=&amp;#34;yui_3_9_1_1_1369907323211_378&amp;#34;&amp;gt; &amp;lt;dia:boolean role=&amp;#34;view_antialised&amp;#34;&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;dia:attribute name=&amp;#34;booleanvalue&amp;#34;&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;dia:boolean val=&amp;#34;true&amp;#34;/&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;/dia:attribute&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;/dia:boolean&amp;gt; &amp;lt;/p&amp;gt; Please note that this fix works only if $(HOME)/.</description></item><item><title>Apache2 mpm-itk maxclients settings</title><link>https://silviuvulcan.ro/blog/2013/04/18/apache2-mpm-itk-maxclients-settings/</link><pubDate>Thu, 18 Apr 2013 06:09:05 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/04/18/apache2-mpm-itk-maxclients-settings/</guid><description>I run the mpm-itk apache2 module on my server since it&amp;rsquo;s shared between a few sites. A few rogue crawlers brought it down a few days ago and while I was checking the logs I noticed a lot more apache children processes running than I had defined. One quick look in apache2.conf and I noticed my mistake. I had configured under a different prefork module since the default config shipping with debian has no section for itk.</description></item><item><title>Mount a remote fs after connecting to a vpn. (NetworkManager)</title><link>https://silviuvulcan.ro/blog/2013/04/08/mount-a-remote-fs-after-connecting-to-a-vpn-netwrokmanager/</link><pubDate>Mon, 08 Apr 2013 07:12:18 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/04/08/mount-a-remote-fs-after-connecting-to-a-vpn-netwrokmanager/</guid><description>When away I use a vpn connection to connect to my home server. The first thing after connecting is usually mounting some resources using sshfs (yes I know, not very efficient but for personal use is more than enough). I wanted to automate that and so I dug a bit around NetworkManager.
Apparently all you have to do is drop a script similar to this in /etc/NetworkManager/dispatcher.d/
#!/bin/bash interface=$1 status=$2 LOG=&amp;#34;/var/log/network_manager_custom.</description></item><item><title>Test degrading write speed on a system with lots of small files.</title><link>https://silviuvulcan.ro/blog/2013/04/04/test-degrading-write-speed-on-a-system-with-lots-of-small-files/</link><pubDate>Thu, 04 Apr 2013 10:43:23 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/04/04/test-degrading-write-speed-on-a-system-with-lots-of-small-files/</guid><description>I created a script that generates random files in a random folder structure. I let it run for 1.000.000 files and than 1.000.000 more. Here are the results:
#!/bin/bash DST=$(mktemp -tmpdir=&amp;#34;/tmp/boatload&amp;#34; -d XXXXXXXXXX) let &amp;#34;no_of_files = $RANDOM/2&amp;#34; echo &amp;#34;Creating $no_of_files files in $DST&amp;#34; counter=1 while [[ $counter -le $no_of_files ]]; do # echo Creating file no $counter # dd bs=64 count=$RANDOM skip=$RANDOM if=/dev/xvda2 of=$DST/random-file.$counter; # this is useful for big files let &amp;#34;CNT = $RANDOM/40&amp;#34; dd bs=8 count=$CNT if=/dev/urandom of=$DST/random-file.</description></item><item><title>fail2ban and apache digest authentication</title><link>https://silviuvulcan.ro/blog/2013/04/04/fail2ban-and-apache-digest-authentication/</link><pubDate>Thu, 04 Apr 2013 10:11:45 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/04/04/fail2ban-and-apache-digest-authentication/</guid><description>Although I don&amp;rsquo;t consider fail2ban something to rely on for security is just another piece of the puzzle when securing a server. When configuring fail2ban for a debian server I noticed that the defaults rules are missing failures if DIGEST is used for authentication instead of basic.
I added the following to /etc/fail2ban/filter.d/apache-auth.conf:
[[]client &amp;lt;HOST&amp;gt;[]] (Digest: )?user .* (authentication failure|not found|password mismatch) Restart fail2ban and try entering a wrong user/password while checking the fail2ban log.</description></item><item><title>cPanel IP migration</title><link>https://silviuvulcan.ro/blog/2013/03/02/cpanel-ip-migration/</link><pubDate>Sat, 02 Mar 2013 08:25:04 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/03/02/cpanel-ip-migration/</guid><description>I had to switch the main IP address of a cPanel server. Basically you follow the IP Migration Wizard steps, but when I was done the A records for the main hostname were wrong (still having the old IP). If I went to edit the main DNS entry the IP was shown to be correct. What I had to do was to edit /var/cpanel/mainip
Also I searched in /etc and found one more refference to the old IP, I replaced that as well.</description></item><item><title>What focal lenght I need a prime lens for?</title><link>https://silviuvulcan.ro/blog/2013/02/11/what-focal-lenght-i-need-a-prime-lens-for/</link><pubDate>Mon, 11 Feb 2013 12:16:54 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/02/11/what-focal-lenght-i-need-a-prime-lens-for/</guid><description>If you are contemplating buying a prime lense and use digikam you might find this little script I wrote useful:
https://github.com/filviu/digikam-stats
It can show you the number of images shot at each focal length (grouped by camera or not) from your digikam library (as long as you use a mysql database).</description></item><item><title>Choosing a video player for the Nexus 10</title><link>https://silviuvulcan.ro/blog/2013/02/07/choosing-a-video-player-for-the-nexus-10/</link><pubDate>Thu, 07 Feb 2013 12:12:24 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/02/07/choosing-a-video-player-for-the-nexus-10/</guid><description>So, I made the leap and I bought a tablet, a Google Nexus 10 to be more precise. Up until now I used vPlayer and the default video player on my Android Phone (galaxy S2) but on the tablet the default video player is very poor (or let's say simple) and vPlayer showed some weird artifacts, so to the search it is. I choose from other roundups and recommandations the following: BsPlayer FREE DICE Player MoboPlayer MX Player VLC Beta vPlayer All those players offer a nice, clean interface with similar basic functionality: resume position, some offer network playback, but not all video formats play the same in all players.</description></item><item><title>Speed-up X over ssh</title><link>https://silviuvulcan.ro/blog/2013/01/31/speed-up-x-over-ssh/</link><pubDate>Thu, 31 Jan 2013 08:07:16 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/01/31/speed-up-x-over-ssh/</guid><description>Even though I run a pretty fast network and vpn at home I still have the occasional hiccup running demanding applications (i.e. digikam) at home.
A few simple options can speed up X considerably. Connecting with the following parametters will enable a fast encryption cipher and also enables compression:
ssh -X -C -c blowfish-cbc,arcfour user@host.example.com Of course you can make this permanent by adding the following to /etc/ssh/ssh_config or even better only for the specific host in ~/.</description></item><item><title>Using Xenu with authentication</title><link>https://silviuvulcan.ro/blog/2013/01/06/using-xenu-with-authentication/</link><pubDate>Sun, 06 Jan 2013 12:10:21 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/01/06/using-xenu-with-authentication/</guid><description>I needed to scan a Joomla site that only shows most of its content when logged in in the frontend. Xenu FAQ suggests using Cookies. That didn&amp;rsquo;t work for me. So I used Fiddler web debugger and it’s scripting engine.
First start Fiddler and set it to capture traffic. Log in in the site using a browser. Check and find the cookie data - copy it to the clipboard.
Open ‘Customize rules’ in Fiddler and search for</description></item><item><title>Extending the range of a WiFi stick adapter</title><link>https://silviuvulcan.ro/blog/2013/01/03/extending-the-range-of-a-wifi-stick-adapter/</link><pubDate>Thu, 03 Jan 2013 12:03:06 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2013/01/03/extending-the-range-of-a-wifi-stick-adapter/</guid><description>I relocated some of my networking gear and by doing that one of my pc&amp;rsquo;s found itself in a blind spot of the wireless network. I decided to try and see if I can extend the range of the usb wireless adapter it uses. I had a few antennas available but unfortunately the usb adapter didn&amp;rsquo;t have a connector. I decided to solder the antenna wire directly:
First I pried open the usb adapter and located the internal antenna pads.</description></item><item><title>Debian squeeze laptop harddisk restarts every few seconds.</title><link>https://silviuvulcan.ro/blog/2012/12/27/debian-squeeze-laptop-harddisk-restarts-every-few-seconds/</link><pubDate>Thu, 27 Dec 2012 11:08:25 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/12/27/debian-squeeze-laptop-harddisk-restarts-every-few-seconds/</guid><description>I installed a miniserver using a 2.5 WD Sata HDD. I noticed that the disk will park shutdown and restart every 10 seconds or so. This was far worse than what happened here: http://www.sgvulcan.com/load-cycle-count-of-western-digital-green-drives-and-how-to-fix-it-from-linux/
I&amp;rsquo;m pretty sure this bug is the cause but the only mention was that the apm value of 128 didn&amp;rsquo;t work on me. Since this is an always on desktop system I just set it to 254.</description></item><item><title>Load cycle count of Western Digital Green Drives and how to fix it from Linux</title><link>https://silviuvulcan.ro/blog/2012/12/20/load-cycle-count-of-western-digital-green-drives-and-how-to-fix-it-from-linux/</link><pubDate>Thu, 20 Dec 2012 12:17:08 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/12/20/load-cycle-count-of-western-digital-green-drives-and-how-to-fix-it-from-linux/</guid><description>I run a NAS at home. It used to have 3x2TB WD EARS drives. At some point I saw online some remarks about increased Load Cycle Count when using these drives in a NAS/RAID setup but I didn&amp;rsquo;t have the time to check then. Modern Western Digital &amp;ldquo;Green&amp;rdquo; Drives include the Intellipark feature that stops the disk when not in use. Unfortunately, the default timer setting is not perfect on linux/unix systems, including many NAS, and leads to a dramatic increase of the Load Cycle Count value (SMART attribute #193).</description></item><item><title>mysqldump: Got error 28 from storage engine</title><link>https://silviuvulcan.ro/blog/2012/11/27/mysqldump-got-error-28-from-storage-engine/</link><pubDate>Tue, 27 Nov 2012 12:05:07 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/11/27/mysqldump-got-error-28-from-storage-engine/</guid><description>This is a new one for me. I was dumping some databases on a server when I got this:
mysqldump: Error: &amp;#39;Got error 28 from storage engine&amp;#39; when trying to dump tablespaces mysqldump: Couldn&amp;#39;t execute &amp;#39;show fields from `xxxxxx`&amp;#39;: Got error 28 from storage engine (1030) Fortunately the fix was easy, just clean the /tmp folder as it was almost full on that particular server.</description></item><item><title>Simple script to add multiple trackers to a torrent downloading in transmission</title><link>https://silviuvulcan.ro/blog/2012/11/06/simple-script-to-add-multiple-trackers-to-a-torrent-downloading-in-transmission/</link><pubDate>Tue, 06 Nov 2012 20:29:30 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/11/06/simple-script-to-add-multiple-trackers-to-a-torrent-downloading-in-transmission/</guid><description>Sometime you might want to download some old or obscure distro that was once packaged as a torrent. But many times the tracker embeded in the torrent file has long been abandoned or it has no peers. But many other trackers might have cached your torrent and maybe those have seeds. So I wrote a quick and dirty script to get a list of online trackers from transmission.
#!/bin/bash TRANSMISSION_REMOTE=&amp;#39;/usr/bin/transmission-remote&amp;#39; # Below is a command that will generate a tracker # list with one tracker per line # i.</description></item><item><title>Useful oneliner: check the memory usage of apache / httpd processes</title><link>https://silviuvulcan.ro/blog/2012/10/19/useful-oneliner-check-the-memory-usage-of-apache-httpd-processes/</link><pubDate>Fri, 19 Oct 2012 09:44:20 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/10/19/useful-oneliner-check-the-memory-usage-of-apache-httpd-processes/</guid><description>This is a handy one liner that reports the usage of the apache processes (apache2 on debian/ubunto or httpd in slackware, centos, etc)
ps -ylC httpd | awk &amp;#39;{x += $8;y += 1} END {print &amp;#34;Apache Memory Usage (MB): &amp;#34;x/1024; print &amp;#34;Average Proccess Size (MB): &amp;#34;x/((y-1)*1024)}&amp;#39;</description></item><item><title>Email a list of updates from a Debian server.</title><link>https://silviuvulcan.ro/blog/2012/09/28/email-a-list-of-updates-from-a-debian-server/</link><pubDate>Fri, 28 Sep 2012 12:49:40 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/09/28/email-a-list-of-updates-from-a-debian-server/</guid><description>Do you run remote servers? Me too.
It&amp;rsquo;s a good ideea to keep them up to date. On the other hand I don&amp;rsquo;t like automatic updates, something might break when you least want or expect it. So I prefer to be notified of updates and choose myself the moment when to apply them. Following is a nice script that sends an email of available updates on a Debian system.</description></item><item><title>Tentakel on CentOS 6 / Python 2.6</title><link>https://silviuvulcan.ro/blog/2012/09/11/tentakel-on-centos-6-python-2-6/</link><pubDate>Tue, 11 Sep 2012 10:25:41 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/09/11/tentakel-on-centos-6-python-2-6/</guid><description>Update: As useful as tentakel was in my young sysadmin days it was always dangerous (one wrong command or quote character away from disaster), non-reproducible, needing constant documentation on changes done. I really don&amp;rsquo;t know if tentakel even exist anymore but if it does I strongly suggest you consider ansible instead.
You probably already know this old, unmaintained but incredibly useful software: tentakel. If not check it out, you might like it.</description></item><item><title>Remove duplicates from the current folder</title><link>https://silviuvulcan.ro/blog/2012/09/04/remove-duplicates-from-the-current-folder/</link><pubDate>Tue, 04 Sep 2012 12:01:28 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/09/04/remove-duplicates-from-the-current-folder/</guid><description>I needed today to remove duplicate files from a big folder (8Gb+, 10000+ files). I use the nice fdupes program written by Adrian Lopez
fdupes -rdN . Note the point after the parameters. That means to search inside the current folder. A path could be provided instead of it. The options are:
-r means search recursively -d means delete. use carefully and read the man page to understand what could go wrong!</description></item><item><title>Optimize Firefox’s sqlite databases</title><link>https://silviuvulcan.ro/blog/2012/08/07/optimize-firefoxs-sqlite-databases/</link><pubDate>Tue, 07 Aug 2012 11:51:25 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/08/07/optimize-firefoxs-sqlite-databases/</guid><description>Here&amp;rsquo;s a handy one-liner to tune a bit your Firefox:
for file in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $file &amp;#39;VACUUM;&amp;#39;;done What this does ie optimize every sqlite database in your account&amp;rsquo;s profiles. You can even add this line to a script to start on boot or by cron. Worth noting that Firefox should probably not run while you do this.</description></item><item><title>Open a magnet link on a remote (or local) transmission server.</title><link>https://silviuvulcan.ro/blog/2012/07/17/open-a-magnet-link-on-a-remote-or-local-transmission-server/</link><pubDate>Tue, 17 Jul 2012 19:37:51 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/07/17/open-a-magnet-link-on-a-remote-or-local-transmission-server/</guid><description>One of the services I run on my home server is a transmission daemon. I use it mainly to download images for my Raspberry PI, new distro iso&amp;rsquo;s to play with in Virtualbox and so on. Recently there&amp;rsquo;s been a move to replace torrent links with magnet links. I found a nice way to open those directly on the remote instance of the transmission daemon.
First create a script, let&amp;rsquo;s call it simply magnet.</description></item><item><title>No album cover art in Symbian ^3 Belle on an E7</title><link>https://silviuvulcan.ro/blog/2012/07/13/no-album-cover-art-in-symbian-3-belle-on-an-e7/</link><pubDate>Fri, 13 Jul 2012 08:31:25 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/07/13/no-album-cover-art-in-symbian-3-belle-on-an-e7/</guid><description>Sooo, my beloved n900 kicked the bucket and the fine folks at Nokia Romania decided it&amp;rsquo;s not fixable and they replaced it. With an E7. After 6 weeks. Hey Nokia still wondering why you&amp;rsquo;re going down the drain?
I have my music neatly organized and with cover art embeded inside the id3tag. But it won&amp;rsquo;t show up. Actually it showed up for one album out of 15. So I started the hunt to see why.</description></item><item><title>Add a logging function to your bash script</title><link>https://silviuvulcan.ro/blog/2012/06/27/add-a-logging-function-to-your-bash-script/</link><pubDate>Wed, 27 Jun 2012 12:56:22 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/06/27/add-a-logging-function-to-your-bash-script/</guid><description>I write a lot of scripts that do various jobs and most of the time I&amp;rsquo;d like to have some log of what happened. So for most of them I add a function that helps logging.
#!/bin/bash # log date format, customize it to your wishes # see man date for help DATE=&amp;#39;date +%Y/%m/%d:%H:%M:%S&amp;#39; # log file LOG=&amp;#39;/var/log/script.log&amp;#39; function echo_log { echo &amp;#34;`$DATE` $1&amp;#34; &amp;gt;&amp;gt; $LOG } # start echo_log &amp;#34;Script running&amp;#34; # do something echo_log &amp;#34;Doing this&amp;#34; # done echo_log &amp;#34;Script ended</description></item><item><title>Microsoft updates Skype for Linux</title><link>https://silviuvulcan.ro/blog/2012/06/15/microsoft-updates-skype-for-linux/</link><pubDate>Fri, 15 Jun 2012 06:08:55 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/06/15/microsoft-updates-skype-for-linux/</guid><description>Or in other news, hell froze over 🙂 Some people complained about the new interface, so I&amp;rsquo;ll try to be agains the flow here and say that I actually quite like it.
It&amp;rsquo;s not like skype for linux was ever active but since Microsoft aquired them I pretty much wrote off any updates. It seems I, like many others was wrong. Probably it has something to do with the new advertising features introduced lately&amp;hellip;</description></item><item><title>digikam 2.6.0 won’t start due to missing libavcodec.so.53 (slackware current64)</title><link>https://silviuvulcan.ro/blog/2012/06/13/digikam-2-6-0-wont-start-due-to-missing-libavcodec-so-53-slackware-current64/</link><pubDate>Wed, 13 Jun 2012 19:44:01 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/06/13/digikam-2-6-0-wont-start-due-to-missing-libavcodec-so-53-slackware-current64/</guid><description>This was pretty simple but complicated :). It turns out I updated alien bob&amp;rsquo;s repo to ffmpeg 0.11, thus upgrading to libavcodec.so.54. I&amp;rsquo;m sure I could have gotten away with a simple symlink but I wanted a clean install.
So I though I would simply rebuild digikam, right? Wrong. It failed, with weird errors like:
make[2]: \*** [extra/libkface/test/detect] Error 1 or
collect2: error: ld returned 1 exit status make[2]: *** [extra/kipi-plugins/removeredeyes/test/testipp] Error 1 Face detect above sounded a lot like digikam built successfully.</description></item><item><title>libgdiplus-2.10.9 build fails on slacware current64 (2012-06)</title><link>https://silviuvulcan.ro/blog/2012/06/13/libgdiplus-2-10-9-build-fails-on-slacware-current64-2012-06/</link><pubDate>Wed, 13 Jun 2012 06:01:08 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/06/13/libgdiplus-2-10-9-build-fails-on-slacware-current64-2012-06/</guid><description>Installing mono I needed to install libgdiplus. It failed with the following error:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.0/../../../../x86_64-slackware-linux/bin/ld: testgdi.o: undefined reference to symbol &amp;#39;g_free&amp;#39; /usr/lib64/gcc/x86_64-slackware-linux/4.7.0/../../../../x86_64-slackware-linux/bin/ld: note: &amp;#39;g_free&amp;#39; is defined in DSO /usr/lib64/libglib-2.0.so.0 so try adding it to the linker command line /usr/lib64/libglib-2.0.so.0: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[2]: *** [testgdi] Error 1 make[2]: Leaving directory `/usr/local/src/libgdiplus-2.10.9/tests&amp;#39; make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/libgdiplus-2.10.9&amp;#39; make: *** [all] Error 2 The fix is simple, thanks to a mention in slacky pkg reports:</description></item><item><title>Silly Android contact merging</title><link>https://silviuvulcan.ro/blog/2012/06/07/silly-android-contact-merging/</link><pubDate>Thu, 07 Jun 2012 10:36:54 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/06/07/silly-android-contact-merging/</guid><description>So, for now my beloved n900 is in the service dead, so I started organizing contacts on the Android phone I have. First thing I did was to merge contacts (for example joining Jon Doe&amp;rsquo;s contact from google-phonebook, facebook, skype and so on)
I&amp;rsquo;m used to doing this for years now as the old n900 but I noticed this strange behaviour with some of my frinds who use fake names /nicknames for skype or facebook, etc.</description></item><item><title>[Errno 32] Broken pipe in s3cmd</title><link>https://silviuvulcan.ro/blog/2012/05/28/errno-32-broken-pipe-in-s3cmd/</link><pubDate>Mon, 28 May 2012 17:21:30 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/05/28/errno-32-broken-pipe-in-s3cmd/</guid><description>In order to backup a bunch of servers I&amp;rsquo;m using s3cmd to backup files to a Amazon S3 account. s3cmd is a really nice tool as it works from the command line, does encryption on the fly and can use the https protocol for upload.
I used
s3cmd -configure and set everything up. The first error I got when I tried to test it was:
s3cmd put file.tar.gz s3://my_bucket_name/file.tar.gz
[Errno 32] Broken pipe and it tried throttling down and uploading again.</description></item><item><title>Disable charging of a Nokia N900 while USB connected.</title><link>https://silviuvulcan.ro/blog/2012/05/16/disable-charging-of-a-nokia-n900-while-usb-connected/</link><pubDate>Wed, 16 May 2012 20:45:53 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/05/16/disable-charging-of-a-nokia-n900-while-usb-connected/</guid><description>One of the joys of having a hackable computer serving as a phone is that you can do stuff which have no &amp;ldquo;option&amp;rdquo; in &amp;ldquo;settings&amp;rdquo;. Recently I wanted to see if I can connect it to an Android tablet (Samsung Galaxy Tab 10.1). I couldn&amp;rsquo;t. Too bad as I could really use the extra 32Gb the n900 has to offer. It would connect but the tablet disconnects it as soon as the phone tries to start charging.</description></item><item><title>Black levels tool output in digikam after upgrading to 2.6</title><link>https://silviuvulcan.ro/blog/2012/05/10/black-levels-tool-output-in-digikam-after-upgrading-to-2-6/</link><pubDate>Thu, 10 May 2012 18:30:16 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/05/10/black-levels-tool-output-in-digikam-after-upgrading-to-2-6/</guid><description>I tested the 2.6-rc version of digikam and found that the levels tool offers a black window instead of proper output.
First I thought it&amp;rsquo;s a 2.6 issue so I reverted to my 2.5.0 stable version. No luck. I then thought it&amp;rsquo;s because some updates I ran for Slackware (I&amp;rsquo;m using current64) Not having any luck I opened a bug, thankfully the digikam developers were quick to reply: https://bugs.kde.org/show_bug.cgi?id=299755
To be short the issue will be fixed for 2.</description></item><item><title>Drop all databases from mysql</title><link>https://silviuvulcan.ro/blog/2012/03/21/drop-all-databases-from-mysql/</link><pubDate>Wed, 21 Mar 2012 09:25:16 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/03/21/drop-all-databases-from-mysql/</guid><description>Sometimes I need to clean a mysql server so I can re-import it clean from the backups. A DROP ALL DATABASES; would have been nice, but the following does the trick. It will drop all databases except for mysql, test and information_schema
mysql -uroot -pPASS -e &amp;#34;show databases&amp;#34; | grep -v Database | grep -v mysql| grep -v information_schema| grep -v test | gawk &amp;#39;{print &amp;#34;drop database &amp;#34; $1 &amp;#34;;&amp;#34;}&amp;#39; | mysql -uroot -pPASS Warning: It does what it says on the tin.</description></item><item><title>XBMC and Windows 8 on older hardware</title><link>https://silviuvulcan.ro/blog/2012/03/13/xbmc-and-windows-8-on-older-hardware/</link><pubDate>Tue, 13 Mar 2012 10:07:27 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/03/13/xbmc-and-windows-8-on-older-hardware/</guid><description>Just wanted to note that older hardware works well with the new Windows 8 consumer preview. Since I had to change the hdd in my xbmc mediacenter I decided to give Windows 8 a spin on real hardware (not just virtual).
Hardware:
Gigabyte GA-MA78GPM-DS2H motherboard (AMD 780G +SB700 chipset) AMD 4850e dual core energy efficient cpu 250Gb hdd (all media is stored on a NAS) 6Gb RAM When I moved to a Full HD tv I found that I have to move away from XP to windows 7 in order to get decent hardware acceleration out of my integrated graphics.</description></item><item><title>Removed ntfs partition reappears</title><link>https://silviuvulcan.ro/blog/2012/03/13/removed-ntfs-partition-reappears/</link><pubDate>Tue, 13 Mar 2012 08:16:28 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/03/13/removed-ntfs-partition-reappears/</guid><description>So, I was repartitioning a harddrive that used to be a windows disk. I removed the ntfs partition that was spanning the whole drive and created a linux layout instead (two linux partitions and one swap). After writing the partition table the first partition on the disk failed to format. Returning to fdisk I saw that the first partition was still of type NTFS. So I changed the type once more and wrote the partition table to disk.</description></item><item><title>request_module: runaway loop modprobe binfmt-464c</title><link>https://silviuvulcan.ro/blog/2012/03/07/request_module-runaway-loop-modprobe-binfmt-464c/</link><pubDate>Wed, 07 Mar 2012 13:05:52 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/03/07/request_module-runaway-loop-modprobe-binfmt-464c/</guid><description>I added a new disk to my HP N40L and moved the boot disk to another SATA port, which meant reconfiguring lilo. Strange enough after setting everything up I got:
request_module: runaway loop modprobe binfmt-464c right after the kernel loading.
Long story short this message means you are trying to boot a 32bit system with a 64 bit kernel (maybe the other way around will spit something similar). I set the boot parameter wrong and I was actually trying to boot and old 32 bit linux install that was still around on one of the drives in the NAS</description></item><item><title>This guy deserves a beer</title><link>https://silviuvulcan.ro/blog/2012/02/27/this-guy-deserves-a-beer/</link><pubDate>Mon, 27 Feb 2012 14:20:41 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/02/27/this-guy-deserves-a-beer/</guid><description>Chances are if you are a developer or a sysadmin you had to work with regular expressions. Well I hate them. With passion. So when I discovered this website I was jumping for joy:
http://txt2re.com/
Basically you type in your clear text and select what you want extracted (certain word, integers, dates) and as a bonus you also get back code already written. Of course you probably have to adapt that one.</description></item><item><title>Transmission start-up script for slackware.</title><link>https://silviuvulcan.ro/blog/2012/02/13/transmission-start-up-script-for-slackware/</link><pubDate>Mon, 13 Feb 2012 08:54:42 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/02/13/transmission-start-up-script-for-slackware/</guid><description>I installed transmission on a headless server so I need it to start on boot. The included start-up script was dependent on start-stop-daemon that is mission on Slackware. The examples on the transmission forums were ok but would resulted in transmission running as root and I want it to run as a non-privileged user. So I modified an example script to read like this:
#!/bin/bash #Slackware startup deamon script # Name of Service NAME=&amp;#34;Transmission Daemon&amp;#34; # Command to run CMD=&amp;#34;/usr/bin/transmission-daemon&amp;#34; # Option to run with deamon # -a means from where to accept incoming connections, comma separated # you may want to add your local network if you have multiple clients OPTIONS=&amp;#34;-a 127.</description></item><item><title>Adding pcntl_fork support on a cpanel server</title><link>https://silviuvulcan.ro/blog/2012/02/01/adding-pcntl_fork-support-on-a-cpanel-server/</link><pubDate>Wed, 01 Feb 2012 09:20:13 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/02/01/adding-pcntl_fork-support-on-a-cpanel-server/</guid><description>A php application on a cpanel server kept throwing this:
Fatal error: Call to undefined function pcntl_fork() in /path/blah.php on line 5 The fix requires recompiling php with -enable-pcntl Fortunately cpanel offers the Easy Apache script. The bad part is that it doesn&amp;rsquo;t have an option for pcntl. So you have to specify it as a custom compile time option. Edit (or create - for PHP5) and add /var/cpanel/easy/apache/rawopts/all_php5
-enable-pcntl On one line</description></item><item><title>Got a packet bigger than ‘max_allowed_packet’ bytes</title><link>https://silviuvulcan.ro/blog/2012/02/01/got-a-packet-bigger-than-max_allowed_packet-bytes/</link><pubDate>Wed, 01 Feb 2012 09:02:49 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/02/01/got-a-packet-bigger-than-max_allowed_packet-bytes/</guid><description>I got this on a newly installed server when I tried to import a database:
[root@host ~]# mysql -u user -pPassword database &amp;lt; database.sql Enter password: ERROR 1153 (08S01) at line 53: Got a packet bigger than &amp;#39;max_allowed_packet&amp;#39; bytes It&amp;rsquo;s easily fixable. The default is probably 16M, I added the following in /etc/my.cnf
max_allowed_packet=32M And restarted mysql (depending on your distro you will do this differently):
service mysqld restart</description></item><item><title>Setting up master-slave replication for mysql</title><link>https://silviuvulcan.ro/blog/2012/01/30/setting-up-master-slave-replication-for-mysql/</link><pubDate>Mon, 30 Jan 2012 19:27:08 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/30/setting-up-master-slave-replication-for-mysql/</guid><description>So, I had to set-up master-slave replication. Here&amp;rsquo;s how you do it:
Why would one want to set-up this? Easy.
Spread the read load across multiple servers: you can use the MySQL master for writing (inserts, updates) and the slave(s) for reading (SELECT) This should speed up things nicely for your application.
Do the backups from the slave. You might have noticed that backing-up, especially big databases, slows things down. That happens because mysqldump locks tables as it reads them.</description></item><item><title>Make sensors report temperature on slackware64-current with an Intel I7 2600k</title><link>https://silviuvulcan.ro/blog/2012/01/27/make-sensors-report-temperature-on-slackware64-current-with-an-intel-i7-2600k/</link><pubDate>Fri, 27 Jan 2012 20:01:49 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/27/make-sensors-report-temperature-on-slackware64-current-with-an-intel-i7-2600k/</guid><description>For some reasons the required modules don&amp;rsquo;t get loaded. Add the following to /etc/rc.d/rc.modules right above the line reading ### Mouse support:
### by SV for i2600k temperature /sbin/modprobe coretemp /sbin/modprobe pkgtemp Now sensors report the temperatures.</description></item><item><title>Recursively remove digikam’s xmp embeded tags</title><link>https://silviuvulcan.ro/blog/2012/01/25/recursively-remove-digikams-xmp-embeded-tags/</link><pubDate>Tue, 24 Jan 2012 22:06:44 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/25/recursively-remove-digikams-xmp-embeded-tags/</guid><description>Because digikam made a mess of the tags I started to add to my pictures I decided to start from scratch. Note that I tried to get the max and I had set to write tags both to .xmp sidecar files and inside the image files. I also use the mysql backend.
One of the above broken everything (I started seeing _digikam_root_tag) and some of my tags were doubled. So all in all I wanted to delete them all:</description></item><item><title>Unpacking a .deb file (including scripts)</title><link>https://silviuvulcan.ro/blog/2012/01/23/unpacking-a-deb-file-including-scripts/</link><pubDate>Mon, 23 Jan 2012 10:11:54 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/23/unpacking-a-deb-file-including-scripts/</guid><description>While attempting to install a deb package on a slackware system I wanted to check the install script that the package runs. I tried the deb2tgz utility but unfortunately that only left me the files in the package in a ready to install .tgz file.
Here&amp;rsquo;s how to unpack a .deb to obtain both scripts and files:
cd /tmp/somefolder tar x somepackage.deb This leaves you with two files:
control.tar.gz and data.</description></item><item><title>Log dropped packets using CentOS Firewall</title><link>https://silviuvulcan.ro/blog/2012/01/23/log-dropped-packets-using-centos-firewall/</link><pubDate>Mon, 23 Jan 2012 07:16:42 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/23/log-dropped-packets-using-centos-firewall/</guid><description>Please take care modifying your firewall. If you don&amp;rsquo;t understand what&amp;rsquo;s being done here you may lock yourself out of your machine. You&amp;rsquo;ve been warned 🙂 !
In order to log dropped packets on the INPUT chain I replaced this:
-A INPUT -i eth0 -j REJECT -reject-with icmp-host-prohibited with this
-N LOGDROP -A LOGDROP -i eth0 -j LOG -A LOGDROP -i eth0 -j REJECT -reject-with icmp-host-prohibited -A INPUT -i eth0 -j LOGDROP Of course you can use DROP instead of REJECT -reject-with icmp-host-prohibited</description></item><item><title>Fixing a self pressing button on an Asus VW202SR monitor</title><link>https://silviuvulcan.ro/blog/2012/01/17/fixing-a-self-pressing-button-on-an-asus-vw202sr-monitor/</link><pubDate>Tue, 17 Jan 2012 18:51:16 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/17/fixing-a-self-pressing-button-on-an-asus-vw202sr-monitor/</guid><description>&lt;p>&lt;img src="https://silviuvulcan.ro/blog/blog/images/2012/" alt="">&lt;/p>
&lt;p>&lt;img src="https://silviuvulcan.ro/blog/blog/images/2012/IMG_0379.jpg" alt="Broken button Asus Monitor showing Brightness menu">&lt;/p>
&lt;p>Well, today instead of working I had the pleasure of fixing the monitor 🙂 The monitor is an older Asus VW202 SR that my wife uses connected to the laptop. I tried everything else (power cycling, another signal cable, another computer) but it turns out to be really the button. The issue manifested itself by the brightness setting window appearing and going eventually all the way to 100. First I thought that the button was stuck in the frame but it was safely depressed. That means a broken button on the pcb board. I thought it would be pretty easy to solder a new one in place.&lt;/p></description></item><item><title>Enabling the MySQL slow query log</title><link>https://silviuvulcan.ro/blog/2012/01/12/enabling-the-mysql-slow-query-log/</link><pubDate>Thu, 12 Jan 2012 16:32:49 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/12/enabling-the-mysql-slow-query-log/</guid><description>If you have a slow web app or website it might be because of unoptimized sql queries. You want to track and fix those and the mysql slow query log is very helpful here.
Enabling the slow query log MySQL prior to 5.1.0 requires adding a setting to the MySQL my.cnf file and restart the mysql daemon in order to log slow queries; from MySQL 5.1.0 onwards you can also change this dynamically without having to restart.</description></item><item><title>Limit number of related articles returned in Joomla 1.7 and Joomla 2.5</title><link>https://silviuvulcan.ro/blog/2012/01/11/limit-number-of-related-articles-returned-in-joomla-1-7/</link><pubDate>Wed, 11 Jan 2012 15:39:15 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/11/limit-number-of-related-articles-returned-in-joomla-1-7/</guid><description>Joomla 1.7 has a nice module mod_related_items (Articles Related) that shows articles related to the current one the visitor is browsing. It has one issue though, you can&amp;rsquo;t set a limit.
So a little code hacking is in order. Open modules/mod_related_items/helper.php and go to line 94 (right after the _Filter by language_ if_) and modify
$db&amp;gt;setQuery($query); to read:
$db-&amp;gt;setQuery($query,0,10); Of course you can change the limit from 10 with whatever you like.</description></item><item><title>cbnet Ping Optimizer is killing a site</title><link>https://silviuvulcan.ro/blog/2012/01/11/cbnet-ping-optimizer-is-killing-a-site/</link><pubDate>Wed, 11 Jan 2012 10:28:20 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/11/cbnet-ping-optimizer-is-killing-a-site/</guid><description>Some wise soul decided many moons ago that installing the aforementioned plugin on a site I host is a great ideea. The wise soul is long gone (admining websites for ngo&amp;rsquo;s as a volunteer is no fun for far too many come and goers:) ) Lately the site was getting more and more sluggish with no apparent reason. I decided to clean a bit the many modules he thought in his wisdom to install.</description></item><item><title>Cadsoft Eagle on Slackware Current 64bit</title><link>https://silviuvulcan.ro/blog/2012/01/11/cadsoft-eagle-on-slackware-current-64bit/</link><pubDate>Wed, 11 Jan 2012 09:00:29 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/11/cadsoft-eagle-on-slackware-current-64bit/</guid><description>I want to start building some new electronics projects and I wanted to use some tool to build my schematics. Even if not open source Cadsoft&amp;rsquo;s Eagle seems to be the de-facto standard between hobbyists.
Unfortunately trying to run the setup on Slackware gives the errors regarding to
/.../bin/eagle: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory libssl.so.1.0.0 and libcrypto.so.1.0.0
I run a multilib setup so that&amp;rsquo;s not it.</description></item><item><title>Search and replace text in many files</title><link>https://silviuvulcan.ro/blog/2012/01/06/search-and-replace-text-in-many-files/</link><pubDate>Fri, 06 Jan 2012 07:48:46 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2012/01/06/search-and-replace-text-in-many-files/</guid><description>This is a handy one liner that searches and replaces text in multiple files. (You can use find for example to run it in multiple folders)
perl -pi -e &amp;#39;s/old_text/new_text/g&amp;#39; *.conf This line replaces old_text with new_text in all the .conf files in the current folder. Of course you can use regular expressions.</description></item><item><title>New AdSense interface language</title><link>https://silviuvulcan.ro/blog/2011/12/22/new-adsense-interface-language/</link><pubDate>Thu, 22 Dec 2011 10:06:47 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/12/22/new-adsense-interface-language/</guid><description>Though not my native language I like all my software in English. It always sounds weird to me to see it different. Ever since AdSense upgraded the looks it switched to Romanian. Today I wanted to tackle this:
I went to Home-&amp;gt;Account settings-&amp;gt;Display Language
It was already English US
Well, it won&amp;rsquo;t be the first webapp displaying a default that was there in the interface but not in the settings database.</description></item><item><title>Quickly check if a process is running or not</title><link>https://silviuvulcan.ro/blog/2011/12/22/quickly-check-if-a-process-is-running-or-not/</link><pubDate>Thu, 22 Dec 2011 08:29:02 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/12/22/quickly-check-if-a-process-is-running-or-not/</guid><description>When writting bash scripts one often needs to see if a process is running or not I like the following code; though I&amp;rsquo;m sure many ways of doing this exists, what&amp;rsquo;s your favorite?
if [ -z &amp;#34;$(pgrep process)&amp;#34; ]; then echo &amp;#34;process is not running&amp;#34; else echo &amp;#34;process is running&amp;#34; fi</description></item><item><title>Cisco (Linksys) E3200 router triggers blocked host with DynDNS</title><link>https://silviuvulcan.ro/blog/2011/12/14/cisco-linksys-e3200-router-triggers-blocked-host-with-dyndns/</link><pubDate>Wed, 14 Dec 2011 11:11:54 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/12/14/cisco-linksys-e3200-router-triggers-blocked-host-with-dyndns/</guid><description>I finally had to upgrade my home router from an aging WRT54GL and went (despite missing dd-wrt for now) with the Linksys E3200. I installed yesterday including dyndns support because I sometimes access my home network when away. I was surprised to receive an email from dyndns this morning stating that my host has been blocked because of abuse. It was strange since my connection is stable and even though some routers have flaky dyndns update clients linksys didn&amp;rsquo;t disappoint me until now&amp;hellip;</description></item><item><title>flac2mp3 conversion bash script</title><link>https://silviuvulcan.ro/blog/2011/12/13/flac2mp3-conversion-bash-script/</link><pubDate>Tue, 13 Dec 2011 18:40:42 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/12/13/flac2mp3-conversion-bash-script/</guid><description>I recently started buying some music in flac format. Though I&amp;rsquo;m content on storing it as flac on my NAS I don&amp;rsquo;t like filling up my phone&amp;rsquo;s memory and also I have the impression that listening to flac uses more battery on my n900.
So I devised a small script that converts all the flac&amp;rsquo;s from a folder to mp3. It has some provisions to carry the metadata from one format to the other.</description></item><item><title>BackupPC – can’t find Compress::Zlib</title><link>https://silviuvulcan.ro/blog/2011/12/13/backuppc-cant-find-compresszlib/</link><pubDate>Tue, 13 Dec 2011 07:19:55 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/12/13/backuppc-cant-find-compresszlib/</guid><description>It all started with an update for perl by our lovely CentOS. After that backuppc complained about Compress::Zlib. I tried installing it from CPAN but it didn&amp;rsquo;t work:
Undefined subroutine &amp;amp;Compress::Zlib::gzopen called One proposed fix was to remove everything Zlib related from the perl folder in /usr/lib. It did work, as CPAN started working but Zlib refused to install due to errors.
I finally stumbled to this fix:
Turns out it&amp;rsquo;s a problem with List::Util.</description></item><item><title>Concatenate multiple *.vcf files into one for importing into gMail</title><link>https://silviuvulcan.ro/blog/2011/12/08/concatenate-multiple-vcf-files-into-one-for-importing-into-gmail/</link><pubDate>Thu, 08 Dec 2011 13:46:50 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/12/08/concatenate-multiple-vcf-files-into-one-for-importing-into-gmail/</guid><description>I have a secondary phone that is running Android. My main phone is still a Nokia N900 for which I gave up trying to sync contacts with gmail. Two options basically exist for n900 none of which works for me:
using MFE which works from time to time use syncevolution which invariably screws my contacts on the n900 (I guess google&amp;rsquo;s implementation of syncml or exchange support is dubious at best) So I devised a third.</description></item><item><title>Compiling audacious 3.1</title><link>https://silviuvulcan.ro/blog/2011/11/22/compiling-audacious-3-1/</link><pubDate>Tue, 22 Nov 2011 09:18:26 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/11/22/compiling-audacious-3-1/</guid><description>I&amp;rsquo;m a big fan of classic media players (audacious, xmms, the old winamp, etc.) That&amp;rsquo;s why I wanted today to complile the latest version of audacious (3.1) for my slackware laptop. Since the audacious build scripts are kind enough to provide make uninstall I didn&amp;rsquo;t bother with package builds, I simply compiled the stock source.
BTW that required upgrading libmowgli (got one from slacky). Audacious compiled succesfully but for audacious-plugins configure refused to run:</description></item><item><title>stdin: is not a tty</title><link>https://silviuvulcan.ro/blog/2011/11/18/stdin-is-not-a-tty/</link><pubDate>Fri, 18 Nov 2011 11:22:08 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/11/18/stdin-is-not-a-tty/</guid><description>This was a new one for me. Received when doing automated remote log-ins on a cPanel server. The scripts would be confused by the following message:
stdin: is not a tty It was caused by the following line in .bashrc (note that it could be in /etc/bashrc or /etc/profile, all those are on the target host)
mesg y Often it can be caused by biff y as well.
Replacing the line with the following should fix it:</description></item><item><title>Secondary DNS cannot transfer zone</title><link>https://silviuvulcan.ro/blog/2011/11/03/secondary-dns-cannot-transfer-zone/</link><pubDate>Thu, 03 Nov 2011 16:14:24 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/11/03/secondary-dns-cannot-transfer-zone/</guid><description>I&amp;rsquo;m no Bind expert but I&amp;rsquo;m not a beginner either. I was configuring a secondary backup DNS for a master server and I noticed that after configuring everything the zones didn&amp;rsquo;t get replicated on the slave DNS. I checked the logs and saw the following:
First I thought there was a mistake related to a missing permission on the master configuration
allow-transfer { aaa.bbb.ccc.ddd; }; I double checked but the permissions were set correctly.</description></item><item><title>DNS::ZoneParse has an undocumented $ORIGIN</title><link>https://silviuvulcan.ro/blog/2011/11/02/dnszoneparse-has-an-undocumented-origin/</link><pubDate>Wed, 02 Nov 2011 13:29:17 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/11/02/dnszoneparse-has-an-undocumented-origin/</guid><description>I was working writing a few scripts that should update a DNS zone file on the fly. I decided to use the DNS::ZoneParse perl module for convenience.
The example there is straightforward for changing MX records so I thought modifying it to change an A record should be a piece of cake. Right? Wrong!
For the love of it I couldn&amp;rsquo;t get my code to modify the record in question, it would always delete it.</description></item><item><title>Error noticed in Joomla site apache logs</title><link>https://silviuvulcan.ro/blog/2011/10/27/error-noticed-in-joomla-site-apache-logs/</link><pubDate>Thu, 27 Oct 2011 17:50:23 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/10/27/error-noticed-in-joomla-site-apache-logs/</guid><description>Browsing trough my web logs I found the following error in the apache error log of a Joomla site:
[Mon Oct 17 13:49:16 2011] [error] [client aaa.aaa.aaa.aaa] PHP Notice: Array to string conversion in aaa/libraries/joomla/html/parameter.php on line 83 One suggestion found online was:
Edit parameters.php and change the line 83 as follows:
Before:
if (trim( $data )) { After:
if ($data) { But modifying core joomla files isn&amp;rsquo;t such a hot idea as one user notices.</description></item><item><title>My fortune command line…</title><link>https://silviuvulcan.ro/blog/2011/10/15/my-fortune-command-line/</link><pubDate>Sat, 15 Oct 2011 14:11:48 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/10/15/my-fortune-command-line/</guid><description>I take my bash profile very seriously 🙂
I use:
fortune fortunes fortunes-o fortunes2 forunes2-o 30% startrek The above means to choose fortunes only from the 5 specified files and more it assures that I get startrek fortunes from time to time. Note that because lists are not equal in size it doesnt mean that I get them 30% of the time&amp;hellip;
Below is the fortune man page:
Name fortune - print a random, hopefully interesting, adage</description></item><item><title>Optimizing all mysql tables (from all databases)</title><link>https://silviuvulcan.ro/blog/2011/10/04/optimizing-all-mysql-tables-from-all-databases/</link><pubDate>Tue, 04 Oct 2011 06:44:55 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/10/04/optimizing-all-mysql-tables-from-all-databases/</guid><description>You want to optimize mysql tables from time to time in order to reduce fragmentation. Here&amp;rsquo;s an easy way to do it automatically (put it in a script and run it from cron for example)
mysqlcheck -Aop -h hostname -u user -pPASSWORD What all those mean:
-all-databases, -A; Check all tables in all databases. This is the same as using the -databases option and naming all the databases on the command line.</description></item><item><title>Working mediatomb config.xml for Samsung UE37C5000</title><link>https://silviuvulcan.ro/blog/2011/09/13/working-mediatomb-config-xml-for-samsung-ue37c5000/</link><pubDate>Tue, 13 Sep 2011 14:11:47 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/09/13/working-mediatomb-config-xml-for-samsung-ue37c5000/</guid><description>I have a NAS and an Samsung UE37C5000 UPNP/DLNA enabled led TV. Streaming from the first to the second should be easy, right? Well after a few tweaks MediaTomb makes it possible.
I don&amp;rsquo;t say this is the best configuration possible but it&amp;rsquo;s the one that works INCLUDING pause and fast forwarding.
Relevant from the default are the custom header, extended protocol info and the mkv and avi lines.
MediaTomb uuid:0f53d0ff-5951-4d27-8fa7-06ce378ae789 /var/lib/mediatomb /usr/share/mediatomb/web mediatomb.</description></item><item><title>Another issue compiling Digikam 2.0.0 stable on my Slackware current 64 bit (post 13.37)</title><link>https://silviuvulcan.ro/blog/2011/08/20/another-issue-compiling-digikam-2-0-0-stable-on-my-slackware-current-64-bit-post-13-37/</link><pubDate>Sat, 20 Aug 2011 18:14:01 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/08/20/another-issue-compiling-digikam-2-0-0-stable-on-my-slackware-current-64-bit-post-13-37/</guid><description>This error is spit after compiling:
Linking CXX shared module ../../../lib/kipiplugin_advancedslideshow.so /usr/lib64/gcc/x86_64-slackware-linux/4.5.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/share/opencv/../../lib/libGL.so when searching for -lGL collect2: ld returned 1 exit status make[2]: \*** [lib/kipiplugin_advancedslideshow.so] Error 1 make[1]: \*** [extra/kipi-plugins/advancedslideshow/CMakeFiles/kipiplugin_advancedslideshow.dir/all] Error 2 make: \*** [all] Error 2 For whatever reason it tries to use the 32 bit version of libGL.so from /usr/lib Since I was annoyed at this point so I simply renamed /usr/lib to /usr/lib.old and compiled digikam than reverted.</description></item><item><title>Digikam 2.0.0 Export to Facebook not compiled / missing</title><link>https://silviuvulcan.ro/blog/2011/08/20/digikam-2-0-0-export-to-facebook-not-compiled-missing/</link><pubDate>Sat, 20 Aug 2011 17:48:36 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/08/20/digikam-2-0-0-export-to-facebook-not-compiled-missing/</guid><description>I&amp;rsquo;m had finally found the time to upgrade to digikam 2.0 stable. I noticed that Export to Facebook it&amp;rsquo;s not getting compiled. Long story short you need qjson installed. I used sbopkg -ki qjson and now digikam is happy!</description></item><item><title>Web interface for Zabbix didn’t load</title><link>https://silviuvulcan.ro/blog/2011/08/18/web-interface-for-zabbix-didnt-load/</link><pubDate>Thu, 18 Aug 2011 07:30:27 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/08/18/web-interface-for-zabbix-didnt-load/</guid><description>I was installing today Zabbix on a CentOS 5.6 machine and hit the following error when trying to load the PHP Web Interface:
PHP Fatal error: Call to undefined function bcscale() in /var/www/zabbix/include/defines.inc.php on line 797 The fix was one package install away:
yum -y install php-bcmath</description></item><item><title>Enabling spell check in Mindtouch Core</title><link>https://silviuvulcan.ro/blog/2011/08/17/enabling-spell-check-in-mindtouch-core/</link><pubDate>Wed, 17 Aug 2011 09:18:27 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/08/17/enabling-spell-check-in-mindtouch-core/</guid><description>After an update the spell checker I was used to disappeared. Here&amp;rsquo;s how to (re)enable the (new) spell checker:
Go to Control Panel -&amp;gt; Configuration -&amp;gt; Basic -&amp;gt; Tick &amp;ldquo;Allow users to spell check while editing content&amp;rdquo; and hit Save
Go back to editing and you should see the icon with &amp;ldquo;ABC&amp;rdquo; and a checkmark.</description></item><item><title>Add php APC and UploadProgress support to CentOS</title><link>https://silviuvulcan.ro/blog/2011/08/03/add-php-apc-and-uploadprogress-support-to-centos/</link><pubDate>Wed, 03 Aug 2011 08:25:40 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/08/03/add-php-apc-and-uploadprogress-support-to-centos/</guid><description>I was playing today with some file uploading scripts and noticed that they require one of the two in order to be able to display a progress bar.
Those are the steps required to enabled both of them on centos:
yum install php-pear php-devel httpd-devel pcre-devel pecl install apc pecl install uploadprogress Than I created in /etc/php.d/ the following files:
; provides upload progress, installed using pecl extension=apc.so apc.rfc1867=1 and</description></item><item><title>I turned off my dell wireless card and couldn’t turn it back on</title><link>https://silviuvulcan.ro/blog/2011/06/24/i-turned-off-my-dell-wireless-card-and-couldnt-turn-it-back-on/</link><pubDate>Fri, 24 Jun 2011 08:48:30 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/06/24/i-turned-off-my-dell-wireless-card-and-couldnt-turn-it-back-on/</guid><description>Among others I work on a Dell Vostro A860 Laptop. It&amp;rsquo;s running Slackware 64 Current. Yesterday I wanted to watch a movie while waiting at the airport for my wife so I turned off Wi-Fi using FN+11 (pressed a few times until both Bluetooth and wi-fi were disabled).
Today when I booted wi-fi was not working. I kept pressing FN+11 (as the laptop toggles trough combination of bluetooth off/on, wi-fi off/on, and any other possible combination).</description></item><item><title>Make Joomla 1.0 work with PHP 5.3</title><link>https://silviuvulcan.ro/blog/2011/06/23/make-joomla-1-0-work-with-php-5-3/</link><pubDate>Thu, 23 Jun 2011 10:43:03 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/06/23/make-joomla-1-0-work-with-php-5-3/</guid><description>With the recent posts regarding resurrecting old stuff, recently I had to resurrect a Joomla 1.0 site. Soon enough I discovered that the home page doesn&amp;rsquo;t display correctly. No errors, just lots of white space :). The problem is that Joomla 1.0 is not really made for PHP 5.3. Of course I could have started a virtual machine with the right environment but I wanted it running along some newer sites.</description></item><item><title>Automatically sync photos from digikam to your mobile phone</title><link>https://silviuvulcan.ro/blog/2011/06/22/automatically-sync-photos-from-digikam-to-your-mobile-phone/</link><pubDate>Wed, 22 Jun 2011 08:10:02 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/06/22/automatically-sync-photos-from-digikam-to-your-mobile-phone/</guid><description>I shoot a lot of pictures. My collection keeps growing (for example ~90 Gb right now) and since last year I discovered the joy of using digikam to tag and organize them. I&amp;rsquo;m using the beta 2.0.0 version and use mysql to store it&amp;rsquo;s databases (as opposed to the default sqlite) as it&amp;rsquo;s easier to interact and backup. What I want is to carry some of those pictures with me, specifically on my phone.</description></item><item><title>Moving a solaris guest from VMWare to Virtualbox</title><link>https://silviuvulcan.ro/blog/2011/06/16/moving-a-solaris-guest-from-vmware-to-virtualbox/</link><pubDate>Thu, 16 Jun 2011 12:01:50 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/06/16/moving-a-solaris-guest-from-vmware-to-virtualbox/</guid><description>I&amp;rsquo;m a big fan of Virtualbox. It&amp;rsquo;s easy, fast and free. Recently I had to revive an older Solaris guest that used to run under vmware, and to set it up to run under Virtualbox. I quickly found out that after the grub screen it enters a reboot loop and nothing seemed to help. I could boot into failsafe and mount the root partition as /a/
Someone suggested that the problem was that vmware had the disk as SCSI (c0t0d0s0) and virtualbox enumerated them as IDE (c0d0s0).</description></item><item><title>vi usage reference</title><link>https://silviuvulcan.ro/blog/2011/06/16/vi-usage-reference/</link><pubDate>Thu, 16 Jun 2011 11:35:00 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/06/16/vi-usage-reference/</guid><description>Recently I had to do some work on a Solaris Server. This meant two things: finding a new appreciation for the user friendliness of the linux console and second it meant that I had to use the barebones vi. You know, the one where the arrows and backspace won&amp;rsquo;t work. Smart. So here&amp;rsquo;s a little list compiled with the more important functions
First I had to
export TERM=xterm before vi worked correctly.</description></item><item><title>OpenOffice.org / Libreoffice pasted numbers automatically get changed to dates</title><link>https://silviuvulcan.ro/blog/2011/06/03/openoffice-orglibreoffice-pasted-numbers-automatically-get-changed-to-dates/</link><pubDate>Fri, 03 Jun 2011 12:12:01 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/06/03/openoffice-orglibreoffice-pasted-numbers-automatically-get-changed-to-dates/</guid><description>&lt;p>&lt;img src="https://silviuvulcan.ro/blog/blog/images/2011/openoffice_calc_3D-150x150.png" alt="Open Office Calc">
I&amp;rsquo;ve been pasting some information from some weblogs into Calc (the &lt;a href="http://www.libreoffice.org/">LibreOffice&lt;/a> Excel equivalent) and some version numbers like 1.5.30 got changed to dates. All the documentation pointed me towards changing the cell format to &lt;strong>text&lt;/strong>. That only works if you &lt;strong>type&lt;/strong> the numbers, not if you paste them. When you paste them the cell format get changed to &lt;strong>number&lt;/strong> again. Read more for the solution&amp;hellip;&lt;/p></description></item><item><title>Akismet troubles traced back to DNS issues.</title><link>https://silviuvulcan.ro/blog/2011/06/02/akismet-troubles-traced-back-to-dns-issues/</link><pubDate>Thu, 02 Jun 2011 05:50:34 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/06/02/akismet-troubles-traced-back-to-dns-issues/</guid><description>My API key for Akismet was suddenly unconfirmed by reason of not being able to reach akismet.com My provider had indeed troubles with their primary DNS so I switched to the google public one. (8.8.8.8). This is a server not a browsing machine so I don&amp;rsquo;t have any privacy worries.
Long storry short, I changed the DNS and expected the problem to go away. Next day I was happy to find out that it didn&amp;rsquo;t.</description></item><item><title>MariaDB vs MySQL short benchmark</title><link>https://silviuvulcan.ro/blog/2011/05/25/mariadb-vs-mysql-short-benchmark/</link><pubDate>Wed, 25 May 2011 08:32:09 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/05/25/mariadb-vs-mysql-short-benchmark/</guid><description>Considering switching from MySQL to MariaDB? Me too. I wanted to see if I can look towards any performance improvements (or drops). I don&amp;rsquo;t have high level needs, I&amp;rsquo;m sure more comprehensive tests exist. This is simple run-all-tests.pl from sql-bench suite. The test machine was a CentOS VM with 2Gb RAM and 2 CPU cores assigned.
Mysql:
Benchmark DBD suite: 2.15 Date of test: 2011-05-25 2:22:27 Running tests on: Linux 2.</description></item><item><title>network-manager-applet on Slackware 13.37 (current too) compile error</title><link>https://silviuvulcan.ro/blog/2011/05/25/network-manager-applet-on-slackware-13-37-current-as-well/</link><pubDate>Wed, 25 May 2011 08:27:01 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/05/25/network-manager-applet-on-slackware-13-37-current-as-well/</guid><description>I took the time today to bring Network Manager and network-manager-applet (both very useful on my laptop where I have VPN&amp;rsquo;s, 3G modems and various networks I connect to) First I brought all the dependencies up to date but network-manager-applet still refused to compile:
checking for GOBJECT... yes checking for NMA... no configure: error: Package requirements (dbus-glib-1 &amp;gt;= 0.74 glib-2.0 &amp;gt;= 2.16 NetworkManager &amp;gt;= 0.8.4 libnm-glib &amp;gt;= 0.8.4 libnm-util &amp;gt;= 0.</description></item><item><title>Shrink (resize) a LVM volume</title><link>https://silviuvulcan.ro/blog/2011/05/17/shrink-resize-a-lvm-volume/</link><pubDate>Tue, 17 May 2011 09:11:18 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/05/17/shrink-resize-a-lvm-volume/</guid><description>I found a lot of resources on resizing LVM volumes or volume groups. But resources on shrinking were a little scarce and I couldn&amp;rsquo;t easily find a simple step by step method listed, so here you go. Please note that the volume you intend to shrink must be unmounted. If you want to resize the root partition (because like me you didn&amp;rsquo;t noticed that the ubuntu server installer will alocate the full 500Gb HDD for the root) you will have to boot off a LiveCD.</description></item><item><title>Firefox 4 on linux change to one button menu and make it nice and orange</title><link>https://silviuvulcan.ro/blog/2011/04/27/firefox-4-on-linux-change-to-one-button-menu-and-make-it-nice-and-orange/</link><pubDate>Wed, 27 Apr 2011 05:13:32 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/04/27/firefox-4-on-linux-change-to-one-button-menu-and-make-it-nice-and-orange/</guid><description>When I upgraded to Firefox 4 on my linux machines I was disappointed to see that the classic menu bar remained. I&amp;rsquo;m not necesarily a fan of the new ribbon interfaces but since I don&amp;rsquo;t use the menu often and so prefer to use the space for something useful, like the tabs.
Reducing the menu bar to a button is easy.
Right click on the menu bar and uncheck Menu bar</description></item><item><title>Bad image quality from HDMI connected PC to Samsung LED LCD</title><link>https://silviuvulcan.ro/blog/2011/04/19/pc-image-quality-bad-on-hdmi-connected-lcd-tv/</link><pubDate>Tue, 19 Apr 2011 12:20:20 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/04/19/pc-image-quality-bad-on-hdmi-connected-lcd-tv/</guid><description>So, we finally upgraded our old CRT TV to a newer, Full HD Samsung LCD TV (ue37c5000). Since we have a media-center PC the first thing I did was of course hook it up and test a few full hd clips to enjoy the new TV. Everything was nice and well until I switched the tv from the VGA cable I had lying around to a HDMI cable I just bought.</description></item><item><title>WebSVN and Mantis integration</title><link>https://silviuvulcan.ro/blog/2011/04/19/websvn-and-mantis-integration/</link><pubDate>Tue, 19 Apr 2011 11:20:19 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/04/19/websvn-and-mantis-integration/</guid><description>While installing the above I found the following obscure error:
The environment under which I run Mantis is a little broken I think and so svn can only work if called with -config-dir /home/svnuser/.subversion otherwise it tries to read /root/.subversion which of course fails
Even if the above parameter is set in configuration the svn_check function appears to ignore it and calls svn help without it. Unintuitively svn help fails if it cannot read the configuration folder so the -config-dir must be applied here too.</description></item><item><title>Wake a host (wake on lan) from dd-wrt</title><link>https://silviuvulcan.ro/blog/2011/02/16/wake-a-host-wake-on-lan-from-dd-wrt/</link><pubDate>Wed, 16 Feb 2011 13:45:00 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/02/16/wake-a-host-wake-on-lan-from-dd-wrt/</guid><description>WOL through Telnet/SSH Note: This is the preferred method to send WOL magic packets remotely. If you have local or remote Telnet/SSH access to your router, you can wake up a machine on the LAN by using the following command:
/usr/sbin/wol -i 192.168.1.255 -p PP AA:BB:CC:DD:EE:FF Note that the full path to &amp;ldquo;/usr/sbin/wol&amp;rdquo; is important. Simply &amp;ldquo;wol&amp;rdquo; will not work.
Substitute AA:BB:CC:DD:EE:FF with the actual MAC address of the computer which you wish to boot remotely.</description></item><item><title>Digitally signing email or documents.</title><link>https://silviuvulcan.ro/blog/2011/02/01/digitally-signing-email-or-documents/</link><pubDate>Tue, 01 Feb 2011 10:16:00 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/02/01/digitally-signing-email-or-documents/</guid><description>What are email certificates used for? Email certificates provide the strongest levels of confidentiality and security for your electronic communications by allowing you to digitally sign and encrypt your mail and attachments. Encryption means that only your intended recipient will be able to read the mail while digitally signing allows them to confirm you as the sender and verify the message was not tampered with en route.
How to obtain one?</description></item><item><title>BandwithD resets stats data after restart/reboot</title><link>https://silviuvulcan.ro/blog/2011/01/20/bandwithd-resets-stats-data-after-restartreboot/</link><pubDate>Thu, 20 Jan 2011 11:49:51 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/01/20/bandwithd-resets-stats-data-after-restartreboot/</guid><description>This was a funny one:
I have installed the Bandwithd monitoring software on a machine. I noticed that the monitoring data kept being erased between start/stop or reboot. There actually are two configuration settings which are false by default that allows BandwidthD to keep it&amp;rsquo;s data across restart&amp;rsquo;s (or system reboots) and those are
(in /etc/bandwidthd.conf)
#Log data to cdf file htdocs/log.cdf output_cdf true #Read back the cdf file on startup recover_cdf true (they are false by default, you need to set them true like above)</description></item><item><title>List crontab entries for all users on a linux system</title><link>https://silviuvulcan.ro/blog/2011/01/20/list-crontab-entries-for-all-users-on-a-linux-system/</link><pubDate>Thu, 20 Jan 2011 10:00:20 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/01/20/list-crontab-entries-for-all-users-on-a-linux-system/</guid><description>This is a good one liner to remember:
for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done</description></item><item><title>Mysql authentication issues</title><link>https://silviuvulcan.ro/blog/2011/01/12/mysql-authentication-issues/</link><pubDate>Wed, 12 Jan 2011 12:57:47 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2011/01/12/mysql-authentication-issues/</guid><description>Ever happened to you that you create a user with privileges to connect from any host but it won&amp;rsquo;t connect from the localhost?
Like this:
[root@18969_1_490528 tmp]# mysql -u test_user -puser_pass ERROR 1045 (28000): Access denied for user &amp;#39;test_user&amp;#39;@&amp;#39;localhost&amp;#39; (using password: YES) [root@18969_1_490528 tmp]# mysql -u test_user -puser_pass -h yourhost.com Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 55 Server version: 5.0.77 Source distribution Type &amp;#39;help;&amp;#39; or &amp;#39;h&amp;#39; for help.</description></item><item><title>PHP code misses DNS updates.</title><link>https://silviuvulcan.ro/blog/2010/12/22/php-code-misses-dns-updates/</link><pubDate>Wed, 22 Dec 2010 12:26:00 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/12/22/php-code-misses-dns-updates/</guid><description>Apache needs a full stop &amp;amp; start on DNS changes. While working on a test environment I noticed that php code was not finding new hosts. The hosts were served by an internal, private dns server which was configured as default in resolv.conf
Warning: file_get_contents(http://www.testdomain.com/webapp/file.php) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /var/www/htdocs/test.php on line 4 [root@jentlaibm01 manager]# cat test.php Ping was working so any other test I tried, the only part not resolving the newly added host was the php application.</description></item><item><title>You’ll want to archive your joomla site using .tar.gz</title><link>https://silviuvulcan.ro/blog/2010/11/30/youll-want-to-archive-your-joomla-site-using-tar-gz/</link><pubDate>Tue, 30 Nov 2010 13:26:22 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/11/30/youll-want-to-archive-your-joomla-site-using-tar-gz/</guid><description>I was building a script to archive my joomla folders on a linux server. I noticed it takes a lot of time to complete so I&amp;rsquo;ve run a few tests on one website. Here are the results:
[root@host]# time tar cjf /backup/2010-11-30/test.tar.bz2 -C /var/www/site . real 0m55.299s user 0m53.929s sys 0m1.314s [root@host]# time tar czf /backup/2010-11-30/test.tar.gz -C /var/www/site . real 0m15.545s user 0m12.311s sys 0m0.947s [root@host]# time tar cf /backup/2010-11-30/test.tar -C /var/www/site .</description></item><item><title>After importing products from CSV in Virtuemart a discount is showed</title><link>https://silviuvulcan.ro/blog/2010/11/29/after-importing-products-from-csv-in-virtuemart-a-discount-is-showed/</link><pubDate>Mon, 29 Nov 2010 18:21:26 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/11/29/after-importing-products-from-csv-in-virtuemart-a-discount-is-showed/</guid><description>After importing products into Virtuemart using CSV Import a discount is shown being available - although offering the same price as the list price. This happens because no discount id is set in the table. Running the following on the mysql table fixes that:
UPDATE `jos_vm_product` SET `product_discount_id`=0 WHERE 1</description></item><item><title>Mount a FTP site from fstab</title><link>https://silviuvulcan.ro/blog/2010/11/27/mount-a-ftp-site-from-fstab/</link><pubDate>Sat, 27 Nov 2010 18:56:47 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/11/27/mount-a-ftp-site-from-fstab/</guid><description>I still have clients or websites where the most convenient (middle ages based) method of exchanging files is FTP.
Since I&amp;rsquo;m lazy by nature I don&amp;rsquo;t like firing up a FTP client, I&amp;rsquo;d prefer to just have it available on request. For a while the KDE Network Places did the trick. But I decided I want it even easier. Behold curlftpfs.
One
sbopkg -ki curlftpfs (replace that with apt-get, yum or compile from source depending on your distro) later and I could do this in fstab:</description></item><item><title>FreePBX fails uploading mp3’s for music on hold</title><link>https://silviuvulcan.ro/blog/2010/11/26/freepbx-fails-uploading-mp3s-for-music-on-hold/</link><pubDate>Fri, 26 Nov 2010 14:41:03 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/11/26/freepbx-fails-uploading-mp3s-for-music-on-hold/</guid><description>This is caused by a couple of problems:
the /var/lib/asterisk/moh is missing (or has the wrong permissions). Be sure it&amp;rsquo;s there and has the right owner (asterix:asterix) and permissions
Sox has to be installed. What the error logs miss to inform at the first glance is that you also need mpg123 otherwise you&amp;rsquo;ll get this:
Error Processing: &amp;#34;sox failed to convert file and original could not be copied as a fall back&amp;#34; for Johnny Cash - Solitary Man.</description></item><item><title>uuencode and uudecode are missing from CentOS 5</title><link>https://silviuvulcan.ro/blog/2010/10/27/uuencode-and-uudecode-are-missing-from-centos-5/</link><pubDate>Wed, 27 Oct 2010 10:10:52 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/10/27/uuencode-and-uudecode-are-missing-from-centos-5/</guid><description>What a surprise. I need those sometimes when mailing things from cron so after a quick search around I found the (intuitive named) package that contains those utilities is sharutils.
yum install sharutils Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Excluding Packages in global exclude list Finished Setting up Install Process Resolving Dependencies -&amp;gt; Running transaction check -&amp;gt; Package sharutils.x86_64 0:4.6.1-2 set to be updated -&amp;gt; Finished Dependency Resolution Dependencies Resolved ======================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================== Installing: sharutils x86_64 4.</description></item><item><title>Disabling external access to the DD-WRT WebGui</title><link>https://silviuvulcan.ro/blog/2010/10/13/disabling-external-access-to-the-dd-wrt-webgui/</link><pubDate>Wed, 13 Oct 2010 19:42:18 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/10/13/disabling-external-access-to-the-dd-wrt-webgui/</guid><description>So, playing with DynDNS and DD-WRT I worryingly observed that even if I set
Administration-&amp;gt;Management-&amp;gt;Remote Access-&amp;gt;Web GUI Management
to off I can still ****access my router&amp;rsquo;s management WebGui via the external address. That seemed wrong, I was about to set firewall rules to block this unitl I tried from my phone using 3G. The WebGui was inaccessible.
The WAN WebGui still works from the INSIDE! But don&amp;rsquo;t worry it won&amp;rsquo;t work from outside your network.</description></item><item><title>Close the Now Playing widget in KDE4</title><link>https://silviuvulcan.ro/blog/2010/10/13/close-the-now-playing-widget-in-kde4/</link><pubDate>Wed, 13 Oct 2010 07:05:16 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/10/13/close-the-now-playing-widget-in-kde4/</guid><description>I&amp;rsquo;ve lost a good 5 minutes trying to close the damn Now Playing Widget in KDE 4 You&amp;rsquo;ll be happy to know that even with &amp;ldquo;widgets unlocked&amp;rdquo; the damn X button only works if amarok (or probably another player) is running
Is it me or is this plain wrong ?</description></item><item><title>Nagios Grapher fun</title><link>https://silviuvulcan.ro/blog/2010/10/06/nagios-grapher-fun/</link><pubDate>Wed, 06 Oct 2010 15:52:38 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/10/06/nagios-grapher-fun/</guid><description>I was struggling with Nagios Grapher (or was it nagiosgraph - I tested both) in Slackware 13.1 After installing all dependencies it would still refuse to work. I tracked the problem pretty easy to be related to Perl not being able to load the librrd.so.4 library.
That was funny as I was sure that I did configure, make and make install the latest version. Well, by default, on slackware at least rrdtool installs in /opt !</description></item><item><title>BIOS Beep POST Codes</title><link>https://silviuvulcan.ro/blog/2010/09/11/bios-beep-post-codes/</link><pubDate>Sat, 11 Sep 2010 08:26:02 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/09/11/bios-beep-post-codes/</guid><description>Ever found yourself standing next to a PC that won&amp;rsquo;t boot and emits all kinds of short or long beeps. Me too. Here&amp;rsquo;s a list of what these beeps might mean.
Please note that because motherboard manufacturers often modify the code bought from these companies the beeps might mean something else.
AWARD Beeps Error Message Description 1long, 2 short Video adapter error Either video adapter is bad or is not seated properly.</description></item><item><title>Killall for windows :)</title><link>https://silviuvulcan.ro/blog/2010/09/11/killall-for-windows/</link><pubDate>Sat, 11 Sep 2010 08:11:59 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/09/11/killall-for-windows/</guid><description>Ever wanted to kill a process from the command line in windows? Here&amp;rsquo;s how:
If you know the name of a process to kill, for example firefox.exe, use the following command from a command prompt to end it:
taskkill /IM firefox.exe This will cause the program to terminate gracefully, asking for confirmation if there are unsaved changes. To forcefully kill the same process, add the /F option to the command line.</description></item><item><title>Updated Joomla Flowplayer plug-in</title><link>https://silviuvulcan.ro/blog/2010/09/10/updated-joomla-flowplayer-plug-in/</link><pubDate>Fri, 10 Sep 2010 16:42:56 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/09/10/updated-joomla-flowplayer-plug-in/</guid><description>I use flowplayer for joomla quite often. I usually use this plugin:
http://extensions.joomla.org/extensions/multimedia/multimedia-players/video-players-a-gallery/7377
Unfortunately it uses an old version of flowplayer. So, since both are GPL I decided to update the plugin and share it.
You can download it here: plg_upd_flowplayer_J15_v1-1-0</description></item><item><title>Mount a physical drive inside a Oracle VirtualBox Machine</title><link>https://silviuvulcan.ro/blog/2010/07/27/mount-a-physical-drive-inside-a-oracle-virtualbox-machine/</link><pubDate>Tue, 27 Jul 2010 09:17:47 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/27/mount-a-physical-drive-inside-a-oracle-virtualbox-machine/</guid><description>Sometimes I have to check drives under their native operating system. Recently I wanted to access a ntfs partition directly under Windows running inside a virtual machine. Here&amp;rsquo;s how to (easily) do it:
VBoxManage internalcommands createrawvmdk -filename ./ntfs_test.vmdk -rawdisk /dev/sdb -register&amp;lt;/p&amp;gt; VirtualBox Command Line Management Interface Version 1.5.4 (C) 2005-2007 innotek GmbH All rights reserved. RAW host disk access VMDK file ./ntfs_test.vmdk created successfully. What this means? Well:
We create a virtual machine disk (vmdk) pointing to you physical drive.</description></item><item><title>Apache 2.2 will not serve corectly from CIFS mounted share</title><link>https://silviuvulcan.ro/blog/2010/07/27/apache-2-2-will-not-serve-corectly-from-cifs-mounted-share/</link><pubDate>Tue, 27 Jul 2010 09:09:40 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/27/apache-2-2-will-not-serve-corectly-from-cifs-mounted-share/</guid><description>I have a home server I use for all kinds of stuff when I&amp;rsquo;m away. I have set it up recently so that it can serve a folder mounted over the network from a Windows machine.
And this is where the fun started!
The folders and files appear correctly, I can navigate and I can download them. Only that the files, even if apparently having the same size are corrupted. I checked the FollowSymLinks and as expected was set as required.</description></item><item><title>Get the new Firefox 4.0 beta for Linux 64 bit.</title><link>https://silviuvulcan.ro/blog/2010/07/26/get-the-new-firefox-4-0-beta-for-linux-64-bit/</link><pubDate>Mon, 26 Jul 2010 13:36:18 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/26/get-the-new-firefox-4-0-beta-for-linux-64-bit/</guid><description>I wanted to play a bit with the Mozilla Firefox 4.0 beta. Well, if you go to the download site there&amp;rsquo;s no apparent way to download the 64 bit version of Firefox. This is where I got it:
ftp://ftp.mozilla.org/pub/firefox/releases/4.0b1</description></item><item><title>How to check if TRIM is enabled on your SSD</title><link>https://silviuvulcan.ro/blog/2010/07/23/how-to-check-if-trim-is-enabled-on-your-ssd/</link><pubDate>Fri, 23 Jul 2010 10:07:24 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/23/how-to-check-if-trim-is-enabled-on-your-ssd/</guid><description>God a fancy new drive? SSD maybe? TRIM support advertised? Well, here&amp;rsquo;s how you can check if TRIM support is actually enabled and working in your windows installation:
Start a command prompt window (WIN+R, type cmd and press enter)
In the command prompt window type the following:
fsutil behavior query disabledeletenotify You will get one of the following:
DisableDeleteNotify = 1 (Means that Windows TRIM commands are disabled) DisableDeleteNotify = 0 (Means that Windows TRIM commands are enabled)</description></item><item><title>Core I7 and I5 throtle more than the core 2</title><link>https://silviuvulcan.ro/blog/2010/07/21/core-i7-and-i5-throtle-more-than-the-core-2/</link><pubDate>Wed, 21 Jul 2010 18:51:12 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/21/core-i7-and-i5-throtle-more-than-the-core-2/</guid><description>I recently found out that the power management inside the new I5 and I7 Intel processors is much more inteligent than what the older core2 has. For example a core2 would throttle back based on temperature only just before the critical point.
The newer I5s and I7s would turn cores on/off or independently, slow down depending on load, power consumption and temperature.
Basically this means that you might get less from your cpu if it runs hot - either because of the weather or because of inappropriate cooling,</description></item><item><title>Network interface bonding in Slackware (version 13.1)</title><link>https://silviuvulcan.ro/blog/2010/07/20/network-interface-bonding-in-slackware-version-13-1/</link><pubDate>Tue, 20 Jul 2010 11:26:08 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/20/network-interface-bonding-in-slackware-version-13-1/</guid><description>A backup NAS I set up for a client had some problems - i.e. from time to time the network card would hang forcing a reboot (the machine was headless). The disks in the nas are RAID 1 providing redundancy in case of failure. We wanted the same with the network. So, nothing easier than to install a second network card and set up bonding.
What is network bonding? Bonding is the same as port trunking.</description></item><item><title>Force fsck on next reboot</title><link>https://silviuvulcan.ro/blog/2010/07/19/force-fsck-on-next-reboot/</link><pubDate>Mon, 19 Jul 2010 08:07:25 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/19/force-fsck-on-next-reboot/</guid><description>Let&amp;rsquo;s say you run a headless server and you want to fsck the main partition. The easy solution in this case is (if possible) to force fsck to run on the next boot.
If you run slackware than all you really need is to create an empty file in /etc called forcefsck
You could do this by running:
touch /etc/forcefsck Other linux distributions might check for this file elsewhere, for example in the root directory so the command would be</description></item><item><title>MYSQL: set first letter of field to uppercase</title><link>https://silviuvulcan.ro/blog/2010/07/12/mysql-set-first-letter-of-field-to-uppercase/</link><pubDate>Mon, 12 Jul 2010 10:05:53 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/12/mysql-set-first-letter-of-field-to-uppercase/</guid><description> I recently had to set values of a set of values from a column from lowercase to Firstuppercase. Nothing easier, run the following code on the database:
UPDATE `affected_table` SET `field_in_question` = CONCAT(UPPER(LEFT(`field_in_question`, 1)), SUBSTRING(`field_in_question`, 2));</description></item><item><title>Windows XP – prevent a user’s password from expiring</title><link>https://silviuvulcan.ro/blog/2010/07/06/windows-xp-prevent-a-users-password-from-expiring/</link><pubDate>Tue, 06 Jul 2010 09:54:46 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/06/windows-xp-prevent-a-users-password-from-expiring/</guid><description>One of my clients called be mecause every now and then his was bugged by Windows XP to change his password. This seemed weird as XP doesn&amp;rsquo;t do this by default. Probably it was set to expire by someone or by some friendly security suite.
Fortunately the solution for this expiring password problem is easy. You just need to tell Windows that you want your password to never expire. This is not necessarily a good practice, nevertheless if you want to, here is how you do it.</description></item><item><title>Good VPS hosting</title><link>https://silviuvulcan.ro/blog/2010/07/05/good-vps-hosting/</link><pubDate>Mon, 05 Jul 2010 11:44:59 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/07/05/good-vps-hosting/</guid><description>Like I said some time ago I had to move my websites from a shared host (bluehost) to a dedicated sollution. Well, the websites I host (for clients, friends and myself) don&amp;rsquo;t account for the need of a dedicated server so I searched for a virtual sollution.
I finally came to the conclusion that unmanaged is the way for me. I&amp;rsquo;m working on the old premise &amp;ldquo;give me a machine, an IP, a net pipe and some power&amp;rdquo; and I&amp;rsquo;ll manage from there.</description></item><item><title>Wma to Mp3 a folder in one command line</title><link>https://silviuvulcan.ro/blog/2010/06/29/wma-to-mp3-a-folder-in-one-command-line/</link><pubDate>Tue, 29 Jun 2010 16:52:51 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/06/29/wma-to-mp3-a-folder-in-one-command-line/</guid><description>I have some albums that were ripped in wma form (yes a shame I know) and have since lost the original CDs. I wanted them converted into mp3 so my collection remains consistent and they also could work in my car.
So this would be a command to run in a folder filled with .wma files. This keeps the names but not the tags so be sure to use something like easytag to fill them after.</description></item><item><title>Docx files in Office 2003</title><link>https://silviuvulcan.ro/blog/2010/06/16/docx-files-in-office-2003/</link><pubDate>Wed, 16 Jun 2010 09:33:24 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/06/16/docx-files-in-office-2003/</guid><description>If you, like many of my clients regularly receive files from partners that have already upgraded to microsoft office 2007 have the annoyance that the files are always saved in the docx format (because people don&amp;rsquo;t go to the trouble to Save as office 2003) then you probably think that it&amp;rsquo;s time to upgrade. Right? Wrong! There is an easier sollution - not to mention a lot cheaper. Go to the microsoft website and download the</description></item><item><title>Is a site really down?</title><link>https://silviuvulcan.ro/blog/2010/05/26/is-a-site-really-down/</link><pubDate>Wed, 26 May 2010 15:11:31 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/05/26/is-a-site-really-down/</guid><description>Sometimes I have to know if one of my websites or one of a client is down or not. More than once I&amp;rsquo;ve been tricked by the ISP&amp;rsquo;s troubles that a site is down. I use my smartphone to doublecheck but I&amp;rsquo;ve found an even better sollution:
http://downforeveryoneorjustme.com/
You just enter your problem site and they will tell you if your site is really down or is just your ISP fooling around.</description></item><item><title>Mrvlusgtracking – is it spyware?</title><link>https://silviuvulcan.ro/blog/2010/05/25/mrvlusgtracking-is-it-spyware/</link><pubDate>Tue, 25 May 2010 17:18:45 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/05/25/mrvlusgtracking-is-it-spyware/</guid><description>I found this weird looking process working on an infected computer. Further investigation revealed that it just came with a Marvell network driver. It just sits there and creates a log file, so leaving it in should not hurt anything.
They should name their programs more peaceful 🙂</description></item><item><title>Running 16 bit apps in Windows 7 64 bit</title><link>https://silviuvulcan.ro/blog/2010/04/03/running-16-bit-apps-in-windows-7-64-bit/</link><pubDate>Sat, 03 Apr 2010 10:17:50 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/04/03/running-16-bit-apps-in-windows-7-64-bit/</guid><description>We got for my wife a much needed upgrade for her aging Toshiba laptop. The new one came with Windows 7 64 bit. I managed to get all her old software working with the exception of Oxford Superlex. This one is a dictionary from the Windows 3.11 ages. It worked fine in all windowses we had (98, 2000, XP) but having a 64 bit Windows killed it because the support for 16 bits apps is dropped in 64 bits versions of Vista and 7.</description></item><item><title>Whitelist a host when using denyhosts</title><link>https://silviuvulcan.ro/blog/2010/03/26/whitelist-a-host-when-using-denyhosts/</link><pubDate>Fri, 26 Mar 2010 16:55:02 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/03/26/whitelist-a-host-when-using-denyhosts/</guid><description>I&amp;rsquo;m using this excellent tool on my hosting server called denyhosts. It basically scans trough auth.log for repeated failed attempts to login in order to block brute force attackers. It can also get a list of offending ip-s from other usesrs of DenyHosts who configured their instalation to share attacker ip&amp;rsquo;s. All nice and well until you mistype your password one to many times. Or 127.0.0.1 gets added to the list like it happened today for me.</description></item><item><title>Easily send mail from a bash script</title><link>https://silviuvulcan.ro/blog/2010/03/18/easily-send-mail-from-a-bash-script/</link><pubDate>Thu, 18 Mar 2010 14:03:51 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/03/18/easily-send-mail-from-a-bash-script/</guid><description>Did you ever need to have e-mail&amp;rsquo;s sent from within a bash script? Maybe alert you of errors encountered? Me too.
Here&amp;rsquo;s an easy way on how to do it:
#!/bin/bash # email send script example # # subject of email SUBJECT=&amp;#34;BASH SAYS HELLO&amp;#34; # destination EMAIL=&amp;#34;user@yourdomain.com&amp;#34; # Email body EMAILMESSAGE=&amp;#34;/tmp/messagebody.txt&amp;#34; echo &amp;#34;Email sent from BASH&amp;#34; &amp;gt; $EMAILMESSAGE echo &amp;#34;Another text line&amp;#34; &amp;gt;&amp;gt; $EMAILMESSAGE # send message using /bin/mail /bin/mail -s &amp;#34;$SUBJECT&amp;#34; &amp;#34;$EMAIL&amp;#34; &amp;lt; $EMAILMESSAGE Easy.</description></item><item><title>Configure the behaviour of backspace in Firefox for Linux</title><link>https://silviuvulcan.ro/blog/2010/03/15/configure-the-behaviour-of-backspace-in-firefox-for-linux/</link><pubDate>Mon, 15 Mar 2010 21:18:15 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/03/15/configure-the-behaviour-of-backspace-in-firefox-for-linux/</guid><description>It&amp;rsquo;s a mystery for me why on windows firefox developers have conceived one use for backspace and another for firefox on linux.
If you are coming from windows and moving onto linux you might be used to press backspace to go back one page in Firefox. Well you&amp;rsquo;re in for a small surprise - id doesn&amp;rsquo;t work.
You need to go to about:config browser.backspace_action as either 0 or 1.</description></item><item><title>Mobile formula one site and application</title><link>https://silviuvulcan.ro/blog/2010/03/15/mobile-formula-one-site-and-applicatio/</link><pubDate>Mon, 15 Mar 2010 21:00:53 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/03/15/mobile-formula-one-site-and-applicatio/</guid><description>Hey, I used up until last race the nice live-f1 application to see live timings in the linux terminal. But starting with the last race I couldn&amp;rsquo;t. But today I got great news. The official Formula 1 website just released a mobile version available at mobile.formula1.com and oh joy and happiness they also released a mobile application that will offer Live Timings on your mobile phone.
To my biggest surprise, my symbian based Nokia E71 is supported.</description></item><item><title>Authentication problems with postfix, courier, mysql and virtual domains</title><link>https://silviuvulcan.ro/blog/2010/03/15/authentication-problems-with-postfix-courier-mysql-and-virtual-domains/</link><pubDate>Mon, 15 Mar 2010 20:54:44 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/03/15/authentication-problems-with-postfix-courier-mysql-and-virtual-domains/</guid><description>I outgrew my shared hosting and decided to go for a dedicated virtual server. I chose Linode but I will leave that for another article.
I decided to use postfix + courier + mysql and virtual domains for my mail setup. Everythig was configured fine and dandy according to the documentation. But I kept getting this in the logs:
Mar 6 13:54:42 saslauthd [5734]: pam_mysql - required option &amp;#34;db&amp;#34; is not set Mar 6 13:54:42 saslauthd [5734]: DEBUG: auth_pam: pam_authenticate failed: Error in service module Mar 6 13:54:42 saslauthd [5734]: do_auth : auth failure: [user=test@xxxxxxx.</description></item><item><title>Sendmail says "domain does not exist"</title><link>https://silviuvulcan.ro/blog/2010/02/13/sendmail-says-domain-does-not-exist/</link><pubDate>Sat, 13 Feb 2010 17:05:44 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/02/13/sendmail-says-domain-does-not-exist/</guid><description>Recently I set-up a machine in my closet to act as a backup server. One of it&amp;rsquo;s jobs is to download via pop3 all the email from our Gmail accounts just in case the cloud goes puf :). For this job I used fetchmail to fetch the emails to local users on the machine. All nice and simple &amp;hellip; you&amp;rsquo;d think.
The mail didn&amp;rsquo;t get delivered because sendmail complained about this error.</description></item><item><title>Rename all files in a folder from upper to lower case.</title><link>https://silviuvulcan.ro/blog/2010/02/12/rename-all-files-in-a-folder-from-upper-to-lower-case/</link><pubDate>Fri, 12 Feb 2010 10:49:35 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/02/12/rename-all-files-in-a-folder-from-upper-to-lower-case/</guid><description>Sometimes is needed to have all files in a folder in the same case. Here&amp;rsquo;s a small script to rename all files in the folder to lower case:
for i in *; do mv $i `echo $i | tr [:upper:] [:lower:]`; done</description></item><item><title>Uploading big files via php</title><link>https://silviuvulcan.ro/blog/2010/02/11/uploading-big-files-php/</link><pubDate>Thu, 11 Feb 2010 09:43:45 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/02/11/uploading-big-files-php/</guid><description>I&amp;rsquo;m updating a site for a client that only has file access to his hosting account via a php file manager (extPlorer for Joomla to be precise). He needed uploaded a few flash videos (in excess of 15 Mb each) but extPlorer stated that the file limit for php was set to 8 Mb.
I already knew that .htaccess overrides were allowed since I used .htaccess to enable a seo component for the site.</description></item><item><title>Export a MySQL database using the command line.</title><link>https://silviuvulcan.ro/blog/2010/02/02/export-a-mysql-database-using-the-command-line/</link><pubDate>Tue, 02 Feb 2010 07:16:55 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/02/02/export-a-mysql-database-using-the-command-line/</guid><description>Sometimes it&amp;rsquo;s easier to just drop to the command line then browse for fancy tools like phpMyAdmin. This is useful, especially for quick jobs.
mysqldump -u user -ppassword your_database &amp;gt; database_backup.sql Of course you need to replace:
user - mysql username password - the password your_database - the database you want to backup Adding -h host.domain.com would allow to backup a remote mysql database from YOUR shell, something like this:</description></item><item><title>How to mount a windows share (samba) from the linux command line</title><link>https://silviuvulcan.ro/blog/2010/01/24/how-to-mount-a-windows-share-samba-from-the-linux-command-line/</link><pubDate>Sun, 24 Jan 2010 18:03:08 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/24/how-to-mount-a-windows-share-samba-from-the-linux-command-line/</guid><description>As you know Linux does not use drive letters like Windows does. All files are organized under a big tree hierarchy. We use the mount command to mount partitions and this is the same command used to mount remote windows partition or windows shares.
Please note that you&amp;rsquo;ll need to know the following:
Windows username and password (the ones needed to access the share) The machine and share name. Something like //xpdesktop/pictures Have root access on the linux machine Login on your linux machine as root.</description></item><item><title>Old Soundblaster Live 5.1 on windows 7</title><link>https://silviuvulcan.ro/blog/2010/01/20/old-soundblaster-live-5-1-on-windows-7/</link><pubDate>Wed, 20 Jan 2010 21:28:34 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/20/old-soundblaster-live-5-1-on-windows-7/</guid><description>I tried running Windows 7 on a machine that had a Creative Sound Blaster Live 5.1 card inside. Since the 5.1 is a decent card I see no reason to replace it just because windows 7 came along. Please note that these unofficial updated drivers also bring along Windows 64 bit support. A quick google search revealed this:
http://forums.creative.com/t5/Sound-Blaster/SB-Live-series-Support-Pack-1-5-08-09-2009/td-p/533861
Please note that this is an unofficial patch and that it has problems if your Windows 7 machine has more than 2 Gb of RAM.</description></item><item><title>Checking directory sizes from the BASH prompt</title><link>https://silviuvulcan.ro/blog/2010/01/18/checking-directory-sizes-from-bash-prompt/</link><pubDate>Mon, 18 Jan 2010 20:18:16 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/18/checking-directory-sizes-from-bash-prompt/</guid><description>The command ls can be made to show directories and permission but it will not display directory sizes. Then it&amp;rsquo;s time for other commands. For example on my hosting account there is no file manager installed and evidently x and kde is missing too so, to find out directory sizes I can use the du command. It will show something like this:
du -h -max-depth=1 3.2M ./wp-admin 24M ./wp-content 5.</description></item><item><title>Wake on LAN a machine using Python – WOL</title><link>https://silviuvulcan.ro/blog/2010/01/16/wake-on-lan-a-machine-using-python-wol/</link><pubDate>Sat, 16 Jan 2010 21:50:17 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/16/wake-on-lan-a-machine-using-python-wol/</guid><description>This is something useful: code to wake up a machine on lan using python. Since python is available on most devices now (symbian, maemo, windows, linux and so on) it&amp;rsquo;s pretty usefull. So, if you have machines that you want to be able to start this is the code to do it. I found it floating on the internet but since it&amp;rsquo;s GPL I see no problem in posting it.</description></item><item><title>Memory limits of various Windows versions</title><link>https://silviuvulcan.ro/blog/2010/01/16/memory-limits-of-various-windows-versions/</link><pubDate>Sat, 16 Jan 2010 21:02:40 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/16/memory-limits-of-various-windows-versions/</guid><description> Thinking of a memory upgrade? An operating system upgrade? Here&amp;rsquo;s a table from msdn stating the limits imposed by 32 and 64 bit editions of various Windows versions.
Physical Memory Limits: Windows 7 The following table specifies the limits on physical memory for Windows 7.
Version Limit in 32-bit Windows Limit in 64-bit Windows Windows Server 2003 with Service Pack 2 (SP2), Datacenter Edition 128 GB 64 GB with 4GT 2 TB Windows Server 2003 with Service Pack 2 (SP2), Enterprise Edition 64 GB 2 TB Windows Storage Server 2003, Enterprise Edition 8 GB Not applicable Windows Storage Server 2003 4 GB Not applicable Windows Server 2003 R2 Datacenter Edition Windows Server 2003 with Service Pack 1 (SP1), Datacenter Edition 128 GB 16 GB with 4GT 1 TB Windows Server 2003 R2 Enterprise Edition Windows Server 2003 with Service Pack 1 (SP1), Enterprise Edition 64 GB 16 GB with 4GT 1 TB Windows Server 2003 R2 Standard Edition Windows Server 2003, Standard Edition SP1 Windows Server 2003, Standard Edition SP2 4 GB 32 GB Windows Server 2003, Datacenter Edition 128 GB 16 GB with 4GT 512 GB Windows Server 2003, Enterprise Edition 32 GB 16 GB with 4GT 64 GB Windows Server 2003, Standard Edition 4 GB 16 GB Windows Server 2003, Web Edition 2 GB Not applicable Windows Small Business Server 2003 4 GB Not applicable Windows Compute Cluster Server 2003 Not applicable 32 GB Version Limit in 32-bit Windows Limit in 64-bit Windows Windows XP 4 GB 128 GB Windows XP Starter Edition 512 MB Not applicable Version Limit in 32-bit Windows Windows 2000 Professional 4 GB Windows 2000 Server 4 GB Windows 2000 Advanced Server 8 GB Windows 2000 Datacenter Server 32 GB</description></item><item><title>Put an Online – Offline Yahoo Messenger button on your website</title><link>https://silviuvulcan.ro/blog/2010/01/16/yahoo-messenger-online-now-button-on-your-website/</link><pubDate>Sat, 16 Jan 2010 20:46:31 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/16/yahoo-messenger-online-now-button-on-your-website/</guid><description>If you run an online business like an e-store or something similar you might want to show a button showing if your are available to chat via Yahoo Messenger.
This is a fairly easy job to do. All you have to do is to show this code somewhere on your site:
&amp;lt;a href=&amp;#34;ymsgr:sendIM?YOUR_YM_ID&amp;#34;&amp;gt; &amp;lt;img src=&amp;#34;http://opi.yahoo.com/online?u=YOUR_YM_ID&amp;amp;m=g&amp;amp;t=1&amp;#34; border=&amp;#34;0&amp;#34; alt=&amp;#34;&amp;#34; /&amp;gt; &amp;lt;/a&amp;gt; Remember to replace YOUR_YM_ID with your Yahoo Messenger id and give t a value reflecting the button choice you like:</description></item><item><title>List of ISP DNS servers</title><link>https://silviuvulcan.ro/blog/2010/01/16/list-of-isp-dns-servers/</link><pubDate>Sat, 16 Jan 2010 20:26:12 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/16/list-of-isp-dns-servers/</guid><description>This is a growing list of DNS servers. I consul it from time to time maybe you&amp;rsquo;ll find it usefull too.
I also maintain a growing list of free dns servers.
RDS Sibiu, Romania: 213.154.124.1 and 193.231.252.1
Romtelecom - ClickNet, Romania: 193.231.100.130 and 193.231.100.134</description></item><item><title>List of open dns servers</title><link>https://silviuvulcan.ro/blog/2010/01/16/list-of-open-dns-servers/</link><pubDate>Sat, 16 Jan 2010 20:24:47 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/16/list-of-open-dns-servers/</guid><description>This is a growing list of Open DNS servers available around the world.
I also maintain a list of ip address of various isp providers.
Google Pubic DNS 8.8.8.8 8.8.4.4 OpenDNS **** 208.67.220.220 208.67.222.222. Open DNS also makes available a third and fourth dns server with identical service to the first two:
208.67.220.222 208.67.222.220 ScrubIT 67.138.54.100 207.225.209.66 Level 3 Communications 4.2.2.1 4.2.2.2 4.2.2.3 4.2.2.4 4.2.2.5 4.2.2.6 OpenNIC 58.6.115.42 (Queensland, Australia) 202.</description></item><item><title>Error getting the post list – Maemo WordPy</title><link>https://silviuvulcan.ro/blog/2010/01/16/error-getting-the-post-list-maemo-wordpy/</link><pubDate>Sat, 16 Jan 2010 19:57:23 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/16/error-getting-the-post-list-maemo-wordpy/</guid><description>Today I tried again installing and configuring WordPy for Maemo on my Nokia N800 internet tablet. Since I can blog from my mobile phone I wanted to have a wordpress blog client on my tablet as well.
I configured everything correctly but I kept getting the _Error getting the post list message everytime I wanted to refresh the posts list. I browsed the forum, tried everything than I realized the only difference between configurations posted on the forum and mine: http:// was missing from my Blog URL field in the configuration.</description></item><item><title>Your graphic drivers are written for an older version of windows</title><link>https://silviuvulcan.ro/blog/2010/01/16/your-graphic-driver-for-an/</link><pubDate>Sat, 16 Jan 2010 19:35:22 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/16/your-graphic-driver-for-an/</guid><description>I installed windows xp maybe thousands of times and yet this is a new one. A client of mine has custom install cd&amp;rsquo;s that are Windows XP SP3 and include NVidia Graphics Drivers. All good and nice but they wanted to have the latest NVidia Graphic Drivers so I went on and downloaded the latest drivers and installed them. After reboot Windows greeted me with an ugly face in 640x480x16 colors.</description></item><item><title>Installing Debian using only SSH</title><link>https://silviuvulcan.ro/blog/2010/01/06/installing-debian-using-only-ssh/</link><pubDate>Wed, 06 Jan 2010 11:40:32 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2010/01/06/installing-debian-using-only-ssh/</guid><description>I have a headless machine at home that I plan to use as a backup and development server. Even though I&amp;rsquo;m a Skackware guy I chose to install Debian on it. Of course I could have hooked a monitor and keyboard to it but for the sake of exercise I wanted to see if it&amp;rsquo;s possible to install debian using ssh from the very beginning.
The short answer: it&amp;rsquo;s possible &amp;hellip; maybe.</description></item><item><title>KDE 4, open terminal here</title><link>https://silviuvulcan.ro/blog/2009/12/30/kde-4-open-terminal-here/</link><pubDate>Wed, 30 Dec 2009 11:34:33 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/12/30/kde-4-open-terminal-here/</guid><description>When I was using KDE 3 I was pretty fond of the right click Open Terminal Here command. I was disapointed to see it gone in the latest incarnations of KDE . Until I stumbled upon dolphin&amp;rsquo;s integrated terminal. All you have to do is hit F4 inside a folder and at the bottom of the file browser you&amp;rsquo;ll have a nice and shiny terminal. You have to remember though - and this can be both useful and dangerous if you&amp;rsquo;re not careful - that the cli current folder follows you around.</description></item><item><title>How to recover a lost Joomla admin password</title><link>https://silviuvulcan.ro/blog/2009/12/18/how-to-recover-a-lost-joomla-admin-password/</link><pubDate>Fri, 18 Dec 2009 19:32:41 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/12/18/how-to-recover-a-lost-joomla-admin-password/</guid><description>I administer a few Joomla sites so from time to time I discover that I lost the admin password for the one I hadn&amp;rsquo;t had to update for a long time. There is no way to find out what that password was because they are stored as a one way MD5 but since I usually use random characters anyway I reset the password with a new one. For that you need access to the mysql database of that Joomla site.</description></item><item><title>Another free e-book about Microcontrollers</title><link>https://silviuvulcan.ro/blog/2009/12/02/another-free-e-book-about-microcontrollers/</link><pubDate>Wed, 02 Dec 2009 18:09:39 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/12/02/another-free-e-book-about-microcontrollers/</guid><description>Mikroelektronica, beign the nice guys they are released another free e-book about programming PIC microcontrollers this time it&amp;rsquo;s about programming in C. The title is, unsurprisingly:
PIC Microcontrollers - Programming in C
What are microcontrollers, anyway? Electronics built in one single chip capable of controlling a small submarine, a crane or an elevator… It’s up to you to decide what you want them to do and dump a program containing appropriate instructions into the chip.</description></item><item><title>Three browsers on a phone</title><link>https://silviuvulcan.ro/blog/2009/12/01/three-browsers-on-a-phone/</link><pubDate>Tue, 01 Dec 2009 17:00:39 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/12/01/three-browsers-on-a-phone/</guid><description>The current state of browsers available for the Symbian operating system are a proof that there isn&amp;rsquo;t such thing as a one size fits all._ ****_You have the default browser, opera mobile, opera mini, skyfire and some others. I have installed on my e71 nokia phone Opera Mobile 10 beta, Skyfire and of course the default browser.
I tried to settle on using just one but I just couldn&amp;rsquo;t. If I want to watch some flash video online or browse a really heavy site Skyfire is really the only option.</description></item><item><title>bmp2h converter for ks0108 GLCD</title><link>https://silviuvulcan.ro/blog/2009/12/01/bmp2h-converter-for-ks0108-glcd/</link><pubDate>Tue, 01 Dec 2009 15:41:43 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/12/01/bmp2h-converter-for-ks0108-glcd/</guid><description>This is a converter I wrote with the graphics library for the PIC16F microcontrollers. Others work but this one works for sure.
If you want to see the source code (I&amp;rsquo;m not particulary proud of it 🙂 ) drop a comment and I&amp;rsquo;ll send it to you.
If the bitmap is smaller than 128×64 it will be left as is, if not it will be resized proportionally to 128×64.
You can set the name you want your variable to have and you can also set if you want the picture inverted or not.</description></item><item><title>KS0108 Graphics Library for PIC16F microcontrollers</title><link>https://silviuvulcan.ro/blog/2009/12/01/ks0108-graphics-library-for-pic16f-microcontrollers/</link><pubDate>Tue, 01 Dec 2009 15:23:50 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/12/01/ks0108-graphics-library-for-pic16f-microcontrollers/</guid><description>Not that I&amp;rsquo;m not happy with the default mikroC library for the KS0108 graphic displays, as I always I wanted something with the source available. Considering that I&amp;rsquo;m a beginner with microcontrolers having the source available to hack around is a very valuable learning tool.
The project is based on the source found here:
http://en.radzio.dxp.pl/ks0108/
The source is made pretty universal, still it took some work and modifications to have it working in mikroC.</description></item><item><title>Installed Google Custom Search, no results are showing.</title><link>https://silviuvulcan.ro/blog/2009/11/30/google-custom-search-no-results/</link><pubDate>Mon, 30 Nov 2009 18:41:23 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/11/30/google-custom-search-no-results/</guid><description>I did a website for a friend, a kind of a knowledge base and installed google custom search on it. To my surprise google stubornly kept showing no search results. I redid the custom search settings, paying close attention to the domains on which I wanted the search limited on, but still no results.
I took a quick walk on the Google Help boulevard but I didn&amp;rsquo;t find anything. A google search later and I found numerous causes: wrong definitions for the domains on which the search is limited, wrong integration of the code, wrong definition of the result page the form should point to.</description></item><item><title>Grokking the Gimp</title><link>https://silviuvulcan.ro/blog/2009/11/25/grokking-the-gimp/</link><pubDate>Wed, 25 Nov 2009 08:52:59 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/11/25/grokking-the-gimp/</guid><description>Since we were talking Grokking the Gimp is a free book by Carey Bunks. It&amp;rsquo;s an advanced book covering A LOT of what you can do with Gimp.
For any of you who are at least a little bit interested in graphics Gimp should already be on your radar. I know that Adobe Photoshop is more advanced, but I also realized working with both that for at least 90% of the tasks (and for my webdesign and graphics design needs 100%) is good enough.</description></item><item><title>A free e-book from Texas Instruments – LED Reference Design Cookbook</title><link>https://silviuvulcan.ro/blog/2009/11/23/a-free-e-book-from-texas-instruments-led-reference-design-cookbook/</link><pubDate>Mon, 23 Nov 2009 12:23:38 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/11/23/a-free-e-book-from-texas-instruments-led-reference-design-cookbook/</guid><description>The guys over at Make were kind enough to signal this free e-book from Texas instruments.
It is a 41-page &amp;ldquo;cookbook&amp;rdquo; of circuit designs and application notes for TI&amp;rsquo;s LED-related components. Makes for an interesting read even if you don&amp;rsquo;t use TI&amp;rsquo;s stuff.
What&amp;rsquo;s inside: Small LCD Backlight with Digital and PWM Dimming Small LCD Backlight from LDO Medium-Size LCD Backlight Large-LCD Backlight Driver Constant Current Driver with PFC Boost Controller with PFC Replacement for Standard Lightbulb 25-Watt Dimmable Driver with PFC 100-Watt, Constant-Current, Non-Isolated Driver with PFC 110-Watt, Constant-Current, Isolated Driver with PFC 10-Watt, Green-Mode PWM LED Driver Wireless-Controlled Triple LED Drive Low Voltage Buck Boost for LED Torch Boost Driver with Integrated Power Switch Nonsynchronous Boost LED Driver Wide Input DC Voltage Range SEPIC Driver 3-Watt Solar Lantern LED Reference Design Cookbook [PDF]</description></item><item><title>Chrome OS</title><link>https://silviuvulcan.ro/blog/2009/11/22/chrome-os/</link><pubDate>Sun, 22 Nov 2009 22:40:52 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/11/22/chrome-os/</guid><description>Since everybody is talking about it I really wanted to experience the all new big thing Google is preparing for us. The fine people over at Techcrunch already prepared a nice tutorial on how to install and run a Chrome virtual machine image so I wont go on to reinvent the wheel.
Let me just say that I am completely unimpressed. It&amp;rsquo;s a linux kernel with a browser on top of it.</description></item><item><title>Bye, bye, dual boot</title><link>https://silviuvulcan.ro/blog/2009/11/22/bye-bye-dual-boot/</link><pubDate>Sun, 22 Nov 2009 19:10:32 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/11/22/bye-bye-dual-boot/</guid><description>Ever since I discovered linux I ran a dual boot system. Linux (usually slackware) + windows (first &amp;lsquo;98 than, as soon as it was available XP). Windows 98 was problematic because it needed frequent reinstalling, pleasently overwriting the boot sector everytime requiring in turn to reinstall lilo.
Than XP solved this problem (not that it didn&amp;rsquo;t quietly overwrite the boot sector) by needing far less frequent reinstalls. When I found out about vmware I was very happy, dual boot seemed a thing of the past.</description></item><item><title>Cannot start a new chat in Yahoo Messenger, mshtml.dll error</title><link>https://silviuvulcan.ro/blog/2009/11/05/cannot-start-a-new-chat-in-yahoo-messenger-mshtml-dll-error/</link><pubDate>Thu, 05 Nov 2009 19:10:29 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/11/05/cannot-start-a-new-chat-in-yahoo-messenger-mshtml-dll-error/</guid><description>I was called today by a client today with a strange problem: yahoo messenger would error as soon as she wanted to start a new chat. The error quoted mshtml.dll as the source of the problems. Reinstalling Yahoo Messenger (which I previously suggested over the phone did not help).
I don&amp;rsquo;t know exactly how this problem started but the fix is the following:
go to the Microsoft Website and download 912945 (http://support.</description></item><item><title>New menu items don’t appear in Joomla 1.5.14</title><link>https://silviuvulcan.ro/blog/2009/11/03/new-menu-items-dont-appear-in-joomla-1-5-14/</link><pubDate>Tue, 03 Nov 2009 10:27:47 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/11/03/new-menu-items-dont-appear-in-joomla-1-5-14/</guid><description>I was configuring a Joomla installation for a client today and stumbled upon this little problem. No matter how I tried, new menu items refused to appear. Not only in the front-end, but they were missing in the back-end too. I checked to see, but the PHP settings were all correct. Then I noticed that the WAMP installation used PHP 5.3.0. A quick look on the Joomla Forums confirmed that Joomla has problems with this version of PHP.</description></item><item><title>Windows 7 small arrow icons for Desktop shortcuts</title><link>https://silviuvulcan.ro/blog/2009/10/18/windows-7-small-arrow-icons-for-desktop-shortcuts/</link><pubDate>Sun, 18 Oct 2009 20:21:06 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/10/18/windows-7-small-arrow-icons-for-desktop-shortcuts/</guid><description>Many guides found online will show you how to completely remove the arrow of the desktop shortcuts. If you, like me, preffer the smaller shortcut arrow icon that Windows XP has, as opposed to the big one Windows 7 proudly shows here&amp;rsquo;s what you have to d:
Start regedit (Alt+R, regedit.exe, enter)** **
Go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft Windows\CurrentVersion\Explorer\Shell Icons If Sell Icons is not there, under Explorer create the new key. (Right cklick, new key)</description></item><item><title>My recomandations for Symbian 5th edition</title><link>https://silviuvulcan.ro/blog/2009/10/13/my-recomandations-for-symbian-5th-edition/</link><pubDate>Tue, 13 Oct 2009 12:36:59 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/10/13/my-recomandations-for-symbian-5th-edition/</guid><description>Before you ask, no, I didn&amp;rsquo;t gave up my trusted E71. But my wife&amp;rsquo;s had it with her old 7610 so we upgraded her phone. After some deliberation, and her not liking the design of the e55 and e52 she finally settled for a Nokia 5800.
As you know that&amp;rsquo;s a 5th edition, touchscreen phone. I was a bit reticent because it&amp;rsquo;s never a good idea to get the first product from a series (that being the first Nokia touchscreen), still after reading a few reviews getting the 5800 seemed like a good idea.</description></item><item><title>I’m building a decent HTPC</title><link>https://silviuvulcan.ro/blog/2009/09/30/im-building-a-decent-htpc/</link><pubDate>Wed, 30 Sep 2009 07:09:24 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/09/30/im-building-a-decent-htpc/</guid><description>In the last years I always had some kind of pc hooked up to my tv. I finally got around to have the time (and money) to build a dedicated system. Not all the parts are new, just that I had enough spares and money for the case:
Antec Fusion Remote 350 mini HTPC case. Gigabyte GA-MA78GPM-DS2H mini ATX socket AM2 motherboard. Western Digital 1Tb, Green AMD 4850E dual core, energy efficient processor.</description></item><item><title>Mini breadboard PSU</title><link>https://silviuvulcan.ro/blog/2009/09/24/mini-breadboard-psu/</link><pubDate>Thu, 24 Sep 2009 07:14:40 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/09/24/mini-breadboard-psu/</guid><description>I bet this was discussed and sampled 1000 times before but here is the mini 5V PSU I use for my microcontroler breadboard projects. Usually you will use a 5 volt DC power supply for your microcontroller projects. Since I got tired of breadboarding the power source part all the time, I built a small PSU to power up my projects. I used a screw-in terminal for power input and I simply soldered pins that stick directly into the bread board for the output part.</description></item><item><title>Quick and dirty way to breadboard a circuit</title><link>https://silviuvulcan.ro/blog/2009/09/17/quick-and-dirty-way-to-breadboard-a-circuit/</link><pubDate>Thu, 17 Sep 2009 20:17:07 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/09/17/quick-and-dirty-way-to-breadboard-a-circuit/</guid><description>Since I didn&amp;rsquo;t want to pay for a kit of precut and bent wires for a breadboard and I am also lazy enough to put up trying a few ideeas because it involves cutting wires, I looked around and found an easy way to make connections on a breadboard: staples!
Just use a stapler so that it dispenses the staples without bending them or a cutter (watch the fingers) to obtain individual staples.</description></item><item><title>A little fun with the 12F675 and mikroC</title><link>https://silviuvulcan.ro/blog/2009/09/17/a-little-fun-with-the-12f675-and-mikroc/</link><pubDate>Thu, 17 Sep 2009 18:19:19 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/09/17/a-little-fun-with-the-12f675-and-mikroc/</guid><description>&lt;p>I have a small example that should get you going with the PIC 12F675 microcontroller and mikroC PRO. I am using the EasyPIC5 development board but I am sure you can adapt it to many development systems. It&amp;rsquo;s just a small introduction you can use as a tutorial on getting started with a comon, cheap and simple microcontroller.&lt;/p></description></item><item><title>Keep the backlight on in Skyfire, Symbian</title><link>https://silviuvulcan.ro/blog/2009/09/16/keep-the-backlight-on-in-skyfire-on-your-symbian-phone/</link><pubDate>Wed, 16 Sep 2009 11:45:59 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/09/16/keep-the-backlight-on-in-skyfire-on-your-symbian-phone/</guid><description>Keep the backlight on when playing movies in Skyfire on your Symbian Phone I noticed something annoying when watching streaming video in Skyfire on my Nokia E71. The official Youtube app and the built in media player don&amp;rsquo;t experience this but Skyfire does: the backlight turns off (according to the settings) even if a video is playing in skyfire - that&amp;rsquo;s pretty annoying. I had to keep pressing random keys so that the light comes back on.</description></item><item><title>Akonadi is not starting, refuses to run as root (Slackware 13.0/13.1/13.37/current installation).</title><link>https://silviuvulcan.ro/blog/2009/09/08/akonadi-is-not-starting-refuses-to-run-as-root-slackware-13-013-113-37current-installation/</link><pubDate>Tue, 08 Sep 2009 18:10:04 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/09/08/akonadi-is-not-starting-refuses-to-run-as-root-slackware-13-013-113-37current-installation/</guid><description>Well, I am having fun lately with the latest incarnation of the Slackware Linux distribution. Like I said before I am a slacker, and I like Slackware a lot. In a way it&amp;rsquo;s nice that some things don&amp;rsquo;t work out of the box. You get to know how they work.
Well, after my first startx I was greeted by a message stating that Akonadi failed to start / Akonadi fails to start.</description></item><item><title>Configuring Mysql in Slackware 13.0</title><link>https://silviuvulcan.ro/blog/2009/09/07/configuring-mysql-in-slackware-13-0/</link><pubDate>Mon, 07 Sep 2009 16:46:12 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/09/07/configuring-mysql-in-slackware-13-0/</guid><description>Slackware 13 has still the same unintuitive style with some things - i.e. akonadi doesn&amp;rsquo;t start in kde and it doesn&amp;rsquo;t say why, and so on.
One of the problems you will encounter is that Mysql doesn&amp;rsquo;t start. Yes, if you look in /usr/doc/mysql&amp;hellip; you will find the reason.
Here&amp;rsquo;s what you have to do:
Run
mysql_install_db This will configure the default databases mysql needs to function. Now, this is where you would normally start mysql using /etc/rc.</description></item><item><title>Slackware 13 is here</title><link>https://silviuvulcan.ro/blog/2009/09/01/slackware-13-is-here/</link><pubDate>Tue, 01 Sep 2009 07:48:50 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/09/01/slackware-13-is-here/</guid><description>Yupeee, a new toy. Slacware 13.0 is out, with an official and in sync 64bit version too. Finally upgraded to KDE 4.2.x.
Get yours while it&amp;rsquo;s hot. And don&amp;rsquo;t forget to support the project by buying the dvd&amp;rsquo;s from the Slackware store.
Have fun!</description></item><item><title>Disable and Remove the ads in Yahoo! Messenger 9 or 10 beta</title><link>https://silviuvulcan.ro/blog/2009/08/31/disable-and-remove-the-ads-in-yahoo-messenger-9/</link><pubDate>Mon, 31 Aug 2009 06:21:40 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/08/31/disable-and-remove-the-ads-in-yahoo-messenger-9/</guid><description>Yahoo! Messenger 9.0 is the current stable messenger version (Yahoo messenger 10 is in beta). As with any previous versions of Yahoo Messenger, there are various ads displayed in the bottom of the contacts list or inside message and chat windows. These ads can be disabled using a simple registry hack:
Start regedit. (Run -&amp;gt; regedit.exe) Go to this registry key: HKEY_CURRENT_USER\Software\YahoopagerLocale On the right you should see a Value called Enable Messenger Ad.</description></item><item><title>I have a linux Jukebox !</title><link>https://silviuvulcan.ro/blog/2009/08/26/i-have-a-linux-jukebox/</link><pubDate>Wed, 26 Aug 2009 19:30:04 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/08/26/i-have-a-linux-jukebox/</guid><description>Finally, after years of putting it away, after a few design changes and a fried motherboard I have a linux jukebox. Well, not a jukebox but more an internet radio.
Check at the bottom for the latest updates.
When I first had the ideea I noticed an old ~ &amp;rsquo;50s Blaupunkt Radio my father had in his basement. I investigated if the radio was worth restoring but the inside was rusted, the capacitors were long gone and most of the tubes were missing.</description></item><item><title>I found the best themes for my E71</title><link>https://silviuvulcan.ro/blog/2009/08/20/i-found-the-best-themes-for-my-e71/</link><pubDate>Thu, 20 Aug 2009 13:26:39 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/08/20/i-found-the-best-themes-for-my-e71/</guid><description>I gave up finding a nice theme for my E71 long ago. Even accepted the ugly icons. A few weeks ago I found a decent theme with ovi icons and got a bit happier. Today I had time to search a bit some more and I have some of the best Nokia E71 themes I found:
Ovi Blue from Nokia Conversations
Aviator, Enterprise and Zen Touch from Tehkseven - those are both with sevan and ovi icons.</description></item><item><title>Boot.ini and Quick Launch disapears after each boot</title><link>https://silviuvulcan.ro/blog/2009/08/19/boot-ini-and-quick-launch-disapears-after-each-boot/</link><pubDate>Wed, 19 Aug 2009 13:14:38 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/08/19/boot-ini-and-quick-launch-disapears-after-each-boot/</guid><description>So, Microsoft took care of another hour of my life I&amp;rsquo;ll never see again&amp;hellip;
The problem:
On a computer, after each boot the files c:boot.ini and the folder Internet Explorer from C:documents and settingsuserapplication datamicrosoftinternet explorer are erased. After fiddling with malware scanning, registry tweaks the problem was still there.
The solution:
I found someone on a forum noting that uninstalling Internet Explorer 8 fixed this problem for him. What? Ok, I understand that IE8 might screw around with the Quick Launch, but boot.</description></item><item><title>Yahoo Messenger Michael Jackson virus</title><link>https://silviuvulcan.ro/blog/2009/08/19/yahoo-messenger-michael-jackson-virus/</link><pubDate>Wed, 19 Aug 2009 09:59:09 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/08/19/yahoo-messenger-michael-jackson-virus/</guid><description>A friend of mine got infected via Yahoo Messenger. The virus, spreads via mass messaging the following message:
HAHA Michael Jackson Gay 😀 &amp;raquo; http://looool.machiaeljack**ndied.com
The link takes you to something that looks like a picture, but because the file name ends with what appears to the user as a web adress the final extension is .com not .jpg - and so you get tricked into running an executable.</description></item><item><title>Small but useful Windows junk cleaner</title><link>https://silviuvulcan.ro/blog/2009/08/19/small-but-useful/</link><pubDate>Wed, 19 Aug 2009 08:59:49 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/08/19/small-but-useful/</guid><description>I just stumbled upon a nice little utility. It&amp;rsquo;s called ATF Cleaner. What it does? What you always do when you clean up a computer or remove a virus: it cleans temporary folders, temporary internet files and so on. It&amp;rsquo;s what you basically do manually every time you start working on a computer with problems.
It&amp;rsquo;s small, fast and useful but as it&amp;rsquo;s always the case with utilities that erase files you should be careful.</description></item><item><title>I’m not using Gravity for Twitter access on my phone</title><link>https://silviuvulcan.ro/blog/2009/08/14/im-not-using-gravity-for-twitter-access-on-my-phone/</link><pubDate>Fri, 14 Aug 2009 13:06:23 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/08/14/im-not-using-gravity-for-twitter-access-on-my-phone/</guid><description>Even though I like Gravity a lot, I chose a simpler FREEWARE symbian native application as a client for Twitter - Tweets60:
It&amp;rsquo;s simple, fast, and has access point prioritization built in.
It may not be as feature full as Gravity, but it&amp;rsquo;s free - so you can&amp;rsquo;t argue there. You can write your tweets, follow others and click links and more. Even more I find it faster than Gravity. Of course if you need or want to be able to upload pictures and other advanced features that Tweet60 misses for now you&amp;rsquo;ll need to shell out the (modest) price of Gravity.</description></item><item><title>My favourite microcontroler</title><link>https://silviuvulcan.ro/blog/2009/08/14/my-favourite-microcontroler/</link><pubDate>Fri, 14 Aug 2009 12:56:54 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/08/14/my-favourite-microcontroler/</guid><description>My favourite microcontroler for now is PIC16F887. I will soon try to build some projects using the 18F series, but for now my Nixie clock and planned LED cube I will use the 16F887. No, I didn&amp;rsquo;t gave up, I plan to start work on the nixie projects ASAP.
Program Memory Type Flash Program Memory (KB) 14 CPU Speed (MIPS) 5 RAM Bytes 368 Data EEPROM (bytes) 256 Digital Communication Peripherals 1-A/E/USART, 1-MSSP(SPI/I2C) Capture/Compare/PWM Peripherals 1 CCP, 1 ECCP Timers 2 x 8-bit, 1 x 16-bit ADC 14 ch, 10-bit Comparators 2 Temperature Range (C) -40 to 125 Operating Voltage Range (V) 2 to 5.</description></item><item><title>I’ve got Nixie’s</title><link>https://silviuvulcan.ro/blog/2009/07/30/ive-got-nixies/</link><pubDate>Thu, 30 Jul 2009 16:15:52 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/30/ive-got-nixies/</guid><description>Thanks to a local electronics forum I managed to get my hands on some Nixie tubes. Two sets to be exact. One set came complete with the original driver circuit board which has some very interesting Russian made Nixie drivers similar to the venerable 74141 and 7441. I think they are pretty rare too.
I hope that those drivers will simplify my circuit as they are high voltage drivers. I even managed to locate the datasheet !</description></item><item><title>Sweet mouse</title><link>https://silviuvulcan.ro/blog/2009/07/30/sweet-mouse/</link><pubDate>Thu, 30 Jul 2009 16:04:19 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/30/sweet-mouse/</guid><description>My wife&amp;rsquo;s been to Brussels and I got a sweet mouse ! Cool. For now it&amp;rsquo;s alive, but I am sure it will not last very much.</description></item><item><title>Surround in Winamp with Soundblaster Live</title><link>https://silviuvulcan.ro/blog/2009/07/24/surround-in-winamp-with-soundblaster-live/</link><pubDate>Fri, 24 Jul 2009 08:07:39 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/24/surround-in-winamp-with-soundblaster-live/</guid><description>I had some time last night and I wanted to listen to some music. I have a pc hooked to my tv and my surround system. I realized that I can only hear music in the front speakers. It took some time to find how to enable 5.1 sound using winamp and my creative soundblaster live. Long story short I had to install Creative PlayCenter (I didn&amp;rsquo;t install all the bloat of the creative drivers before) and start PlayCenter and enable CMSS.</description></item><item><title>Open source ADC read function</title><link>https://silviuvulcan.ro/blog/2009/07/14/open-source-adc-read-function/</link><pubDate>Tue, 14 Jul 2009 16:30:43 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/14/open-source-adc-read-function/</guid><description>Yes, I know, mikroC has it&amp;rsquo;s own ADC library, but as always I am a sucker for open source. So I decided to write my own adc read function, so I can better understand the PIC ADC converter operation. And, in the good spirit of open source I decided to share my code. The following code is the ADC on LCD example supplied by MikroElectronika with their EasyPic5 board, and it&amp;rsquo;s written in MikroC Pro.</description></item><item><title>VLC media player 1.0.0 – Goldeneye is out !</title><link>https://silviuvulcan.ro/blog/2009/07/08/vlc-media-player-1-0-0-goldeneye-is-out/</link><pubDate>Wed, 08 Jul 2009 08:27:43 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/08/vlc-media-player-1-0-0-goldeneye-is-out/</guid><description>In the good tradition of Open Source projects VideoLAN has been at a version &amp;lt; 1.0 for ages. Traditionally 1.0 would be a complete, stable release. Well VideoLAN is there. Actually has been there for some time, I use it constantly and besides an uglier than usual interface has been stable and useful for me.
For those of you who don&amp;rsquo;t know VideoLAN is a full featured Media Player for Windows, Linux, OSX and many more operating systems.</description></item><item><title>Gears available for Firefox 3.5 – sord of</title><link>https://silviuvulcan.ro/blog/2009/07/07/gears-available-for-firefox-3-5-sord-of/</link><pubDate>Tue, 07 Jul 2009 09:03:19 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/07/gears-available-for-firefox-3-5-sord-of/</guid><description>Like I mentioned in my previous post Firefox 3.5 is still not supported by google gears. I don&amp;rsquo;t need it for Gmail but I use the turbo feature of WordPress.
Well, a good soul over at the Google Gears User Group made a custom build. You should treat it as beta quality. It works for me on Windows but YMMV.
Probably official support is right around the corner if the fix is already in the latest source.</description></item><item><title>Firefox 3.5 fails to impress me. Google Gears also missing.</title><link>https://silviuvulcan.ro/blog/2009/07/06/firefox-3-5-fails-to-impress-me-google-gears-is-also-missing/</link><pubDate>Mon, 06 Jul 2009 11:43:14 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/06/firefox-3-5-fails-to-impress-me-google-gears-is-also-missing/</guid><description>I&amp;rsquo;ve been using Firefox 3.5 for some time now - alpha, beta, rc and now final.
In my opinion firefox fails to improve performance as promised. It has some new features, it has some bad new features and it misses the speed we want and need. Ajax sites seem just as slow as they were in Firefox 3.0. It still isn&amp;rsquo;t 100 on the ACID 3 test and so on.</description></item><item><title>A free book about PIC Microcontrollers</title><link>https://silviuvulcan.ro/blog/2009/07/06/a-free-book-about-pic-microcontrollers/</link><pubDate>Mon, 06 Jul 2009 11:22:59 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/06/a-free-book-about-pic-microcontrollers/</guid><description>As you might have noticed from my posts I am always in for a free lunch.
So, this would be free lunch for your brain. Even if you don&amp;rsquo;t use or plan to use Mikroelektronika products you might want to know that they have a free book about PIC microcontrolers on their website: here.
It&amp;rsquo;s not tied up to any of their development systems but it does focus on the PIC16F887, and even if the English used is not the best possible it still gets the job done.</description></item><item><title>Star Trek S.C.E.</title><link>https://silviuvulcan.ro/blog/2009/07/06/star-trek-s-c-e/</link><pubDate>Mon, 06 Jul 2009 09:58:22 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/06/star-trek-s-c-e/</guid><description>Have Tech, Will Travel is an anthology collecting the first four books from Pocket Books&amp;rsquo; original eBook series about the Starfleet Corps of Engineers, depicting the missions of a rapid response team of SCE taking place during the 2370s. Several canon characters and concepts were included in the stories, but with new details not mentioned in televised Star Trek of the era.
I have recently finished reading every novel in the Star Trek S.</description></item><item><title>Open office to the rescue</title><link>https://silviuvulcan.ro/blog/2009/07/06/open-office-to-the-rescue/</link><pubDate>Mon, 06 Jul 2009 08:48:47 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/06/open-office-to-the-rescue/</guid><description>Last Thursday I was happily walking to the bus station to start a prolonged weekend when a friend and client rang. Microsoft Excel was giving her trouble: she was working on some inventory files with lots of records and pretty complex. To add to the problem the data was copied and pasted from an online list inside the browser. I suspect that some junk from the web inventory list tagged along.</description></item><item><title>Computer Networks, Fourth Edition by Andrew S. Tanenbaum</title><link>https://silviuvulcan.ro/blog/2009/07/06/computer-networks-fourth-edition-by-andrew-s-tanenbaum/</link><pubDate>Mon, 06 Jul 2009 08:34:52 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/07/06/computer-networks-fourth-edition-by-andrew-s-tanenbaum/</guid><description>To most of you this is probably old news, but if you didn&amp;rsquo;t read it go out buy a copy and read it ! I thought I knew pretty much about networks, but after I read this book I knew a lot more. There&amp;rsquo;s no way around it. If you are involved with computer networks this is a must.
It&amp;rsquo;s clearly written, simple explained, and one of the technical books I have enjoyed the most.</description></item><item><title>Permanently show the Hibernate button in Windows XP</title><link>https://silviuvulcan.ro/blog/2009/06/27/permanently-show-the-hibernate-button-in-windows-xp/</link><pubDate>Sat, 27 Jun 2009 13:38:03 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/27/permanently-show-the-hibernate-button-in-windows-xp/</guid><description>You like to hibernate your Windows system instead of always turning it off? Me too! You still have to reboot or power off from time to time otherwise the system would slow down but at least sometimes you don&amp;rsquo;t have to wait for the lengthy Windows boot.
This is how you can configure Windows XP to always show the Hibernate button when clicking Turn Off like it shows on some laptops.</description></item><item><title>You don’t need megapixels !</title><link>https://silviuvulcan.ro/blog/2009/06/25/you-dont-need-megapixels/</link><pubDate>Thu, 25 Jun 2009 11:23:02 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/25/you-dont-need-megapixels/</guid><description>From time to time I get the feeling this is not said enough !
Every one in a while a friend or relative would ask me on advice on what digital camera to buy. Many of them are on their second or third model and realized that, even if they bought the camera with the most megapixels they could afford at the time, they didn&amp;rsquo;t get the quality they expected. That is also true and in part exacerbated with phones.</description></item><item><title>How I sync my phone</title><link>https://silviuvulcan.ro/blog/2009/06/25/how-i-sync-my-phone/</link><pubDate>Thu, 25 Jun 2009 08:17:35 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/25/how-i-sync-my-phone/</guid><description>Like I said I used to have an Sony Ericsson phone that had Automatic Sync built in. Nokia has sync (SyncML) but no settings to automate that. I like the ideea of syncing a phone with an online service because it gives me access to my schedule and contacts on any pc I use without the need of additional software.
Some time ago I tried goosync, Scheduleworld and others promissing easy sync between a SyncML capable device (my phone) and Google Calendar.</description></item><item><title>How to watermark you pictures for free</title><link>https://silviuvulcan.ro/blog/2009/06/22/how-to-watermark-you-pictures-for-free/</link><pubDate>Mon, 22 Jun 2009 10:54:01 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/22/how-to-watermark-you-pictures-for-free/</guid><description>Ever since I post pictures on the internet I searched for a way to watermark them. I am not paranoiac but I want others to respect my work. I used to use Fast Stone Image Viewer. It&amp;rsquo;s fast, free for personal use and has an array of functions that can be applied in Batch Mode, many useful if you publish your pictures online.
Here&amp;rsquo;s a quick step by step:
Start Fast Stone, select the images you want to watermark and press F3.</description></item><item><title>Corel DRAW X3, X4 and X5 crashes on Open, Save As, Export. A.R.M. error.</title><link>https://silviuvulcan.ro/blog/2009/06/22/corel-draw-x3-crashes-on-open-save-save-as-export-a-r-m/</link><pubDate>Mon, 22 Jun 2009 10:21:02 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/22/corel-draw-x3-crashes-on-open-save-save-as-export-a-r-m/</guid><description>Corel Draw is one of the most expensive pieces of junk I ever saw. I take that back 🙂 Considering that still X3 was decent compared to 11 and 12 and also that X5 is pretty good considering Corel&amp;rsquo;s history and also most important because I&amp;rsquo;ve seen much more expensive piles of junk since I wrote this.
Nevertheless I, and probably you too have to use and maintain it. I had the following problem on a fresh installation of Windows XP SP3: every time I wanted to export, save as or open a drawing Corel Draw X3 would crash regularly with it&amp;rsquo;s darned Crash Wizard.</description></item><item><title>Pidgin would not connect to Yahoo Messenger</title><link>https://silviuvulcan.ro/blog/2009/06/22/pidgin-would-not-connect-to-yahoo-messenger/</link><pubDate>Mon, 22 Jun 2009 09:26:55 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/22/pidgin-would-not-connect-to-yahoo-messenger/</guid><description>I run pidgin on my windows machines because, I basically hate the bloat of the official Yahoo Messenger and because I also need google talk. For a few days I could not connect to Yahoo. Going to Manage Accounts (CTRL+A) -&amp;gt; your problem yahoo account -&amp;gt; Advanced and changing the server to cn.scs.msg.yahoo.com solved the problem for me.
Another reason to hate Yahoo, yet people seem to love it, and I need a way to chat with them too.</description></item><item><title>Temperature graph on GLCD with EasyPic5</title><link>https://silviuvulcan.ro/blog/2009/06/18/temperature-graph-on-glcd-with-easypic5/</link><pubDate>Thu, 18 Jun 2009 17:17:46 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/18/temperature-graph-on-glcd-with-easypic5/</guid><description>This is a small project I did for school. I am using the easypic 5 board from mikroelectronica to display a linegraph of the temperature read every second by the DS1820 sensor and displays it on the KS0108 based GLCD. I am using the OneWire and GLCD libraries that come with the mikroC compiler.
I am using a PIC16F887 mounted on the board. You might need to adjust the code if you use a different microcontroler / development board.</description></item><item><title>A good, freeware text editor for your nokia symbian phone</title><link>https://silviuvulcan.ro/blog/2009/06/15/a-good-freeware-text-editor-for-your-nokia-symbian-phone/</link><pubDate>Mon, 15 Jun 2009 09:03:51 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/15/a-good-freeware-text-editor-for-your-nokia-symbian-phone/</guid><description>More and more phones have, these days, a decent text entry method - be it T9, qwerty keyboard or touch screen. Especially if you own a qwerty phone you might be interested in a good, native text editor application.
I searched, and DEdit came up. It has a ton of features, but more important you can easily edit text files on your phone. From it&amp;rsquo;s features one can note:
Remember last editing position in each text-file, that you edit; Remember user-defined positions in file Use many encodings, ascii and unicode Supports editing of big files (several megabytes or even more) Easy-to-use one-hand hotkeys Even more, it has versions for older phones too, like s60v2 not only s60v3.</description></item><item><title>This is how you can read your EXT2 and EXT3 partitions from Windows XP</title><link>https://silviuvulcan.ro/blog/2009/06/14/this-is-how-you-can-read-your-ext2-and-ext3-partitions-from-windows-xp/</link><pubDate>Sun, 14 Jun 2009 16:15:25 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/14/this-is-how-you-can-read-your-ext2-and-ext3-partitions-from-windows-xp/</guid><description>My main workstation has a dual (sometimes tri) boot configuration: some flavour of linux (usually slackware) and some flavour of windows (usually xp). I have small partitions for the operating systems and one - two big ones for data.
In the past, the data ones used to be FAT32 so they would be readable and writeable from both linux and windows. But FAT32 is no longer useful. It&amp;rsquo;s limitations forced me to use either NTFS or EXT2/3.</description></item><item><title>Smart connect update</title><link>https://silviuvulcan.ro/blog/2009/06/10/smart-connect-update/</link><pubDate>Wed, 10 Jun 2009 15:53:18 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/10/smart-connect-update/</guid><description>Remeber my article in which I was praising Smart Connect for filling the inexplicable gap in the access point configuration on newer E series nokia phones?
Well I have a small update. It&amp;rsquo;s crap. From time to time my phone was unnable to connect to the internet, be it 3g or wi-fi untill I restarted it. I kept thinking it&amp;rsquo;s the phones problem, and waited for a firmware update. Well I managed to track the problem: it&amp;rsquo;s Smart Connect.</description></item><item><title>The quest for mobile Youtube is over</title><link>https://silviuvulcan.ro/blog/2009/06/10/the-quest-for-mobile-youtube-is-over/</link><pubDate>Wed, 10 Jun 2009 15:44:03 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/10/the-quest-for-mobile-youtube-is-over/</guid><description>Ever since Flash 3.0 came out and I managed to install it on my Nokia E61 phone I have been using one or other mobile youtube application. It&amp;rsquo;s a handy app to have when you want to kill some time. I started with emTube which was pretty good, but never got updated and for me it stopped working.
Mobitubia saved the day, especially with it&amp;rsquo;s nice interface, ability to save files for later viewing and so on.</description></item><item><title>How to add a favicon to your WordPress Blog.</title><link>https://silviuvulcan.ro/blog/2009/06/09/how-to-add-a-favicon-to-your-wordpress-blog/</link><pubDate>Tue, 09 Jun 2009 18:00:51 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/09/how-to-add-a-favicon-to-your-wordpress-blog/</guid><description>This was simple:
I used The Gimp to create a file 16 x 16 pixels and saved it as favicon.ico Upload it to the root of your website Added the following to header.php: &amp;lt;link rel=&amp;#34;shortcut icon&amp;#34; href=&amp;#34;favicon.ico&amp;#34;&amp;gt; Fast and easy !</description></item><item><title>How to recreate the Show Desktop shortcut / icon</title><link>https://silviuvulcan.ro/blog/2009/06/08/how-to-recreate-the-show-desktop-shortcut-icon/</link><pubDate>Mon, 08 Jun 2009 08:36:33 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/08/how-to-recreate-the-show-desktop-shortcut-icon/</guid><description>My wife erased by mistake the Show Desktop shortcut from the Quick Launch toolbar. So I needed to recreate it. Here are the needed steps:
Start notepad
Copy and paste this text in notepad:
[Shell] Command=2 IconFile=explorer.exe,3 [Taskbar] Command=ToggleDesktop Save as Show Desktop.scf. Now move the shortcut anywhere you want it.
Did you know that? I didn&amp;rsquo;t 🙂 Also you might want to know that WIN+D (Win being the button between left CTRL and ALT that opens the Start Menu) does the same thing.</description></item><item><title>Star Trek 2009</title><link>https://silviuvulcan.ro/blog/2009/06/06/star-trek-movie/</link><pubDate>Sat, 06 Jun 2009 13:46:37 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/06/star-trek-movie/</guid><description>I&amp;rsquo;m a geek, that means I like Star Trek. That also means that I watched the latest Star Trek movie as soon as it was possible. I didn&amp;rsquo;t have many expectations. Nemesis was a bit of a disapointment, and with everything new and changed I just went to see it. I was pleasently surprised. I found it to be a good movie. A bit different from what I call Star Trek.</description></item><item><title>Removing a virus from an USB Thumbdrive</title><link>https://silviuvulcan.ro/blog/2009/06/06/removing-a-virus-from-an-usb-thumbdrive/</link><pubDate>Sat, 06 Jun 2009 12:49:43 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/06/removing-a-virus-from-an-usb-thumbdrive/</guid><description>I have seen a lot of usb thumbdrives with viruses lately, even cards from cameras and mp3 players. When you insert a new drive windows will pop up a message with stuff you can do (play, open, etc). If you have the slightest suspicion of infection click cancel.
Infected usb drive autorun message. Notice the two Open folder to view files?
Most of the times, when the drive is infected some of the icons will look weird:</description></item><item><title>Custom csv export from virtuemart</title><link>https://silviuvulcan.ro/blog/2009/06/04/custom-csv-export-from-virtuemart/</link><pubDate>Thu, 04 Jun 2009 09:11:43 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/04/custom-csv-export-from-virtuemart/</guid><description>One of my clients needed a custom feed of his virtuemart products. I did a quick google check and nothing came up, so I decided to write my own. Please note that I&amp;rsquo;m not a programmer and I bet it can be done faster, better and more elegant, still this works, so &amp;hellip;
&amp;lt;?php // Please note those was developed for a Joomla 1.5 installation // www.sgvulcan.com $host = &amp;#34;localhost&amp;#34;; //database location $user = &amp;#34;user&amp;#34;; //database username $pass = &amp;#34;pass&amp;#34;; //database password $db_name = &amp;#34;database&amp;#34;; //database name $wtxt=&amp;#34;; //database connection $link = mysql_connect($host, $user, $pass); mysql_select_db($db_name); $myFile = &amp;#34;product_export.</description></item><item><title>The best freeware weather application for my Nokia E71</title><link>https://silviuvulcan.ro/blog/2009/06/03/the-best-freeware-weather-application-for-my-nokia-e71/</link><pubDate>Wed, 03 Jun 2009 17:14:52 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/03/the-best-freeware-weather-application-for-my-nokia-e71/</guid><description>&amp;hellip; or any symbian device for that matter - even s60v2 based devices.
I like having weather informations at hand. At home I have a nice mini weather station, but I still like to be able to check it on my phone. I tried a few apps before this one, even commercial ones like Handy Weather, still I find M!Weather - Mobile weather from the ubahnstation the best. [404 as of 2002] It&amp;rsquo;s fast, it&amp;rsquo;s free and it&amp;rsquo;s acurate.</description></item><item><title>The revolution – desktop like experience on your mobile devices</title><link>https://silviuvulcan.ro/blog/2009/06/03/the-revolution-desktop-like-experience-on-your-mobile-devices/</link><pubDate>Wed, 03 Jun 2009 17:03:38 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/03/the-revolution-desktop-like-experience-on-your-mobile-devices/</guid><description>Everytime a new mobile devices comes around or a new browser is announced all the news sites and blogs happily announce a revolution: the desktop like browsing experience on a mobile device. I remember when I researched a few reviews before buying my Nokia E71 phone that some reviewers complained about the qvga resolution of the device.
I can only say this cow bagles !
First of all there&amp;rsquo;s no way that you can cram the 19&amp;quot; plus experience of a normal desktop monitor on a 2.</description></item><item><title>Why I don’t own a netbook …</title><link>https://silviuvulcan.ro/blog/2009/06/03/why-i-dont-own-a-netbook/</link><pubDate>Wed, 03 Jun 2009 15:48:03 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/03/why-i-dont-own-a-netbook/</guid><description>As you might have noticed I am a big fan of gadgets and computers. A few months ago I was about to buy a small netbook for my needs. Fortunately I borrowed one from a neighbour for a few days. That was a lousy experience. Cramped keyboard, slow processor and inexistent battery life. I usually understand the limitations imposed by small and cheap devices, but I didn&amp;rsquo;t thought that I&amp;rsquo;ll get all of them.</description></item><item><title>Freenas and Bittorent/transmission problems</title><link>https://silviuvulcan.ro/blog/2009/06/01/freenas-and-bittorenttransmission-problems/</link><pubDate>Mon, 01 Jun 2009 17:40:52 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/01/freenas-and-bittorenttransmission-problems/</guid><description>As I mentioned in another post I run a FreeNAS 0.69.1(at the time of posting) based machine on my network, for backup, downloads and storage. I also use it to leave downloads running when I&amp;rsquo;m not at home. FreeNAS is great but I had this problems when downloading torrents:
Yesterday I left it downloading the latest ubuntu version. (Yes I know I&amp;rsquo;m behind), it&amp;rsquo;s been out for some time now. When I got back from town I just shut down the nas without checking on progress.</description></item><item><title>What I add to a fresh install of Windows XP</title><link>https://silviuvulcan.ro/blog/2009/06/01/what-i-add-to-a-fresh-install-of-windows-xp/</link><pubDate>Mon, 01 Jun 2009 08:30:23 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/06/01/what-i-add-to-a-fresh-install-of-windows-xp/</guid><description>Yes, yes, I know, Windows 7 is all the rage today. But, XP is still widely used and for now is the operating system I need to install on 90% of the cases. Of course first I install Windows XP, then the pc&amp;rsquo;s drivers and utilities, then I add whatever commercial software the client uses. After that, from case to case I always add some of the following:
Security If it&amp;rsquo;s a home user that doesn&amp;rsquo;t have a paid antivirus solution I install AVG free or Avast Home edition.</description></item><item><title>4×20 LCD screen with USB interface.</title><link>https://silviuvulcan.ro/blog/2009/05/31/4x20-lcd-screen-with-usb-interface/</link><pubDate>Sun, 31 May 2009 15:50:54 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/31/4x20-lcd-screen-with-usb-interface/</guid><description>Attaching an LCD screen to a pc is a pretty easy job. I am working on a jukebox that I wanted to a screen attached to. Although a HD44780 based LCD can be attached to the parallel port with almost no additional parts I wanted a more flexible solution, and I thought about microcontrollers with usb support. I found a thread here, where all the work is pretty much done. Thank you ch424.</description></item><item><title>Recover your lost linux slackware root password</title><link>https://silviuvulcan.ro/blog/2009/05/28/recover-your-lost-linux-slackware-root-password/</link><pubDate>Thu, 28 May 2009 13:31:13 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/28/recover-your-lost-linux-slackware-root-password/</guid><description>I&amp;rsquo;m an avid Slackware user. It was the distro I started using back in &amp;lsquo;98 and, even if I tried and used many others I still like it the most. Anyways these rules apply to many other flavours of linux.
One of the problems I faced is needing to make changes on inherited machines that nobody knew the passwords for. So, if you face the same problem, or you simply forgot the root password because you usually use a normal user account here&amp;rsquo;s what you have to do to reset the password.</description></item><item><title>Take your mobile phone for a "Swim"</title><link>https://silviuvulcan.ro/blog/2009/05/28/take-your-mobile-phone-for-a-swim/</link><pubDate>Thu, 28 May 2009 08:08:46 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/28/take-your-mobile-phone-for-a-swim/</guid><description>At one point I&amp;rsquo;ve been the shamed user of a Sony Ericsson v610i. Pretty simple candybar phone. Although it had one function that put my next phone (the Nokia E61) and my current phone to shame. It had syncml capabilities with the option of automatic, periodic syncing. Guess what&amp;hellip; the flagship E series device of its time didn&amp;rsquo;t!
Open source to the rescue. I searched for a sollution for some time, eventually giving up, until I discovered, recently the Bergamot Project with its Swim project.</description></item><item><title>Skyfire updated to v1.0</title><link>https://silviuvulcan.ro/blog/2009/05/28/skyfire-updated-to-v10/</link><pubDate>Thu, 28 May 2009 06:09:53 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/28/skyfire-updated-to-v10/</guid><description>Just wanted to let you know that Skyfire has updated it&amp;rsquo;s browser to v1.0
Update was smooth on my E71.
What&amp;rsquo;s new:
Thumbnail interaction. You can click links without zooming in. A change I welcome. Improved Zoom. Enhanced Navigation. iFrame handlin. Fast start. Another change I like. Reconnect to last state. Remember last connection (Symbian only).</description></item><item><title>Why did the chicken cross the road?</title><link>https://silviuvulcan.ro/blog/2009/05/27/why-did-the-chicken-cross-the-road/</link><pubDate>Wed, 27 May 2009 19:58:40 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/27/why-did-the-chicken-cross-the-road/</guid><description>I&amp;rsquo;ve been a member of one or the other Star Trek mailing list ever since I had an email account. By the way should anybody remember the old trek and seaquest mailing lists owned by Leigh Wolenczack I&amp;rsquo;d love to get in touch and find out what happened to you guys. I had this file around ever since and, even if it&amp;rsquo;s probably posted in one hundred other places, I had to have it on my blog:</description></item><item><title>New life into an old Nokia 7610</title><link>https://silviuvulcan.ro/blog/2009/05/27/new-life-into-an-old-nokia-7610/</link><pubDate>Wed, 27 May 2009 10:04:23 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/27/new-life-into-an-old-nokia-7610/</guid><description>As promised I follow with an article on how to breathe new life into an aging phone.
Well, the 7610 was never lightning fast and over the years it became more and more troublesome, to the point where my wife thought it was about to break. She also got a good deal on a 500 Mb/month data plan so new software was in order. Although the prospect of a new gadget in the house was appealing I decided to see what was to be done with this one.</description></item><item><title>N800/N810 tablet as a Canon camera remote</title><link>https://silviuvulcan.ro/blog/2009/05/27/n800n810-tablet-as-a-canon-camera-remote/</link><pubDate>Wed, 27 May 2009 09:37:46 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/27/n800n810-tablet-as-a-canon-camera-remote/</guid><description>This post is also on the talk.maemo.org forum, but I decided to host it here too.
N800 camera remote control I followed a thread regarding the port of gphoto for the Nokia Internet Tablets. Unfortunately gphoto never got me further than list the photos in the camera and then hang and reboot.
Well then I noticed Eostimesync.
Eostimesync is a nice utility that syncs the time of your camera to the time of the n800.</description></item><item><title>FreeNAS</title><link>https://silviuvulcan.ro/blog/2009/05/26/freenas/</link><pubDate>Tue, 26 May 2009 10:32:42 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/26/freenas/</guid><description>Ok, so I wanted a NAS on my home network. Having just aquired a shabby XPC SK43G that simply refused to work as a htpc (it&amp;rsquo;s original purpose) I decided to set it up as a NAS (Network Attached Storage). I went out and bought a Western Digital Green 1 Tb Sata2 drive. The xpc refused to detect the drive until I set it via jumper as Sata1. I had to search on the Western Digital support pages, as the jumper settings are not documented on the drive itself.</description></item><item><title>What’s installed on my Nokia E71 and why.</title><link>https://silviuvulcan.ro/blog/2009/05/26/whats-installed-on-my-nokia-e71-and-why/</link><pubDate>Tue, 26 May 2009 09:37:18 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/26/whats-installed-on-my-nokia-e71-and-why/</guid><description>As you might have noticed I am very fond of open source or freeware software. I like the community and the development pace of such projects, and of course I am fond of the price. So, before watching another top 10 freeware list, here&amp;rsquo;s a list from someone who actually used the programs for months or years and uses them on a daily basis:
1. Home screen From left to right:</description></item><item><title>Wordmobi</title><link>https://silviuvulcan.ro/blog/2009/05/25/wordmobi/</link><pubDate>Mon, 25 May 2009 20:27:30 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/25/wordmobi/</guid><description>Another nice little app. Having started this site, I wondered if it is possible to update my blog from my mobile phone. (Nokia E71). Well, WordPress does offer the option to post by email but I didn&amp;rsquo;t find that option too appealing. So a few google searches after I found Scribe and Wordmobi. Both are nice symbian mobile blogging tools. I chose Wordmobi because of the more beefier feature set, suport for the Python 1.</description></item><item><title>Combofix</title><link>https://silviuvulcan.ro/blog/2009/05/25/combofix/</link><pubDate>Mon, 25 May 2009 13:09:15 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/25/combofix/</guid><description>When I first discovered malware that was not a virus I simply used regedit to remove it&amp;rsquo;s entries and prevent it from starting at boot, then I simply erased them. After a while, as spyware became more and more sophisticated I discovered Lavasoft&amp;rsquo;s Ad-Aware. Than Spybot Search and Destroy.
Lately it seems to me that Ad-aware is lagging more and more behind Spybot. A friend of mine recomended Combofix so I gave it a shot.</description></item><item><title>Getting sound to work on an old Deskpro EN and Slackware 12.2</title><link>https://silviuvulcan.ro/blog/2009/05/03/getting-sound-to-work-on-an-old-deskpro-and-slackware-122/</link><pubDate>Sun, 03 May 2009 14:08:05 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/05/03/getting-sound-to-work-on-an-old-deskpro-and-slackware-122/</guid><description>I was trying to get rid of the separate sound card in an old Compaq Deskpro En (Pentium III) I use on a jukebox project. Alsa-conf would only detect some weird isa-pnp card that did not work. After searching a bit I found out that the card is an ESS 1869 and is not autodetected. Reading on the alsa website I found that these are the settings that work:
(set in /etc/modprobe.</description></item><item><title>Access point groups on the Nokia 71</title><link>https://silviuvulcan.ro/blog/2009/04/23/access-point-groups-on-the-nokia-71/</link><pubDate>Thu, 23 Apr 2009 14:42:01 +0000</pubDate><guid>https://silviuvulcan.ro/blog/2009/04/23/access-point-groups-on-the-nokia-71/</guid><description>When I upgraded my phone from a venerable and branded Nokia E61 to a more modern Nokia E71 I quickly found out what most of the reviewers missed. The E71 has no Access Point Groups - one feature that I used a lot. I usually have just two groups - wifi_first and wifi_only - one for always connected apps (fring, email, etc) and the other for data intensive apps that I usually only use at home or at work (youtube, download and the like).</description></item></channel></rss>