New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
★ VirMach ★ Black Friday & Cyber Week 2018 ★ RAID 10 SSD ★ OpenVZ & KVM ★ Check inside for offers!
This discussion has been closed.

Comments
Yeah, I did. After like half a min or so, I get this message:
so have no idea does it do anything. It did restart VPS, but as soon as I logged on I saw:
Oh no! :-(
Can you at least ping yourself / localhost :
ping 127.0.0.1with success?The not resolving is clearly the DNS settings.
Unreachable seems like the routing table / wrongly assigned IP etc.
But if ping to localhost doesn't work it's probably the eth0 / network card drivers malfunctioning.
@ZA_capetown yeah, pinging localhost works. If I ping 1.1.1.1 for example, I get
ping:connect: Network is unreachable.Is the network port up?
Route not configured?
IP not configured?
What does
ip r sandip a sshows?@imok netstat is not found, so I'm not sure is there any other way to check beside these:
Ok, that's at least good news.
Look at your /etc/network/interfaces file.
And compare it to the IP listed in your control panel.
Let's say your IP is 123.123.123.123
then your interfaces file should look something like
Then also check your /etc/resolv.conf
It should look something like:
Do those seem correct on your side?
ip r sdoes nothing@ZA_capetown
/etc/network/interfaces file is completely empty. /etc/resolv.conf has:
And thanks for helping guys!
ens3 is down, start by brining it up, maybe DHCP/config will kick in. However this should not happen until you messed with things.
ip link set ens3 upYou have no IP, gateway, DNS configured. This should not happen.
Is this fresh install? Did you mess with something? Is this image install? Don't you want to re-install system from the panel?
ok great...
So both your IP is not assigned and the routing/gateway is not set
so taking 123.123.123.123 as your example IP (check in control panel your actual IP)
So try:
ifconfig eth0 123.123.123.123 netmask 255.255.255.0 upthen
route add default gw 123.123.123.1Then test to ping again to an external IP
ip a snow showingYes, fresh install. First, I had Ubuntu 18.04 desktop I think and internet didn't work either, so tried that reconfigure networking button in control panel. I'm not sure did it work, but eventually I noticed there is an internet connection. Also, I noticed main IP is changed, I'm not sure when did that happened. So I though the problem is fixed and wanted to install debian 10. It showed some networking issue in the middle of installer. I thought there is some issue in Debian ISO itself being netinstall edition, so I mounted ubuntu 20.04 ISO and installed it. I did nothing after the installation, except that I changed boot order in the control panel, so it doesn't boot into the installer again.
Unfortunately, I can't use ifconfig as it's reporting it as not found.
ok... without ifconfig... use the newer ip command
I think if you just create the /etc/network/interfaces file as above it should work, but you can also try...
Assign your IP:
ip addr add 123.123.123.123 dev eth0then create your gateway:
ip route add default via 123.123.123.1@ZA_capetown I made /etc/network/interfaces file as you wrote above (with my IP obviously) and edited resolv.conf, but no luck for now.
If I try first command for assigning IP, I get:
Cannot find device "eth0"oh.. wait yours is ens3 ? ...ok try ens3 instead of eth0 :-)
Now ip addr passes without any output, yet ip route shows
RTNETLINK answers: Network is downedit: got
Error: Nexthop has invalid gatewayip link set ens3 up?Passed without any output, but ip route returned the same message again.
Tbh, I can't believe it requires all these stuff to be done just to make internet connection works and yet it still hasn't been set up.
Yes, all this is supposed to be set automatically as jabjab mentioned earlier... I haven't had to set these by hand in ages...
re: the "nexthop invalid gateway" error... are you sure you didn't make a typo with the add default line? the IP of the gateway ending in .1 ?
And that is where I'm assuming it is a 255.255.255.0 subnet mask etc etc...
...if it is not, the gateway might be something else, like 123.123.120.1 (and not *.123.1 - if using a different subnet mask)
hang on a moment I think actually solus has an option to get the correct networking info, will check quick
we dont like you
Yeah, it's .1 at the end.
Gateway is the same as the IP except it has .1 and the end ofc. As you mentioned, solus has that info, it can be found by clicking the IP on Network tab in the control panel.
Ok... so... did you use eth0 or ens3? And did you reboot after you created the file?
I'm used to it being "eth0"... but in your case it seems it is using "ens3" - so you have to keep it the same in all those files/commands
(I do apologise I'm with lack of sleep, so I'm feeling like I'm not being of much help right now :-O )
Not always, not everything runs on /24.

Clicking the IP in Network tab of control panel is correct way to get your 'supposed' IP, netmask and gateway, yes.
However here I would just reinstall system from one of the provided images. If autoconfig went wrong with IP you have no idea what else is wrong.
Aah, the random VPS I checked just now of mine... in the Solus-> Network->
I see that one of mine actually uses "255.255.255.224" as the netmask, and not 255.255.255.0
So... what info does that give you?
The same as my examples? Or different?
Use those listed in Solus
Yes, I thought it cooler to 'quickly' fix it by hand... but I agree with @JabJab that a re-install is the better way to go...
...also maybe there is an error in the system right now and by tomorrow it will be fixed and the install will work correctly?
Might be better than trying for too long now when it's maybe a system wide glitch
Well for my VPS, it looks like this:
Anyway, I mounted ISO again and second step on the installer, it shows this:

At the bottom is the option "Continue without network". So I guess this is the problem, as it was the same thing with previous OSes, what should I do here?
There should be 'configure manually' somewhere - maybe you need to back and click it screen earlier, I don't remember
also please specify the node (from Solus/panel) you are running on, VirMach probably would want to investigate it one day why DHCP is dead.
I'm giving up, honestly. I spent way more time than I planned.
Once clicked on
ens3 ethsmall menu opens up, where you can pick 'edit IPv4'. Once clicked there, it gives optionsAutomatic (DHCP)which does nothing I guess, because once picked, it shows DHCPv4 and it endlessly "spins", will be possible to see on the screenshot below.If I pick manual, I get this:
Node is AMSKVM5.
@VirMach there seems to be DHCP dead on that node, please fix
Almost, this is good. The subnet comes as
255.255.255.0, delete the/24and it should be good - this should match the data in SolusVM -.> Network -> Click IP.