Alt om ingenting og litt i mellom En blogg av Knut-Olav

Innlegg merket med 'English-posts'

English-posts · Teknologi

A feature request to Google for Google Maps

6. august 2020 · Comments Off

Today I sent a feedback to Google about Google Maps, requesting a new feature. I have a wish for a new feature that I didn’t know I wanted until I moved to Oslo. I would like to set a different “Home” address for my car than my appartment. My home address is not the same [...]

[Les mer →]

Emneord:

English-posts · Linux · Server · Teknologi

Logitech Media Server on skinny Debian Jessie

29. august 2016 · Comments Off

WAV/PCM files were not played by Logitech Media Server, with zero logging in /var/log/squeezeboxserver/server.log, on a tiny installation of Debian Jessie. I tried to tune log levels and found some tools lacking, such as “flac” and “lame”, but none of them fixed my problem, and still no explanation in the log files. But I found [...]

[Les mer →]

Emneord: · ,

English-posts · Hardware · Teknologi

Enter BIOS on Lenovo E31-70

3. februar 2016 · 2 kommentarer

To enter BIOS on a Lenovo E31-70, press down and hold Fn+F2 (because some time someone in the IT industry decided that nobody uses the F-buttons, so lets hide them behind a Fn-button combination… Ok, enough with the rant for this time). The first time I entered BIOS I was presented with some debug configuration [...]

[Les mer →]

Emneord: · ,

English-posts · Programmering · Teknologi

Java RMI connectivity debugging

19. februar 2015 · Comments Off

When RMI connection fails with java.net.ConnectException: Connection refused it might be hard to figure out which hostname and port it tried to connect with, especially in third party libraries. To enable debug logging in RMI connectivity, which logs hostname and port number, set this system property: sun.rmi.transport.proxy.logLevel=BRIEF Can also be set runtime with System.setProperty before [...]

[Les mer →]

Emneord: · ,

English-posts · Teknologi

FreeBSD top of network connections

2. oktober 2012 · Comments Off

To view the active connections in FreeBSD, which might be a very good debugging/overview tool for a router, one can use ipfstat -t. This will output something like this: Source IP Destination IP ST PR #pkts #bytes ttl 10.1.1.100,1052 199.47.216.148,80 4/4 tcp 37860 6446150 119:59:07 10.1.1.100,17500 255.255.255.255,17500 0/0 udp 11681 1740469 1:55 10.1.1.100,17500 10.1.1.255,17500 0/0 [...]

[Les mer →]

Emneord: · ,

English-posts · Teknologi

Finding which Windows process uses what IP socket

2. oktober 2012 · Comments Off

To find out which application uses what IP port on a Windows, both open listening sockets and open connections, you can use netstat with some options and then grep for the port number, or findstr as it’s called in Windows world. netstat -ano | findstr “:xxxx” This outputs something like this: Aktive tilkoblinger Prot. Lokal [...]

[Les mer →]

Emneord: · , ,

English-posts · Jobb · Teknologi

KMail – Use GSSAPI for authentication to IMAP account

21. september 2012 · Comments Off

On a freshly installed Debian testing with KDE desktop, i set up KMail to read email from our corporate MS Exchange server using the IMAP protocol. The curiosity in me wanted to check out GSSAPI for authentication, but the IMAP server replied with SASL(-4): no mechanism available: no worthy mechs found. Of course, I need [...]

[Les mer →]

Emneord: · , ,

English-posts · Teknologi

Redshift – a Linux tool for late nights

6. september 2012 · Comments Off

Redshift is a nice Linux tool for adjusting the color temperature of the screen according to time of the day. At night this tool makes the screen a bit warmer, so your eyes wont “hurt” so much of the otherwise so bright display of your desktop background, browser or editor. You provide the tool with [...]

[Les mer →]

Emneord: · , ,

English-posts · Server · Teknologi

Cryptic error message from Courier IMAP server – Permission Denied

2. juli 2012 · Comments Off

I have debugged this error message for the last couple of days. Jul 1 23:11:56 lance imapd: LOGIN, user=knut-olav@hoven.ws, ip=[::ffff:AAA.BBB.CCC.DDD], port=[48700], protocol=IMAP Jul 1 23:11:56 lance imapd: knut-olav@hoven.ws: Permission denied The solution was pretty simple. The /tmp folder had bad permissions. This server was only meant for hosting email services, so bad permissions on /tmp [...]

[Les mer →]

Emneord: · , , , ,

English-posts · Teknologi

KDE – are you missing Katapult?

1. mars 2011 · Comments Off

A long time ago there was a utility called Katapult, a great application launcher for KDE. I liked the auto completion of application name or website address as I typed in the letter on my keyboard. Katapult is now deprecated, no longer installed with KDE. But there is another great application launcher for KDE, called [...]

[Les mer →]

Emneord: · , ,