The every day things from Thalamus' life.

Thalamus' Blog

10 January, 2019

sudoers … error and augeas pr 2019-01

Filed under: ComputerStuff_en — Thalamus @ 10:33

is pr. Jan. 2019 not currently supported by augeas.

• • •

25 May, 2018

Anonymous vsftpd and upload only

Filed under: ComputerStuff_en — Thalamus @ 13:48

Maybe you want to allow anonymous users to upload files, but, not being able to delete the content afterwards ? Here is a config that seems to be working for the purpose for vsftpd v 3.0.2 on a RedHat7 at least.

# anon_other_write_enable=YES does mean that users CAN delete content.
• • •

24 January, 2018

Outlook and Preview Pange

Filed under: ComputerStuff_en — Thalamus @ 10:17

I have a love/hate relationship with outlook. I prefer to use it over webmail @ work, but, I so friggin hate some off the default settings. The absolute worst is the reading pane. So, my trick into making Outlook behave is delete the Outlook on the desktop. Make a new shortcut and then just add


as a parameter.

• • •

24 October, 2017

sudo to another user

Filed under: ComputerStuff_en — Thalamus @ 13:40

Maybe topic is a bit misleading. But, there might be cases where the admin has given you permission to use sudo to become another user on the system. Eg. “As Whom” in a IDM like freeIPA.

$ sudo -iu tomcat
• • •

11 October, 2017

ssh tunnel to gitlab

Filed under: ComputerStuff_en — Thalamus @ 15:14

Establish the http proxy tunnel ( don’t disconnect it )

$ ssh -L 8080: ssh-proxy-host ( is running gitlab )

In another terminal, I can now use git over the localhost to the tunnel on port 8080

$ git clone http://localhost:8080/repo/repo.git
• • •

6 December, 2016

Windows and UTC bios time.

Filed under: ComputerStuff_en — Thalamus @ 06:13

Hmmm. On my gaming comp – I have a multiboot of Fedora and Win7. Time get screwed between those operation systems and by so much that network time daemons refuse to fix it. This, I’m told is the fix to make Windows use UTC Bios time.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] “RealTimeIsUniversal”=dword:00000001
• • •

3 November, 2016

Parts arrived and trying out stuff

Filed under: ComputerStuff_en,Pinball — Thalamus @ 01:12

So, a couple of days ago I got the shipment from VirtuaPin. The most exciting item was definitely the DMD. But, also the AMP is kind of cool. The later, I haven’t really setup yet. I change the electrical socket from US standard to EU, but, it is still just relaxing in the corner of my now so untidy room. I fear my wife will kick my ass out the door the day this build is finished …


I’ve been a Desktop VP player for years. Going from that setup to use a DMD had some tweaks that I’m going to redo once I’m working with the real computer that will control the cab. One thing I learned. If you plan to use a PSU, without it being connected to a computer, you will have to short the green and the adjacent black cable in order for the PSU to start to deliver any power.

First, to run in native full screen, since I’ve been running a lot of tables in beforehand, there are some registry changes that can be done. You need to change, for the current version of VP at least, the registry entry for ddraw to 0.


Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Freeware\Visual PinMame\lotr]

– or, you could do it in one sweep … add this key to

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Freeware\Visual PinMame\default]

Another thing you might need to do for some tables is the change in the script, .hidden = True.

I’ve also made a note to myself that I really need to make sure that the table monitor needs to be at the same Hz as the back-plane monitor. I expect that to become 60Hz. Having a hard time to find any Monitor or TV in around 43-46″ with higher refresh rates that hasn’t been reported to have bad frame lags. I’m currently considering going for a 43″ monitor, but, it is not set in stone just yet. Right at this moment, the monitor in question is not readily available to buy. Expected mid November.

I emailed Steve about the parts I’ve ordered from zebsboards. He told me that he expected the set to be completed and shipped by the end of this week. If that is true, I might get the parts by the end of next week.

Another note to myself, not really pinball related is that … if for some reason you can’t upload files to a samba server – or should I say, only very small files but download is OK. Then, it might be that you need to turn off “Large Send Offload” under the Advanced NIC settings. I must have used a couple of hours before I found this to be the culprit.

• • •

21 August, 2016

Netgear R7000 Nighthawk and auto negotiation issues

Filed under: ComputerStuff_en — Thalamus @ 11:50

I have a Netgear R7000 – code named Nighthawk AP in my home. I find that it has a nice range and I’m quite pleased with it. There is one thing though that irritates me. It sometimes doesn’t give me 1Gb link speed on the wire.

So, who is the culprit in this senario ? Not 100% sure, but I believe it might be the routers fault.

On my gaming PC, I have a dual boot of Fedora and Win7. Since it is a gaming PC, I mostly use it for gaming. And this is where the problem is most obvious. This PC has a rather cheap Realtek 1G Nic. I often, from poweroff, don’t get more than 100Mb link to the router. I’ve tried to force the NIC to run 1Gb in the driver – but, that doesn’t help. I can see the link going on/off … 5ish times, before ending on 100Gb. Yes, its the latest and greatest driver from Realtek.

So, now everyone would ask – have you tried another cable ? Yes, I have. The solution I’ve found is. Start Fedora, from here, force the driver to 1Gb. I see some of the same symptoms. But, it seems that Fedora doesn’t fall back to 100Gb as quickly as the Win7 driver does. So, after some up/down attempts, the R7000 “gives up” and accepts the 1Gb link.

From here, if I just reboot the machine, and fire up Win7. The link falls out just briefly as expected when the driver is loaded, but, it now comes up with 1Gb, every time.

Who to blame ? Hmm … it is not the NIC, it is not the cable – it might be crappy Win7 driver, but, I feel it is just as likely the R7000 fault.

I might some day soon reflash this router with DD-WRT, since it doesn’t have to do NAT for me.

• • •

22 July, 2016

xauth and sudo

Filed under: ComputerStuff_en — Thalamus @ 12:22

A tip that can be useful if you need to run as root an X11 app and you get auth error messages is ‘X11 connection rejected because of wrong authentication’ is to use xauth and .Xauthority to resolve the problem.

client $ ssh user@host
server $ sudo su
server # xauth merge /home/user/.Xauthority
server # /path/to/app &

• • •

3 June, 2016

Bash loops can be useful

Filed under: ComputerStuff_en — Thalamus @ 07:37

Checking the free mem usage of several – almost same named host.
This will start with 2 – loop to 5 – increment by 1.
The -n option is useful here, since it prevents ssh from reading stdin.

for a in {2..5..1}; do ssh -n rhev$a 'free -hw'; done
• • •
Next Page »