Cant download package to vps

Makkan Robertsson

Renowned Member
Jun 27, 2012
2
0
66
Sweden
Hello, I just installed an ubuntu vps into my proxmox.
But the problem is when im going to install some programs from sourceforge i get:

Resolving sourceforge.net... failed: Temporary failure in name resolution.
wget: unable to resolve host address `sourceforge.net'

I can connect to my vps and all is looking good, i hope.
What can i do to solve this?

Regards, Makkan.
 
Hello, I just installed an ubuntu vps into my proxmox.
But the problem is when im going to install some programs from sourceforge i get:

Resolving sourceforge.net... failed: Temporary failure in name resolution.
wget: unable to resolve host address `sourceforge.net'

I can connect to my vps and all is looking good, i hope.
What can i do to solve this?

Regards, Makkan.
Hi Makkan,
your network config inside your guest seems not configured right (ip address, default route, name-server).

What kind of VM and network do you use (kvm, openvz and bridged, nat, venet)?

For further help please also post the output of following commands inside the VM:
Code:
ifconfig -a
ip route
cat /etc/resolv.conf
Udo
 
Hi Makkan,
your network config inside your guest seems not configured right (ip address, default route, name-server).

What kind of VM and network do you use (kvm, openvz and bridged, nat, venet)?

For further help please also post the output of following commands inside the VM:
Code:
ifconfig -a
ip route
cat /etc/resolv.conf
Code:
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2004 (2.0 KB)  TX bytes:2004 (2.0 KB)


venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.2  P-t-P:127.0.0.2  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:42 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4673 (4.6 KB)  TX bytes:5265 (5.2 KB)


venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.10.10.10  P-t-P:10.10.10.10  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

Code:
default dev venet0  scope link

Code:
search kimsufi.com
nameserver 127.0.0.1
nameserver 213.186.33.99