Cannot connect to Server - after reboot

tweetyimok

New Member
Sep 29, 2023
3
0
1
I am typing this in case this ever happens to someone. I restarted the server for the first time since the install (over a week ago | standard network config). Couldn't connect to it, couldn't ping it and discovered the nic itself was down. Even if I up it

Discovered the nic itself was down for some or the other reason, 'ip link set eno1 up' gets the nic up but still nothing. ip a also reveals no ipv4?????, and hostname returns nothing. Changed the config, restarted. When I power on - the nic is initially up, but as soon as it boots the nic goes down.

Fast forward many hours -> I did a tutorial on file sharing a few days ago and in that there is an edit to /etc/network/if-up.d/fstab with a simple script to mount all, and execution permission to the file(THIS). I deleted the script BUT never changed the execution. Only once I did that, everything magically again?????

I would really like to know why?
 
I am typing this in case this ever happens to someone. I restarted the server for the first time since the install (over a week ago | standard network config). Couldn't connect to it, couldn't ping it and discovered the nic itself was down. Even if I up it

Discovered the nic itself was down for some or the other reason, 'ip link set eno1 up' gets the nic up but still nothing. ip a also reveals no ipv4?????, and hostname returns nothing. Changed the config, restarted. When I power on - the nic is initially up, but as soon as it boots the nic goes down.

Fast forward many hours -> I did a tutorial on file sharing a few days ago and in that there is an edit to /etc/network/if-up.d/fstab with a simple script to mount all, and execution permission to the file(THIS). I deleted the script BUT never changed the execution. Only once I did that, everything magically again?????

I would really like to know why?
Hi,
by setting the script without the execute flag, you probably made the networking.service fail, which brings up the network stack.

What does this script do? I would not recommend to place custom scripts on your system without knowing exactly what they do, not only because of possible incompatibilities but rather also because of security implications.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!