No connection after first time reboot

Issues related to configuring your network
Post Reply
jim jones
Posts: 5
Joined: 2018/05/29 23:09:21

No connection after first time reboot

Post by jim jones » 2018/05/29 23:23:30

After the VPS had been rebooted i lost connection to it besides console.

I used to login via SSH but it times out.
Things like httpd are running but can't reach the server by it's IP address, i tried switching off firewalld and still no connection.

Can't ping anything besides localhost (tried 8.8.8.8 the gateway IP and google)

How would i go about to solve this issue?

User avatar
jlehtone
Posts: 1944
Joined: 2007/12/11 08:17:33
Location: Finland

Re: No connection after first time reboot

Post by jlehtone » 2018/05/30 07:42:47

You have console. The first thing is to gather information.

What is the current network config? These should show some:

Code: Select all

nmcli
nmcli d s
nmcli c s
ip -4 ad
ip ro
How is the VPS supposed to get network configuration? DHCP from the host?

jim jones
Posts: 5
Joined: 2018/05/29 23:09:21

Re: No connection after first time reboot

Post by jim jones » 2018/05/30 21:59:36

It's an emulator i think? It's via the browser.

I haven't been able to copy the output from there to my computer so i made a screenshot.
Can you work with this?

output.png

NetworkManager wasn't turned on so i turned that on

I'm not familliar with any configuration details or DHCP
I believe some configuration comes from here (ifcfg-eth0)

ifcfg-eth0.png
Last edited by jim jones on 2018/06/06 09:46:08, edited 2 times in total.

User avatar
jlehtone
Posts: 1944
Joined: 2007/12/11 08:17:33
Location: Finland

Re: No connection after first time reboot

Post by jlehtone » 2018/05/30 22:42:34

The interface had been configured even though NetworkManager.service was off. Something else, like network.service, had set the configuration.

The configuration looks static. Stored in file(s). No DHCP in use.
Who did set it? You, with values given to you by service provider, or you got the VPS pre-configured?


'ip ad' did show NO-CARRIER, state DOWN for eth0. Has that changed after starting the NetworkManager?

jim jones
Posts: 5
Joined: 2018/05/29 23:09:21

Re: No connection after first time reboot

Post by jim jones » 2018/05/31 00:29:49

It's possible i turned it off myself after reading about it somewhere.

It came pre configured i think. I only installed things like http and mail server

"ip ad" still shows NO-CARRIER and DOWN

jim jones
Posts: 5
Joined: 2018/05/29 23:09:21

Re: No connection after first time reboot

Post by jim jones » 2018/05/31 16:38:51

Apparently they keep monkeys at my provider and one of them had unplugged a cable

It's supposedly fixed now (almost) :lol: :cry:

Post Reply