Anyone working with the new x86 Raspbian

Found Another Dog, the StretchDog.

.
CLICK ON SCREENSGHOT TO SEE LARGER SIZE


.

https://debiandog.github.io/doglinux/zz02stretchdog.html

Downloaded OS: StretchDog32-openbox_xfce-jwm-2017-10-10.iso
Size: 242MB
.

The procedure to install OS is almost same as that of BionicDog, except for few minor differences:

(1) In step 1.6 for BionicDog, one does not need to point to the location of the downloaded .iso. For StretchDog, the location of the downloaded .iso is required to be pointed to.

(2) After full-install is completed and the computer is booted by USB#2, at boot menu, following options are presented:

  • Boot with systemvinit (default)
  • Boot with systemd

One has to manually change from default sysvinit to systemd option at every boot/reboot. A better option is to modify Boot Config / Grub to change default to systemd.

How to change default from sysvinit to systemd

Open file /menu.lst for editing

root@live:~# nano /menu.lst

The above command will open following file
.

# menu.lst produced by grub4dosconfig-v1.7
color white/blue black/cyan white/black cyan/black
timeout 10
default 0 


title DDog - sysvinit
 uuid f13dfcc6-bf90-4c64-894e-44a472e9973d
 kernel /boot/vmlinuz1 root=UUID=f13dfcc6-bf90-4c64-894e-44a472e9973d ro
 initrd /boot/initrd.img

title DDog - systemd
 uuid f13dfcc6-bf90-4c64-894e-44a472e9973d
 kernel /boot/vmlinuz1 root=UUID=f13dfcc6-bf90-4c64-894e-44a472e9973d init=/bin$
 initrd /boot/initrd.img

title Reboot computer
  reboot

.

In this file change 4th line
default 0
to
default 1

(0 represents first entry which is sysvinit, and 1 represents second entry which is systemd)

Save file and reboot
.
(3) After full installation of OS on USB#2 is completed and PC is booted by USB#2 (i.e. after Step 2 of BionicDog), one has to download file “61-DEVX-Stretch_1386.squashfs” from:
Release Extra Modules StretchDog · fredx181/StretchDog · GitHub.

After download, right-click on downloaded file and in the pop-up menu select “load-sfs-chroot full install” .

The procedure to install dump1090-fa and Piaware is identical to that of BionicDog, except in step 4.3 as shown below:

The distro codename stretch is not returned by command lsb_release -sc. hence following revise item 4.3 is given below:

4.3 - Clone source-code and build Piaware package

root@live:~# git clone https://github.com/flightaware/piaware_builder.git  

root@live:~# cd  piaware_builder  


root@live:~/piaware_builder# ./sensible-build.sh stretch  

root@live:~/piaware_builder# cd  package-stretch  

root@live:~/piaware_builder/package-stretch# dpkg-buildpackage -b  

#Move to directory where piawarepackage is built
root@live:~/piaware_builder/package-stretch# cd ../ 

#Install piaware package
root@live:~/piaware_builder# sudo dpkg -i piaware_*.deb

.

CHECK

root@live:~# systemctl status piaware
● piaware.service - FlightAware ADS-B uploader
   Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-01-27 20:48:53 UTC; 49s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 7873 (piaware)
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/piaware.service
           ├─7873 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run
           ├─7910 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005
           └─7917 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-po

Jan 27 20:48:56 live piaware[7873]: mlat-client(7910): Input format changed to BEAST, 12M
Jan 27 20:48:57 live sudo[7915]:  piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bi
Jan 27 20:48:57 live sudo[7915]: pam_unix(sudo:session): session opened for user root by 
Jan 27 20:48:57 live piaware[7873]: ADS-B data program 'dump1090-fa' is listening on port
Jan 27 20:48:57 live piaware[7873]: Starting faup1090: /usr/lib/piaware/helpers/faup1090 
Jan 27 20:48:57 live piaware[7873]: Started faup1090 (pid 7917) to connect to dump1090-fa
Jan 27 20:48:57 live piaware[7873]: mlat-client(7910): Beast-format results connection wi
Jan 27 20:48:57 live piaware[7873]: piaware received a message from dump1090-fa!
Jan 27 20:48:59 live piaware[7873]: piaware has successfully sent several msgs to FlightA
Jan 27 20:49:28 live piaware[7873]: 83 msgs recv'd from dump1090-fa; 83 msgs sent to Flig
1 Like