Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't update from 2.1.6 #354

Open
leodev12345 opened this issue Feb 27, 2025 · 0 comments
Open

Can't update from 2.1.6 #354

leodev12345 opened this issue Feb 27, 2025 · 0 comments

Comments

@leodev12345
Copy link

So I recived my nanokvm full today and right off I noticed that I can't check for updates since in the update section it gives an error about version info so I tried to run the python script for manual updating and it also did not work. I had also previously set up a static ip adress with the provided instructions and set the ip to 192.168.1.200 and gateway to 192.168.1.1

Problem 1. - wrong gateway settings

I accessed the nanokvm over ssh and right off i can see that there is no way to access the internet, pinging 8.8.8.8 gives an network unreachable error and i soon noticed that in the output of ip r the gateway route for eth0 is just wrong, its set to 192.168.1.0 for some weird reason even tho I never specified that adress and it seems to be hardcoded because when you reboot it just reverts back to it.

So to fix this issue I ran ip route add default via 192.168.1.1 dev eth0 and that seemed to have fixed that isssue, I could now ping 8.8.8.8

Problem 2. - wrong DNS settings

So with the gateway problem fixed I ran the script again and it still did not work, I also noticed that I can't still ping domains because the DNS config was wrong so I ran cat /etc/resolve.conf and all the nameservers were there, but there was something weird, there are actually 2 files: resolv.conf and resolve.conf and when you try to cat the resolv.conf it says that the file does not exist for some weird reason even tho it is clearly there? So to fix this i ran vi /etc/resolv.conf and entered nameserver 8.8.8.8 and saved it and it worked right up, seems like all contents of resolve.conf should be in resolv.conf instead?

Solution

When i added that route and fixed the DNS problem the update script downloaded the update and everything worked fine, rebooted but now all of the things I did are gone and there is again no internet or working DNS on the nanokvm, which is fine by me since I dont want this thing accessing anything outside my network anyway but I suppose this issue should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant