Search found 384 matches

by peter_b
Thu Dec 17, 2020 12:00 am
Forum: Knowledge Base
Topic: PHP Fatal error: "Cannot declare class" (due to symlink)
Replies: 0
Views: 11732

PHP Fatal error: "Cannot declare class" (due to symlink)

[PROBLEM] I ran into the following error message when I tried to make CollectiveAccess (CA) available in another folder that was merely a symbolic link to the previous installation: PHP Fatal error: Cannot declare class WidgetManager, because the name is already in use in /var/www/providence-ca/app...
by peter_b
Tue Dec 08, 2020 3:02 pm
Forum: HowTo's
Topic: VIM: indent multiple files at once
Replies: 0
Views: 10144

VIM: indent multiple files at once

I often use vim to quickly beautify / pretty-print structured text - like XML or programming code, etc: In VIM this is: gg =G gg: Go to top =: indent G: until bottom. In order to do this with multiple files, do the following: 1) Open the files you want to indent in tabs. For example all XMLs in the ...
by peter_b
Tue Nov 03, 2020 2:04 pm
Forum: HowTo's
Topic: Manually force date by ntpd instead of ntpdate
Replies: 1
Views: 9156

Re: Manually force date by ntpd instead of ntpdate

Short update (Debian based systems, including *Ubuntu): 1) You need to stop the NTP service before $ systemctl stop ntp 2) You don't need to provide a timeserver Since the default ntp configuration on a system contains a list of timeservers, it also works without providing any server: $ ntpd -gq If ...
by peter_b
Thu Oct 22, 2020 12:56 am
Forum: HowTo's
Topic: Howto network benchmark with "iperf"
Replies: 1
Views: 6589

HowTo: Test / verify jumbo frames (MTU 9000)

Output 10 intermediate test results and the MTU size at the end: $ iperf -c SERVER1 -i1 -t 10 -m Here's an example what this could look like: ------------------------------------------------------------ Client connecting to zehn2, TCP port 5001 TCP window size: 325 KByte (default) ------------------...
by peter_b
Thu Oct 22, 2020 12:46 am
Forum: HowTo's
Topic: Howto network benchmark with "iperf"
Replies: 1
Views: 6589

Howto network benchmark with "iperf"

Here's an excellent article by the Thomas Krenn crew about benchmarking network performance using iperf (German). Here's a short summary of how to quickly run a TCP test between 2 machines: Server1: Start listening. $ iperf -s ------------------------------------------------------------ Server liste...
by peter_b
Tue Oct 20, 2020 11:17 pm
Forum: Knowledge Base
Topic: Netgear R7800: "please upgrade to a version 4 or higher..."
Replies: 0
Views: 10438

Netgear R7800: "please upgrade to a version 4 or higher..."

[PROBLEM] On a freshly bought, " Netgear Nighthawk X4S AC2600 R7800 ", I was surprised to get the following message in a Firefox 81.0 on Xubuntu 18.04: Please upgrade to a version 4 or higher browser so that you can use this setup tool (and see lots of great sites on the Internet!) ...con...
by peter_b
Mon Oct 12, 2020 11:20 pm
Forum: Knowledge Base
Topic: PHP Composer
Replies: 0
Views: 8734

PHP Composer

[PROBLEM] Trying to update packages using composer: $ composer update Throws the following error message: Loading composer repositories with package information [Composer\Downloader\TransportException] The "https://packagist.org/packages.json" file could not be downloaded: SSL operation f...
by peter_b
Wed Sep 30, 2020 3:17 am
Forum: Brainstorming & Smalltalk
Topic: Stuff to print on T-Shirts
Replies: 32
Views: 91976

Re: Stuff to print on T-Shirts

I don't rest:
I prepare.
I don't filter:
I analyze.
Correct. But wrong.
by peter_b
Tue Sep 15, 2020 6:40 pm
Forum: Knowledge Base
Topic: Huawei HA35-22: External antenna for LTE-only
Replies: 0
Views: 9259

Huawei HA35-22: External antenna for LTE-only

[QUESTION] The default hybrid modem/router supplied by Magenta (T-Mobile) in Austria is a Huawei HA35-22. On the back it has 2 external antenna connectors (SMA female) under a plastic cover. These connectors are neither shown nor mentioned in its user manual. Which signal would these antennas ampli...
by peter_b
Mon Sep 07, 2020 5:16 pm
Forum: Knowledge Base
Topic: Huge xsession-errors: "video mixer rendering failure..."
Replies: 0
Views: 8375

Huge xsession-errors: "video mixer rendering failure..."

[PROBLEM] My ~/xsession-errors file has grown to several gigabytes size, mostly flooded with the following message: vdpau_chroma filter error: [00007fc82c01c4e0] video mixer rendering failure: An invalid handle value was provided.vdpau_chroma filter error: video mixer attributes failure: An invalid...
by peter_b
Mon Aug 10, 2020 5:17 pm
Forum: Knowledge Base
Topic: VLC: Cannot resolve xxx port yyy : Name or service not known
Replies: 0
Views: 7894

VLC: Cannot resolve xxx port yyy : Name or service not known

[PROBLEM] Trying to start VLC from commandline to have its web-interface listen to a certain IP/port: $ vlc --intf http --http-host localhost:9090 (This is according to VLC's official HTTP-requests documentation for this) ...gives me the following error message: VLC media player 3.0.8 Vetinari (rev...
by peter_b
Tue Aug 04, 2020 9:11 pm
Forum: Knowledge Base
Topic: Doxygen: "dot not found"
Replies: 0
Views: 9266

Doxygen: "dot not found"

[PROBLEM] Running Doxygen on Debian 9 fails with an error message that says something like: dot: not found (I forgot to copy the original error message...) [SOLUTION] "dot" is an executable included in the GraphViz package (which seemed to be missing and not listed as dependency). So: $ a...
by peter_b
Fri Jun 12, 2020 6:07 pm
Forum: HowTo's
Topic: Debian-based system: Verify all packages (integrity)
Replies: 0
Views: 8023

Debian-based system: Verify all packages (integrity)

Code: Select all

$ apt install debsums
# Verify all packages and show only errors:

Code: Select all

$ sudo debsums -s
Remove the "-s" to get a verbose output that shows all package files that are okay too.

Links:
https://blog.sleeplessbeastie.eu/2015/0 ... -packages/
by peter_b
Tue Jun 09, 2020 7:16 pm
Forum: Knowledge Base
Topic: http over SSH port forward = weird characters
Replies: 0
Views: 7586

http over SSH port forward = weird characters

[PROBLEM] I try to open a website over SSH port-forwarded SSL , and get a reply but it's just some weird unicode blocks. The setup is as follows: Localhost: My local PC "Server1": My proxy server "Server2": 3rd party server, running https website - but restricted access to IP of...