Essential and unimportant content

IKEA Trådfri E27 smart light bulbs flickering

Do you have problem with IKEA smart lamps (Tradfri) flickering / blinking / flashing when off? My lamps did this during the night when turned off, short bright flashes, pseudo random thought the night. The bulb was not slowly dimming up and down it was more like 1ms flash and then they go dark again. Three lamps was on the same connection and they did not flash in sync. Extremely annoying behavior from lamps that is supposed to be smart…

First I found problem 1: They where connected over a dimming switch which was turned to max. When I removed the dimming switch from the circuit most of the problem disappeared. At least in Sweden most modern houses have dimming wall switches all over the place so this is going to be a problem for IKEA, they need to find a solution. It is going to be very frustrating if people need to call an electrical to remove in wall dimming equipment. Since the dimming switch (Elko dimmer) is bypassed, everything was fine!

Then problem 2 started: One day about 6 months after the first problem one of the lamps got crazy and was flickering most of the time, I returned the lamp and got a new working copy.

The lamps where initially connected to the IKEA router/gateway, but since I the system did not support remote control from other networks I had to remove the gateway. There was no difference in behavior with or without the bridge. Unfortunately I have no Hue bridge to try, in case it is a software problem. Hue lamps connected to the same dimming switch do not flash randomly, so they do not experience this problem. Normal tungsten or LED bulbs also work, only IKEA TRÅDFRI show this problem.

Problem 3: Now, more then a year later two of the lamps has got a new problem, random flickering when on… unfortunately they are out of warranty so I’m very close to recycle every singe IKEA lamp. I do not recommend these Trådfri lamps.

Welcome to Lundakarnevalen 2018

Carneval manager Freja Davidsson Bremborg and press manager Elin Söderbergh with team welcomes everyone to Lundakarnevalen 2018.

Welcome to Lundakarnevalen 2018

Soon time for Lundakarneval 2018

Lundakarneval version 2018 will soon begin, three days of carneval-party with amazing artists and performances, in the middle on Lundagård, downtown Lund.

Imaginalkarneval 2018

Prepare for this big event by browsing pictures from 2006, 2010, and 2014.

"Dualkarnevalen" 2006 in Lund

“Dualkarnevalen” 2006 in Lund

"Rätt&Felkarnevel" 2010 in Lund

“Rätt&Felkarnevel” 2010 in Lund

Parade images from Lundakarnevalen 2014 Lundakarnevalen 2014.

Futuralkarneval 2014

Futuralkarneval 2014

Warning: Creating default object from empty value in /storage/content/58/133558/ on line 1089

IDEON sunset

Leider ist der Eintrag nur auf English verfügbar.


Zillertal 2018

Leider ist der Eintrag nur auf English verfügbar.

Autumn walk

Clone MS-DOS/Windows95/98 PATA/IDE hard disks using Raspberry Pi/Linux/Mac OSX

There are two very different ways to clone the old hard disk to another rotating disk or better to a small SSD (with interface-adapter). First method is useful if the source computer is working well and have a spare hard disk connector. Simply connect another disk in slave mode the original computer and copy everything to the new drive. The second method requires removal of the hard disk and a method to attach it to another (modern) computer using a IDE-HDD to USB adapter. One bonus with the last method is that you get a backup-file that can be cloned to more hard disks.

Method 1: (Be careful not to mix old and new disk – it will not help)

1. Get a suitable hard disk with the right interface (not to large because old computers are limited to very small hard disks, usually 8GB but old DOS with FAT16 does only work with 2GB partitions)

2. Configure the disk in slave mode and connect it to the IDE-cable the old computer (Check orientation carefully). Note that 3.5″ disks need separate power connector, but 2.5″ disk usually receives power through the finer pitch IDE-cable.

3. Start computer and check in BIOS that it has been detected properly.

4. Use “C:\> FDISK” to partition the drive, reboot.

5. Format the drive “C:\> FORMAT D: /s ” Do not forget /s is very important, makes a copy the system files on the new drive and make it bootable

6 Copy all files and folders over, use COPY or XCOPY. Learn how to use XCOPY with the built in help “C:\> XCOPY /?”.

Method 2:

