How to Configure Ubuntu/Debian Network (Install Issue)

Here is a workaround for Ubuntu/Debian Based VPS Network Issue not up after install or re-install.




There is a bug/issue for Debian/Ubuntu not having the network not automatically configured when fresh installed. Here is a simple guide to work-around it.


Login to your Solusvm VPS Control Panel and Access the Serial Console

Once you are at the terminal

$ vi /etc/network/interfaces

or nano if it is pre-installed

add the following configurations


auto venet0
iface venet0 inet static
address 127.0.0.1
netmask 255.255.255.255
broadcast 0.0.0.0
up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
up route add default gw 192.0.2.1
auto venet0:0
iface venet0:0 inet static
address XXX.XXX.XXX.XXX    # your assigned public IP
netmask 255.255.255.248
broadcast 0.0.0.0


Save the file and invoke the command to restart network.


$ service network restart

or

$ /etc/init.d/network restart


To test the new configuration ping any known domain from the terminal

$ ping yahoo.com

There should be a reply that you are online

Now you are online you might want to update your repo

$ apt-get update && apt-get upgrade


You might also want to test it connecting via SSH
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I upload files to my server

You can upload files via ssh or sftp. You can use a ftp-client to connect to your server.You can...

Securing your VPS/Server

Securing your VPS/Server Guidelines This guide is divided into several sections....

Powered by WHMCompleteSolution