Dietrich Schroff

Subscribe to Dietrich Schroff feed
Dr. Dietrich Schroffhttps://plus.google.com/101232877473830670008noreply@blogger.comBlogger292125
Updated: 16 hours 31 min ago

Ubuntu: WLAN module for bcm43-chipset gone after reboot...

Sat, 2016-11-12 02:05
Today i ran with a laptop into the following problem:
After a reboot the system lost its WLAN:
 # uname -a Linux Notebook 3.13.0-86-generic #131-Ubuntu SMP Thu May 12 23:33:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linuxand
# lspci | grep 802.11
02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
Trying a modprobe wl failed...
There were some posts, which suggested to install kernel-drivers, dkms and so on, but this was not the problem, but it led me to the solution:
I tried to install this packages an i got the following:
root@Notebook:~# apt-get install linux-headers-$(uname -a) build-essentials dmks E: Der dpkg-Prozess wurde unterbrochen; Sie müssen manuell »sudo dpkg --configure -a« ausführen, um das Problem zu beheben.And here we go:

root@Notebook:~# dpkg --configure -a
mysql-client-core-5.5 (5.5.53-0ubuntu0.14.04.1) wird eingerichtet ...
libgpgme++2 (4:4.13.3-0ubuntu0.3) wird eingerichtet ...
sudo (1.8.9p5-1ubuntu1.3) wird eingerichtet ...
Konfigurationsdatei »/etc/sudoers«
 ==> Geändert (von Ihnen oder von einem Skript) seit der Installation.
 ==> Paketverteiler hat eine aktualisierte Version herausgegeben.
   Wie möchten Sie vorgehen? Ihre Wahlmöglichkeiten sind:
    Y oder I : Die Version des Paket-Betreuers installieren
    N oder O : Die momentan installierte Version beibehalten
       D     : Die Unterschiede zwischen den Versionen anzeigen
       Z     : Eine Shell starten, um die Situation zu begutachten
 Der Standardweg ist das Beibehalten der momentanen Version.
*** sudoers (Y/I/N/O/D/Z) [Vorgabe=N] ?
xscreensaver-data (5.15-3+deb7u1ubuntu0.1) wird eingerichtet ...
...
...
initramfs-tools (0. 103ubuntu4.4) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu0.2) wird eingerichtet ...
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
Building only for 3.13.0-86-generic
Building for architecture x86_64
Building initial module for 3.13.0-86-generic
Done.
wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-86-generic/updates/dkms/
depmod........
DKMS: install completed.
update-initramfs: deferring update (trigger activated)
unity (7.2.6+14.04.20160408-0ubuntu1) wird eingerichtet ...
...
...
Now the WLAN was up again...
Apparently the last system update was waiting for an enter, but i forgot this windows and did the reboot...

Debian dist-upgrade: from 7(wheezy) to 8(jessie): udev...

Tue, 2016-11-01 15:01
I was running my own kernel on my laptop. But doing the upgrade from debian 7 to 8, i ran in the following problem:
Since release 198, udev requires support for the following features in
the running kernel:

- inotify(2)            (CONFIG_INOTIFY_USER)
- signalfd(2)           (CONFIG_SIGNALFD)
- accept4(2)
- open_by_handle_at(2)  (CONFIG_FHANDLE)
- timerfd_create(2)     (CONFIG_TIMERFD)
- epoll_create(2)       (CONFIG_EPOLL)
Since release 176, udev requires support for the following features in
the running kernel:

- devtmpfs         (CONFIG_DEVTMPFS)

Please upgrade your kernel before or while upgrading udev.

AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!


dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/udev_215-17+deb8u5_i386.deb (--unpack):
 Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 zurückSo i changed to the default kernel of debian, but with this one systems was not able to mount the partitions, because the old kernel mounted the disk on /dev/hda and the new one on /dev/sda.
So i had to rewrite the /etc/fstab and after that, the dist-upgrade could continue...

Debian dist-upgrade: from 7(wheezy) to 8(jessie): udev...

Tue, 2016-11-01 15:01
I was running my own kernel on my laptop. But doing the upgrade from debian 7 to 8, i ran in the following problem:
Since release 198, udev requires support for the following features in
the running kernel:

- inotify(2)            (CONFIG_INOTIFY_USER)
- signalfd(2)           (CONFIG_SIGNALFD)
- accept4(2)
- open_by_handle_at(2)  (CONFIG_FHANDLE)
- timerfd_create(2)     (CONFIG_TIMERFD)
- epoll_create(2)       (CONFIG_EPOLL)
Since release 176, udev requires support for the following features in
the running kernel:

