Which one do you mean?
The repository of debian packages?
It holds debian packages.
I don’t think i understand your question.
Which one do you mean?
The repository of debian packages?
It holds debian packages.
I don’t think i understand your question.
The repository package:
libjs-excanvas
libjs-jquery-ui
libjs-jquery-ui-theme-smoothness
pi@raspberrypi:~ $ sudo apt install dump1090-mutability
... ... ...
... ... ...
The following NEW packages will be installed:
dump1090-mutability libjs-excanvas libjs-jquery-ui
libjs-jquery-ui-theme-smoothness
0 upgraded, 4 newly installed, 0 to remove and 9 not upgraded.
Need to get 830 kB of archives.
After this operation, 5,413 kB of additional disk space will be used.
Do you want to continue? [Y/n]
tried today on freshly written Raspbian Buster (No software or packages whatsoever installed).
More dependencies were installed today:
dump1090-mutability
libfam0
libjs-excanvas
libjs-jquery-ui
libjs-jquery-ui-theme-smoothness
libmariadb3
librtlsdr0
lighttpd
lighttpd-modules-ldap
lighttpd-modules-mysql
mariadb-common
mysql-common
spawn-fcgi
.
cat /etc/os-release | grep PRETTY
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
uname -a
Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l GNU/Linux
.
sudo apt update
sudo apt install dump1090-mutability
... ... ...
The following additional packages will be installed:
libfam0 libjs-excanvas libjs-jquery-ui libjs-jquery-ui-theme-smoothness
libmariadb3 librtlsdr0 lighttpd lighttpd-modules-ldap lighttpd-modules-mysql
mariadb-common mysql-common spawn-fcgi
Suggested packages:
fam libjs-jquery-ui-docs rrdtool php-cgi apache2-utils lighttpd-doc
The following NEW packages will be installed:
dump1090-mutability libfam0 libjs-excanvas libjs-jquery-ui
libjs-jquery-ui-theme-smoothness libmariadb3 librtlsdr0 lighttpd
lighttpd-modules-ldap lighttpd-modules-mysql mariadb-common mysql-common
spawn-fcgi
0 upgraded, 13 newly installed, 0 to remove and 9 not upgraded.
Need to get 1,411 kB of archives.
After this operation, 7,184 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Packages following the same model for MalcolmRobb & FlightAware’s forks of dump1090 are in the pipeline. So is a repackaged version of piaware.
.
Great news for users of Linux amd64 on Intel PC.
If this materializes, for architectures other than arm (RPI), piaware packages could be installed by command sudo apt install piaware
and sudo apt install dump1090-fa
. No need to build from source code.
Note about Bias-t support: Bias-t support is available for RTL-SDR.com V3 dongles. If you wish to enable bias-t support, you must insure that you are building this package with a version of librtlsdr that supports this capability. You can find suitable source packages here and here. To enable the necessary support code when building, be sure to include preprocessor define macro HAVE_RTL_BIAST.
Bug-Fix for “Ajax call fail. Unable to fetch data” for both the ver 1.15~dev and EB_VERSION was done by following command
sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
Commit b281473
Dated Feb 26, 2020
Solution may possibly be (untested)
git checkout f2a9a81
rtl-sdr.rules
from cloned source code, after it is checkedout to commit f2a9a81I think an easier solution (untested) is that in url of raw file in wget command, replace master
by f2a9a81
, so the command becomes like this:
sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/f2a9a81/rtl-sdr.rules"
Heh, I always wondered why they decided to call it “EB_VERSION” when packaging this.
Turns out that they didn’t, it’s just a typo in debian/rules:
export DUMP1090_VERSION = $DEB_VERSION
(Make doesn’t follow quite the same rules as shellscripts for variable expansion, so that needs to be ${DEB_VERSION}
to work correctly)
sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/f2a9a81/rtl-sdr.rules"
sudo reboot
Used raw file rtl-sdr.rules
from one commit before latest Feb 26 revision, i.e. from commit f2a9a81
.
So did I!
Never imagined it is a typo
No need to download the file rtl-sdr.rules
.
Simply add user "dump1090"
to group "plugdev"
, and that does the job
(This is based on the observation that the last modifications to rtl-sdr.rules
includes, among other things, adding GROUP="plugdev"
)
## Check
$ groups dump1090
dump1090 : nogroup
## Add user dump1090 to group plugdev
$ sudo usermod -a -G plugdev dump1090
## Check again
$ groups dump1090
dump1090 : nogroup plugdev
## Restart dump1090-mutability
$ sudo systemctl restart dump1090-mutability
## Check gmap.html, live now :)
Just out of curiosity, wanted to know how dump1090-fa package install on Buster works without need for any work around.
(1) Wrote Raspbian Buster to microSD card
(2) Slipped microSD card into Pi 4 and powered up
(3) Did package install of dump1090-fa 3.8.0
(4) Checked and found:
/etc/udev/rules.d/rtl-sdr.rules
does NOT exist
pi@raspberrypi:~ $ cat /etc/udev/rules.d/rtl-sdr.rules
cat: /etc/udev/rules.d/rtl-sdr.rules: No such file or directory
pi@raspberrypi:~ $ groups dump1090
dump1090 : nogroup plugdev
Please scroll down to see full list of groups
pi@raspberrypi:~ $ cut -d: -f1 /etc/group | sort
adm
audio
avahi
backup
bin
bluetooth
cdrom
crontab
daemon
dialout
dip
disk
fax
floppy
games
gnats
gpio
i2c
input
irc
kmem
kvm
list
lp
mail
man
messagebus
netdev
news
nogroup
operator
pi
plugdev
proxy
render
root
sasl
shadow
spi
src
ssh
staff
sudo
sys
systemd-coredump
systemd-journal
systemd-network
systemd-resolve
systemd-timesync
tape
tty
users
utmp
uucp
video
voice
www-data
The equivalent is installed as part of the librtlsdr0 package and can be found at /lib/udev/rules.d/60-librtlsdr0.rules
This is done as part of dump1090-fa’s postinstall script (originally for bladerf support actually):
@obj
Thanks Oliver for clarification.
Yes, found the file rtl-sdr.rules.
Also found that the package librtlsdr0
is installed as part of dump1090-fa package installation:
pi@raspberrypi:~ $ sudo apt-get install dump1090-fa
.... .... ....
.... .... ....
The following NEW packages will be installed:
dump1090-fa libbladerf1 libfam0 libmariadb3 librtlsdr0 lighttpd lighttpd-modules-ldap lighttpd-modules-mysql
mariadb-common mysql-common spawn-fcgi
Just now found that over a year ago, someone has filed a bug report at Debian for adding user running dump1090-mutability to group plugdev:
The package install of dump1090-mutability from BUSTER repo installs, among so many other packages, librtlsdr0
, but still gets warning “Problem Fetching Data from dump1090”
FIX: add user dump1090
to group plugdev
pi@raspberrypi:~ $ lsb_release -sc
buster
pi@raspberrypi:~ $ sudo apt install dump1090-mutability
... ... ...
... ... ...
The following NEW packages will be installed:
dump1090-mutability javascript-common libfam0 libjs-excanvas libjs-jquery
libjs-jquery-ui libjs-jquery-ui-theme-smoothness libmariadb3 librtlsdr0
lighttpd lighttpd-modules-ldap lighttpd-modules-mysql mariadb-common
mysql-common spawn-fcgi
0 upgraded, 15 newly installed, 0 to remove and 20 not upgraded.
pi@raspberrypi:~ $ groups dump1090
dump1090 : nogroup
pi@raspberrypi:~ $ sudo usermod -a -G plugdev dump1090
pi@raspberrypi:~ $ groups dump1090
dump1090 : nogroup plugdev
pi@raspberrypi:~ $ sudo systemctl restart dump1090-mutability