Ethernet lost after upgrade Debian Buster on Pogoplug Oxnas V3 June 17, 2020 07:54AM |
Registered: 4 years ago Posts: 33 |
ifconfig eth0 up /etc/init.d/networking restart
auto lo eth0 iface lo inet loopback iface eth0 inet dhcp
Re: Ethernet lost after upgrade Debian Buster on Pogoplug June 17, 2020 05:23PM |
Admin Registered: 13 years ago Posts: 18,569 |
Re: Ethernet lost after upgrade Debian Buster on Pogoplug OXNAS V3 June 19, 2020 09:09AM |
Registered: 4 years ago Posts: 33 |
Re: Ethernet lost after upgrade Debian Buster on Pogoplug OXNAS V3 June 19, 2020 05:58PM |
Admin Registered: 13 years ago Posts: 18,569 |
Re: Ethernet lost after upgrade Debian Buster on Pogoplug OXNAS V3 June 23, 2020 09:27AM |
Registered: 4 years ago Posts: 33 |
Re: Ethernet lost after upgrade Debian Buster on Pogoplug OXNAS V3 June 23, 2020 04:20PM |
Admin Registered: 13 years ago Posts: 18,569 |
Re: Ethernet lost after upgrade Debian Buster on Pogoplug OXNAS V3 June 24, 2020 07:44AM |
Registered: 4 years ago Posts: 33 |
tar -xjf Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2
systemctlshowed:
Failed to list units: Launch helper exited with unknown return code 1
fw_printenv:
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb usb_custom_params=zswap.enabled=1 device=0:1 devices=usb ide disks=0 1 2 3 ethaddr=52:3b:20:9c:11:51 ethact=mii0 if_netconsole=ping $serverip dtb_file=/boot/dts/ox820-pogoplug-pro.dtb load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage mainlineLinux=yes mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fisystemctl System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi usb_ready_retry=15 serverip=xxx.xxx.xxx.xx ipaddr=xxx.xxx.xxx.xx usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts init=/bin/systemd uenv_import=echo importing envs ...; env import -t 0x60500000 $filesize
init=/bin/systemdwas already added, but for some reason systemd is not running or initialised properly.
systemdcommand:
Trying to run as user instance, but the system has not been booted with systemd.
apt updateThat showed:
59 packages can be upgraded.and systemd was one of them:
systemd/stable 241-7~deb10u4 armel [upgradable from: 232-25+deb9u1]
apt-get install systemdoutput:
Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libcryptsetup4 Use 'apt autoremove' to remove it. The following additional packages will be installed: libargon2-1 libcryptsetup12 libgnutls30 libidn2-0 libjson-c3 libsystemd0 libunistring2 Suggested packages: gnutls-bin systemd-container policykit-1 Recommended packages: libpam-systemd The following NEW packages will be installed: libargon2-1 libcryptsetup12 libjson-c3 libunistring2 The following packages will be upgraded: libgnutls30 libidn2-0 libsystemd0 systemd 4 upgraded, 4 newly installed, 0 to remove and 55 not upgraded. Need to get 5235 kB of archives. After this operation, 6041 kB of additional disk space will be used.
Setting up systemd (241-7~deb10u4) ... Installing new version of config file /etc/systemd/journald.conf ... Installing new version of config file /etc/systemd/logind.conf ... Installing new version of config file /etc/systemd/resolved.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/timesyncd.conf ... Removing user `systemd-bus-proxy' ... Warning: group `systemd-bus-proxy' has no more members. Done. Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.hostname1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.locale1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.login1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.network1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.resolve1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.systemd1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.timedate1.conf ...
Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libcryptsetup4 Use 'apt autoremove' to remove it. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 55 not upgraded. Need to get 0 B/3235 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 12264 files and directories currently installed.) Preparing to unpack .../systemd_241-7~deb10u4_armel.deb ... Unpacking systemd (241-7~deb10u4) over (241-7~deb10u4) ... Setting up systemd (241-7~deb10u4) ... Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for dbus (1.12.16-1) ...
systemdcommand:
Trying to run as user instance, but the system has not been booted with systemd.
ls -l /bin/systemd lrwxrwxrwx 1 root root 20 Apr 27 2020 /bin/systemd -> /lib/systemd/systemd root@debian:~# ls -l /lib/systemd/systemd -rwxr-xr-x 1 root root 1239124 Apr 27 2020 /lib/systemd/systemd
apt updatebefore I installed systemd again.
systemctl
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
Re: Ethernet lost after upgrade Debian Buster on Pogoplug Oxnas V3 June 24, 2020 09:00AM |
Registered: 4 years ago Posts: 33 |
apt update
ap install systemd
FATAL -> Failed to fork. debconf: apt-extracttemplates failed: No such file or directory
W: Could not open file /var/log/apt/eipp.log.xz - open (12: Cannot allocate memory) W: Could not open file '/var/log/apt/eipp.log.xz' - EIPP::OrderInstall (12: Cannot allocate memory)
FATAL -> Failed to fork. debconf: apt-extracttemplates failed: No such file or directory
systemctlnow did show a list of processes, but the command
systemdnow showed
Trying to run as user instance, but $XDG_RUNTIME_DIR is not set.
Removing user `systemd-bus-proxy' ... Warning: group `systemd-bus-proxy' has no more members.
systemctl list-unit-files
Re: Ethernet lost after upgrade Debian Buster on Pogoplug Oxnas V3 June 24, 2020 04:43PM |
Admin Registered: 13 years ago Posts: 18,569 |
Re: Ethernet lost after upgrade Debian Buster on Pogoplug Oxnas V3 July 30, 2020 08:22AM |
Registered: 4 years ago Posts: 33 |
dpkg-reconfigure tzdatabut that does not enable the use of an NTP server to sync system time after a reboot. I found out that a more reliable way is to use systemd-timesyncd.
apt purge ntpand then:
systemctl start systemd-timesyncd
liblzma5/stable 5.2.4-1 armel [upgradable from: 5.2.2-1.2+b1] nfs-common/stable 1:1.3.4-2.5 armel [upgradable from: 1:1.3.4-2.1] nfs-kernel-server/stable 1:1.3.4-2.5 armel [upgradable from: 1:1.3.4-2.1] rpcbind/stable 1.2.5-0.3+deb10u1 armel [upgradable from: 0.2.3-0.6]
E: Release file for http://security.debian.org/dists/buster/updates/InRelease is not valid yet (invalid for another 531d 20h 40min 2s). Updates for this repository will not be applied.After that I manually forced the update, but that messed up the system again.
Re: Ethernet lost after upgrade Debian Buster on Pogoplug Oxnas V3 July 30, 2020 06:28PM |
Admin Registered: 13 years ago Posts: 18,569 |
Quote
#montpelier.caltech.edu
#tick.ucla.edu
#bigben.cac.washington.edu
#time.nist.gov
# You do need to talk to an NTP server or two (or three). #server ntp.your-provider.example # pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will #server 0.debian.pool.ntp.org iburst #server 1.debian.pool.ntp.org iburst #server 2.debian.pool.ntp.org iburst #server 3.debian.pool.ntp.org iburst server 192.12.19.20 server 164.67.62.194 server 140.142.16.34 server 206.246.122.250 # Note that "restrict" applies to both servers and clients, so a configuration # up blocking replies from your own upstream servers. # Local users may interrogate the ntp server more closely.