GithubHelp home page GithubHelp logo

Comments (18)

jcameron avatar jcameron commented on August 26, 2024 1

Oh wow, another network config format!? Is this the default on Debian 9?

from virtualmin-install.

swelljoe avatar swelljoe commented on August 26, 2024

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.

ahyear avatar ahyear commented on August 26, 2024

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.

swelljoe avatar swelljoe commented on August 26, 2024

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.

ahyear avatar ahyear commented on August 26, 2024

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.

ahyear avatar ahyear commented on August 26, 2024

what i just found: https://www.virtualmin.com/node/56764

from virtualmin-install.

swelljoe avatar swelljoe commented on August 26, 2024

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.

ahyear avatar ahyear commented on August 26, 2024

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.

ahyear avatar ahyear commented on August 26, 2024

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.

acosonic avatar acosonic commented on August 26, 2024

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.

iliajie avatar iliajie commented on August 26, 2024

What Webmin version is getting installed?

from virtualmin-install.

acosonic avatar acosonic commented on August 26, 2024

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.

iliajie avatar iliajie commented on August 26, 2024

Is Webmin version installed 1.900? Version 1.920 has netplan fixes.

from virtualmin-install.

acosonic avatar acosonic commented on August 26, 2024

/archives/webmin_1.920_all.deb ...
Unpacking webmin (1.920) ...

from virtualmin-install.

acosonic avatar acosonic commented on August 26, 2024

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.

acosonic avatar acosonic commented on August 26, 2024

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.

acosonic avatar acosonic commented on August 26, 2024

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.

swelljoe avatar swelljoe commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.