<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 10:29 AM Allen Edwards <<a href="mailto:allen.p.edwards@gmail.com">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 dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 3, 2019 at 9:59 AM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</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">On Wed, 3 Apr 2019 17:39:34 +0100, you wrote:<br>
<br>
>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>><br>
>wrote:<br>
><br>
>> One solution was to add these lines<br>
>>   net.ipv6.conf.all.disable_ipv6 = 1<br>
>>   net.ipv6.conf.default.disable_ipv6 = 1<br>
>>   net.ipv6.conf.lo.disable_ipv6 = 1<br>
>><br>
>> to etc/sysctl.conf<br>
>><br>
>> But upon reboot I still had net.ipv6.conf.enp2s0.disable_ipv6 = 0 so that<br>
>> didn't work<br>
>><br>
><br>
>In /etc/sysctl.conf?  Are you saying that if you set this to 1 it would be<br>
>reset upon reboot back to 0?<br>
><br>
><br>
>> Another work around said to edit this instead /etc/sysctl.d/99-sysctl.conf<br>
>> but when I opened it, I see that the edits in  etc/sysctl.conf were there<br>
>> as well so that didn't work<br>
>><br>
><br>
>On my 16.04 system, they are the same file.  99-sysctl.conf is a symlink to<br>
>../sysctl.conf.<br>
><br>
>Then there was the suggestion to use the GUI and disable ipv6 from there.<br>
>> That sounded like a great idea but I don't see "disable ipv6"  I see a<br>
>> list of 5 Hosts in system->network->Hosts but that isn't close to the<br>
>> instructions given in the work around.<br>
>><br>
>> I would love to disable ipv6 but what it the correct way to do that on my<br>
>> system?  Mystery.<br>
>><br>
><br>
>Here's an article that seems to suggest that for 18.04 systems, the<br>
>necessary solution is to actually achieve it by passing a kernel parameter<br>
>on boot:<br>
><br>
><a href="https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-18-04-bionic-beaver-linux" rel="noreferrer" target="_blank">https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-18-04-bionic-beaver-linux</a><br>
><br>
>I tried Ian's suggestion and could not log into the computer remotely after<br>
>> doing that so I removed it. The address of myth in my router is reserved so<br>
>> I would have expected that to work.<br>
>><br>
><br>
>Hmm.  Log in remotely how?  What method of logging in remotely are you<br>
>referring to?  This would have to be worked through to solve the problem.<br>
>I would suggest initially checking the Ethernet interface as it is with<br>
>your Network Manager based settings using '/sbin/ifconfig -a' and then<br>
>checking it again after applying settings in /etc/network/interfaces, with<br>
>the same command to make sure it's getting set-up correctly.<br>
><br>
>Cheers, Ian<br>
<br>
>From reading those bug reports, I would say that disabling IPv6 is<br>
likely a red herring.  It seems to be a DHCP problem, so the easy way<br>
to fix that is to use a static IP address as suggested by Ian.<br></blockquote><div><br></div><div>Well, I changed x.x.x.x to 192.168.1.111</div><div>Pretty stupid.</div><div><br></div><div>So I tried this instead</div><div><br></div><div>iface enp2s0 inet static<br>    address 192.168.1.111<br>    netmask 255.255.255.0<br>    gateway 192.168.1.1<br></div><div><br></div><div>But that didn't work either. After rebooting with those changes, there was no ip address assigned, the HDHRs were invisible, and I could not log in remotely.</div><div><br></div><div>Here is what it looks like when it works</div><div><br></div><div><div>2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000</div><div>    link/ether 00:1f:c6:a1:94:c0 brd ff:ff:ff:ff:ff:ff</div><div>    inet <a href="http://192.168.1.111/24" target="_blank">192.168.1.111/24</a> brd 192.168.1.255 scope global dynamic enp2s0</div><div>       valid_lft 86053sec preferred_lft 86053sec</div></div><div><br></div><div><br></div><div>Allen</div></div></div></div></blockquote><div><br></div><div>Stupid again.  Next I tried this</div><div><br></div><div>auto enp2s0</div><div>iface enp2s0 inet static<br>    address 192.168.1.111<br>    netmask 255.255.255.0<br>    gateway 192.168.1.1  <br></div><div><br></div><div>That worked</div><div><br></div><div><div>2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000</div><div>    link/ether 00:1f:c6:a1:94:c0 brd ff:ff:ff:ff:ff:ff</div><div>    inet <a href="http://192.168.1.111/24">192.168.1.111/24</a> brd 192.168.1.255 scope global enp2s0</div><div>       valid_lft forever preferred_lft forever</div></div><div><br></div><div>Sorry for my stupidity and thanks for the persistent help.</div><div><br></div><div>Allen</div><div> </div></div></div></div>