nanopc-t6 icon indicating copy to clipboard operation
nanopc-t6 copied to clipboard

ifupdown2 problem

Open jackpassgfw opened this issue 2 years ago • 2 comments

root@nanopc-t6-arm64:/home/debian# apt install ifupdown2 -y Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: python3-distutils python3-lib2to3 python3-setuptools python3-systemd Suggested packages: isc-dhcp-client ethtool python3-gvgen python3-mako python-setuptools-doc The following packages will be REMOVED: ifupdown The following NEW packages will be installed: ifupdown2 python3-distutils python3-lib2to3 python3-setuptools python3-systemd 0 upgraded, 5 newly installed, 1 to remove and 0 not upgraded. Need to get 1020 kB of archives. After this operation, 5565 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main arm64 python3-lib2to3 all 3.11.2-3 [76.3 kB] Get:2 http://deb.debian.org/debian bookworm/main arm64 python3-distutils all 3.11.2-3 [131 kB] Get:3 http://deb.debian.org/debian bookworm/main arm64 python3-setuptools all 66.1.1-1 [521 kB] Get:4 http://deb.debian.org/debian bookworm/main arm64 python3-systemd arm64 235-1+b2 [39.1 kB] Get:5 https://mirrors.apqa.cn/proxmox/debian/pve bookworm/port arm64 ifupdown2 all 3.2.0-1+pmx2 [252 kB] Fetched 1020 kB in 2s (534 kB/s) (Reading database ... 33007 files and directories currently installed.) Removing ifupdown (0.8.41) ... Selecting previously unselected package python3-lib2to3. (Reading database ... 32971 files and directories currently installed.) Preparing to unpack .../python3-lib2to3_3.11.2-3_all.deb ... Unpacking python3-lib2to3 (3.11.2-3) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../python3-distutils_3.11.2-3_all.deb ... Unpacking python3-distutils (3.11.2-3) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../python3-setuptools_66.1.1-1_all.deb ... Unpacking python3-setuptools (66.1.1-1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_235-1+b2_arm64.deb ... Unpacking python3-systemd (235-1+b2) ... Selecting previously unselected package ifupdown2. Preparing to unpack .../ifupdown2_3.2.0-1+pmx2_all.deb ... Unpacking ifupdown2 (3.2.0-1+pmx2) ... Setting up python3-lib2to3 (3.11.2-3) ... Setting up python3-systemd (235-1+b2) ... Setting up python3-distutils (3.11.2-3) ... Setting up python3-setuptools (66.1.1-1) ... Setting up ifupdown2 (3.2.0-1+pmx2) ... Installing new version of config file /etc/default/networking ... find: ‘/var/lib/dhcp/’: No such file or directory

network config changes have been detected for ifupdown2 compatibility. Saved in /etc/network/interfaces.new for hot-apply or next reboot.

Reloading network config on first install warning: vrf: cache v4: cmd '/bin/ip rule show' failed: returned 255 (RTNETLINK answers: Operation not supported Dump terminated ) warning: vrf: cache v6: cmd '/bin/ip -6 rule show' failed: returned 255 (RTNETLINK answers: Operation not supported Dump terminated )

jackpassgfw avatar Oct 27 '23 12:10 jackpassgfw

This is a problem of nanopc-t6_bookworm-v12-6.5.5.img.xz

jackpassgfw avatar Oct 27 '23 12:10 jackpassgfw

I just posted a new release. Would you be able to see if you can still reproduce this issue?

also, possibly try the ip version of the command:

ip link set enP2p33s0 down
ip link set enP4p65s0 down

inindev avatar Dec 25 '23 10:12 inindev