Ah, well, nevermind. I've already re-flashed my sd card. At least it has been a learning experience.
Thank you for the assistance.
Ah, well, nevermind. I've already re-flashed my sd card. At least it has been a learning experience.
Thank you for the assistance.
I apologize if the following falls outside your warrant...please feel free to say so.
dmesg reports (among other things):
/lib/systemd/system-generators/netplan failed with exit status 1
I assume this is responsible for the fact that I can no longer contact the NAS I set up with OMV. Yes?
With regard to network interfaces, the Debian wiki states:
"Stretch and Buster still retain support for the old naming system as long as the file /etc/udev/rules.d/70-local-persistent-net.rules is still in place, but users are advised to switch ahead of the upgrade to Bullseye."
'ls -a' reveals no such file.
I am at the point of concluding that a linux noob, such as myself, is best off starting over - no great loss other than time, as I am only at the point of setting up. ( I am clueless as to what I might have done to arrive here.) Would you agree?
Thank you. Apparently I've got myself in the deep end without my water wings.
...and, gderf...right, thanks.
Sorry, didn't mean to be impertinent...
salt-call grains.items
[WARNING ] Failed to open log file, do you have permission to write to /var/log/salt/minion?
Cannot write to process directory. Do you have permissions to write to /var/cache/salt/minion/proc/20200813152826430756 ?
local:
----------
SSDs:
- ram11
- ram2
- loop1
- ram0
- ram9
- ram7
- ram14
- ram5
- ram12
- ram3
- loop2
- ram10
- ram1
- loop0
- ram8
- ram15
- ram6
- mmcblk0
- ram13
- ram4
- loop3
cpu_flags:
- half
- thumb
- fastmult
- vfp
- edsp
- neon
- vfpv3
- tls
- vfpv4
- idiva
- idivt
- vfpd32
- lpae
- evtstrm
- crc32
cpu_model:
ARMv7 Processor rev 4 (v7l)
cpuarch:
armv7l
cwd:
/home/pi
disks:
- loop6
- loop4
- sda
- loop7
- loop5
dns:
----------
domain:
ip4_nameservers:
- 192.168.0.1
ip6_nameservers:
nameservers:
- 192.168.0.1
options:
search:
sortlist:
domain:
fqdn:
raspberrypi
fqdn_ip4:
- 127.0.1.1
- 192.168.0.201
fqdn_ip6:
- fe80::ba27:ebff:fe52:7d31
fqdns:
- raspberrypi
gid:
100
gpus:
groupname:
users
host:
raspberrypi
hwaddr_interfaces:
----------
enxb827eb527d31:
b8:27:eb:52:7d:31
lo:
00:00:00:00:00:00
wlan0:
b8:27:eb:07:28:64
id:
raspberrypi
init:
systemd
ip4_gw:
192.168.0.1
ip4_interfaces:
----------
enxb827eb527d31:
- 192.168.0.146
lo:
- 127.0.0.1
wlan0:
ip6_gw:
False
ip6_interfaces:
----------
enxb827eb527d31:
- fe80::ba27:ebff:fe52:7d31
lo:
- ::1
wlan0:
ip_gw:
True
ip_interfaces:
----------
enxb827eb527d31:
- 192.168.0.146
- fe80::ba27:ebff:fe52:7d31
lo:
- 127.0.0.1
- ::1
wlan0:
ipv4:
- 127.0.0.1
- 192.168.0.146
ipv6:
- ::1
- fe80::ba27:ebff:fe52:7d31
kernel:
Linux
kernelparams:
|_
- coherent_pool
- 1M
|_
- 8250.nr_uarts
- 0
|_
- snd_bcm2835.enable_compat_alsa
- 0
|_
- snd_bcm2835.enable_hdmi
- 1
|_
- snd_bcm2835.enable_headphones
- 1
|_
- bcm2708_fb.fbwidth
- 1080
|_
- bcm2708_fb.fbheight
- 1920
|_
- bcm2708_fb.fbswap
- 1
|_
- vc_mem.mem_base
- 0x3ec00000
|_
- vc_mem.mem_size
- 0x40000000
|_
- console
- ttyS0,115200
|_
- console
- tty1
|_
- root
- None
|_
- rootfstype
- ext4
|_
- elevator
- deadline
|_
- fsck.repair
- yes
|_
- rootwait
- None
|_
- quiet
- None
|_
- splash
- None
|_
- plymouth.ignore-serial-consoles
- None
kernelrelease:
5.4.51-v7+
kernelversion:
#1327 SMP Thu Jul 23 10:58:46 BST 2020
locale_info:
----------
defaultencoding:
UTF-8
defaultlanguage:
en_US
detectedencoding:
UTF-8
timezone:
PDT
localhost:
raspberrypi
lsb_distrib_codename:
buster
lsb_distrib_description:
Raspbian GNU/Linux 10 (buster)
lsb_distrib_id:
Raspbian
lsb_distrib_release:
10
machine_id:
2715b432d60b44bfb325407f186da189
master:
salt
mem_total:
926
nodename:
raspberrypi
num_cpus:
4
num_gpus:
0
os:
Raspbian
os_family:
Debian
osarch:
armhf
oscodename:
buster
osfinger:
Raspbian-10
osfullname:
Raspbian
osmajorrelease:
10
osrelease:
10
osrelease_info:
- 10
path:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/snap/bin
pid:
11031
ps:
ps -efHww
pythonexecutable:
/usr/bin/python3
pythonpath:
- /usr/bin
- /usr/lib/python37.zip
- /usr/lib/python3.7
- /usr/lib/python3.7/lib-dynload
- /usr/local/lib/python3.7/dist-packages
- /usr/lib/python3/dist-packages
pythonversion:
- 3
- 7
- 3
- final
- 0
saltpath:
/usr/lib/python3/dist-packages/salt
saltversion:
3001
saltversioninfo:
- 3001
server_id:
1332165742
shell:
/bin/bash
swap_total:
99
systemd:
----------
features:
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid
version:
241
systempath:
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/local/games
- /usr/games
- /snap/bin
uid:
1000
username:
pi
virtual:
physical
zfs_feature_flags:
False
zfs_support:
False
zmqversion:
4.3.1
pi@raspberrypi:~ $ cat /etc/netplan/20-openmediavault-eth0.yaml
network:
ethernets:
eth0:
match:
macaddress:
addresses:
- 192.168.0.201/24
gateway4: 192.168.0.1
accept-ra: true
dhcp4: false
dhcp6: true
nameservers:
addresses:
- 192.168.0.1
Alles anzeigen
salt-call grains.items returns:
[ Warning } Failed to opon log file, to you have permission to write to /var/log/salt/minion?
Cannot write to process directory. Do you have permissions to write to /var/cache/salt/minion/proc/20200813152826430756?
...followed by lots of stuff (of which is any relevant to this discussion?)
cat /etc/netplan/20-openmediavault-eth0.yaml returns:
network:
ethernets:
eth0:
match:
macaddress:
addresses:
- 192.168.0.201/24 (note: this is the address I was attempting to assign)
gateway4: 192.168.0.1
accept-ra: true
dhcp4: false
dhcp6: true
nameservers:
addresses:
- 192.168.0.1
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run systemd-networkd 2>&1' with exit code '1': raspberrypi:
---------- ID: configure_etc_network_interfaces Function: file.managed Name: /etc/network/interfaces Result: True Comment: File /etc/network/interfaces is in the correct state Started: 07:54:24.430341 Duration: 202.633 ms Changes:
---------- ID: remove_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 07:54:24.646564 Duration: 18.687 ms Changes: ---------- file.find:
---------- ID: remove_empty_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 07:54:24.665859 Duration: 8.103 ms Changes: ---------- file.find:
---------- ID: remove_netplan_config_files Function: module.run Result: True Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/20-openmediavault-eth0.yaml'] Started: 07:54:24.674854 Duration: 14.963 ms Changes: ---------- file.find: - /etc/netplan/10-openmediavault-default.yaml - /etc/netplan/20-openmediavault-eth0.yaml
---------- ID: configure_netplan_default Function: file.managed Name: /etc/netplan/10-openmediavault-default.yaml Result: True Comment: File /etc/netplan/10-openmediavault-default.yaml updated Started: 07:54:24.690425 Duration: 48.928 ms Changes: ---------- diff: New file mode: 0644
---------- ID: configure_netplan_ethernet_eth0 Function: file.managed Name: /etc/netplan/20-openmediavault-eth0.yaml Result: True Comment: File /etc/netplan/20-openmediavault-eth0.yaml updated Started: 07:54:24.740321 Duration: 159.53 ms Changes: ---------- diff: New file mode: 0644
---------- ID: apply_netplan_config Function: cmd.run Name: netplan apply Result: False Comment: Command "netplan apply" run Started: 07:54:24.905242 Duration: 754.74 ms Changes: ---------- pid: 9598 retcode: 78 stderr: /etc/netplan/20-openmediavault-eth0.yaml:5:20: Error in network definition: Invalid MAC address '', must be XX:XX:XX:XX:XX:XX macaddress: ^ stdout:
Summary for raspberrypi
------------
Succeeded: 6 (changed=6)
Failed: 1
------------
Total states run: 7
Total run time: 1.208 s in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusym...', '/tmp/bgoutputt4...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
IPv4 address was not updated. How is this to be resolved?
If I did want to set a static IPv6 address, what address would I choose to set it to?
Reference to information on this subject will be appreciated.
Thanks