Authors: stintel

Disable EEE on OpenWrt DSA interface

2024-12-03 stintel  1 minute read

After moving my HP Color LaserJet Pro MFP M477fdw from my Huawei S6720-32C-PWH-SI to a Ubiquiti Unifi Switch Flex running OpenWrt master, I noticed the printer randomly coming out of standby. Looking at the OpenWrt log, I noticed the DSA interface connected to the printer to be flapping.

Thunderbird 115 crashes

2024-05-29 stintel  1 minute read

Like many other people, I too started experiencing crashes since upgrading Thunderbird from 102 to 115. On my workstation and M2 MacBook Air, these crashes have become less frequent. However, on my old XPS13, which I'm still using because the Asahi kernel does not support DP-ALT mode on the M2 MacBook Air yet, Thunderbird would crash every time I tried to go to my companies' mailbox. Extremely annoying, and as it doesn't seem to produce core dumps, probably hard to debug.

Compiling U-Boot for the BPI-F3

2024-05-19 stintel  3 minute read

Yesterday I picked up the Banana Pi BPI-F3 I ordered 2 weeks ago. It is joining the small army of RISC-V devices I already own:

  • Espressif ESP32-C3 (20x)
  • Espressif ESP32-C6 (20x)
  • SiFive HiFive Unmatched
  • StarFive VisionFive 2

After giving the Armbian Noble image a quick try and being unimpressed, I decided to try installing Gentoo on it. I'll be documenting the process here. The first step: compile U-Boot.

I guess better late than never...

So we've got a failover IP, and a nice trick to be able to get the same WAN IP on both our routers. If you do stateless packet filtering, this is actually enough, and your redundant setup is already finished. However, if you do stateful packet filtering, the moment the failover IP moves to the backup router, your connection will be dropped because it doesn't have any knowledge about it in its connection tracking table.

Many corporate networks implement router redundancy for obvious reasons. Most of them are probably using very expensive hardware with proprietary protocols, but in fact it is possible to build such a setup for less than EUR100 and use it at home. Just get a couple of cheap routers that are well supported by LEDE/OpenWrt.

This is something that has been bothering me for a long time. I use the same SSID for both my 2.4GHz and 5GHz networks, so that clients can roam from one network to another. However, in this setup, the client decides what network it think will work best. And unfortunately, most clients just suck at making this decision.

Domoticz standby killer script

2017-01-12 stintel  1 minute read

Recently I finally bought some Z-Wave equipment:

  • Aeon Labs Z-Stick Gen5
  • Aeon Labs Z-Wave LED Bulb with RGBW (2x)
  • Fibaro Door/Window Sensor
  • Fibaro Wall Plug (4x)

I've looked at several Open Source Home Automation projects before, but so far the only one that is, in my opinion, lightweight enough to run on embedded hardware is Domoticz. It's also relatively easy to configure. Can't say the same of OpenHAB, for example.

U2F on Linux

2016-12-28 stintel  2 minute read

Little over a year ago I ordered 2 Yubico U2F security keys, through the Github offer. When they arrrived, I was immediately annoyed by the fact that only Chrome (and Chromium) supported the U2F standard. At that time, my main browser, did not support U2F at all, and the feature request had been open for a year, with no real progress. Sigh.

I2S audio on XPS13 with Linux 4.5

2016-03-14 stintel  1 minute read

While upgrading the Linux kernel on my XPS13, I noticed that I could no longer find the option to enable the ASoC driver that is needed when the sound card is running in I2S mode. The symbol (SND_SOC_INTEL_BROADWELL_MACH) was still there, but it didn't show up at the expected location. I also had all dependencies enabled, so I was a bit surprised it didn't show up. After looking again, I noticed this in the dependencies:

DW_DMAC_CORE [=m]=y

WOL broken after updating NetworkManager to 1.0.6

2015-12-30 stintel  2 minute read

Some time ago I noticed that I could no longer boot a remote machine via Wake-on-LAN. This annoyed me quite a bit, as the machine was 2100km away and there was nobody at that location who could boot it for me. I really had no clue why it stopped working. So when I recently arrived at the location again, I started looking into it. Everything I had previously configured was still in place. The BIOS option Power On by PCIE devices was enabled, and I still had this in /etc/local.d/wol.start:

#!/bin/sh

ethtool -s eth0 wol g

echo "GBE" > /proc/acpi/wakeup

Yet, when I ran ethtool eth0, it showed that WOL was disabled:

A few days ago, polkit version 0.113 was marked stable on Gentoo amd64. Since the update, I could no longer suspend my system without entering the root password. Quite annoying, especially for a laptop. When canceling the polkit dialog, this appeared in the journal (yes, I am using systemd):

sep 10 05:22:52 sylvester.nomad.adlevio.net polkitd[18113]: Operator of unix-session:3 FAILED to authenticate to gain authorization for action org.freedesktop.login1.suspend for system-bus-name::1.96 [kded5 [kdeinit5]] (owned by unix-user:stijn)

While configuring my CalDAV accounts in Thunderbird on my new laptop, I ran into an issue. I have a few CalDAV accounts that are all on the same Zimbra server. Thunderbird only requested a login and password for the first account I added. It tried to open the next account I added with the credentials that were already stored for the first account, and that failed.

Dell XPS 13 touchpad issue

2015-08-08 stintel  5 minute read

As I already mentioned in my previous post about the XPS 13, I had issues with the touchpad: it freezes rather frequently, because it looses sync a lot. After losing sync for a few times, the psmouse driver issues a reconnect request. And when that happens, the touchpad freezes. It looks like this in the kernel log:

Jul 26 15:43:19 sylvester kernel: psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 4
Jul 26 15:43:19 sylvester kernel: psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
Jul 26 15:43:19 sylvester kernel: psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
Jul 26 15:43:19 sylvester kernel: psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
Jul 26 15:43:19 sylvester kernel: psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
Jul 26 15:43:19 sylvester kernel: psmouse serio1: issuing reconnect request

Goodbye MacBook Air, hello Dell XPS 13

2015-08-07 stintel  4 minute read

Many people I know use a laptop for almost anything, anywhere. When they arrive at the office, they hook it up to an external monitor, and use an external keyboard and mouse or trackpad. I prefer to have a proper workstation, with powerful CPU and GPU, lots of RAM and multiple large monitors. As it's rather difficult to take this setup with me to meetings, or when travelling, I still require a secondary device that I can take with me everywhere I go. Some people seem to be OK with a tablet for that purpose, but that just doesn't work for me.

oVirt problem with duplicate UUIDs

2013-03-01 stintel  1 minute read

When I first tried to add my two test nodes in the oVirt manager, this worked fine for the first node I added. However, when I tried to add the second node this always seems to fail. This is what I am seeing in /var/log/ovirt-engine/engine.log:

oVirt tools on Gentoo

2013-01-21 stintel  1 minute read

After getting my oVirt setup up and running, I wanted an easy way to open a Spice console to a VM on my Gentoo workstation. There are several ways to do this, as explained here. The easiest way is via the browser plugin, but I couldn't get that to compile yet. The next best option is using ovirt-shell, from the ovirt-engine-cli tools.

oVirt and CentOS 6

2013-01-21 stintel  2 minute read

Recently I have been playing around with oVirt. Since oVirt is included in Fedora 18, I tried it on F18 first. Unfortunately, these packages lack the web GUI. Since this is one of the things I wanted to test, these packages are useless to me. So I started digging around, and found the ovirt-dre repository.

My Gixxer

2012-12-27 stintel  1 minute read

Might be a bit late to blog something about a bike I bought more than a year ago, but they always say "better late than never", so here goes ... Early 2011, I had an accident with the CBR. The costs to fix it were too high, so it was declared a total loss :-(

How to really flush the various nscd caches

2012-05-10 stintel  1 minute read

Since I keep finding posts that tell you to restart nscd to flush its caches, I'll tell you how to really do it. The nscd caches are saved to disk, On my Fedora system, they are located in /var/db/nscd:

cron.daily on SLES

2010-08-19 stintel  1 minute read

Have you ever noticed that if you put cron jobs in /etc/cron.daily on a SLES machine, they seem to run at random times? I noticed it a few times, and I find it to be really annoying. Say, I rebooted a machine yesterday around 14:00, and today at 14:15, the machine starts rebuilding the man db, backing up the rpm db, cleaning /tmp, rotating logs, etc. Huh?! Looks like a bad idea to do such things when the system is currently in use by multiple people. Imagine that you put a database backup in there, and that backup locks your database...

Bbox 2 / Sagem Fast 3464 temperature

2010-04-06 stintel  2 minute read

As you could read in one of my previous posts, I have been investigating my Sagem F@st 3464 modem a little, to see if it ran Linux (which it does). With the help of this topic, I was able to login into the modem with telnet. After entering the password and typing the "shell" command, I was presented an ash shell with BusyBox.

Internet in Belgium still sucks

2010-04-03 stintel  8 minute read

Recently some of the larger ISPs in Belgium decided to finally open their eyes and increase their ridiculously low traffic limits. They even announced to entirely drop these limits for the more expensive ones. About damn time they did that.

Unfortunately, if you read the small letters, they still mention "$ISP maintains the right to lower the bandwidth for customers who have a higher traffic usage than the average for that particular product". Sounds pretty vague to me. I'd rather have a connection with a 250GB traffic limit, then signing up for something like this, which is totally unclear... Typical ... They really couldn't come up with anything better, after the big publicity stunts they organized? Belgacom, Telenet, you both fail once again.

Gentoo, CUPS, HPLIP and HP Color LaserJet 3600n

2010-03-23 stintel  4 minute read

Somewhere in June 2009, I became self-employed. Since it involves sending invoices, I decided to create a template with OpenOffice. After creating a new invoice, I export it as PDF and email it to the customer. Saves me paper, ink, envelopes, stamps, trips to the post office, fuel, ... You get the picture.

Unfortunately I still have to hand them in to my bookkeeping office on paper, so I still have to print them once. Which is what I've been doing since June 2009. Until I tried printing invoices from Q4 2009, somewhere in December. The printer refused to print anything.

Remote logging to syslog-ng

2009-12-15 stintel  2 minute read

To be able to keep some log history of my OpenWRT based router, I want to send its output to a remote syslog server.

Fortunately I have another machine that is running 24/7, so I don't have to send it over the WAN link to one of my servers in the datacenter. My HTPC is running Gentoo Linux, and I configured syslog-ng as syslog daemon.

Zimbra, CalDAV, Lightning, iPhone

2009-12-08 stintel  2 minute read

After I got my Zimbra server up and running, and configured some domains and accounts, I started playing with the calendar sharing and syncing. What I want is simple: to access my Zimbra calendar with Lightning, a calender add-on for Mozilla Thunderbird, and with my iPhone.

Zimbra on CentOS 5.4

2009-12-08 stintel  2 minute read

Some time ago I started to experiment with Zimbra a little bit. I already installed it a few times, and I heard many good things about the new release.

Because I ran into several issues with Debian and Ubuntu in the past, I decided to try Zimbra on CentOS. So I installed a clean CentOS 5.4 VM to test Zimbra on. I downloaded ZCS 6.0.3 for RHEL5, and then the fun started ...

Drupal migration, part two

2009-11-26 stintel  1 minute read

After migrating my blog to Drupal, the old Wordpress style URL's were broken, as explained here. At that time, I was trying to fix them with mod_rewrite, but didn't succeed.

Website performance issues

2009-11-15 stintel  2 minute read

If you recently visited my website (let's say in the last two or three days), you might have noticed some performance issues. It seems I didn't pay that much attention to the MySQL binary logging configuration, when I enabled this feature so that I could do point-in-time recovery in case something goes wrong.

Sagem F@st 3464 vs GPL

2009-11-04 stintel  3 minute read

Some months ago, I ordered a Dommel SpeedConnect Plus connection. Since Dommel is using the network of the monopolist Belgacom in Belgium, I am forced to buy one specific type of VDSL2 router: Sagem F@st 3464. If you want to know why Belgacom forces this type of modem, you can find the report of the BIPT here, in English, Dutch or French.

iPhone 3.1.2, Cydia and Icy

2009-10-26 stintel  1 minute read

So, recently I updated my iPhone to 3.1.2. Unfortunately, the custom firmware image I used contained both Cydia and Icy. I don't own an Apple computer myself, so I am unable to build my own custom IPSW, so I asked somebody else. And no, I will not use redsn0w because it sucks. It never worked for me on my iPhone 2G, it always came in recovery mode while it should go in DFU mode. Or was it the other way around

Drupal migration

2009-08-19 stintel  1 minute read

As you might have already noticed, I recently migrated my blog from WordPress to Drupal. I used the WP2Drupal to import all WordPress posts from my old blog into my new Drupal-based website. It worked pretty good, except for some images that were missing, and some stuff showed up that didn't belong in posts, like Captcha text.

Dist-upgrade Etch to Lenny

2009-02-18 stintel  1 minute read

Since Debian Lenny was finally released not so long ago, I started upgrading some machines. Unfortunately, aptitude dist-upgrade complained about a few packages:

Gentoo gnome-light

2009-02-17 stintel  1 minute read

I have always had a problem with Evolution being installed when emerging gnome on my Gentoo system. Even with "-evo -eds" use flags, it still wanted Evolution. Evolution is a BIG piece of CRAP, and I don't want it anywhere on my system

Dell BIOS update in Linux

2009-02-04 stintel  1 minute read

Because I always forget ... To update your Dell BIOS in Linux, download the .exe BIOS file from the Dell website. Extract the HDR file with "wine D630_A15.EXE -writehdrfile".

Wordpress app for iPhone

2008-07-23 stintel  1 minute read

Monday I upgraded my iPhone to the 2.0 firmware, so now I can use apps from the App Store. Fancy and all ;-) So, I was browsing through the available applications, when I found the WordPress app.

My CBR600F

2008-06-11 stintel  1 minute read

This monday I finally got my motorcycle. There was a problem with the battery, so I was unable to get it on Sunday. Why are those damn stores always closed when you need them :-( So, as promised, I will show some pictures.

Motorcycle

2008-06-04 stintel  1 minute read

Sweet! Yesterday I got my drivers license for the motor cycle. Today I got insurance, and my license plate. The only thing left is to get the bike itself...

Drivers license for motorcycle

2008-05-13 stintel  1 minute read

Last week, it took me about 1.5 hours to get home from a customer, although it was only 17km from my place. Belgian traffic seems to get worse every day, for some reason, and I am really fed up with all this.

MySQL 5.0 DBA II

2008-04-01 stintel  1 minute read

Although Murphy didn't want it to happen (there has been a power outage at the testing center, which resulted in a fried core switch, and there  was no spare switch of the same type), I passed the MySQL 5.0 DBA II exam today.

Native monitor resolution in Windows on KVM

2008-02-27 stintel  1 minute read

I just installed a fresh WinXP virtual host on kvm on my Gentoo system. It didn't allow me to use the maximum resolution that my monitor supports (1440x900). So I started reading the kvm manual page, and found the --std-vga option. After restarting my WinXP machine with this option, Windows was unable to find a driver for the graphics card. Too bad ...

SLES10 and pure-uploadscript

2008-02-13 stintel  1 minute read

Today I needed to enable the pure-uploadscript functionality in pure-ftpd on a SLES 10 server. According to the spec file, the pure-ftpd RPM has been built with the --enable-uploadscript option, so no need to start rebuilding anything.

Apple USB implementation sucks monkeyballs

2008-01-15 stintel  3 minute read

OK, this issue has annoyed me long enough. Time for some ranting. I have a PC running Windows Vista. I have an iPod Shuffle, and I also have an iPhone. Now, the combination of these things is just terrible. Whenever I connect my iPhone or my iPod to my PC, I get the annoying message "This USB device can perform faster if you connect it to a Hi-Speed USB 2.0 port".

Emerging mysql-gui-tools

2008-01-15 stintel  1 minute read

Some time ago I tried "emerge mysql-gui-tools" on my Gentoo x86_64 box. Unfortunately, the compilation process failed because of some errors (will include the error in this post when I find the time to reproduce it). Today, I'm preparing myself for MySQL DBA certification, and I really need the MySQL Administrator tool, so at first I downloaded the precompiled tar archive from the MySQL website, which worked without any problems.

Apache 2.2 + LDAP authentication

2008-01-14 stintel  1 minute read

Since Apache version 2.2, the LDAP authentication module is no longer called auth_ldap, but rather authnz_ldap. During a migration of an Apache 2.0 to Apache 2.2, I ran into some problems which caused a failure to start Apache.

Netconsole

2007-12-24 stintel  1 minute read

Ever tried setting up netconsole under Linux, but never received anything from the kernel log on the machine configured as target in the netconsole module? Check the kernel.printk setting in sysctl.

Why nobody should use the uceprotect DNSBL

2007-11-14 stintel  2 minute read

Geez... Today one of the mail servers I'm maintaining seems to be blacklisted in the uceprotect blacklist. I had never heard of them until now. And I must say, the guys at uceprotect really think they are the Gods of mail or something. If you want to get yourself removed from this list, you either have to wait 7 days - given that your server's IP address doesn't connect to their trap again. Or, you could pay these sons of bitches 50€ (per IP!!!) to get unlisted immediately. This is totally unacceptable, who the hell do they think they are???

On Linux, there is a global and per-user limit of open file descriptors (read: maximum number of open files). The global limit is distribution and kernel specific, the per-user limit is set to 1024 by default. However, some applications, like Lotus Domino, Oracle, ... require to have more than 1024 open files.

© 2007 - 2024 Stijn Tintel