1. Remove the source hard disk and attach it to IDE HDD adapter. For 3.5″ disk you usually need a powered adapter or separate power solution. 2.5″ disk can be powered through USB. Check cable orientation carefully. Don’t put the disk down on any metallic parts while it is powered on.

Depending on what computer you have different commands need to be used. I found Linux and Raspberry Pi to be the best host.

2. Connect the USB adapter to a powered USB hub and then to the Raspberry Pi.

3. The source disk is automatically detected and can be found using ‘sudo disk -l’, usually it is found as /dev/sdb or /dev/sdc and it may be automatically mounted which is good since we need to work with is as a block device. check with ‘df’ – is it listed as ‘/dev/sdb1’ or similar unmount the disk with ‘sudo umount /dev/sdb’

4. Copy the whole source disk to a file with: ‘sudo dd if=/dev/sdb of=file.dd bs=1MB’ not that /dev/sdb is used not /dev/sdb1 /dev/sdb is the whole disk including partition table and MBR. /dev/sdb1 is he first partition and /dev/sdb2 is the second.

5. The dd command takes a while but it is possible to check progress from another shell by sending a USR1 signal ‘sudo kill -USR1 PID’. Where ‘PID’ is the process number for dd which can be found with ‘top’ command or ‘pidof dd’ or ‘ps aux | grep -w dd’

6. Now the content of the while disk is stored in disk.dd that you can rename and save for later use.

7. Power down and remove the source disk to begin working with the new.

8. To write the file to the new disk check which device it is connected to with ‘sudo disk -l’

9. Write the file to the disk with ‘dd if=file.dd of=/dev/sdb bs=1MB’, remember to use the correct device name!

11. Sync the disk with ‘sync’

10. Optional the new disk can be mounted and exam’ined partition by partition with ‘sudo mount /dev/sdb1 /mnt’ The content is then found under /mnt, when done done ‘sudo unmount /mnt’ and power down the disk.

MAC-users with OSX can follow the same guide but the device names are different and found with ‘distil list’

The dd command has the same parameters ‘sudo dd if=/dev/rdiskNUM” of=file.dd bs=1m’

To see progress use ‘sudo pkill -INFO dd’

Ubuntu users just follow the Raspberry Pi instructions which is a Debian.

Do you need to make a clean bootable MS-DOS floppy disk, not that easy from Linux but if you have a copy of a bootable MS-DOS disk reuse the first sector:

A floppy contains:

A. A bootsector that with boot code that boots IO.SYS/MSDOS.SYS or similar.
B. Hidden IO.SYS, MSDOS.SYS files in root directory.
C. COMMAND.COM in root directory.

Linux does not support creating a bootable disk or floppy because it would violate the License. But one way to make MSDOS boot floppy in Linux, is to format an MSDOS floppy disk using a full format that zeroes each sector, then use REAL DOS to make a boot floppy with the /s switch. Then boot Linux in the computer, and make a disk image of the floppy with ‘dd if=/dev/fd0 of=bootable_msdos622.img’ This file can be reused to make more floppies later.

Do you need to partition a hardisk from Linux

Partition the new disk with ‘sudo parted’

(parted) mklabel msdos (Create the partition table not a partition)
(parted) mkpart primary FAT32 63s 9767519s (Create a FAT32 partition with size 4.7G, 63 is the start sector)

It is possible to set the boot flag, but it will not make the disk bootable in DOS since the boot code in the MBR and in he bootsector of the partition is missing. The MBR is stored together with the partition table in the first sector.

Set boot flag of partition

(parted) set 1 boot on (1 is the partiton number)
(parted) print (See the results)
(parted) quit


Leider ist der Eintrag nur auf English verfügbar.


Leider ist der Eintrag nur auf English verfügbar.

Zillertal Arena

Leider ist der Eintrag nur auf English verfügbar.


Leider ist der Eintrag nur auf English verfügbar.

Warning: Creating default object from empty value in /storage/content/58/133558/ on line 1089

Autumn hike

Leider ist der Eintrag nur auf English verfügbar.

(English) Springtime in Lund

Leider ist der Eintrag nur auf English verfügbar.

Neues Album: Markthal

Markthal, Rotterdams new food market. Markthal, Rotterdam’s new food market.

© 2014 Stefan Lundberg

Markthal, der neuen Lebensmittelmarkt der Rotterdam.