Uncategorized – Mike Richards G4WNC https://photobyte.org Freelance Technical Author, Illustrator & Photographer Thu, 05 Jan 2023 23:27:43 +0000 en-GB hourly 1 https://wordpress.org/?v=6.4.2 WSJT-X vs JTDX test results and source file https://photobyte.org/wsjt-x-vs-jtdx-test-results-and-source-file/ https://photobyte.org/wsjt-x-vs-jtdx-test-results-and-source-file/#respond Thu, 05 Jan 2023 15:48:46 +0000 https://photobyte.org/?p=10566 The following links contain the audio recording and the Excel spreadsheet used for my WSJT-X vs JTDX comparison.

The following link will download the audio file (WAV format) used for the performance comparison. This was recorded in the late afternoon of 31st December 2022.

]]>
https://photobyte.org/wsjt-x-vs-jtdx-test-results-and-source-file/feed/ 0
Use Raspberry Pi Imager to burn zip file images https://photobyte.org/use-raspberry-pi-imager-to-burn-zip-file-images/ https://photobyte.org/use-raspberry-pi-imager-to-burn-zip-file-images/#respond Sat, 20 Aug 2022 13:18:11 +0000 https://photobyte.org/?p=10524 The excellent Raspberry Pi Imager software is ideal for burning zipped operating system images to a SD card or hard drive. There’s no need to unzip the file as Imager does it for you.
Here’s the step-by-step process:

  1. Download the free Imager from here: Raspberry Pi Imager software:
  2. Double-click the downloaded file to install the Imager.
  3. Run the Imager
  4. Insert your blank SD card (16GB or more) into a card reader on your Windows computer
  5. Click the Operating System box (left-hand) of Imager and scroll down to Use Custom
  6. Navigate to the zip file that you want to burn
  7. Move to the Storage box in Imager and choose your blank SD card. Be careful here to choose the correct drive
  8. Click the Write box and follow the prompts
  9. When the copy has been verified you will see a message to that effect
  10. Move your new card to the Pi, which may boot a couple of times before being ready for use.
]]>
https://photobyte.org/use-raspberry-pi-imager-to-burn-zip-file-images/feed/ 0
Reset Admin password for Zabbix web server https://photobyte.org/reset-admin-password-for-zabbix-web-server/ https://photobyte.org/reset-admin-password-for-zabbix-web-server/#respond Wed, 15 Jun 2022 11:11:59 +0000 https://photobyte.org/?p=10493 Zabbix is an excellent monitoring tool for larger computer networks but there are times when the Admin password needs to be reset. Fortunately, this is easy to do with the following steps:

  • Open Mysql or whatever database you are using. For MySql use: mysql.exe -uroot -p
  • Enter the following line, but change ‘mynewpassword’ to your new password:
  • update zabbix.users set passwd=md5(‘mynewpassword’) where alias=’Admin’;
  • NB: Don’t forget the semicolon at the end of the line.
  • To exit MySql enter: quit;
  • You will also need to restart the webserver with: sudo systemctl restart zabbix-server
  • That’s it

]]>
https://photobyte.org/reset-admin-password-for-zabbix-web-server/feed/ 0
Test files for the FT-8 performance comparison. https://photobyte.org/test-files-for-the-ft-8-performance-comparison/ https://photobyte.org/test-files-for-the-ft-8-performance-comparison/#comments Wed, 08 Jun 2022 16:11:00 +0000 https://photobyte.org/?p=10488 In the August Data Modes column in PW I will be comparing the decoding performance of WSJT-X, JTDX, MSHV and WSJT-Z. For those that want to run similar tests, I’ve uploaded my test files to DropBox and they are available HERE post.

]]>
https://photobyte.org/test-files-for-the-ft-8-performance-comparison/feed/ 2
Raspberry Pi Unreliable WiFi & Power Saving https://photobyte.org/raspberry-pi-unreliable-wifi-power-saving/ https://photobyte.org/raspberry-pi-unreliable-wifi-power-saving/#respond Sat, 21 May 2022 16:44:47 +0000 https://photobyte.org/?p=10481 When using the Raspberry Pi over marginal Wi-Fi links I have experienced problems with the Pi dropping the network entirely. When that happens the only fix is a reboot. After much searching, it would appear that the Wi-Fi power save feature may be contributing to the problem. The Wi-Fi power save is enabled by default but can be temporarily disabled by entering:

iw wlan0 set power_save off

To make the change permanent, open a terminal session and use the following commands to edit the rc.local file.

sudo nano /etc/rc.local

