Can't download templates

chrisdutch

New Member
May 7, 2023
3
0
1
I changed server, everything worked fine on the old pc. now i always get folowing error and also when ping serverver unreachable.
Help..




Task viewer: Bestand alpine/3.17/default_20221129_amd64.tar.xz - Download

UitvoerStatus

Stop

Download
downloading http://download.proxmox.com/images/system/alpine-3.17-default_20221129_amd64.tar.xz to /var/lib/vz/template/cache/alpine-3.17-default_20221129_amd64.tar.xz
--2023-05-07 23:17:48-- http://download.proxmox.com/images/system/alpine-3.17-default_20221129_amd64.tar.xz
Resolving download.proxmox.com (download.proxmox.com)... failed: Temporary failure in name resolution.
TASK ERROR: download failed: wget: unable to resolve host address 'download.proxmox.com'
 
Can you ping a server in the shell?
"ping 1.1.1.1"

if you can't, please share your network configuration
 
yes ping not working in shell. everething worked fine before. Thanks TOxicFX
 

Attachments

  • network.jpg
    network.jpg
    85.2 KB · Views: 25
I need a screenshare of the content of /etc/network/interfaces

using "cat /etc/network/interfaces" in the shell please
 
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun May 7 23:49:12 CEST 2023 on pts/0
root@server:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.82/24
gateway 255.255.255.0
bridge-ports eno1
bridge-stp off
bridge-fd 0

iface wlp2s0 inet manual
root@server:~#
 
after
Code:
gateway 255.255.255.0
try putting this
Code:
dns-nameservers 8.8.8.8

so basically
edit your file doing

"nano /etc/network/interfaces"
delete everything and put that instead

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.82/24
gateway 255.255.255.0
dns-nameservers 8.8.8.8
bridge-ports eno1
bridge-stp off
bridge-fd 0

iface wlp2s0 inet manual

then do

"ifreload -a" to reload your network configuration and downloading a template, should be working
 
Last edited:
gateway != subnetmask

Try a valid gateway first, so your routers IP (probably 192.168.1.1) instead of 255.255.255.0.
And the DNS servers IP is defined in /etc/resolv.conf which should probably also point to your routers IP.
 
Last edited:
gateway != subnetmask

Try a valid gateway first, so your routers IP (probably 192.168.1.1) instead of 255.255.255.0.
And the DNS servers IP is defined in /etc/resolv.conf which should probably also point to your routers IP.
ohh! in fact i didn't see that subnetmask on that gateway LOL my bad
 
gateway != subnetmask

Try a valid gateway first, so your routers IP (probably 192.168.1.1) instead of 255.255.255.0.
And the DNS servers IP is defined in /etc/resolv.conf which should probably also point to your routers IP.
thanks, my similar issue resolved after pointing the DNS to my router ip. However i did this thru GUI only.