Forum › Forums › New users › New Users and General Questions › enabling ipv6
- This topic has 26 replies, 6 voices, and was last updated Jun 3-11:59 am by fredbisard.
-
AuthorPosts
-
May 24, 2019 at 7:44 am #21982Member
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.disableIPv6everything 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.
May 24, 2019 at 9:32 am #21992Member
Xecure
::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 = 0Now execute this in terminal so that changes take effect
sudo sysctl -pSave 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.May 24, 2019 at 11:28 am #21998Memberfredbisard
::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.
May 24, 2019 at 1:45 pm #22003Anonymous
May 24, 2019 at 3:02 pm #22005Member
Xecure
::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 miredoIf 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.May 25, 2019 at 4:41 am #22010Memberfredbisard
May 25, 2019 at 12:08 pm #22022Anonymous
::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/interfacesOne line under the line:
allow-hotplug eth0Add this line:
iface eth0 inet6 dhcpSave and close the editor and execute:
sudo ifdown eth0 && sudo ifup eth0You 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/May 25, 2019 at 7:32 pm #22033Memberfredbisard
::@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.
May 25, 2019 at 8:01 pm #22035Memberfredbisard
::@noClue:
i don’t have the line allow-hotplug eth0i have this:
[code]
auto lo
iface lo inet loopbackiface 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.0allow-hotplug eth1
iface eth1 inet dhcpallow-hotplug eth2
iface eth2 inet dhcpallow-hotplug eth3
iface eth3 inet dhcp
[/code]- This reply was modified 3 years, 11 months ago by fredbisard.
May 25, 2019 at 8:59 pm #22038Anonymous
::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.0I’m not sure if yours will be dhcp or static? you can try both.
thx @noclue that worked perfect for my isp.
except I usedsudo leafpad /etc/network/interfacesMay 25, 2019 at 9:22 pm #22041Memberfredbisard
::@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.
May 25, 2019 at 9:31 pm #22043Anonymous
::xecure wrote:
but how do you know ipv6 is disabled?the output of
inxi -ziwill show
the ipv6 scope as global.@fredbisard
yes just add it below your eth0 line. And then do the
sudo ifdown eth0 && sudo ifup eth0in the terminal
and try the website again.May 26, 2019 at 5:23 am #22046Member
Xecure
::xecure wrote:
but how do you know ipv6 is disabled?the output of
inxi -ziwill 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.May 28, 2019 at 7:19 am #22182Memberfredbisard
::@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.
May 28, 2019 at 7:50 am #22186Anonymous
::As I wrote earlier, it pretty much depends on your provider.
Maybe try:
iface eth0 inet6 autoSome additional info that might help:
https://wiki.debian.org/NetworkConfiguration
https://superuser.com/questions/630275/cannot-get-an-ipv6-address-on-debian
https://blog.sleeplessbeastie.eu/2017/06/19/how-to-assign-an-ipv6-address-to-an-interface/
https://www.cyberciti.biz/faq/ubuntu-ipv6-networking-configuration/ -
AuthorPosts
- You must be logged in to reply to this topic.