Ubuntu server disconnecting every 5 minutes
Posted by RealOkarin@reddit | linuxadmin | View on Reddit | 7 comments
So, I installed ubuntu server on my mac mini 2014 and had been using it for a few days but yesterday it started disconnecting from wifi every 5 minutes. It fixes if I run netplan apply again but still disconnects after 5 minutes. I have no idea what is going wrong and the dmesg logs don't show anything. Changing the powersave for wifi to disabled also doesn't fix it.
zeesogji@reddit
I had the same issue a while back. After investigating, I found that both DHCP and a static IP were configured at the same time, which caused conflicts. You could check if thats the case?
RealOkarin@reddit (OP)
I had to configure routes properly. Now everything works. Thank you very much.
zeesogji@reddit
You’re very welcome!
RealOkarin@reddit (OP)
After setting the routes to default and from to my gateway, the problem is back. Internet just disconnects after 5 minutes.
RealOkarin@reddit (OP)
Thank you setting static IP and disabling dhcp4 and dhcp6 worked. But now I can't connect to wireguard.
deiwor@reddit
Agree to this. Check IP address configuration, as a server you'll be better setting static IP address out of bounds of your DHCP configuration
KlausBertKlausewitz@reddit
Did something else change in your network?
Double IP usage on your network maybe?