In a blank line above exit 0, enter the following:

/sbin/iw dev wlan0 set power_save off

Next press Ctl+X followed by Enter to exit and save the file
That completes the changes and you can reboot the Pi. To check that the wlan power save is disabled use the following command:

iw wlan0 get power_save

]]>
https://photobyte.org/raspberry-pi-unreliable-wifi-power-saving/feed/ 0
Front & rear panel graphics for the NanoKeyer https://photobyte.org/front-rear-panel-graphics-for-the-nanokeyer/ https://photobyte.org/front-rear-panel-graphics-for-the-nanokeyer/#respond Tue, 10 May 2022 16:44:52 +0000 https://photobyte.org/?p=10475 The NanoKeyer by Oscar, DJ0MY is an excellent project for which Oscar can supply blank PCBs. These are designed to fit in a Fischer case, which is, unfortunately, not available in the UK. However, there is a smaller alternative Fischer case that is available from Farnell. Here are the case details

Farnell order code: 2481096 cost is £21.28 each

The Fischer code for the case is: AKG105-30-100ME

To help with panel markings, I have produced PDF artwork that can be printed onto the clear, self-adhesive, film that’s available for inkjet printers. When using your printer, you must ensure it prints to scale. For this, you will need to deselect ‘fit to page’ or any other scaling settings. In addition to being useful for panel markings, the artwork can be printed onto plain paper and used as a drilling guide.

Click here to download the PDF: NanoKeyer Graphics

]]>
https://photobyte.org/front-rear-panel-graphics-for-the-nanokeyer/feed/ 0
GoPro Hero 10 WebCam on Windows 11 https://photobyte.org/gopro-hero-10-webcam-on-windows-11/ https://photobyte.org/gopro-hero-10-webcam-on-windows-11/#respond Thu, 28 Apr 2022 09:40:31 +0000 https://photobyte.org/?p=10460 Having recently changed to a GoPro Hero 10, I was disappointed to find that the GoPro WebCam application doesn’t work on Windows 11. This is a driver problem that GoPro has yet to fix. Fortunately, there’s a quick fix that will get the camera working again. Here are the steps to take:

  1. Make sure the GoPro WebCam app is running on your PC. It should be visible in the task panel.
  2. Power up and connect your Hero 10 using a USB cable; the GoPro should display USB connected.
  3. Open Device Manager – Network adapters and you should see the GoPro listed as GoPro UsbNcm Host Device with an exclamation mark. The exclamation mark indicates a driver problem.
  4. Right-click on the GoPro entry and choose “Update Drivers” – “Browse my computer for drivers”
  5. In the next window choose “Let me pick from a list of available drivers on my computer”
  6. You will probably see two drivers, the GoPro and a generic driver called “UsbNcm Host Device”.
  7. Choose the generic device and click Next
  8. That will update the driver.
  9. Exit and restart the GoPro WebCam application and your camera should be working again.

]]>
https://photobyte.org/gopro-hero-10-webcam-on-windows-11/feed/ 0
Installing Unsigned Drivers on Windows 10 or 11 https://photobyte.org/installing-unsigned-drivers-on-windows-10-or-11/ https://photobyte.org/installing-unsigned-drivers-on-windows-10-or-11/#comments Tue, 22 Feb 2022 04:43:22 +0000 https://photobyte.org/?p=10404 There may be occasions where you need to install unsigned drivers on a Windows PC. This can be achieved using several methods, but my recommended technique is to temporarily disable the Windows driver signing enforcement. This is easy to do and exposes your PC for the minimum amount of time. I’ve shown step-by-step instructions below.

  1. Click the Windows icon and go to the Power menu
  2. Press and hold the Shfit key and select Restart
  3. The PC will restart in diagnostic mode
  4. Select Troubleshoot – Advanced Options – Startup Settings
  5. Click the on-screen Restart button
  6. The PC will restart and display the Startup Settings panel
  7. Press 7 – Disable driver signing enforcement
  8. The PC will now restart with the driver signing enforcement disabled
  9. Now you can go ahead and install your unsigned drivers
  10. When your unsigned drivers have been installed, restart the PC
  11. This will reset the driver signing enforcement so your PC is secured again

The Windows signing requirement only applies during driver installation so, once the drivers are installed, you can revert to normal enforcement rules without any ill effects.

