/etc/resolv.conf​ empty after rebooting

  • What am I doing wrong?

    It looks like you're ignoring the warning that is supposed to be there:

    Code
    $ cat /etc/resolv.conf 
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

    You should configure your network setting in the Web GUI.
    If you want to do this manually you can try to edit /etc/network/interfaces, here is an example:


    Code
    # enp1s0 network interface
    auto enp1s0
    allow-hotplug enp1s0
    iface enp1s0 inet static
        address 192.168.1.10
        gateway 192.168.1.1
        netmask 255.255.255.0
        dns-nameservers 192.168.1.1 8.8.8.8

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!