Skip to content

Commit

Permalink
Updating Docker files and fixing Avahi problems with SDR angel
Browse files Browse the repository at this point in the history
  • Loading branch information
FlUxIuS committed May 22, 2024
1 parent f425662 commit 845e5d4
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 6 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ COPY rules /root/rules/
WORKDIR /root/scripts/
RUN chmod +x entrypoint.sh

# Installing Devices
# Audio part
RUN apt-fast install -y pulseaudio-utils pulseaudio libasound2-dev libavahi-client-dev --no-install-recommends

## Installing peripherals
RUN ./entrypoint.sh ad_devices_install
Expand Down Expand Up @@ -106,7 +107,8 @@ RUN ./entrypoint.sh qsstv_soft_install
RUN ./entrypoint.sh ice9_bluetooth_soft_install

# Installing SA device modules
RUN ./entrypoint.sh kc908_sa_device
RUN ./entrypoint.sh kc908_sa_device # Note: Only works on x86_64
RUN ./entrypoint.sh signalhound_sa_device # Note: Only works on x86_64

# Tools for RFID
RUN ./entrypoint.sh proxmark3_soft_install
Expand Down
11 changes: 11 additions & 0 deletions scripts/sa_devices.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,15 @@ function kc908_sa_device() {
&& cmake -DCMAKE_INSTALL_PREFIX=/usr ../ \
&& make -j$(nproc); sudo make install
cd /root/
}

function signalhound_sa_device() {
goodecho "[+] Downloading bin from DEEPACE"
[ -d /rftools ] || mkdir rftools
cd /rftools/
installfromnet "wget https://signalhound.com/sigdownloads/Spike/Spike(Ubuntu22.04x64)_3_9_6.zip"
unzip Spike\(Ubuntu22.04x64\)_3_9_6.zip
cd Spike\(Ubuntu22.04x64\)_3_9_6/
chmod +x setup.sh
sh -c ./setup.sh
}
6 changes: 5 additions & 1 deletion sdr_full.docker
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ RUN echo apt-fast apt-fast/aptmanager string apt-get | debconf-set-selections

RUN apt-get -y install apt-fast python3-matplotlib

# Audio part
RUN apt-fast install -y pulseaudio-utils pulseaudio libasound2-dev libavahi-client-dev --no-install-recommends

COPY scripts /root/scripts/
COPY rules /root/rules/

Expand Down Expand Up @@ -106,7 +109,8 @@ RUN ./entrypoint.sh qsstv_soft_install
RUN ./entrypoint.sh ice9_bluetooth_soft_install

# Installing SA device modules
RUN ./entrypoint.sh kc908_sa_device
RUN ./entrypoint.sh kc908_sa_device # Note: Only works on x86_64
RUN ./entrypoint.sh signalhound_sa_device # Note: Only works on x86_64

# Installing extra software
RUN ./entrypoint.sh jupiter_soft_install
Expand Down
10 changes: 7 additions & 3 deletions sdr_light.docker
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ RUN echo apt-fast apt-fast/aptmanager string apt-get | debconf-set-selections

RUN apt-get -y install apt-fast python3-matplotlib

# Audio part
RUN apt-fast install -y pulseaudio-utils pulseaudio libasound2-dev libavahi-client-dev --no-install-recommends

COPY scripts /root/scripts/
COPY rules /root/rules/

Expand All @@ -41,8 +44,8 @@ RUN chmod +x entrypoint.sh

## Installing peripherals
RUN ./entrypoint.sh ad_devices_install
#RUN ./entrypoint.sh uhd_devices_install
RUN ./entrypoint.sh antsdr_uhd_devices_install # Disable orignal UHD
RUN ./entrypoint.sh uhd_devices_install
#RUN ./entrypoint.sh antsdr_uhd_devices_install # Disable orignal UHD
RUN ./entrypoint.sh nuand_devices_install
RUN ./entrypoint.sh hackrf_devices_install
RUN ./entrypoint.sh airspy_devices_install
Expand All @@ -56,7 +59,8 @@ RUN ./entrypoint.sh common_sources_and_sinks
RUN ./entrypoint.sh install_soapy_modules

# Installing SA device modules
RUN ./entrypoint.sh kc908_sa_device
RUN ./entrypoint.sh kc908_sa_device # Note: Only works on x86_64
RUN ./entrypoint.sh signalhound_sa_device # Note: Only works on x86_64

# Installing extra software
RUN ./entrypoint.sh jupiter_soft_install
Expand Down

0 comments on commit 845e5d4

Please sign in to comment.