- devtmpfs         (CONFIG_DEVTMPFS)

Please upgrade your kernel before or while upgrading udev.

AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!


dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/udev_215-17+deb8u5_i386.deb (--unpack):
 Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 zurückSo i changed to the default kernel of debian, but with this one systems was not able to mount the partitions, because the old kernel mounted the disk on /dev/hda and the new one on /dev/sda.
So i had to rewrite the /etc/fstab and after that, the dist-upgrade could continue...

Debian dist-upgrade: Laptop suspends 30s after boot / startup

Tue, 2016-11-01 14:58
After i moved to jessie (Debian 8) my laptop moved to suspend to RAM about half a minute after startup.
There was no message in the logfiles and even worse the resume does not work at all...
The configuration for the suspend was in here:
/etc/systemd/logind.conf:
 [Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
HandleSuspendKey=ignore
#HandleHibernateKey=hibernate
HandleLidSwitch=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yesAfter changing the lines "HandleLidSwitch" and "HandleSuspendKey" to ignore and one more restart the laptops stays alive and no unwanted suspend is happening anymore.
That was a strange behaviour, because my first guess was overheating. But after waiting 10 minutes the laptop was really cool, so overheating was not the point...

Debian dist-upgrade: ipw2200 firmwares missing...

Tue, 2016-11-01 05:25
After the dist-upgrade the ipw2200 wireless chipset drivers are missing.
Grrrr...
No more internet access - so i had to use a good old LAN cable ;-)

The fix was very easy:
apt-get install firmware-ipw22x00
rmmod ipw2200
modprobe ipw2200 and the wireless network is up again...

Debian dist-upgrade 5 (lenny) to 6 (squeeze): insserv: exiting now

Tue, 2016-11-01 04:02
After several years i decided to upgrade my old laptop to the current debian version.
The first
apt-get dist-upgrade ran into the following problem:
insserv: warning: script 'K01hotplug-net' missing LSB tags and overrides
insserv: warning: script 'K01x2goserver' missing LSB tags and overrides
insserv: warning: script 'K01oracle-xe' missing LSB tags and overrides
insserv: warning: script 'S85vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'S02vpnclient_init' missing LSB tags and overrides
insserv: warning: script 'S15initrd-tools.sh' missing LSB tags and overrides
insserv: warning: script 'S15hotplug' missing LSB tags and overrides
insserv: warning: script 'S15modutils' missing LSB tags and overrides
insserv: warning: script 'modutils' missing LSB tags and overrides
insserv: warning: script 'hotplug' missing LSB tags and overrides
insserv: warning: script 'initrd-tools.sh' missing LSB tags and overrides
insserv: warning: script 'hotplug-net' missing LSB tags and overrides
insserv: warning: script 'vpnclient_init' missing LSB tags and overrides
insserv: warning: script 'x2goserver' missing LSB tags and overrides
insserv: warning: script 'oracle-xe' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service vpnagentd_init and rc.local if started
insserv:  loop involving service rc.local at depth 23
insserv:  loop involving service vpnagentd_init at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/util-linux_2.20.1-5.3_i386.deb (--unpack):
 Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/util-linux_2.20.1-5.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)Hmmm. A further try with
apt-get dist-upgrade -f  failed with the same error. What was wrong?
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true! I just searched for "vpnagentd_init" in /etc und found it in /etc/init.d. Quick workaround: I moved the vpnagentd_init in a backup directory and after that the upgrade worked without any problem...

Journalismus, den die Welt braucht. Teil 3 | Pearls of journalism. Part 3

Tue, 2016-08-23 14:00
Yippie! I got a new release of IT-BUSINESS:
 And inside there was really nice article:
aha. I did not get this, but there is a magic weapon called chain management. Let's see what Google Translate does with this text:
Channel conflict threatens

The comparison of the "delivery price of Distribution" (blue line) with the average "sales price of Channels" (green line) makes it clear that price reductions on the part of distribution only be partially passed through the channel to the end customer. This focuses thus partially more on profit than on volume growth. A coordinated supply chain management is the solution to avoid such a channel conflict and specifically to develop benefits for participants
I think the english text is much more understandable than the german version...





Journalismus, den die Welt braucht. Teil 2 | Pearls of journalism. Part 2

