enabling ipv6

  • This topic has 26 replies, 6 voices, and was last updated Jun 3-11:59 am by fredbisard.
Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #21982
    Member
    fredbisard

      hello,
      first post here. just installed antix 17.4.1 on an older toshiba laptop and liking it so far. have had a couple issues after installation that i’ve managed to get corrected already but can’t find anything on how to enable ipv6. can find all kinds of things on disabling it, but i want to enable it. this may turn into a 2 part question as the other laptop i installed antix 17.4.1 on also has non working ipv6.

      laptop is used exclusively being hardwired and never had a problem with ipv6 on lubuntu or mint.

      any help is appreciated and fwiw, i’m not the greatest with command line, so if i need to go there, please explain what to do in clear terms! 🙂

      this is what has been checked already:
      [code]
      inxi -zi
      [/code]
      results
      [code]
      inxi -zi
      Network:
      Device-1: Intel 82566MM Gigabit Network driver: e1000e
      IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
      IP v4: <filter> scope: global
      IP v6: <filter> scope: link
      Device-2: Intel PRO/Wireless 4965 AG or AGN [Kedron] Network driver: iwl4965
      IF: wlan0 state: down mac: <filter>
      WAN IP: <filter>
      [/code]

      First check etc/default/grub and make sure this line has nothing appended to it > GRUB_CMDLINE_LINUX=
      secondly, goto /etc/hosts and check that the following lines do not have a # in front of them
      ::1 localhost ip6-localhost ip6-loopback
      fe00::0 ip6-localnet
      ff00::0 ip6-mcastprefix
      ff02::1 ip6-allnodes
      ff02::2 ip6-allrouters
      you will need to open root Thunar on those folders to make any changes. Run> sudo update-grub from Terminal afterwards to update Grub
      Finally, if you are using a Firefox based browser, check that the following about:config preference is set to false > network.dns.disableIPv6

      everything is set exactly as you said. didn’t have to change anything

      this is copy and pasted from here, [code]https://forum.mxlinux.org/viewtopic.php?f=104&t=50445&p=504040#p504040[/code] if you wish to read the everything.

      #21992
      Member
      Xecure
        Helpful
        Up
        0
        ::

        Hi.
        Sorry if this is a stupid question, but how do you know ipv6 is disabled?
        When you execute in terminal
        ifconfig | grep inet6
        or simply
        ifconfig
        is there no information on “inet6”? (this represents ivp6), if there is, you got IPV6 working.
        If there is no inet6 information, then check /etc/sysctl.conf. If you don’t like terminals, navigate using your file manager, right click and edit as root.

        You should be able to read most stuff there and understand what everything does. If you see nothing useful, add this at the end of the file:

        net.ipv6.conf.all.disable_ipv6 = 0
        net.ipv6.conf.default.disable_ipv6 = 0
        net.ipv6.conf.lo.disable_ipv6 = 0

        Now execute this in terminal so that changes take effect
        sudo sysctl -p

        Save and check ifconfig again on the terminal to see if this time IPV6 is working.

        If I am completely mistaken, and this has nothing to do with your problem, please forgive my blabbering.

        • This reply was modified 3 years, 11 months ago by Xecure. Reason: missing comand so changes take effect

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #21998
        Member
        fredbisard
          Helpful
          Up
          0
          ::

          i know because of ipv6 test sites like this one, [code]https://ipv6-test.com/[/code] and other such sites. this is another site i use that will automatically test speed using ipv6, if it’s available. [code]https://speedsmart.net/[/code]

          will check on what you posted later.

          thank you

          • This reply was modified 3 years, 11 months ago by fredbisard.
          #22003
          Anonymous
            Helpful
            Up
            0
            ::

            FYI, the onboard documentation is fairly comprehensive

            $ apropos ipv6

            #22005
            Member
            Xecure
              Helpful
              Up
              0
              ::

              If you need ipv6 and you want it working without much thought, then the simplest “solution” is to install an IPV6 tunnelling app, like miredo.

              sudo apt-get update
              sudo apt-get install miredo

              If you want to investigate and activate the ipv6 routing yourself, you can do as skidoo sugests.

              antiX Live system enthusiast.
              General Live Boot Parameters for antiX.

              #22010
              Member
              fredbisard
                Helpful
                Up
                0
                ::

                thanks folks. will probably work on this tonight or tomorrow morning.

                #22022
                Anonymous
                  Helpful
                  Up
                  0
                  ::

                  I might be wrong but, if not, activating IPv6 support should be pretty easy:

                  Open the Terminal and …

                  Check settings:
                  cat /etc/network/interfaces
                  (The default output should look like on my screenshots)

                  Add IPv6 support — open the file:
                  sudo nano /etc/network/interfaces

                  One line under the line:
                  allow-hotplug eth0

                  Add this line:
                  iface eth0 inet6 dhcp

                  Save and close the editor and execute:
                  sudo ifdown eth0 && sudo ifup eth0

                  You should see your new assigned IPv6 address.

                  What I can’t really understand is, what’s the sense of it. If I’m not completely wrong …

                  From IPv4 networks, you can’t reach IPv6 networks and other way round, except you use a ‘translator’ (== proxy) BUT, if you use a proxy, you don’t have to activate absolutely anything, you only need to change the web browser and activate VPN proxy in it.

                  My settings didin’t change nor I activated IPv6 (see screenshots 1 – 4).

                  Firefox will NOT show the website ‘www.six.heise.de’ (that’s IPv6 version of ‚heise.de’) but, Opera will show it. Google IPv6 test tells me only, my computer is IPv6 ready.

                  If I activate IPv6, I’m still unable to reach any IPv6 website from my IPv4 network.

                  So, the whole thing is more on the side of your internet provider — if it doesn’t explicitly support the IPv6, activating it will bring you nothing.

                  Here some test websites:

                  https://www.wieistmeineip.de/ipv6-test/
                  https://ipv6test.google.com/
                  https://ipv6-test.com/
                  https://test-ipv6.com/

                  #22033
                  Member
                  fredbisard
                    Helpful
                    Up
                    0
                    ::

                    @Xecure;
                    i ran the commands you suggested and it appears to me that i have ipv6 but can’t post results here as i keep getting a 403 error saying i may have unsafe stuff included in post! can’t figure out what is unsafe! thought it was to code wrap the info but that isn’t working. i don’t want or need to use tunneling on my connection for any other operating system.

                    i edited that one file just for the heck of it and it made no difference either.

                    • This reply was modified 3 years, 11 months ago by fredbisard.
                    • This reply was modified 3 years, 11 months ago by fredbisard.
                    #22035
                    Member
                    fredbisard
                      Helpful
                      Up
                      0
                      ::

                      @noClue:
                      i don’t have the line allow-hotplug eth0

                      i have this:
                      [code]
                      auto lo
                      iface lo inet loopback

                      iface eth0 inet static
                      address 192.168.1.106
                      broadcast 192.168.1.255
                      dns-nameservers 208.67.222.222, 208.67.220.220
                      gateway 192.168.1.1
                      netmask 255.255.255.0
                      network 192.168.1.0

                      allow-hotplug eth1
                      iface eth1 inet dhcp

                      allow-hotplug eth2
                      iface eth2 inet dhcp

                      allow-hotplug eth3
                      iface eth3 inet dhcp
                      [/code]

                      • This reply was modified 3 years, 11 months ago by fredbisard.
                      #22038
                      Anonymous
                        Helpful
                        Up
                        0
                        ::

                        hi fredbisard,

                        try putting it on the line after your eth0 line.

                        iface eth0 inet static
                        iface eth0 inet6 static
                        address 192.168.1.106
                        broadcast 192.168.1.255
                        dns-nameservers 208.67.222.222, 208.67.220.220
                        gateway 192.168.1.1
                        netmask 255.255.255.0
                        network 192.168.1.0

                        I’m not sure if yours will be dhcp or static? you can try both.

                        thx @noclue that worked perfect for my isp.
                        except I used sudo leafpad /etc/network/interfaces

                        #22041
                        Member
                        fredbisard
                          Helpful
                          Up
                          0
                          ::

                          @linuxdaddy:
                          you mean edit that file so it looks just like you have it posted. mine would be static.

                          will try later as i’m getting crossed eyed from looking at this thing!

                          thanks folks 🙂

                          • This reply was modified 3 years, 11 months ago by fredbisard.
                          #22043
                          Anonymous
                            Helpful
                            Up
                            0
                            ::

                            xecure wrote: but how do you know ipv6 is disabled?

                            the output of inxi -zi will show
                            the ipv6 scope as global.

                            @fredbisard
                            yes just add it below your eth0 line. And then do the
                            sudo ifdown eth0 && sudo ifup eth0 in the terminal
                            and try the website again.

                            #22046
                            Member
                            Xecure
                              Helpful
                              Up
                              0
                              ::

                              xecure wrote: but how do you know ipv6 is disabled?

                              the output of inxi -zi will show
                              the ipv6 scope as global.

                              You are completely right. The OP’s inxi -zi output revealed they had ipv6 scope as link, which made me think he did have ipv6 working. As I didn’t know what the OP wanted to achieve, I thought they didn’t realize that their system had IPV6 active (but as you say, not global). I didn’t know enough about network management to be able to answer the questions correctly.

                              linuxdaddy, thanks to you and noClue’s contributions, the OP should be able to solve the problem. And thank you also for explaining this. Now I better understand a bit about how network stuff works.

                              antiX Live system enthusiast.
                              General Live Boot Parameters for antiX.

                              #22182
                              Member
                              fredbisard
                                Helpful
                                Up
                                0
                                ::

                                @linuxdaddy:
                                doing that gets me this:
                                ifdown: missing required variable: address
                                ifdown: missing required variable: address
                                ifup: missing required variable: address
                                ifup: missing required configuration variables for interface eth0/inet
                                ifup: failed to bring up eth0

                                • This reply was modified 3 years, 11 months ago by fredbisard.
                                #22186
                                Anonymous
                                Viewing 15 posts - 1 through 15 (of 27 total)
                                • You must be logged in to reply to this topic.