PDA

View Full Version : Impostare il gateway di default in Ubuntu Server 18.04


Stefano1970
19-11-2019, 13:27
Salve
Ho una singola interfaccia di rete su Ubuntu server 18.04 denominata enp2s0
Questa interfaccia aveva un ip statico 192.168.2.xxx con relativo gateway 192.168.2.1
Io ho cambiato la configurazione nel file etc/netplan/*.yaml in 192.168.1.xxx con il relativo gateway 192.168.1.1 dando poi il comando netplan generate e netplan apply e tutto sembra funzionare.........peccato che quando riavvio il server il gateway di default mi torna su 192.168.2.1 (nonostante la configurazione di etc/netplan/*.yaml sia rimasta invariata).
Per ripristinare la configurazione dopo il riavvio devo ridare il comando netplan apply
Ho provato anche con il comando route per rimuovere il vecchio gateway di default 192.168.2.1 e settare quello nuovo, m,a come sempre se riavvio il server il gateway torna sulla vecchia impostazione ovvero 192.168.2.1

Questa è la configurazione del file yaml

# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
enp2s0:
addresses: [192.168.1.10/24]
gateway4: 192.168.1.1
nameservers:
addresses: [1.1.1.1,1.0.0.1]

Output del comando networkctl status enp2s0 dopo il reboot

2: enp2s0
Link File: /lib/systemd/network/99-default.link
Network File: /run/systemd/network/10-netplan-enp2s0.network
Type: ether
State: routable (configured)
Path: pci-0000:02:00.0
Driver: r8169
Vendor: Realtek Semiconductor Co., Ltd.
Model: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (M4A
HW Address: 48:5b:39:02:41:c9 (ASUSTek COMPUTER INC.)
Address: 192.168.1.10
192.168.2.100
fe80::4a5b:39ff:fe02:41c9
Gateway: 192.168.2.1
DNS: 1.1.1.1 1.0.0.1

Output del comando route dopo il reboot


Tabella di routing IP del kernel
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.2.1 0.0.0.0 UG 202 0 0 enp2s0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp2s0
192.168.2.0 0.0.0.0 255.255.255.0 U 202 0 0 enp2s0

Risultato del comando networkctl status enp2s0 dopo aver ripristinato il gateway di default su 192.168.1.1 tramite comando netplan apply

2: enp2s0
Link File: /lib/systemd/network/99-default.link
Network File: /run/systemd/network/10-netplan-enp2s0.network
Type: ether
State: routable (configured)
Path: pci-0000:02:00.0
Driver: r8169
Vendor: Realtek Semiconductor Co., Ltd.
Model: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (M4A
HW Address: 48:5b:39:02:41:c9 (ASUSTek COMPUTER INC.)
Address: 192.168.1.10
fe80::4a5b:39ff:fe02:41c9
Gateway: 192.168.1.1
DNS: 1.1.1.1 1.0.0.1

Risultato del comando route dopo aver ripristinato il gateway di default su 192.168.1.1 tramite comando netplan apply


Tabella di routing IP del kernel
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 0 0 0 enp2s0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp2s0

Ho notato che il risultato del comando networkctl status enp2s0 dopo il reboot identifica due ip statici configurati: 192.168.2.100 e 192.168.1.10, dove il primo è quello della vecchia configurazione che non riesco a rimuovere e forse per quello il gateway di default dopo il riavvio torna su 192.168.2.1
se il gateway di default non si setta correttamente su 192.168.1.1 tutti i servizi web che ho sul server non funzionano
Come posso risolvere ?

sacarde
20-11-2019, 08:34
- ma dai servizi l'hai disattivato networkmanager o networkd o quello che c'era prima?

- e' abilitato il netplan ?

e networkd


p.s.
vedi errori: systemctl --failed

Stefano1970
20-11-2019, 11:13
- ma dai servizi l'hai disattivato networkmanager o networkd o quello che c'era prima?

- e' abilitato il netplan ?

e networkd


p.s.
vedi errori: systemctl --failed

non vedo network manager tra i servizi che partono all'avvio

sacarde
20-11-2019, 11:36
dovresti avere il servizio: networkd

(renderer: networkd)

e' abilitato e ha status OK ?

Stefano1970
20-11-2019, 12:06
dovresti avere il servizio: networkd

(renderer: networkd)

e' abilitato e ha status OK ?

Ho trovato solo questo con filtro networkd

networkd-dispatcher.service Dispatcher daemon for systemd-networkd

sacarde
20-11-2019, 12:57
- quindi usavi netplan anche prima della seconda configurazione


- cerca:

cd /etc
find . -type f -exec grep -l "192.168.2.1" {} \;

cerca l'IP precedente all'interno di /etc

Stefano1970
20-11-2019, 13:24
- quindi usavi netplan anche prima della seconda configurazione


- cerca:

cd /etc
find . -type f -exec grep -l "192.168.2.1" {} \;

cerca l'IP precedente all'interno di /etc

root@ubuntu:/etc# find . -type f -exec grep -l "192.168.2.1" {} \;
./pihole/dhcp.leases
./pihole/setupVars.conf
./pihole/pihole-FTL.db
./pihole/local.list
./pihole/setupVars.conf.update.bak
./dnsmasq.d/04-pihole-static-dhcp.conf
./ajenti/config.yml
./webmin/bandwidth/hours/434214
./webmin/bandwidth/hours/434356
./webmin/bandwidth/hours/434388
./webmin/bandwidth/hours/434146
./webmin/bandwidth/hours/434363
./webmin/bandwidth/hours/434229
./webmin/bandwidth/hours/434242
./webmin/bandwidth/hours/434376
./webmin/bandwidth/hours/434370
./webmin/bandwidth/hours/434269
./webmin/bandwidth/hours/434233
./webmin/bandwidth/hours/434360
./webmin/bandwidth/hours/434109
./webmin/bandwidth/hours/434266
./webmin/bandwidth/hours/434299
./webmin/bandwidth/hours/434297
./webmin/bandwidth/hours/434159
./webmin/bandwidth/hours/434197
./webmin/bandwidth/hours/434125
./webmin/bandwidth/hours/434098
./webmin/bandwidth/hours/434227
./webmin/bandwidth/hours/434306
./webmin/bandwidth/hours/434156
./webmin/bandwidth/hours/434344
./webmin/bandwidth/hours/434082
./webmin/bandwidth/hours/434237
./webmin/bandwidth/hours/434357
./webmin/bandwidth/hours/434178
./webmin/bandwidth/hours/434139
./webmin/bandwidth/hours/434262
./webmin/bandwidth/hours/434110
./webmin/bandwidth/hours/434349
./webmin/bandwidth/hours/435426
./webmin/bandwidth/hours/434174
./webmin/bandwidth/hours/434290
./webmin/bandwidth/hours/434312
./webmin/bandwidth/hours/434255
./webmin/bandwidth/hours/434340
./webmin/bandwidth/hours/434099
./webmin/bandwidth/hours/434286
./webmin/bandwidth/hours/434154
./webmin/bandwidth/hours/434209
./webmin/bandwidth/hours/434160
./webmin/bandwidth/hours/434260
./webmin/bandwidth/hours/434256
./webmin/bandwidth/hours/434267
./webmin/bandwidth/hours/434072
./webmin/bandwidth/hours/434067
./webmin/bandwidth/hours/434397
./webmin/bandwidth/hours/434173
./webmin/bandwidth/hours/434077
./webmin/bandwidth/hours/434080
./webmin/bandwidth/hours/434078
./webmin/bandwidth/hours/434309
./webmin/bandwidth/hours/434225
./webmin/bandwidth/hours/434194
./webmin/bandwidth/hours/434371
./webmin/bandwidth/hours/434275
./webmin/bandwidth/hours/434246
./webmin/bandwidth/hours/434135
./webmin/bandwidth/hours/434195
./webmin/bandwidth/hours/434385
./webmin/bandwidth/hours/434100
./webmin/bandwidth/hours/434081
./webmin/bandwidth/hours/434365
./webmin/bandwidth/hours/434129
./webmin/bandwidth/hours/434307
./webmin/bandwidth/hours/434180
./webmin/bandwidth/hours/434175
./webmin/bandwidth/hours/434152
./webmin/bandwidth/hours/434161
./webmin/bandwidth/hours/434311
./webmin/bandwidth/hours/434291
./webmin/bandwidth/hours/434177
./webmin/bandwidth/hours/434320
./webmin/bandwidth/hours/434235
./webmin/bandwidth/hours/434282
./webmin/bandwidth/hours/434393
./webmin/bandwidth/hours/434270
./webmin/bandwidth/hours/434300
./webmin/bandwidth/hours/434128
./webmin/bandwidth/hours/434212
./webmin/bandwidth/hours/434257
./webmin/bandwidth/hours/434155
./webmin/bandwidth/hours/434058
./webmin/bandwidth/hours/434244
./webmin/bandwidth/hours/434216
./webmin/bandwidth/hours/434094
./webmin/bandwidth/hours/434084
./webmin/bandwidth/hours/434079
./webmin/bandwidth/hours/434336
./webmin/bandwidth/hours/434377
./webmin/bandwidth/hours/434369
./webmin/bandwidth/hours/434171
./webmin/bandwidth/hours/434249
./webmin/bandwidth/hours/434223
./webmin/bandwidth/hours/434353
./webmin/bandwidth/hours/434120
./webmin/bandwidth/hours/434310
./webmin/bandwidth/hours/434092
./webmin/bandwidth/hours/434088
./webmin/bandwidth/hours/434068
./webmin/bandwidth/hours/434119
./webmin/bandwidth/hours/434264
./webmin/bandwidth/hours/434351
./webmin/bandwidth/hours/434274
./webmin/bandwidth/hours/434145
./webmin/bandwidth/hours/434284
./webmin/bandwidth/hours/434163
./webmin/bandwidth/hours/434358
./webmin/bandwidth/hours/434334
./webmin/bandwidth/hours/434117
./webmin/bandwidth/hours/434102
./webmin/bandwidth/hours/434382
./webmin/bandwidth/hours/434379
./webmin/bandwidth/hours/434205
./webmin/bandwidth/hours/434217
./webmin/bandwidth/hours/434142
./webmin/bandwidth/hours/434391
./webmin/bandwidth/hours/434372
./webmin/bandwidth/hours/434387
./webmin/bandwidth/hours/434190
./webmin/bandwidth/hours/434287
./webmin/bandwidth/hours/434206
./webmin/bandwidth/hours/434386
./webmin/bandwidth/hours/434329
./webmin/bandwidth/hours/434263
./webmin/bandwidth/hours/434218
./webmin/bandwidth/hours/434271
./webmin/bandwidth/hours/434083
./webmin/bandwidth/hours/434137
./webmin/bandwidth/hours/434149
./webmin/bandwidth/hours/434396
./webmin/bandwidth/hours/434104
./webmin/bandwidth/hours/434345
./webmin/bandwidth/hours/434395
./webmin/bandwidth/hours/434073
./webmin/bandwidth/hours/434185
./webmin/bandwidth/hours/434187
./webmin/bandwidth/hours/434265
./webmin/bandwidth/hours/434317
./webmin/bandwidth/hours/434361
./webmin/bandwidth/hours/434276
./webmin/bandwidth/hours/434106
./webmin/bandwidth/hours/434170
./webmin/bandwidth/hours/434261
./webmin/bandwidth/hours/434279
./webmin/bandwidth/hours/434059
./webmin/bandwidth/hours/434248
./webmin/bandwidth/hours/434295
./webmin/bandwidth/hours/434231
./webmin/bandwidth/hours/434289
./webmin/bandwidth/hours/434268
./webmin/bandwidth/hours/434259
./webmin/bandwidth/hours/434134
./webmin/bandwidth/hours/434308
./webmin/bandwidth/hours/434192
./webmin/bandwidth/hours/434184
./webmin/bandwidth/hours/434198
./webmin/bandwidth/hours/434338
./webmin/bandwidth/hours/434132
./webmin/bandwidth/hours/434373
./webmin/bandwidth/hours/434367
./webmin/bandwidth/hours/434292
./webmin/bandwidth/hours/434101
./webmin/bandwidth/hours/434240
./webmin/bandwidth/hours/434219
./webmin/bandwidth/hours/434321
./webmin/bandwidth/hours/434252
./webmin/bandwidth/hours/434118
./webmin/bandwidth/hours/434061
./webmin/bandwidth/hours/434064
./webmin/bandwidth/hours/434337
./webmin/bandwidth/hours/434380
./webmin/bandwidth/hours/434115
./webmin/bandwidth/hours/434241
./webmin/bandwidth/hours/434074
./webmin/bandwidth/hours/434325
./webmin/bandwidth/hours/434062
./webmin/bandwidth/hours/434183
./webmin/bandwidth/hours/434383
./webmin/bandwidth/hours/434208
./webmin/bandwidth/hours/434239
./webmin/bandwidth/hours/434221
./webmin/bandwidth/hours/434230
./webmin/bandwidth/hours/434157
./webmin/bandwidth/hours/434368
./webmin/bandwidth/hours/434150
./webmin/bandwidth/hours/434189
./webmin/bandwidth/hours/434143
./webmin/bandwidth/hours/434281
./webmin/bandwidth/hours/434130
./webmin/bandwidth/hours/434158
./webmin/bandwidth/hours/434144
./webmin/bandwidth/hours/434343
./webmin/bandwidth/hours/434070
./webmin/bandwidth/hours/434168
./webmin/bandwidth/hours/434151
./webmin/bandwidth/hours/434238
./webmin/bandwidth/hours/434315
./webmin/bandwidth/hours/434313
./webmin/bandwidth/hours/434245
./webmin/bandwidth/hours/434165
./webmin/bandwidth/hours/434138
./webmin/bandwidth/hours/434326
./webmin/bandwidth/hours/434234
./webmin/bandwidth/hours/434076
./webmin/bandwidth/hours/434136
./webmin/bandwidth/hours/434355
./webmin/bandwidth/hours/434207
./webmin/bandwidth/hours/434347
./webmin/bandwidth/hours/434085
./webmin/bandwidth/hours/434122
./webmin/bandwidth/hours/434167
./webmin/bandwidth/hours/434112
./webmin/bandwidth/hours/434199
./webmin/bandwidth/hours/434188
./webmin/bandwidth/hours/434304
./webmin/bandwidth/hours/434123
./webmin/bandwidth/hours/434303
./webmin/bandwidth/hours/434210
./webmin/bandwidth/hours/434366
./webmin/bandwidth/hours/434111
./webmin/bandwidth/hours/434330
./webmin/bandwidth/hours/434375
./webmin/bandwidth/hours/434222
./webmin/bandwidth/hours/434277
./webmin/bandwidth/hours/434182
./webmin/bandwidth/hours/434384
./webmin/bandwidth/hours/434114
./webmin/bandwidth/hours/434215
./webmin/bandwidth/hours/434097
./webmin/bandwidth/hours/434348
./webmin/bandwidth/hours/434127
./webmin/bandwidth/hours/434075
./webmin/bandwidth/hours/434107
./webmin/bandwidth/hours/434332
./webmin/bandwidth/hours/434140
./webmin/bandwidth/hours/434191
./webmin/bandwidth/hours/434331
./webmin/bandwidth/hours/434200
./webmin/bandwidth/hours/434131
./webmin/bandwidth/hours/434164
./webmin/bandwidth/hours/434108
./webmin/bandwidth/hours/434090
./webmin/bandwidth/hours/434204
./webmin/bandwidth/hours/434096
./webmin/bandwidth/hours/434176
./webmin/bandwidth/hours/434095
./webmin/bandwidth/hours/434066
./webmin/bandwidth/hours/434342
./webmin/bandwidth/hours/434091
./webmin/bandwidth/hours/434294
./webmin/bandwidth/hours/434071
./webmin/bandwidth/hours/434186
./webmin/bandwidth/hours/434226
./webmin/bandwidth/hours/434381
./webmin/bandwidth/hours/434328
./webmin/bandwidth/hours/434298
./webmin/bandwidth/hours/434253
./webmin/bandwidth/hours/434296
./webmin/bandwidth/hours/434335
./webmin/bandwidth/hours/434213
./webmin/bandwidth/hours/434211
./webmin/bandwidth/hours/434202
./webmin/bandwidth/hours/434086
./webmin/bandwidth/hours/434105
./webmin/bandwidth/hours/434148
./webmin/bandwidth/hours/434116
./webmin/bandwidth/hours/434280
./webmin/bandwidth/hours/434254
./webmin/bandwidth/hours/434228
./webmin/bandwidth/hours/434172
./webmin/bandwidth/hours/434169
./webmin/bandwidth/hours/434181
./webmin/bandwidth/hours/434153
./webmin/bandwidth/hours/434069
./webmin/bandwidth/hours/434316
./webmin/bandwidth/hours/434065
./webmin/bandwidth/hours/434339
./webmin/bandwidth/hours/434126
./webmin/bandwidth/hours/434166
./webmin/bandwidth/hours/434250
./webmin/bandwidth/hours/434302
./webmin/bandwidth/hours/434322
./webmin/bandwidth/hours/434362
./webmin/bandwidth/hours/434258
./webmin/bandwidth/hours/434378
./webmin/bandwidth/hours/434113
./webmin/bandwidth/hours/434341
./webmin/bandwidth/hours/434247
./webmin/bandwidth/hours/434389
./webmin/bandwidth/hours/434162
./webmin/bandwidth/hours/434087
./webmin/bandwidth/hours/434203
./webmin/bandwidth/hours/434398
./webmin/bandwidth/hours/434278
./webmin/bandwidth/hours/434283
./webmin/bandwidth/hours/434301
./webmin/bandwidth/hours/434179
./webmin/bandwidth/hours/434063
./webmin/bandwidth/hours/434318
./webmin/bandwidth/hours/434201
./webmin/bandwidth/hours/434141
./webmin/bandwidth/hours/434124
./webmin/bandwidth/hours/434133
./webmin/bandwidth/hours/434346
./webmin/bandwidth/hours/434273
./webmin/bandwidth/hours/434333
./webmin/bandwidth/hours/434305
./webmin/bandwidth/hours/434243
./webmin/bandwidth/hours/434364
./webmin/bandwidth/hours/434327
./webmin/bandwidth/hours/434220
./webmin/bandwidth/hours/434352
./webmin/bandwidth/hours/434196
./webmin/bandwidth/hours/434093
./webmin/bandwidth/hours/434323
./webmin/bandwidth/hours/434293
./webmin/bandwidth/hours/434103
./webmin/bandwidth/hours/434060
./webmin/bandwidth/hours/434251
./webmin/bandwidth/hours/434193
./webmin/bandwidth/hours/434121
./webmin/bandwidth/hours/434089
./webmin/bandwidth/hours/434374
./webmin/bandwidth/hours/434354
./webmin/bandwidth/hours/434224
./webmin/bandwidth/hours/434288
./webmin/bandwidth/hours/434390
./webmin/bandwidth/hours/434359
./webmin/bandwidth/hours/434319
./webmin/bandwidth/hours/434394
./webmin/bandwidth/hours/434147
./webmin/bandwidth/hours/434314
./webmin/bandwidth/hours/434350
./webmin/bandwidth/hours/434272
./webmin/bandwidth/hours/434285
./webmin/bandwidth/hours/434324
./webmin/bandwidth/hours/434236
./webmin/bandwidth/hours/434392
./webmin/bandwidth/hours/434232
./dhcpcd.conf
./security/access.conf

sacarde
20-11-2019, 13:41
- cosa e' questa config: /etc/ajenti/config.yml ?

- hai configurato la rete anche su webmin ?

- cela fai a mostrarmi la lista: systemctl list-unit-files

Stefano1970
20-11-2019, 13:55
- cosa e' questa config: /etc/ajenti/config.yml ?

- hai configurato la rete anche su webmin ?

- cela fai a mostrarmi la lista: systemctl list-unit-files

ajenti è un server admin con interfaccia web
si la rete l'ho configurata su webmin......ma le impostazioni webmin coincidono con quelle da riga di comando

questo il risultato che mi hai chiesto

UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
-.mount generated
dev-hugepages.mount static
dev-mqueue.mount static
mnt-Alt.mount generated
mnt-Cloud.mount generated
mnt-Share.mount generated
mnt-Storage.mount generated
mnt-Sync.mount generated
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
run-rpc_pipefs.mount static
snap-canonical\x2dlivepatch-84.mount enabled
snap-canonical\x2dlivepatch-88.mount enabled
snap-core-7917.mount enabled
snap-core-8039.mount enabled
snap-nextcloud-16402.mount enabled
snap-nextcloud-16739.mount enabled
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
acpid.path enabled
lines 1-23...skipping...
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
-.mount generated
dev-hugepages.mount static
dev-mqueue.mount static
mnt-Alt.mount generated
mnt-Cloud.mount generated
mnt-Share.mount generated
mnt-Storage.mount generated
mnt-Sync.mount generated
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
run-rpc_pipefs.mount static
snap-canonical\x2dlivepatch-84.mount enabled
snap-canonical\x2dlivepatch-88.mount enabled
snap-core-7917.mount enabled
snap-core-8039.mount enabled
snap-nextcloud-16402.mount enabled
snap-nextcloud-16739.mount enabled
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
acpid.path enabled
apport-autoreport.path enabled
cups.path enabled
resolvconf-pull-resolved.path enabled
systemd-ask-password-console.path static
systemd-ask-password-plymouth.path static
systemd-ask-password-wall.path static
session-11.scope transient
session-41.scope transient
session-9.scope transient
session-c2.scope transient
accounts-daemon.service enabled
acpid.service disabled
ajenti.service enabled
alsa-restore.service static
alsa-state.service static
alsa-utils.service masked
anacron.service enabled
apache-htcacheclean.service enabled
apache-htcacheclean@.service disabled
apache2.service enabled
apache2@.service disabled
apparmor.service enabled
applicanetplan.service disabled
apport-autoreport.service static
apport-forward@.service static
apport.service generated
apt-daily-upgrade.service static
apt-daily.service static
atd.service enabled
auth-rpcgss-module.service static
autovt@.service enabled
avahi-daemon.service enabled
binfmt-support.service enabled
blk-availability.service enabled
bluetooth.service disabled
bootlogd.service masked
bootlogs.service masked
bootmisc.service masked
brltty-udev.service static
brltty.service disabled
certbot.service static
checkfs.service masked
checkroot-bootclean.service masked
checkroot.service masked
clean-mount-point@.service static
cockpit.service static
colord.service static
configure-printer@.service static
console-getty.service disabled
console-setup.service enabled
container-getty@.service static
cpufrequtils.service generated
cron.service enabled
cryptdisks-early.service masked
cryptdisks.service masked
cups-browsed.service enabled
cups.service enabled
dbus-fi.w1.wpa_supplicant1.service enabled
dbus-org.freedesktop.Avahi.service enabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.resolve1.service enabled
dbus-org.freedesktop.thermald.service enabled
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd.service generated
display-manager.service generated
dm-event.service static
dns-clean.service enabled
docker.service masked
dovecot.service disabled
ebtables.service enabled
emergency.service static
friendly-recovery.service static
fstrim.service static
fuse.service masked
fwupd-offline-update.service static
fwupd.service static
fwupdate-cleanup.service static
gdm3.service generated
geoclue.service static
getty-static.service static
getty@.service enabled
glances.service generated
gpu-manager.service enabled
grub-common.service generated
halt.service masked
hassio-apparmor.service disabled
hassio-supervisor.service disabled
hddtemp.service generated
hostname.service masked
hwclock.service masked
ifup@.service static
iio-sensor-proxy.service static
inetd.service generated
initrd-cleanup.service static
initrd-parse-etc.service static
initrd-switch-root.service static
initrd-udevadm-cleanup-db.service static
ipmidrv.service generated
ipmievd.service disabled
irqbalance.service enabled
iscsi.service enabled
iscsid.service disabled
kerneloops.service enabled
keyboard-setup.service enabled
killprocs.service masked
kmod-static-nodes.service static
kmod.service static
lm-sensors.service enabled
loadcpufreq.service generated
lvm2-lvmetad.service static
lvm2-lvmpolld.service static
lvm2-monitor.service enabled
lvm2-pvscan@.service static
lvm2.service masked
lxcfs.service enabled
lxd-containers.service enabled
lxd.service indirect
mdadm-grow-continue@.service static
mdadm-last-resort@.service static
mdadm-shutdown.service disabled
mdadm-waitidle.service masked
mdadm.service masked
mdmon@.service static
mdmonitor.service static
ModemManager.service disabled
module-init-tools.service static
mono-xsp4.service generated
motd-news.service static
motd.service masked
mountall-bootclean.service masked
mountall.service masked
mountdevsubfs.service masked
mountkernfs.service masked
mountnfs-bootclean.service masked
mountnfs.service masked
mysql.service enabled
netdata.service enabled
netplan-wpa@.service static
networkd-dispatcher.service enabled
networking.service enabled
nfs-blkmap.service disabled
nfs-common.service masked
nfs-config.service static
nfs-idmapd.service static
nfs-kernel-server.service enabled
nfs-mountd.service static
nfs-server.service enabled
nfs-utils.service static
nmbd.service enabled
ondemand.service enabled
open-iscsi.service enabled
open-vm-tools.service enabled
openipmi.service generated
packagekit-offline-update.service static
packagekit.service static
php5.6-fpm.service enabled
php7.3-fpm.service enabled
phpsessionclean.service static
pihole-FTL.service generated
plexmediaserver.service enabled
plymouth-halt.service static
plymouth-kexec.service static
plymouth-log.service static
plymouth-poweroff.service static
plymouth-quit-wait.service static
plymouth-quit.service static
plymouth-read-write.service static
plymouth-reboot.service static
plymouth-start.service static
plymouth-switch-root.service static
plymouth.service static
polkit.service static
pollinate.service enabled
portmap.service enabled
postfix.service masked
postgresql.service enabled
postgresql@.service indirect
pppd-dns.service enabled
procps.service static
quotaon.service static
radarr.service disabled
rc-local.service static
rc.local.service static
rc.service masked
rcS.service masked
reboot.service masked
rescue.service static
resolvconf-pull-resolved.service static
resolvconf.service enabled
rmnologin.service masked
rpc-gssd.service static
rpc-statd-notify.service disabled
rpc-statd.service disabled
rpc-svcgssd.service static
rpcbind.service enabled
rsync.service enabled
rsyslog.service enabled
rtkit-daemon.service disabled
samba-ad-dc.service masked
saned.service masked
saned@.service indirect
screen-cleanup.service masked
sendmail.service generated
sendsigs.service masked
serial-getty@.service disabled
setvtrgb.service enabled
single.service masked
smbd.service enabled
snap.canonical-livepatch.canonical-livepatchd.service enabled
snap.nextcloud.apache.service enabled
snap.nextcloud.mdns-publisher.service enabled
snap.nextcloud.mysql.service enabled
snap.nextcloud.nextcloud-cron.service enabled
snap.nextcloud.nextcloud-fixer.service enabled
snap.nextcloud.php-fpm.service enabled
snap.nextcloud.redis-server.service enabled
snap.nextcloud.renew-certs.service enabled
snapd.autoimport.service enabled
snapd.core-fixup.service enabled
snapd.failure.service static
snapd.seeded.service enabled
snapd.service enabled
snapd.snap-repair.service static
snapd.system-shutdown.service enabled
snmpd.service enabled
sonarr.service disabled
spamassassin.service disabled
speech-dispatcher.service generated
spice-vdagent.service enabled
spice-vdagentd.service enabled
ssh.service enabled
ssh@.service static
sshd.service enabled
stdiscosrv.service enabled
stop-bootlogd-single.service masked
stop-bootlogd.service masked
strelaysrv.service enabled
sudo.service masked
syncthing-discosrv.service enabled
syncthing-relaysrv.service enabled
syncthing-resume.service enabled
syncthing@.service indirect
syslog.service enabled
sysstat.service enabled
system-update-cleanup.service static
systemd-ask-password-console.service static
systemd-ask-password-plymouth.service static
systemd-ask-password-wall.service static
systemd-backlight@.service static
systemd-binfmt.service static
systemd-exit.service static
systemd-fsck-root.service enabled-runtime
systemd-fsck@.service static
systemd-fsckd.service static
systemd-halt.service static
systemd-hibernate-resume@.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-hwdb-update.service static
systemd-hybrid-sleep.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-machine-id-commit.service static
systemd-modules-load.service static
systemd-networkd-wait-online.service enabled-runtime
systemd-networkd.service enabled-runtime
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed.service static
systemd-reboot.service static
systemd-remount-fs.service static
systemd-resolved.service enabled
systemd-rfkill.service static
systemd-suspend-then-hibernate.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-timesyncd.service enabled
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup-dev.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp.service static
systemd-user-sessions.service static
systemd-volatile-root.service static
thermald.service enabled
transmission-daemon.service enabled
udev.service static
udisks2.service enabled
ufw.service enabled
umountfs.service masked
umountnfs.service masked
umountroot.service masked
unattended-upgrades.service enabled
upower.service disabled
urandom.service static
ureadahead-stop.service static
ureadahead.service enabled
usb_modeswitch@.service static
usbmuxd.service static
user@.service static
uuidd.service indirect
vgauth.service enabled
vncserver@.service indirect
webmin.service generated
whoopsie.service enabled
wicd.service generated
winbind.service enabled
wpa_supplicant-wired@.service disabled
wpa_supplicant.service enabled
wpa_supplicant@.service disabled
x11-common.service masked
xinetd.service generated
zabbix-agent.service disabled
zabbix-proxy.service disabled
zabbix-server.service disabled
machine.slice static
system.slice static
user-0.slice transient
user-1000.slice transient
user-998.slice transient
user.slice static
acpid.socket enabled
apport-forward.socket enabled
avahi-daemon.socket enabled
cockpit.socket enabled
cups.socket enabled
dbus.socket static
dm-event.socket enabled
docker.socket masked
dovecot.socket disabled
iscsid.socket enabled
lvm2-lvmetad.socket enabled
lvm2-lvmpolld.socket enabled
lxd.socket enabled
rpcbind.socket enabled
saned.socket disabled
snapd.socket enabled
ssh.socket disabled
syslog.socket static
systemd-fsckd.socket static
systemd-initctl.socket static
systemd-journald-audit.socket static
systemd-journald-dev-log.socket static
systemd-journald.socket static
systemd-networkd.socket disabled
systemd-rfkill.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
uuidd.socket enabled
swapfile.swap generated
basic.target static
bluetooth.target static
cryptsetup-pre.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target static
emergency.target static
exit.target disabled
final.target static
friendly-recovery.target static
getty-pre.target static
getty.target static
graphical.target static
halt.target disabled
hibernate.target static
hybrid-sleep.target static
initrd-fs.target static
initrd-root-device.target static
initrd-root-fs.target static
initrd-switch-root.target static
initrd.target static
kexec.target disabled
local-fs-pre.target static
local-fs.target static
multi-user.target static
network-online.target static
network-pre.target static
network.target static
nfs-client.target enabled
nss-lookup.target static
nss-user-lookup.target static
paths.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-cryptsetup.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target static
rpcbind.target static
runlevel0.target disabled
runlevel1.target static
runlevel2.target static
runlevel3.target static
runlevel4.target static
runlevel5.target static
runlevel6.target disabled
shutdown.target static
sigpwr.target static
sleep.target static
slices.target static
smartcard.target static
sockets.target static
sound.target static
spice-vdagentd.target static
suspend-then-hibernate.target static
suspend.target static
swap.target static
sysinit.target static
system-update.target static
time-sync.target static
timers.target static
umount.target static
anacron.timer enabled
apt-daily-upgrade.timer enabled
apt-daily.timer enabled
certbot.timer enabled
fstrim.timer enabled
mdadm-last-resort@.timer static
motd-news.timer enabled
phpsessionclean.timer enabled
snapd.snap-repair.timer enabled
systemd-tmpfiles-clean.timer static
ureadahead-stop.timer static

sacarde
20-11-2019, 13:59
- e' rimasta qualche configurazione vecchia in webadmin?

- quindi se non avvii webadmin ?

Stefano1970
20-11-2019, 14:14
- e' rimasta qualche configurazione vecchia in webadmin?

- quindi se non avvii webadmin ?

ti ringrazio ho risolto
sono andato ad editare i file che con il tuo comando mostravano ancora 192.168.2.1 e al riavvio sembra funzionare tutto
Grazie ancora dell'aiuto!!!