Sun, 2016-08-21 13:47
Two weeks ago i started a first experiment with translating strange articles by Google (see here).
This was the next snippet (from IT-BUSINESS), which was a little bit weird:
Aha. Fog Computing...

Let's see, what Google Translate means to this:

Fog Compuing

The Fog is all symbolize the cloud around. It is all about the primary processing of data close to the data encoder, such as in the car or in the refrigerator before it is to be forwarded to cloud services. The more devices are connected to the cloud, the more data must be downloaded from and to the cloud. Fog Computing to store data that are needed for a specific device right there too and process.
"Downloaded from and to the cloud"...
For this snippet it wasn't really helpful to translate it into to english. But Fog Computing is a nice neologism ;-)

Journalismus, den die Welt braucht. Teil 1 | Pearls of journalism. Part 1

Fri, 2016-08-05 14:07
Today i browsed the magazine IT-BUSINESS  and read some really annoying articles. It was just words without building meaningful setences. It was so stunned, that i decided: I have to do something...


The  following idea came into my mind:
What about translating the part of the article, which i did not understand via Google Translate? Perhaps in english it sounds more meaningful (and more than 20% of the words are just technical terms in english...)






And after Google Translate:

Matching promotional concepts

In replacement markets optimization of promotional activities is one of the easiest ways to improve the profit. A price reduction associated with the direct delivery into the channel leading to a significant decline in sales in the distribution. A channel conflict could follow: The inventory turnover in the distribution decreases the Profitabliltät in the width of the channels decreases. It is a further price action required to stimulate demand again. It is more settled, for all concerned but worsens the profit situation.
Wow. It is really easier to understand this...


Android Update: 5.0

Tue, 2014-11-18 14:27
Today my Nexus 7 got the upgrade to Android 5.0:
 After this upgrade, many things changed, like the system settings:



