January 28, 20188 yr So basicly I rebooted my VPS and now I don't have internet acces anymore. I fixed this before but I forgot how I did it. I tried adding port 80 to firewall but didn't work. Could really use some help, thanks
January 28, 20188 yr 6 minutes ago, jens4626 said: So basicly I rebooted my VPS and now I don't have internet acces anymore. I fixed this before but I forgot how I did it. I tried adding port 80 to firewall but didn't work. Could really use some help, thanks Internet access to what exactly? The http (or whatever) service running on your CentOS machine or the machine itself?
January 28, 20188 yr Check if your network is disabled? Perhaps you have no ip from the dhcp server? Or you can try the following manually. chkconfig NetworkManager off chkconfig network on service NetworkManager stop service network start
January 28, 20188 yr Just now, Charlotte said: Check if your network is disabled? Perhaps you have no ip from the dhcp server? Or you can try the following manually. chkconfig NetworkManager off chkconfig network on service NetworkManager stop service network start Very very likely that his firewall isn't setup to permanently allow certain ports, hence stopped working after reboot
January 28, 20188 yr Just now, nosepicker said: Very very likely that his firewall isn't setup to permanently allow certain ports, hence stopped working after reboot No idea, it's been awhile since I have used linux.
January 28, 20188 yr Author 2 minutes ago, Charlotte said: Check if your network is disabled? Perhaps you have no ip from the dhcp server? Or you can try the following manually. chkconfig NetworkManager off chkconfig network on service NetworkManager stop service network start Didn't work, I believe it might be an issue with no IPv4 adress but not sure if it is that or how to enable it
January 28, 20188 yr Author 16 minutes ago, nosepicker said: Internet access to what exactly? The http (or whatever) service running on your CentOS machine or the machine itself? I cannot acces Google or osbot on the server
January 28, 20188 yr 7 minutes ago, jens4626 said: I cannot acces Google or osbot on the server What happens when attempting to ping 8.8.8.8? What happens when you attempt /etc/init.d/networking restart Check your static IP information located here: /etc/sysconfig/network-scripts/ifcfg-eth0:
January 28, 20188 yr Why 6th and not 7th? Also go with Debian, centos is legit af but requires tons of care.
January 28, 20188 yr 9 minutes ago, Orlando Bloom said: Why 6th and not 7th? Also go with Debian, centos is legit af but requires tons of care. Install VNC, Desktop enviroment and Java, what is there to care for? Also its typically is always better to go with the 2nd most up to date release as newest are sometimes wacky Edited January 28, 20188 yr by Vap0r
January 28, 20188 yr Author 38 minutes ago, Vap0r said: What happens when attempting to ping 8.8.8.8? What happens when you attempt /etc/init.d/networking restart Check your static IP information located here: /etc/sysconfig/network-scripts/ifcfg-eth0: pinging 8.8.8.8 works fine. When doing /etc/init.d/networking restart it says no such file or directory When I'm doing the this /etc/sysconfig/network-scripts/ifcfg-eth0 I get permission denied
January 28, 20188 yr 7 minutes ago, jens4626 said: pinging 8.8.8.8 works fine. When doing /etc/init.d/networking restart it says no such file or directory When I'm doing the this /etc/sysconfig/network-scripts/ifcfg-eth0 I get permission denied If pinging 8.8.8.8 works fine you have a DNS issue. First do these 2 commands: chkconfig NetworkManager off; service NetworkManager stop If you type: nano /etc/resolv.conf You Should see something like nameserver 202.169.33.220nameserver 202.169.33.222 I typically use google's DNS which is 8.8.8.8 8.8.4.4 Save changes and reboot VPS, you should be able to access web now. Let me know if still an issue Edited January 28, 20188 yr by Vap0r
January 28, 20188 yr Author 20 minutes ago, Vap0r said: If pinging 8.8.8.8 works fine you have a DNS issue. First do these 2 commands: chkconfig NetworkManager off; service NetworkManager stop If you type: nano /etc/resolv.conf You Should see something like nameserver 202.169.33.220nameserver 202.169.33.222 I typically use google's DNS which is 8.8.8.8 8.8.4.4 Save changes and reboot VPS, you should be able to access web now. Let me know if still an issue When I'm trying to stop networkmanger it says failed. This is my resolv.conf
January 28, 20188 yr Remove the # infront of DNS1 DNS2 and domain Replace the X's with DNS1=8.8.8.8 DNS2=8.8.4.4 Domain=localdomain
Create an account or sign in to comment