I took VDS 256 RAM to work, purely symbolically, installed XRDP, I connect, everything is OK, only the Internet connection icon is crossed out, it doesn’t load anything in the browser, all Internet-related commands do not work in the terminal. I do not know what to do, those. support to help refuses. Yes, the most interesting is that the server itself is accessible via SSh normally connects to it.

After installing XRDP, I rebooted the server and the Internet stopped working. I installed it like this:

yum -y upgrade

yum -y install xorg-x11-fonts-Type1 xorg-x11-fonts-truetype

yum -y groupinstall "X Window System" "Desktop"

rpm -Uvh http://fedora.ip-connect.vn.ua/fedora-epel/6/i386/epel-release-6-8.noarch.rpm

yum -y install xrdp yum -y install tigervnc tigervnc-server tigervnc-server-module

chkconfig haldaemon --levels 2345 off

chkconfig xrdp --levels 345 on service xrdp start

After rebooting, I check, and here:

[root@vm~]# wget vk.com --2015-12-01 04:46:42-- http://vk.com/ Resolving vk.com... failed: Temporary failure in name resolution. wget: unable to resolve host address `vk.com' 

Before installation, everything worked.

UPD: output $ ls -l /etc/resolv.conf

 -rw-r--r-- 1 root root 242 Dec 1 06:05 /etc/resolv.conf 

output $ cat /etc/resolv.conf

 # Generated by NetworkManager search hv8.ru # No nameservers found; try putting DNS servers into your # ifcfg files in /etc/sysconfig/network-scripts like so: # # DNS1=xxx.xxx.xxx.xxx # DNS2=xxx.xxx.xxx.xxx # DOMAIN=lab.foo.com bar.foo.com 

ping 8.8.8.8 command works

 64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=2.68 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=58 time=2.53 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=58 time=2.59 ms 64 bytes from 8.8.8.8: icmp_seq=4 ttl=58 time=2.30 ms 64 bytes from 8.8.8.8: icmp_seq=5 ttl=58 time=2.37 ms 64 bytes from 8.8.8.8: icmp_seq=6 ttl=58 time=2.45 ms 64 bytes from 8.8.8.8: icmp_seq=7 ttl=58 time=2.52 ms 64 bytes from 8.8.8.8: icmp_seq=8 ttl=58 time=2.30 ms 64 bytes from 8.8.8.8: icmp_seq=9 ttl=58 time=2.87 ms 

UPD: found on the similarity of such, ifcfg-venet0:0 tried to add to everything, to no avail, after rebooting the network the server does not respond, and it needs to be rebooted completely ... why, after installing XRDP, everything gets lost?

ALMOST DECIDED: in general it got to the point that I stupidly copied the resolv.conf file from the distribution I just installed, and after setting it replaced, the icon still shows that there is no connection, but the Internet works, but after rebooting nothing works...

  • if you ping any server to the address, let's say ping 8.8.8.8, and everything will be fine, then the DNS question and the file /etc/resolv.conf should be corrected for DNS servers. - maint
  • Attach the output of the following commands to the question: $ ls -l /etc/resolv.conf and $ cat /etc/resolv.conf . You can make corrections by clicking edit below question text. - aleksandr barakin

2 answers 2

judging by the contents of the /etc/resolv.conf file, its content is managed by networkmanager scripts.

it also has a hint where exactly and in what form the nameservers should be entered :

into one of the ifcfg* files in the /etc/sysconfig/network-scripts directory. most likely it will be ifcfg-eth0 .

if the provider / hoster did not provide you with the addresses of their internal nameservers , you can use the public ones from google :

 DNS1=8.8.8.8 DNS2=8.8.4.4 

after adding these lines, the network must be restarted. like that:

 $ sudo service network restart 

    The same problem occurs on some bad hosting.
    And the whole thing turned out to be in NetworkManager - it just needs to be restarted:

     service network restart 

    That's all.