No reconnection via Ethernet if connection is lost
-
Hello,
I am currently running Cloudron on a home server on Ubuntu 22.04 with a LAN connection to my router.
I currently have the problem that when e.g. the router restarts, the connection is not properly restored because Cloudron remains unreachable. Only after restarting the server is everything accessible again. Since I am not a Linux expert, I wanted to ask if there are specific settings in Cloudron or for the network adapter in Linux to solve this problem.
-
I don’t have this issue on my home server and I go through many power and internet downtime. I live in a thunderstorm prone area.
Are you using a dedicated card or the built in one? What hardware are you running?
-
@humptydumpty Okay, interesting. Then it must be somewhere in my configuration I think. I use a built-in one. I use a Minisforum UM760 Pro as a small home server.
-
@ByMynix Nice unit! When I set up my home server, I remember that the default setting for the storage type (something LVM related) wasn't the same as others have mentioned. I think this was in Ubuntu server 20.04. Maybe, the image you got has some different settings pre-configured?
-
@humptydumpty Thank you very much! That's good to know. I'm using Ubuntu 22.04 LTS Server and have gone through the standard setup + software RAID 1. Other than that, I haven't actually changed anything on the system, beside from Stuff Like fail2ban. Maybe there are certain auto connect options that are not activated?
-
I got a few hits on the ubuntu forums
https://askubuntu.com/questions/1420986/no-internet-connection-in-ubuntu-server-22-04
https://serverfault.com/questions/176827/ubuntu-server-no-internet
-
It's probably some linux server or VM setting. Are you running Cloudron via a Hypervisor? Ubuntu/Linux should automatically re-connect.
If you are using DHCP on the network, assign Cloudron a static IP on the router. Otherwise, ubuntu has to get a new lease and it might take it some to figure this out.
-
@humptydumpty Thanks, I'll Take a Look on it.
-
-
-
@girish Finally, I would like to say that I haven't quite figured out what the problem was. I had used Cloudron bare metal. In the last few days I switched to Windows Server and have Cloudron running in a Linux VM via Hyper V. I then assigned a manual IP there and the problem no longer occurs.
I guess it would have been fixed before with a manual IP as well.