История изменений
Исправление hbars, (текущая версия) :
С NetworkManager вообще полная фигня.
Сразу смутило вот это:
root@radionet-nas:/var/log# apt-get -s install network-manager
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Будут установлены следующие дополнительные пакеты:
dnsmasq-base libbluetooth3 libmbim-glib4 libmbim-proxy libmm-glib0 libndp0 libnm0 libpcsclite1
libqmi-glib5 libqmi-proxy libteamdctl0 modemmanager network-manager-pptp ppp pptp-linux
,usb-modeswitch usb-modeswitch-data wpasupplicant
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:0e:8e:59:01:6d txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7 bytes 872 (872.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
И в итоге как-то так:
root@radionet-nas:/etc/netplan# netplan --debug generate
DEBUG:command generate: running ['/lib/netplan/generate']
** (generate:2258): DEBUG: 16:07:57.857: Processing input file /etc/netplan/00-br0-config.yaml..
** (generate:2258): DEBUG: 16:07:57.857: starting new processing pass
** (generate:2258): DEBUG: 16:07:57.857: Processing input file /etc/netplan/99-he-ipv6.yaml..
** (generate:2258): DEBUG: 16:07:57.857: starting new processing pass
** (generate:2258): DEBUG: 16:07:57.858: Processing input file /etc/netplan/wlan0-config.yaml..
** (generate:2258): DEBUG: 16:07:57.858: starting new processing pass
(generate:2258): GLib-GIO-DEBUG: 16:07:57.859: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
/etc/netplan/wlan0-config.yaml:3:13: Error in network definition: unknown renderer 'network-manager'
renderer: network-manager
^
network:
version: 2
renderer: network-manager
ethernets:
wlan0:
dhcp4: false
dhcp6: false
addresses:
- 192.168.4.254/24
optional: true
root@radionet-nas:/etc/netplan# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
auto wlan0
iface wlan0 inet static
address 192.168.4.254/24
Неужели никак через netplan?
root@radionet-nas:~# ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.4.254 netmask 255.255.255.0 broadcast 192.168.4.255
inet6 fe80::20e:8eff:fe59:16d prefixlen 64 scopeid 0x20<link>
ether 00:0e:8e:59:01:6d txqueuelen 1000 (Ethernet)
RX packets 122400 bytes 13621447 (13.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 214171 bytes 299806707 (299.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Исходная версия hbars, :
С NetworkManager вообще полная фигня.
Сразу смутило вот это:
root@radionet-nas:/var/log# apt-get -s install network-manager
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Будут установлены следующие дополнительные пакеты:
dnsmasq-base libbluetooth3 libmbim-glib4 libmbim-proxy libmm-glib0 libndp0 libnm0 libpcsclite1
libqmi-glib5 libqmi-proxy libteamdctl0 modemmanager network-manager-pptp ppp pptp-linux
,usb-modeswitch usb-modeswitch-data wpasupplicant
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:0e:8e:59:01:6d txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7 bytes 872 (872.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
И в итоге как-то так:
root@radionet-nas:/etc/netplan# netplan --debug generate
DEBUG:command generate: running ['/lib/netplan/generate']
** (generate:2258): DEBUG: 16:07:57.857: Processing input file /etc/netplan/00-br0-config.yaml..
** (generate:2258): DEBUG: 16:07:57.857: starting new processing pass
** (generate:2258): DEBUG: 16:07:57.857: Processing input file /etc/netplan/99-he-ipv6.yaml..
** (generate:2258): DEBUG: 16:07:57.857: starting new processing pass
** (generate:2258): DEBUG: 16:07:57.858: Processing input file /etc/netplan/wlan0-config.yaml..
** (generate:2258): DEBUG: 16:07:57.858: starting new processing pass
(generate:2258): GLib-GIO-DEBUG: 16:07:57.859: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
/etc/netplan/wlan0-config.yaml:3:13: Error in network definition: unknown renderer 'network-manager'
renderer: network-manager
^
network:
version: 2
renderer: network-manager
ethernets:
wlan0:
dhcp4: false
dhcp6: false
addresses:
- 192.168.4.254/24
optional: true
root@radionet-nas:/etc/netplan# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal