I was inspired to write this post by, "How to set up a feeder using 64-bit Ubuntu Linux on Intel platform".
Like the author of that post, I wanted to set up a feeder, but not on an RPi. Not that I have any issues with RPi, but I already have too many computers and I don't want another one, solely for a feeder. I also don't want to repurpose a computer that's currently running Windows to Linux.
Ultimately, I will probably move this feeder to a Linux VM on a Hyper-V server, because there are some limitations inherent with WSL and I already have a Hyper-V server. I started with WSL because I wanted to be sure I could overcome the USB limitation that Hyper-V and WSL both share.
Since I have an FR24 feeder that's been running continuously for almost a month, I thought I would share my results with this community in case someone else wants to try it.
The configuration is the following:
One of the limitations of WSL is that it doesn't natively support USB. Support for USB is provided by usbipd-win.
If you want to know more about WSL here are some references:
Windows Subsystem for Linux Documentation
DISCLAIMER: This post is not a tutorial on WSL, Linux, usbipd-win or fr24feed and I'm writing this from memory. I recommend that you read the references before you start.
If you try this procedure and encounter a problem, feel free to post your comments / questions and I will do my best to answer them and / or update this post if necessary.
There are two versions of WSL. I'm using WSL 2. I did not try to see if this would work on WSL 1.
PREREQUISITES:
WSL 2 is only available in Windows 11 or Windows 10 version 2004 and higher (Build 19041 and higher). Check your Windows version by selecting the Windows logo key + R, type winver, select OK.
As WSL is based on Hyper-V, the processor must support virtualization and virtualization must be enabled in the BIOS.
[PART 1 OF 4]
Like the author of that post, I wanted to set up a feeder, but not on an RPi. Not that I have any issues with RPi, but I already have too many computers and I don't want another one, solely for a feeder. I also don't want to repurpose a computer that's currently running Windows to Linux.
Ultimately, I will probably move this feeder to a Linux VM on a Hyper-V server, because there are some limitations inherent with WSL and I already have a Hyper-V server. I started with WSL because I wanted to be sure I could overcome the USB limitation that Hyper-V and WSL both share.
Since I have an FR24 feeder that's been running continuously for almost a month, I thought I would share my results with this community in case someone else wants to try it.
The configuration is the following:
- Windows 10 Version 22H2 64-bit
- WSL Version 2
- Ubuntu 22-04 LTS
- usbipd-win
- fr24feed-debian-ubuntu-amd64-i386
- Rafael Micro R820T2
One of the limitations of WSL is that it doesn't natively support USB. Support for USB is provided by usbipd-win.
If you want to know more about WSL here are some references:
Windows Subsystem for Linux Documentation
DISCLAIMER: This post is not a tutorial on WSL, Linux, usbipd-win or fr24feed and I'm writing this from memory. I recommend that you read the references before you start.
If you try this procedure and encounter a problem, feel free to post your comments / questions and I will do my best to answer them and / or update this post if necessary.
There are two versions of WSL. I'm using WSL 2. I did not try to see if this would work on WSL 1.
PREREQUISITES:
WSL 2 is only available in Windows 11 or Windows 10 version 2004 and higher (Build 19041 and higher). Check your Windows version by selecting the Windows logo key + R, type winver, select OK.
As WSL is based on Hyper-V, the processor must support virtualization and virtualization must be enabled in the BIOS.
[PART 1 OF 4]
Comment