<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 3, 2019 at 9:40 AM Ian Cameron <<a href="mailto:mkbloke@gmail.com">mkbloke@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 3 Apr 2019 at 16:59, Allen Edwards <<a href="mailto:allen.p.edwards@gmail.com" target="_blank">allen.p.edwards@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div>One solution was to add these lines</div><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">  net.ipv6.</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">conf.all.</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">disable_</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">ipv6 = 1</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px"><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">  net.ipv6.</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">conf.default.</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">disable_</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">ipv6 = 1</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px"><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">  net.ipv6.</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">conf.lo.</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">disable_</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">ipv6 = 1</span></div><div><br></div><div>to etc/sysctl.conf</div><div><br></div><div>But upon reboot I still had net.ipv6.conf.enp2s0.disable_ipv6 = 0 so that didn't work</div></div></div></div></blockquote><div><br></div><div>In /etc/sysctl.conf?  Are you saying that if you set this to 1 it would be reset upon reboot back to 0?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div>Another work around said to edit this instead /etc/sysctl.d/99-sysctl.conf<br></div><div>but when I opened it, I see that the edits in  etc/sysctl.conf were there as well so that didn't work</div></div></div></div></blockquote><div><br></div><div>On my 16.04 system, they are the same file.  99-sysctl.conf is a symlink to ../sysctl.conf.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div>Then there was the suggestion to use the GUI and disable ipv6 from there.</div><div>That sounded like a great idea but I don't see "disable ipv6"  I see a list of 5 Hosts in system->network->Hosts but that isn't close to the instructions given in the work around. </div><div><br></div><div>I would love to disable ipv6 but what it the correct way to do that on my system?  Mystery.</div></div></div></div></blockquote><div><br></div><div>Here's an article that seems to suggest that for 18.04 systems, the necessary solution is to actually achieve it by passing a kernel parameter on boot:</div><div><br></div><div><a href="https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-18-04-bionic-beaver-linux" target="_blank">https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-18-04-bionic-beaver-linux</a><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div>I tried Ian's suggestion and could not log into the computer remotely after doing that so I removed it. The address of myth in my router is reserved so I would have expected that to work.</div></div></div></div></blockquote><div><br></div><div>Hmm.  Log in remotely how?  What method of logging in remotely are you referring to?  This would have to be worked through to solve the problem.  I would suggest initially checking the Ethernet interface as it is with your Network Manager based settings using '/sbin/ifconfig -a' and then checking it again after applying settings in /etc/network/interfaces, with the same command to make sure it's getting set-up correctly.</div><div><br></div><div>Cheers, Ian</div></div></div></div></blockquote><div><br></div><div>I log in from a Windows 7 computer using Putty.</div><div><br></div><div>Yes, the two conf files seem to be the same as editing one changed both.</div><div><br></div><div>The issue seems to be that something is resetting the ipv6 so I edited my good old rc.local file and added </div><div><b>sysctl -p</b></div><div>to the first line of my good old rc.local file and now I see</div><div><br></div><div><div><b>net.ipv6.conf.enp2s0.disable_ipv6 = 1</b></div></div><div><br></div><div>And I do not see any ipv6 when I do ip a</div><div><br></div><div>So maybe this will work.</div><div><br></div><div>I will work more if the problem keeps showing up or it there are any other problems caused by this change.</div><div><br></div><div>Thanks as usual for your help.</div><div><br></div><div>Allen</div><div><br></div><div><br></div><div><br></div></div></div></div></div></div>