Mike – G4WNC

]]>
https://photobyte.org/installing-unsigned-drivers-on-windows-10-or-11/feed/ 4
Raspberry Pi MotioneyeOS with BlueIris Security https://photobyte.org/raspberry-pi-motioneyeos-with-blueiris-security/ https://photobyte.org/raspberry-pi-motioneyeos-with-blueiris-security/#comments Mon, 19 Oct 2020 16:28:50 +0000 https://photobyte.org/?p=9964 The MotioneyeOS image for the Raspberry Pi makes a great, stand-alone, security camera or a wildlife camera. However, I wanted to be able to use the video stream as part my BlueIris video surveilance system. After much searching, I found the solution.

In addition to storing video files, when movement is detected, the MontioneyeOS software also supplies a video stream that can be used to provide a live view of what’s going on. This video stream uses the MJPEG format and is available on port 8081 of the Pi address. You can access this stream from any computer on the local network by using the Pi IP followed by :8081. Here’s an example for a Pi with IP address 192.168.0.123

http://192.168.0.123:8081

To use this stream in BlueIris, you need to add a new camera and make the following settings in the video configuration panel:

  • Address: Use http:// 192.168.0.123:8081* NB: Use your Pi IP address!
  • User: admin and password empty
  • Make: Generic/ONVIF
  • Model: MJPEG stream
  • Media/video/RTSP port: 8081
  • Video Main stream: /mjpeg.cgi

Next you need to make a couple of changes in MotioneyeOS.

  • Login to your camera and go to Video Streaming
  • Switch Video Streaming ON
  • Set the frame rate and quality. I use 15fps and 75%
  • Turn Motion optimisation ON. This reduces the frame rate in the absense of movement and helps reduce the loading on the computer running the security system.

It’s worth being conservative with the video resolution and frame rates, especially if you’re using Wi-Fi for the camera links.

]]>
https://photobyte.org/raspberry-pi-motioneyeos-with-blueiris-security/feed/ 2
Troubleshooting systemd Services https://photobyte.org/troubleshooting-systemd-services/ https://photobyte.org/troubleshooting-systemd-services/#comments Thu, 26 Mar 2020 15:52:59 +0000 https://photobyte.org/?p=9735

Raspbian, like most Linux distributions, has changed to using systemd as the primary software suite to control the Linux system. Part of systemd’s responsibilities include running the services that provide much of the Linux functionality. Systemd is also the ideal tool for starting software at boot. I use this feature for my RTL-SDR Server and the Spy Server pre-formatted SD cards. Whilst setting up a new service is relatively simple, there are occasions when things don’t behave as expected; that’s when you need to understand a few of the trouble shooting tools. In this post I’ll cover some commands and tools that I’ve found useful.

systemd: services on Linux are called using a configuration file known as a Unit file. This is a small text file that contains the command line to run your program plus some instructions to let systemd know how and when to run the program. For example, in my RTL-SDR server I don’t want systemd to start the server until after the network is fully connected. I won’t go into the details of the Unit file here as there are lots of tutorials already provided. You can control the running of services using the following commands:

  • sudo systemctl start myservice – starts the service
  • sudu systemctl stop myservice – stops the service
  • sudo systemctl status myservice – prints a status report
  • sudo systemctl restart myservice – restarts the service and loads the configuration file

NB: It’s important to note that systemctl start, will start the service but it won’t usually read the service’s configuration file. This is important to know if you’re changing configuration parameters to try and solve a problem. To restart the process and reload the configuration file, you MUST use systemctl restart.

journalctl: Linux keeps comprehensive logs of just about everything that happens on the system, including messages and errors from system units/services. The tool to view these logs from the command line is journalctl. This command has a host of filtering options so that you only have to look through relevant messages.

To only see messages relating to your unit, use the -u suffix. For example, to see only messages from a unit called test.service use:

  • journalctl -u test.service
  • To see the messages in real-time add -f like so: journalctl -u test.service -f
  • If you want to restrict the number of lines on display add -n 20 for 20 lines
  • If you only want recent logs you could add –since “5 minutes ago”
  • If you only want current logs you could add –since “now”

To clear the journal, enter the following two lines:
sudo journalctl --rotate
sudo journalctl --vacuum-time=1s

Cockpit: This software package is popular with system administrators as it provides easy visibility of a server’s state and allows a degree of remote management. It can also provide useful information when troubleshooting. Cockpit runs as a web service so the machine can be accessed by anyone on the local network who has the hosts username/password. To access Cockpit from the host machine, enter localhost:9090 in the browser address bar and sign on with the host’s user/password. To access from another machine enter the host’s ip address followed by :9090. To install Cockpit use: sudo apt install -y cockpit

]]>
https://photobyte.org/troubleshooting-systemd-services/feed/ 5