Ooops! Messed up network with IPv6

  • I enabled IPv6 in the Networking section of the web gui... then it lost communication with the server.
    I then rebooted the OMV server and it hangs while trying to bind samba services.
    Is there a way to restore the IPv4 address so the system will boot?


    It the same problem that has been posted by 'pntless' pasted below...


    http://forums.openmediavault.o…up-and-system-won-t-boot/


    --------------------------------------------------------------------------------------------------------------


    Configuring network interfaces...RTNETLINK answers: File exists
    Failed to bring up lo.
    Internet Systems Consortium DHCP Client 4.2.2
    Copyright 2004-2011 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/


    Listening on LPF/eth0/00:0c:29:9e:d4:45
    Sending on LPF/eth0/00:0c:29:9e:d4:45
    Sending on Socket/fallback
    DHCPREQUEST on eth0 to 255.255.255.255 port 67
    DHCPACK from 192.168.1.1
    Reloading /etc/samba/smb.conf: smbd only.
    bound to 192.168.1.15 -- renewal in 7137 seconds
    _


    ---------------------------------------------------------------------------------------------------------------------

    I tried to boot with the Ethernet cable unplugged with no success...
    Any help would be appreciated...

  • Thanks... I'll give that a try...


    Ok... Well I could not disable onboard LAN in BIOS... option greyed out?


    I did find I could select a recovery mode and boot with network cable unplugged... Yay! :)
    Logged on with root and password... Yay! :)
    enter command "/etc/network/interfaces" and received "permission denied" :/


    What shall I do next??? :whistling:


    Must sleep now... I come back soon to see if there is a reply... Thanks!

  • Ok... Thanks for the help...
    I used the 'nano' command and I get a text editor...


    The contents of the file are:


    ----------------------------------------------------------------------------------


    # The loopback network interface
    auto lo
    iface lo inet loopback
    iface lo inet6 loopback


    # eth0 network interface
    auto eth0
    aalow-hotplug eth0
    iface eth0 inet dhcp
    dns-search com
    iface eth0 inet6 dhcp
    pre-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
    pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6


    ----------------------------------------------------------------------------------
    There may be a typo in there....


    Now what do I remove? All of it???


    Or how should I edit the above to reinstate IPv4???


    Thanks

Jetzt mitmachen!

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