台灣無線電俱樂部 TAIWAN RADIO CLUB ( TRC )

標題: openwebrx於linux安裝紀錄 [打印本頁]

作者: Brucewang    時間: 2022-5-25 17:13
標題: openwebrx於linux安裝紀錄
本帖最後由 Brucewang 於 2022-5-27 06:59 編輯

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

系統需要
  1. sudo apt-get update
  2. 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
  1. wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-2.13.1.run
  2. sudo chmod 755 SDRplay_RSP_API-Linux-2.13.1.run
  3. sudo sh SDRplay_RSP_API-Linux-2.13.1.run
複製代碼

安裝SDRPlay RSP1-API 驅動 V3.xx
  1. wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run
  2. sudo chmod 755 SDRplay_RSP_API-Linux-3.07.1.run
  3. sudo sh SDRplay_RSP_API-RPi-Linux-3.07.1.run
複製代碼


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

  1. #RTL-SDR
  2. blacklist dvb_usb_rtl28xxu
  3. blacklist rtl2832
  4. blacklist rtl2830
  5. #RSP1
  6. blacklist sdr_msi3101
  7. blacklist msi001
  8. blacklist msi2500
複製代碼

卸載mod for Rtlsdr
  1. rmmod dvb_usb_rtl28xxu rtl2832 rtl2830
  2. sudo systemctl restart systemd-modules-load.service
複製代碼

卸載mod for SDRPlay
  1. #Then, unplug the SDRPlay, remove the offending modules and restart the module loading service
  2. #(or whatever loads the modules on your Linux distribution):
  3. sudo rmmod msi001 msi2500
  4. sudo systemctl restart systemd-modules-load.service
複製代碼

安裝SoapySDR
  1. sudo apt-get install libsoapysdr0.6 libsoapysdr-dev soapysdr-tools
  2. # also install sdr-specific modules:
  3. sudo apt-get install soapysdr-module-all
複製代碼

給SDRPlay的插件
#如果SDRPLAY API 是V2.xx
  1. sudo git clone https://github.com/pothosware/SoapySDRPlay2.git
  2. cd SoapySDRPlay2
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make
  7. sudo make install
  8. cd ../..
複製代碼

#如果SDRPLAY API 是V3.xx
  1. sudo git clone https://github.com/pothosware/SoapySDRPlay3.git
  2. cd SoapySDRPlay3
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make
  7. sudo make install
  8. cd ../..
複製代碼

安裝openwebrx
https://www.openwebrx.de/
For Debian10x64
  1. wget -O - https://repo.openwebrx.de/debian/key.gpg.txt | apt-key add
  2. echo "deb https://repo.openwebrx.de/debian/ buster main" > /etc/apt/sources.list.d/openwebrx.list
  3. apt-get update
  4. 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驅動
  1. sudo apt-get install cmake libusb-1.0-0-dev
複製代碼

自行編譯SoapySDR
  1. git clone https://github.com/pothosware/SoapySDR.git
  2. cd SoapySDR
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make
  7. sudo make install
  8. cd ../..
複製代碼

自行編譯RTLSDR
1.安裝rtl-sdr
  1. git clone https://github.com/keenerd/rtl-sdr.git
  2. cd rtl-sdr/ && mkdir build && cd build
  3. cmake ../ -DINSTALL_UDEV_RULES=ON
  4. make && sudo make install && sudo ldconfig
複製代碼

編譯csdr 找到兩個來源
  1. git clone https://github.com/sgentle/csdr.git
  2. cd csdr
  3. make
  4. make install
複製代碼

編譯csdr 找到兩個來源
  1. git clone https://github.com/simonyiszk/csdr.git
  2. cd csdr
  3. make
  4. make install
複製代碼

編譯openwebrx
  1. git clone https://github.com/simonyiszk/openwebrx.git https://github.com/jketterl/openwebrx.git
複製代碼


感謝技術支援
BX2AJG
BX4ACV
BU2FS

作者: Amigo9453    時間: 2022-5-26 09:17

哇   !!   

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




      ........................................................................


      ........................................................................





作者: taokas    時間: 2022-5-26 10:18
感 謝 分 享                                    
作者: cmwang    時間: 2022-5-26 11:34
補充一下一些東西....

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,但這也太殺雞用牛刀了點....

[attach]38094[/attach]

[attach]38093[/attach]

[attach]38096[/attach]
作者: Brucewang    時間: 2022-5-26 15:35
本帖最後由 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

[attach]38097[/attach]
[attach]38098[/attach]

參考資料
https://aprs.fi/
http://www.aprs-is.net/
https://opensource.com/article/1 ... -igate-raspberry-pi
https://321421.xyz/?p=187
https://bg0axe.com/2014/01/igate-digipeater/
https://gadgeteer.co.za/openwebrx/




歡迎光臨 台灣無線電俱樂部 TAIWAN RADIO CLUB ( TRC ) (https://www.radio.club.tw/) Powered by Discuz! X3.3