Brucewang 發表於 2022-5-25 17:13:09

openwebrx於linux安裝紀錄

本帖最後由 Brucewang 於 2022-5-27 06:59 編輯

因安裝openwebrx 所蒐集的一些紀錄跟大家分享
我有兩隻sdr
1. rtl-sdr (clone版)
2. RSP1(clone版)

系統需要
sudo apt-get update
sudo apt-get install git build-essential cmake libfftw3-dev python3 python3-setuptools rtl-sdr netcat libsndfile-dev librtlsdr-dev automake autoconf libtool pkg-config python2.7 libfftw3-dev vim

安裝SDRPlay RSP1-API 驅動-擇一即可
安裝SDRPlay RSP1-API 驅動 V2.xx
wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-2.13.1.run
sudo chmod 755 SDRplay_RSP_API-Linux-2.13.1.run
sudo sh SDRplay_RSP_API-Linux-2.13.1.run
安裝SDRPlay RSP1-API 驅動 V3.xx
wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run
sudo chmod 755 SDRplay_RSP_API-Linux-3.07.1.run
sudo sh SDRplay_RSP_API-RPi-Linux-3.07.1.run

建立blacklist清單
sudo echo "blacklist dvb_usb_rtl28xxu blacklist rtl2832 blacklist rtl2830 blacklist sdr_msi3101 blacklist msi001 blacklist msi2500" >> /etc/modprobe.d/SDR-blacklist.conf

#RTL-SDR
blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830
#RSP1
blacklist sdr_msi3101
blacklist msi001
blacklist msi2500
卸載mod for Rtlsdr
rmmod dvb_usb_rtl28xxu rtl2832 rtl2830
sudo systemctl restart systemd-modules-load.service
卸載mod for SDRPlay
#Then, unplug the SDRPlay, remove the offending modules and restart the module loading service
#(or whatever loads the modules on your Linux distribution):
sudo rmmod msi001 msi2500
sudo systemctl restart systemd-modules-load.service
安裝SoapySDR
sudo apt-get install libsoapysdr0.6 libsoapysdr-dev soapysdr-tools
# also install sdr-specific modules:
sudo apt-get install soapysdr-module-all
給SDRPlay的插件
#如果SDRPLAY API 是V2.xx
sudo git clone https://github.com/pothosware/SoapySDRPlay2.git
cd SoapySDRPlay2
mkdir build
cd build
cmake ..
make
sudo make install
cd ../..
#如果SDRPLAY API 是V3.xx
sudo git clone https://github.com/pothosware/SoapySDRPlay3.git
cd SoapySDRPlay3
mkdir build
cd build
cmake ..
make
sudo make install
cd ../..
安裝openwebrx
https://www.openwebrx.de/
For Debian10x64
wget -O - https://repo.openwebrx.de/debian/key.gpg.txt | apt-key add
echo "deb https://repo.openwebrx.de/debian/ buster main" > /etc/apt/sources.list.d/openwebrx.list
apt-get update
apt-get install openwebrx

參考文章

SoapySDR參考文章
https://github.com/pothosware/SoapySDR/wiki
https://github.com/pothosware/SoapySDRPlay3/wiki
軟解AMBE/IMBE的plugin
https://github.com/knatterfunker/codecserver-softmbe/
品牌與採樣頻寬
https://en.m.wikipedia.org/wiki/List_of_software-defined_radios
其他資料

安裝libusb驅動
sudo apt-get install cmake libusb-1.0-0-dev
自行編譯SoapySDR
git clone https://github.com/pothosware/SoapySDR.git
cd SoapySDR
mkdir build
cd build
cmake ..
make
sudo make install
cd ../..
自行編譯RTLSDR
1.安裝rtl-sdr
git clone https://github.com/keenerd/rtl-sdr.git
cd rtl-sdr/ && mkdir build && cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make && sudo make install && sudo ldconfig
編譯csdr 找到兩個來源
git clone https://github.com/sgentle/csdr.git
cd csdr
make
make install
編譯csdr 找到兩個來源
git clone https://github.com/simonyiszk/csdr.git
cd csdr
make
make install
編譯openwebrx
git clone https://github.com/simonyiszk/openwebrx.git https://github.com/jketterl/openwebrx.git

感謝技術支援
BX2AJG
BX4ACV
BU2FS

Amigo9453 發表於 2022-5-26 09:17:39


哇   !!   

感   謝   分   享   啦    .............................................................




{:4_211:}      ........................................................................


{:4_211:}      ........................................................................




taokas 發表於 2022-5-26 10:18:14

感 謝 分 享                                    

cmwang 發表於 2022-5-26 11:34:51

補充一下一些東西....

1:RPi3或RPi4能支援的連線數有限(CPU不夠力),大致上3MS/sec只能支援2-3個client,要跑3MS/sec以上還是需要用X86....
2:CPU跑得動的話單一主機可以插多根SDR dongle同時跑不同profile(單一SDR dongle是可以設多profile,但每次只能跑單一profile,也就是多個user連線時,所有人都只能聽最後選擇的prifile)....
3:插多個SDRplay時device identifier的serial#是以"SoapySDRUtil --find"看到的為準,Airspy的話SoapySDR預設的Airspy plugin無法支援,要另外安裝....
4:A社平台USB2.0部分會有不同port共用頻寬的問題,高取樣速率時要把SDR dongle插在沒有共用頻寬問題的port上,I社平台至少在我用的B560上沒看到類似的問題....
5:這類應用不適合在VM中執行,主因是HW-Hypervisor-Guest間會掉USB封包,除非透過Direct I/O或VT-d之類讓Guest直接抓到USB host controller,但這也太殺雞用牛刀了點....





Brucewang 發表於 2022-5-26 15:35:43

本帖最後由 Brucewang 於 2022-5-26 17:32 編輯

同場加映APRS igate 設定

APRS-IS server 選擇
asia.aprs2.net
rotate.aprs2.net
china.aprs2.net


取得 APRS-IS network password
#這很神祕,搞了很久還是不知道為什麼??
http://22meters.com/index.php




參考資料
https://aprs.fi/
http://www.aprs-is.net/
https://opensource.com/article/18/3/how-configure-aprs-igate-raspberry-pi
https://321421.xyz/?p=187
https://bg0axe.com/2014/01/igate-digipeater/
https://gadgeteer.co.za/openwebrx/
頁: [1]
查看完整版本: openwebrx於linux安裝紀錄