What do i do next

Discussion in 'Feeding' started by davlinds, Jun 25, 2022.

  1. davlinds

    davlinds Member

    I have a Pi3B with PiAware (SD Card) 7.1 and have made changes such as
    storing ADSB and MLAT Data on csv/sql databases locally on an attached HDD.
    writing self healing programs that analyze and correct problems
    and other additions that don't change the location of standard software.

    My question is how do I upgrade to wiedehopf's software (1090) without ruining what I have developed/ changed in the past

    Thanks
     
    Last edited: Jun 25, 2022
  2. wiedehopf

    wiedehopf Administrator Staff Member

  3. davlinds

    davlinds Member

    I occasionally have dhcpcd problems so installed the folllowing setting dhcpcd as a service
    Code:
    sudo mkdir -p /etc/systemd/system/dhcpcd.service.d
    sudo tee /etc/systemd/system/dhcpcd.service.d/restart.conf <<"EOF"
    [Service]
    Restart=always
    RestartSec=5s
    StartLimitInterval=1
    StartLimitBurst=100
    EOF
    sudo systemctl daemon-reload
    sudo systemctl restart dhcpcd
    
    But I seem to have overlapping coding

    Code:
    -- A start job for unit dhcpcd.service has begun execution.
    --
    -- The job identifier is 13510.
    Jun 25 17:17:02 piaware dhcpcd[6457]: Not running dhcpcd because /etc/network/interfaces
    Jun 25 17:17:02 piaware dhcpcd[6457]: defines some interfaces that will use a
    Jun 25 17:17:02 piaware dhcpcd[6457]: DHCP client or static address
    Jun 25 17:17:02 piaware systemd[1]: dhcpcd.service: Control process exited, code=exited, status=6/NOTCONFIGURED
    -- Subject: Unit process exited
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- An ExecStart= process belonging to unit dhcpcd.service has exited.
    --
    
    This is the prog mentioned:
    Code:
    # Generated automatically by /usr/lib/piaware-support/generate-network-config
    # This file will be overwritten on reboot.
    auto lo
    iface lo inet loopback
    
    iface eth0 inet static
      address 192.168.0.59
      netmask 255.255.255.0
      broadcast 192.168.1.255
      gateway 192.168.0.1
      dns-nameservers 8.8.8.8 8.8.4.4
      metric 1
    
    auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet manual
    wireless-power off
    wpa-roam /etc/wpa_supplicant/wpa-roam.conf
    
    # DHCP, but ifupdown's dhcp mode does not do quite what we want
    iface wireless inet manual
      up dhclient -pf /run/dhclient.${IFACE}.pid -lf /var/lib/dhcp/dhclient.${IFACE}.leases ${IFACE} -e IF_METRIC=2 -i -D LL -df /var/lib/dhcp/dhclient.duid.conf
      down dhclient -pf /run/dhclient.${IFACE}.pid -lf /var/lib/dhcp/dhclient.${IFACE}.leases ${IFACE} -e IF_METRIC=2 -i -D LL -df /var/lib/dhcp/dhclient.duid.conf -x
    
    Have you any suggestions? TIA
     
  4. wiedehopf

    wiedehopf Administrator Staff Member

    Start with a fresh image that doesn't depend on piaware.
    Or use DHCP with the image.

    You don't need dhcp with a static IP.

    the broadcast is wrong, it should be 0.255 at the end instead of 1.255 .....