Jul 092020
 

I helgen som var så var vi till Bankeryd/Mullsjö för att gå viltspårskurs med hundarna, när vi kom dit så fungerade inte vattenpumpen i husbilen…

Pumpen gick, men pumpade inte vatten…

Vattenpumpen är en dränkbar pump som sitter i vattentanken, vattentanken sitter på förarsidan mellan toaletten och framhjulet, bakom en lucka där man också kopplar in elen.

Continue reading »
May 292020
 

A bug in macOS 10.15.(4/5) makes (at least) 16″ MBPs to crash and reboot when waking from sleep when an external monitor is connected.

The workaround is simple however. Just set the Prevent computer from sleeping automatically when display is off in Energy Savings in System Preferences:

(Update 2020-5-29: Some reports that turning off the “Power Nap” feature will also solve this: https://discussions.apple.com/thread/251225148)

May 232020
 

Om flera får problemet med att “Den här appen delas inte längre med dig” Att “Avlasta” appen räcker bra.
Inställningar -> Allmänt -> iPhone-lagringsutrymme -> Välj den/de bråkande appen/apparna -> Avlasta App
Sedan är det bara att starta appen igen, då kommer den att laddas ner först, sedan går den att starta.

 Posted by at 13:18 CEST  Tagged with: ,
Jun 122019
 

Dear Ross Brawn!

Please award the 2019 Formula 1 world championship to Lewis Hamilton now, already, and send him on a vacation until the pre-season testing 2020. So we can watch a fight for 2nd for the rest of this season!
That way you might just keep it interesting and keep a couple of million viewers for the coming years of Formula 1.
We all know that he’ll win, we don’t need, nor do we want, to see it.
Give us something exiting to watch instead.
Oh, and please take after IndyCar in what is regarded as “racing incidents” we don’t need all the penalties you are giving out in F1. I, personally wouldn’t mind if you, also like IndyCar, limited the number of people that can work on the cars in the pitstops to 5, that would also make for more excitement during the races. We don’t need 2 second pitstops, 8 or 10 seconds would create more interesting racing.
And while you’re at it, remove the silly part where lapped cars are allowed to overtake and unlap themselves under safetycar, just let them drop to the back of the field instead of dragging out the safetycar periods. We want to see racing, not a procession. Sure the AMG GT R is a cool car, but that’s not why we watch F1…

 Posted by at 20:10 CEST  Tagged with: ,
May 082019
 

When exporting data from HipChat Server or Data Center you will end up with unusable usernames due to the fact that HipChat doesn’t care about usernames, it uses email address as it’s authentication id.

It will create usernames (or mention names (mention_name variable) as it calls it) from your users full names, i.e. Firstname Lastname becomes FirstnameLastname, it will then allow users to change this into whatever they like. Now trying to import all these users into another system that uses AD/LDAP for authentication will most likely not work since your AD/LDAP will probably (most likely) not be setup to use accountnames constructed like FirstnameLastname. When importing into for instance Mattermost it will complain about email address already used with another username and bail out.

Continue reading »
Jan 112019
 

We are programatically sending messages to and creating rooms in our HipChat server using API tokens. Sometimes you might need to increase the RateLimit to be able to process the number of API requests that the server can handle for any particular API token.

This is how we do it:

Start out by finding out the API token for the proper user:

HipChat web -> login as the API user -> Click avatar in upper right corner -> choose “Account Settings” -> “API access” -> your tokens will be listed or navigate to https://FQDN_of_your_hipchat_server/account/api after login

ssh into your HipChat Server as admin and run this:

sudo dont-blame-hipchat
cd /opt/atlassian/hipchat/sbin/
export HIPCHATTOKEN= export HIPCHATRATELIMIT=10000 /opt/atlassian/hipchat/virtualenv/bin/python _ratelimit.py
curl --include --insecure https://127.0.0.1/v2/user?auth_token=your_apiv2_auth_token | grep Ratelimit
 Posted by at 22:40 CET
Apr 232017
 

So, to avoid having more people running into this strange problem, I’d thought I’d share my experience.

One of my users tried to upgrade his workstation ( a Dell Optiplex 7040, small form factor) from Fedora 23 to Fedora 25, this seemed to go well – up until the point where he rebooted after runnning the actual upgrade.

The system refused to find the disk where the system was installed.

After a couple of tries, he reverted to re-installing from USB.

If the system was set to use UEFI-boot he could choose the “Fedora” system disk as boot-device, it would not boot though. It booted as far as mounting the root-disk, timing out a couple of times and then saying “Unable find device /dev/fedora/root”.

If we reset the system to use Legacy-boot mode, the BIOS would not allow the hard drive to be chosen for boot-device, it could be selected manually from the BIOS boot menu (accessed by pressing F12) though.

Within the BIOS setup you can chose SATA operational mode, which by default is set to use the Intel® Rapid Storage Technology – if this is changed to AHCI all is back to full working mode. We could set the “Fedora” system disk as boot device (using UEFI boot mode) and it would boot up and function without problems.

 Posted by at 14:34 CEST
Mar 112017
 

When I became responsible for the Macs we were using a manually created, individual cert (in the AD) for each Mac connecting to our internal network.

Via this post by Ben Toms and some guidance by James Turner I managed to automate the creation of (still) individual certs.

We have primarily Windows desktops and laptops in our company, and for them it “just works” when bound to our AD, why couldn’t I get that with the Mac’s as well?

So, together with one of our Windows techs I created a Config Profile containing our CA-root Cert and config to use EAP-TLS to get authenticated, it does however require an AD-computer object, which I create by binding to the AD beforehand, then it’s just a question of adding the computer object to the correct SG in the AD to get an IP-address on the correct subnet (depending on what department you work at).

I’ve had a lot of help from Joel Rennich in trying to understand this, but I’m not comfortable enough with my understanding about how this actually work to be able to present it to a technical crowd yet.

 Posted by at 16:27 CET