Comments (18)
Oh wow, another network config format!? Is this the default on Debian 9?
from virtualmin-install.
Did Debian switch to netplan, too!? This is the same exact error we get on Ubuntu 18.04 systems with netplan...I haven't seen it on Debian, though. But, if they've changed the network config system, it'll be the same solution (which is ongoing).
from virtualmin-install.
ok, so what I've see is that my network conf is not in /etc/network/interfaces but in /etc/systemd/network/50-default.network
so that is why it can't find the file.
is the install script adapted for systemd netxork configuration?
from virtualmin-install.
I don't know. Is that the old style config file, or something else (like netplan)?
Can you post the contents of that file?
from virtualmin-install.
I removed al sensitive informations
/etc/systemd/network/50-default.network
# This file sets the IP configuration of the primary (public) network device.
# You can also see this as "OSI Layer 3" config.
# It was created by the OVH installer, please be careful with modifications.
# Documentation: man systemd.network or https://www.freedesktop.org/software/systemd/man/systemd.network.html
[Match]
MACAddress=XX:XX:XX:XX:XX:XX
[Network]
Description=network interface on public network, with default route
DHCP=no
Address=XX.XX.XX.XX/xx
Gateway=XX.XX.XX.XX
#IPv6AcceptRA=false
NTP=ntp.ovh.net
DNS=127.0.0.1
DNS=XX.XX.XX.XX
DNS=XX:XX:XXXX:::1
Gateway=XXXX:XXXX:XXXX:XXXX:ff:ff:ff:ff
[Address]
Address=XXXX:XXXX:XXXX:XXXX::/64
[Route]
Destination=XXXX:XXXX:XXXX:XXXX:ff:ff:ff:ff
Scope=link
/etc/systemd/network/50-public-interface.link
# This file configures the relation between network device and device name.
# You can also see this as "OSI Layer 2" config.
# It was created by the OVH installer, please be careful with modifications.
# Documentation: man systemd.link or https://www.freedesktop.org/software/systemd/man/systemd.link.html
[Match]
MACAddress=XX:XX:XX:XX:XX:XX
[Link]
Description=network interface on public network, with default route
MACAddressPolicy=persistent
NamePolicy=kernel database onboard slot path mac
#Name=eth0 # name under which this interface is known under OVH rescue system
#Name=eno1 # name under which this interface is probably known by systemd
from virtualmin-install.
what i just found: https://www.virtualmin.com/node/56764
from virtualmin-install.
Yeah, looks like yet another network configuration system. Good fun. This is gonna take a while. We still haven't quite finished netplan (Ubuntu's newfangled thing...I wish they'd gone the same route as Debian, as we now have even more things to support).
from virtualmin-install.
As it is said on the article I posted this seems to be the new standard... I will check if I see the same configuration in Ubuntu (as it is normally based on Debian )
from virtualmin-install.
I reinstalled my serveur on ubuntu 18.04 and I have the same configuration as Debian ( /etc/systemd/network) so I guess it is not a netplan configuration that has to be adapted but a systemd one.
Il my configuration, /etc/netplan/ is present but empty. only /etc/systemd/network/ as network configuration in it.
from virtualmin-install.
I can confirm that issue is still not fixed... Netplan comes by default, and on cloud VPS, it configures networking automatically, it's a real trouble to change it, especially with IPv6
from virtualmin-install.
What Webmin version is getting installed?
from virtualmin-install.
I've done apt update & apt upgrade
(nothing to install), then installed from
wget http://software.virtualmin.com/gpl/scripts/install.sh
from virtualmin-install.
Is Webmin version installed 1.900? Version 1.920 has netplan
fixes.
from virtualmin-install.
/archives/webmin_1.920_all.deb ...
Unpacking webmin (1.920) ...
from virtualmin-install.
I've added
deb http://download.webmin.com/download/repository sarge contrib
manually, howver, seems that
wget http://software.virtualmin.com/gpl/scripts/install.sh
Doesn't add it to the sources list, but it rather adds some old repo, which doesn't work...
from virtualmin-install.
Also uninstalling (from the above repo, doesn't work, which is probably a different issue...
apt remove webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl libpython-stdlib libpython2.7-minimal libpython2.7-stdlib perl-openssl-defaults
python python-minimal python2.7 python2.7-minimal
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
webmin
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 175 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 92873 files and directories currently installed.)
Removing webmin (1.920) ...
Running uninstall scripts ..
Can't locate WebminCore.pm in @INC (you may need to install the WebminCore module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/webmin/run-uninstalls.pl line 6.
BEGIN failed--compilation aborted at /usr/share/webmin/run-uninstalls.pl line 6.
from virtualmin-install.
Yes, the script at
http://software.virtualmin.com/gpl/scripts/install.sh
Adds following repos:
deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-bionic main
deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-universal main
Instead of:
deb http://download.webmin.com/download/repository sarge contrib
and installed webmin is: 1.900
from virtualmin-install.
Closing this as no longer relevant, since the Virtualmin 7 installer has been released, and Debian 9 reached EOL. I think we install OK on Debian 10 and 11, and I think we safely handle the newer network config system (I don't know if it's fully supported, but I'm pretty sure we don't break it).
from virtualmin-install.
Related Issues (20)
- virtualmin backups with ssh on an alternative port number HOT 3
- Virtualmin installer doesn't present the correct IP address HOT 3
- Virtualmin installer doesn't properly identify quotas
- Virtualmin installer complaints about unknown package not being installed. HOT 2
- error 100 on ubuntu 22.04 HOT 9
- LEMP stack wants to install apache2, breaking websites. HOT 3
- Installer script returns exit code 1 on success HOT 1
- Installation fails on ubuntu 22.04 HOT 7
- Input from keyboard not working with the latest installation script HOT 4
- script not interactive? HOT 4
- Keyboard local echo is off after answering no to "Continue? (y/n)" HOT 1
- Option to install MySQL instead of MariaDB HOT 9
- RHEL 9.1 installation issue - installation hangs at [4/21] Configuring ClamAV HOT 5
- Rename `install.sh` to `virtualmin-install.sh` everywhere HOT 2
- Unable to determine IP address of primary interface. HOT 5
- Install script fails on Debian 11.6 (no /etc/webmin after webmin package instalation) HOT 7
- Autoreply mail enabled -> unknown user HOT 39
- MySQL instead of MariaDb HOT 6
- Give the possibility of choice between MariaDB and MySQL suite HOT 15
- Problème avec la mise à jour de webin et usermin HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtualmin-install.