Small fixes

This commit is contained in:
Carl Vargklint 2025-01-21 20:26:34 +01:00
parent 3ead3cc338
commit 47121ebffa
2 changed files with 17 additions and 6 deletions

View File

@ -1,13 +1,24 @@
### LibreSDR B210 Mini Firmware and documentation ### LibreSDR B210 Mini Firmware and documentation
## Getting started ## Requirements:
# Requirements:
- - An internet connection and a machine running any of the following distros:
- Debian, Ubuntu, Linux Mint, Pop!OS, KaliOS
- Fedora, RHEL, Centos
- This repo with install.sh: ensures all proper libraries at least on Fedora and Ubuntu. - This repo with install.sh: ensures all proper libraries at least on Fedora and Ubuntu.
## Locations: ## Locations:
- /usr/lib/ettus/ - Firmware location - /usr/lib/ettus/ - Firmware location
## How to run:
- Run install.sh as root
## How to install manually:
- Create /usr/lib/ettus/ with mkdir
- Copy the contents of the firmware folder into the /usr/lib/ettus/ folder and ensure root ownership with 775.
- Install the uhd-tools package, might have a different name on other distros.
- Run as root: echo "UHD_IMAGES_DIR=/usr/lib/ettus/" >> /etc/environment
- Run as root: uhd_image_loader --download --args type=b200

View File

@ -30,7 +30,7 @@ detect_distro() {
# Check distro version to install correct packages # Check distro version to install correct packages
DISTRO_ID=$(detect_distro) DISTRO_ID=$(detect_distro)
case "$DISTRO_ID" in case "$DISTRO_ID" in
debian|ubuntu|pop|linuxmint|elementary) debian|ubuntu|pop|linuxmint|elementary|kali)
apt install -y $PACKAGES_DEBIAN apt install -y $PACKAGES_DEBIAN
;; ;;