Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: IPv6 still enabled

  1. #1
    Join Date
    Feb 2016
    Beans
    210

    Unhappy IPv6 still enabled

    I am using 18.04 Desktop and have WIFI IPV6 disabled in the wifi configurations. but when I go to the "details" tab it shows an IPv6 address as if disabling IPV6 had no affect.

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: IPv6 still enabled

    The only way "I" have found to disable "IPV6" is to do so via grub:
    Code:
    sudoedit /etc/default/grub
    And add to this line:
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet ipv6.disable=1"
    So you will need to add "ipv6.disable=1" save and close, and then run:
    Code:
    sudo update-grub
    Now after a reboot you should have IPV6 disabled, and check this for verification:
    Code:
    sudo sysctl -a|grep disable_ipv6
    [sudo] password for me: 
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.enp0s25.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    net.ipv6.conf.tun0.disable_ipv6 = 1
    net.ipv6.conf.wlp3s0.disable_ipv6 = 1
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  3. #3
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,521
    Distro
    Ubuntu Development Release

    Re: IPv6 still enabled

    Quote Originally Posted by 1fallen View Post
    The only way "I" have found to disable "IPV6" is to do so via grub:
    I do the same as 1fallen.
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  4. #4
    Join Date
    Feb 2016
    Beans
    210

    Re: IPv6 still enabled

    I understand what your saying 1fallen but the grub is for boot up paramaters the operating system should override the settings once up and running. This should be corrected as Ubuntu has the option to turn opv6 off but it does not work.

  5. #5
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,703

    Re: IPv6 still enabled

    Quote Originally Posted by cam17 View Post
    I understand what your saying 1fallen but the grub is for boot up paramaters the operating system should override the settings once up and running. This should be corrected as Ubuntu has the option to turn opv6 off but it does not work.
    How do you think you have disabled it? I can't find a setting to disable IPv6, only to ignore the interface, enable DHCP or to add additional IPv6 addresses.

  6. #6
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: IPv6 still enabled

    Quote Originally Posted by cam17 View Post
    This should be corrected as Ubuntu has the option to turn opv6 off but it does not work.
    You will have to show me that one. ignore and disable have two very different meanings here.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  7. #7
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,703

    Re: IPv6 still enabled

    These are the settings I could find:
    Attached Images Attached Images

  8. #8
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: IPv6 still enabled

    Gnome control center looks like this


    Older control center layout had it marked as ignore.
    (Like that used by unity)
    Attached Images Attached Images
    Last edited by deadflowr; October 26th, 2018 at 09:00 PM. Reason: fixed weird attachment issue
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  9. #9
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: IPv6 still enabled

    Edit the file sysctl.conf as root with the command "sudo nano /etc/sysctl.conf". Add these two lines to the bottom of the file:

    Code:
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    Reboot. You should no longer see an IPv6 entry if you use "ifconfig".
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  10. #10
    Join Date
    Mar 2009
    Beans
    1,982

    Re: IPv6 still enabled

    Just out of curiosity, what's your motivation in disabling ipv6? Is it just a lack of understanding of what's involved, or a security issue, or something else?

    If you're worried about a security issue, then turning off IPV6 at the router will likely be all you need. But that said, if you want to be extra safe you could do what everyone else is saying.

    Your ISP may not supply IPV6 access anyway, you can find out by looking for global addresses:

    Code:
    $ sudo ip -6 address list
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
        inet6 ::1/128 scope host 
           valid_lft forever preferred_lft forever
    2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
        inet6 dad:ea75:dead:beef:3cd0:a325:e5c2:976f/64 scope global temporary dynamic 
           valid_lft 541585sec preferred_lft 23136sec
        inet6 fe80::406:100e:3594:9b6c/64 scope link noprefixroute 
           valid_lft forever preferred_lft forever
    If you don't have global addresses then your router doesn't supply ipv6 functionality, or your ISP doesn't.

    If your addresses start with fe80 then they will never be accessible on the public Internet.
    Last edited by 1clue; October 26th, 2018 at 09:06 PM.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •