Blog

  • smileys, emoticons, …

    Created this article, so that I can remove the respective bookmark on Firefox.

    Update: This article got immediately and automatically posted to my G+ account as well. And what? They restricted the access to “personally only” as opposed to “public” – what are their trigger words for restricting the access to such articles? and what trigger words would maked them close my Google account? … – I do know exactly, why my WordPress blogs are now self-hosted, and why I abandoned my (Google) Blogger blogs. Yes, I do.

    Update 2014-07-21: This article resp. its reference on G+ got attacked by Google censorship yet another time (after adding the previous update). I simply pressed “review” again, and within like 2 hours, the censorship got removed again. But I feared they would close down my Google accounts entirely. And what are you w/o a Google account in this modern digital world?

  • Saturday night jogging at Berlin Tiergarten: 8.8 km in 00:55:09

    • https://flow.polar.com/training/analysis/20129050
    • V800 with the stride sensor show 9.61 km
    • Polar Beat shows 8.8 km
    • the Polar Stride Sensor “Model:Y8” needs calibrating – best probably in a stadium because of the well defined distance of the round
    • weight after workout: 100 kg – wow, that’s a long-term low!
  • polar “stride sensor bluetooth smart” “Model:Y8”

    Treadmill runners using the V800 need this, so that the V800 has an idea of the distance you are running on the treadmill. That’s Polar’s idea of how to deal with the V800 on the treadmill.

    Right … the V800 has a figure after the run, and you upload the “session” to flow.polar.com.

    Your treadmill also has a figure. Q: Does the treadmill runner trust that one slightly more?  A: Yes, certainly.

    Once polar.flow.com has a figure for the distance of your treadmill (Diary > More > Distance), you can always modify it, otherwise they don’t let you change that field. Now you can replace that figure with your treadmill figure. Q: Easy? A: Yes. Q: Cheap? A: No, it takes that device – but only to have ANY irrelevant figure, that allows you to modify it reasonably. Rubbish.

    My enquiry to Polar Global on their Facebook page:

    //

    I asked the German service on their Facebook page, whether they are able to supply me with a couple of those show-fixing-thingies. It is a PITA to have only one, but to have a couple of shows at a couple of places – don’t you agree?!?
  • “Oracle Linux Server” as VirtualBox guest OS: a few administrational experiences

    There is a VM appliance, that I run …, and that appliance uses Oracle Linux Server as its OS.

    I want the appliance’s hostname to be oracle000 – it’s going to be my Oracle Databaser server anyway.

    Q: The appliance’s network connection to outside – how to activate it?

    Initially the appliance’s network connection seems to be down – what’s wrong? The “Terminals” on the top bar let you activate the connection. BTW: By default this is a NAT connection – so accessing the appliance network-wise from outside is a bit weird – but we are going to replace the NAT set-up with a “more natural” one in a minute.

    Q: How to access the appliance at its own IP address from within the LAN or even further outside?

    Within “Oracle VM VirtualBox Manager” I set this VM Network Adapter’s “Attached to” to “Bridged Adapter“. Now my LAN’s DHCP server (i.e. the router) assigns an IP address on the LAN to the VM, and actually I told the router to always use the same IP addresss, and I also named the network device there oracle000.

    Q: ssh w/o account name from within the appliance to outside and from outside the appliance into it

     

    If you do not mention an account with the ssh command, it assumes you want to reach an account by the same name on the remote side. But you are able to configure another account name on a particular remote host via an entry in a local ssh related file: $HOME/.ssh/config . You can do that on the appliance for reaching other hosts; you can do that on the other hosts around in order to reach the appliance’s main account oracle.

    This is one of the possible kinds of entries on $HOME/.ssh/config :

    Host 10.0.2.2
        User xyz

    Q: rsync over ssh

    Add this to $HOME/.bash_profile :

    export RSYNC_RSH=ssh

    Q: installing my favourite tools

    My VM host has a couple of handy utilities, that I am always eager to install:

    $ ssh 10.0.2.2 # logging into the VM host
    …
    $ rsync -va 10.0.2.2:bin $HOME
    $ rsync -va 10.0.2.2:Computers $HOME

    Q: How to adapt the timezone to e.g. Europe/Berlin?
    A: Make /etc/localtime a symlink to the right file below /usr/share/zoneinfo/ !

    Timezone-wise the appliance runs in EST, and I want it to run in Europe/Berlin:

    $ ~/bin/create_snapshot.sh /etc/localtime
    $ ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime

    Q: ssh into the appliance w/o password – … .ssh/authorized_keys …

    You should know this in advance: Oracle Linux Server makes use of SELinux. That makes it safe but also complicated.

    The home directory of user oracle is /u01/oracle – for SELinux that is a non-standard directory, and although I attempted to follow this page WRT an extra file to be created within /etc/selinux/targeted/modules/active by the name of file_contexts.local , I did not succeed.

    If you want to switch SELinux off temporarily, this is how to achieve this:

    $ echo 0 > /selinux/enforce

    With SELinux turned off, ssh into the appliance works as expected.

    Q: Suppplying the appliance with the hosts’s VirtualBox Guest Additions

    The ones installed in the appliance are older then the manager software installed on the host and that seems to cause trouble.

    First I thought, I should remove the old addtions before getting the up-to-date one installed, but later I got the impression the installation process removes old additions. But here I am going to describe how I manually removed the old additions:
    Apparently they do not come as RPM, so it’s impossible to get hold on them in one go. I created an extra hierarchy /etc/rc.d-QUARANTINE, and I moved all start-up scripts and links to within there. …

    How to install the host’s up-to-data …/VBoxGuestAdditions.iso? Add the ISO to a SATA  Storage Controller Controller. After booting into the appliance:

    $ cd /media/VBOXADDITION*
    $ sudo ./VBoxLinuxAdditions.run

    That process announced it cleans up earlier installations.

    Now after rebooting the appliance the appliance’s window on the host scales perfectly, i.e. resizing the host window also resizes the X-Window server details – everything is fine there now.

    Q: …

  • streaming the YouTube “channel” of a favourite musician to a TV through Google Chromecast – wow!

    • youtube.com
    • superb entertainment – maybe for hours
    • right now I am watching #CéuNoBis, and I really enjoy it
  • your FRITZ!Box shows a device with a senseless name and just its MAC address – you may want to perform a MAC address lookup

  • my VMs with separate IP addresses at home – they really make me glad and optimistic

    The host is a fat Mac mini running VirtualBox.

    A VM with an IP address outside the VM host’s realm behaves like an own “machine” – that’s the very special charm of it.

    • the openSUSE000 VM: will run “hibiscus – HBCI-banking for jameica”
    • the oracle000 VM runs a modern Oracle Database – supplied entirely by Oracle – just their bad SELinux set-up makes it a little difficult: a home directory outside /home, w/o proper /home rules
    • the solaris000 VM: for gathering experience with Oracle’s Solaris – not Open Source, but still great

    I would love to have these ones:

    • an AIX one, but IBM only offers AIX for PowerPC, don’t they – and they don’t offer them for free, even not for non-productive use
    • an SLES one, but SuSE also don’t have a policy for that …

    Current problem: looks like the connection to such an VM stalls, as soon as the screen saver gets active. That’s obviously not reasonable for my use-case.

  • “Oracle Solaris 11” VM images to run in e.g. VirtualBox

    You need to update VBox Guest Additions – that does not include removing the old version of this package, so we have to do this ourselves:

    root # pkgrm SUNWvboxguest
    root # pkgadd -d /media/VBOXADDITIONS/VBoxSolarisAdditions.pkg all