But everything is slower than before.... ;-(

For a complete history of all updates visit this posting.


Virtualbox: only 32bit guests possible even though virtualization enabled in BIOS / Intel Process Identification Utility shows opposite to BIOS virtualization setting

Fri, 2014-10-03 04:08
Virtualbox on my Windows 8.1 stopped running 64bit guests a while ago. I did not track down this problem. Now some months later i tried again and found some confusing things.

First setting:
BIOS virtualization enabled
Intel Processor Identification Utlility in 8.1: virtualization disabled
Second setting
BIOS virtualization disabled
Intel Processor Identification Utlility in 8.1: virtualization enabledWith both settings: Virtualbox runs 32bit guests but no 64bit guests.
 

After some searching, i realized, what was happening:
I added Microsofts Hyper-V virtualization. With that enabled Windows 8.1 is no longer a real host. It is just another guest (the most important guest) on this computer. So with Hyper-V enabled i was trying to run Virtualbox inside an already virtualized Windows 8.1.
After that it was easy: Just disable Hyper-V on Windows 8.1:


And after a restart of Windows 8.1 i was able to run 64bit guests on Virtualbox again....

Wireshark hanging on Windows 8.1 at startup

Wed, 2014-09-24 14:09
After upgrading Windows 8 to Windows 8.1 my wireshark freezed on every startup without showing up the main window.
The only workaround was to deinstall wireshark including wincap and installing it again. But after the nex reboot, it freezed again.

After searching around i found the following fix, with cured this problem:

inside the registry you have to change the DWORD start in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npf

from 0 or 1 to 2. After that wireshark will start properly even after reboots....

Another possible solution are to issue these commands as administrator:
sc start npf
sc config npf start= delayed-auto

Android Update: 4.4.3

Thu, 2014-06-19 12:36
After nearly everyone upgraded to 4.4.3 my device came up with the icon for upgrading android to its next version:

For a complete history of all updates visit this posting.

FritzBox 7270: CLIP stops working after upgrading to FritzOS 6.05 (problem solved)

Wed, 2014-06-11 00:02
After upgrading to FritzOS 6.05 CLIP stopped working with my analog phone.
The settings looked quite ok: (Telefonie -> Telefoniegeräte -> bearbeiten -> Merkmale des Telefoniegeräts)

This basic feature was certainly not shipped without testing. So this has to be a problem of data/parameter migration.
After unchecking CLIP, doing a reboot and checking the box again CLIP, it worked like before...

Mounting VMWare-Volumes/Disks with Debian

Tue, 2014-05-20 15:30
Some time ago a vmware server did not recognize any more a data disk. This disk was formatted with vmfs v3 (enter the vmware server via ssh and type mount..). First thing i did, was creating an image of this disk, to play around without any danger of data loss.

There is a good article how to mount vmfs, but on debian i had to install the package otherosfs.

After i installed this package, i got the following error:

root@debian:/tmp# vmfs-fuse image /mnt/vm
VMFS VolInfo: invalid magic number 0x00000000
VMFS: Unable to read volume information
Trying to find partitions But: Do not worry about this error message. The image was mounted on /mnt/vm and accessible without any problem...

Ubuntu upgrade to 12.04: grub timeout does not work anymore

Sun, 2014-03-30 14:11
After doing the upgrade and solving some issues with my screen-resolution, another grub problem hit me:
The timeout for booting the standard kernel did not work anymore.
Inside /etc/default/grub
GRUB_TIMEOUT=10and update-grub, grub worked like
 GRUB_TIMEOUT=-1If you need a  good manual  just look here, but this does not help me, too.

After some tries, i did the following:

In /boot/grub/grub.cfg i changed from
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  fi
fito
terminal_output gfxterm
recordfail=0
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  fi
fiThis works, but i have to redo the change everytime update-grub is used...

Ubuntu upgrade to 12.04: screen only works with 1024x768

Sun, 2014-03-30 13:57
After upgrading a laptop-system to 12.04 (precise pangolin) X only starts with a resolution of 1024x768 and not with 1366x768.
I followed many postings and tried many things:
  • add new resolution with xrandr (here)
  • create a xorg.conf file (here)
  • add new drivers (here)
  • ...
But there was only one thing wrong: /etc/default/grub

After changing the following line everything worked:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.modeset=0 to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"(i added i915.modeset=0  because with the older ubuntu version hibernate does not work and this configuration fixed it. [link])

Telegram on two devices...

Tue, 2014-02-25 14:32
After trying Whatsapp on 2 devices without success, i tried the same thing with telegram. Telegram says about multiple devices:


So let's see...
Registering the mobile phone was straight forward: a SMS with a verification code and that's it.
Registering was easy: just another SMS
And after entering the code on the tablet i got the following message on my mobile phone:
After that every conversation or more precise: every unsecure conversation is broadcasted to all of your devices. That means, you can switch over from phone to tablet without loosing your context... really cool!




Smart Meter@Home: Fritz!Powerline 546E - really smart?

Tue, 2014-02-18 14:15
Everyone is talking about Smart Meter - is it possible to get in touch with this topic by buying a Fritz!Powerline 546E?

The key points of Smart Meters according to wikipedia are:
  • real-time or near real-time sensors
  • power outage notification
  • power quality monitoring 
  • collect, and analyze energy usage
What is supported by the 546E?
  • power outage notification: no way without a battery ;-)
  • real-time or near real-time sensors: one measurement per minute
  • power quality monitoring: voltage monitoring
  • collect and analyze: 


and
 
But there are some shortcomings:
  • graphs and data only local on 546E, no integration to any central server, not even to a Fritz!Box (because of a missing DECT interface)
  • configuration as WLAN repeater not described in the manual (only powerline)
  • export via web frontend limited to 5 minute-intervals only 24 hours
  • automated export only via E-Mail and limited to this:

 

Whatsapp on 2 devices: "does not work, tell why!"

Tue, 2014-01-28 13:58
After nearly everyone of my friends is using whatsapp, it was overdue to download this app.
Why is this app used by everyone? What's cool about this app?
  • You have to do nothing after the download except this sms-verification
  • No account creation
  • No new password (or reuse another one <- li="" nooo="">
  • No need for searching addresses
  • You do not have to take care about your contact list
  • Just start messaging
Why does this work? Whatsapp uses your phonenumber to build the account identifier. The app scans your phone address book and builds its own contact list. Fine.

Really?

Not at all: If you want to add whatsapp on a second device with no sim card (e.g. your tablet), you can find several instructions but: after adding whatsapp to this device, whatsapp on your phone does no longer work...
Whatapps says:
Your WhatsApp account can only be verified with one number, on one device.
If you attempt to frequently switch your WhatsApp account between different devices, at a certain point, you may be blocked from re-verifying your account. So please do not repeatedly switch between different devices.
Cheers,
WhatsApp Support TeamFinally i would say: The biggest advantage is also the biggest disadvantage. Using the phonenumber as account id makes everything easy but prevents the usage of more than one device....

Pages