Gr-smart meters on WSL: Difference between revisions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
<br /> | <br /> | ||
==Install WSL and Ubuntu 22.04== | |||
Open PowerShell or cmd prompt as '''administrator''' and enter: | Open PowerShell or cmd prompt as '''administrator''' and enter: | ||
wsl --install | wsl --install | ||
| Line 14: | Line 14: | ||
Once they are complete, start up Ubuntu which should be searchable through the Start menu as '''Ubuntu 22.04.'''x '''LTS App.''' | Once they are complete, start up Ubuntu which should be searchable through the Start menu as '''Ubuntu 22.04.'''x '''LTS App.''' | ||
<br /> | |||
==Install GNURadio and gr-smart_meters== | |||
You can follow the guide at [[Gr-smart meters Setup Guide]] since it is for Ubuntu 22.04. Come back to the next step below when you have finished. | You can follow the guide at [[Gr-smart meters Setup Guide]] since it is for Ubuntu 22.04. Come back to the next step below when you have finished. | ||
<br /> | |||
==Install graphical support specific for WSL== | |||
If you try to run gnuradio-companion without doing this you will get an error stating there is no window environment. Installing these packages within the Ubuntu terminal takes care of that. | If you try to run gnuradio-companion without doing this you will get an error stating there is no window environment. Installing these packages within the Ubuntu terminal takes care of that. | ||
sudo apt install libgtk-3-dev mesa-utils libgl1-mesa-glx ttf-mscorefonts-installer | sudo apt install libgtk-3-dev mesa-utils libgl1-mesa-glx ttf-mscorefonts-installer | ||
| Line 23: | Line 25: | ||
[[File:Grc_on_wsl.jpg|alt=|frameless|600x600px]] | [[File:Grc_on_wsl.jpg|alt=|frameless|600x600px]] | ||
==== Install Command Line Interface | <br /> | ||
==Connect Software Defined Radio (SDR) to WSL== | |||
===Install Command Line Interface=== | |||
When you connect a SDR to Windows using USB, WSL can't see that device. You must use an application called '''usbipd''' to transfer them from Windows to WSL. | When you connect a SDR to Windows using USB, WSL can't see that device. You must use an application called '''usbipd''' to transfer them from Windows to WSL. | ||
This [https://learn.microsoft.com/en-us/windows/wsl/connect-usb guide] by Microsoft provides instructions on how to install and use this open source project available [https://github.com/dorssel/usbipd-win/releases here]. | This [https://learn.microsoft.com/en-us/windows/wsl/connect-usb guide] by Microsoft provides instructions on how to install and use this open source project available [https://github.com/dorssel/usbipd-win/releases here]. | ||
===Optional GUI Interface=== | |||
This [https://gitlab.com/alelec/wsl-usb-gui GUI interface] is a wrapper for the command line tool and can be downloaded [https://gitlab.com/alelec/wsl-usb-gui/-/releases here]. | This [https://gitlab.com/alelec/wsl-usb-gui GUI interface] is a wrapper for the command line tool and can be downloaded [https://gitlab.com/alelec/wsl-usb-gui/-/releases here]. | ||
[[File:WSL USB GUI Manager.png|frameless|781x781px]]<br /> | [[File:WSL USB GUI Manager.png|frameless|781x781px]]<br /> | ||