Sign in with
Sign up | Sign in
Your question

Internet Problem

Last response: in Linux/Free BSD
Share
October 22, 2011 5:34:43 AM

After installing Apache, Postfix, Phpmyadmin and Cyrus mail server and rebooting, no valid Internet connections are found? :cry: 

More about : internet problem

October 22, 2011 11:58:25 AM

If you're going to be playing with all that then I'd expect you to know how to trouble shoot this already.

Have you been able to confirm that you're getting an IP address?

  1. sudo ifconfig eth0


Run the command and post the output.
m
0
l
Related resources
October 22, 2011 6:37:20 PM

cesar@cesar-Inspiron-537s:~$ sudo ifconfig eth0
[sudo] password for cesar:
eth0 Link encap:Ethernet HWaddr 00:25:64:00:fa:fa
inet addr:172.19.0.10 Bcast:172.19.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:64ff:fe00:fafa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:108 errors:0 dropped:0 overruns:0 frame:0
TX packets:194 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21636 (21.6 KB) TX bytes:14126 (14.1 KB)
Interrupt:42 Base address:0xe000

cesar@cesar-Inspiron-537s:~$
m
0
l
October 23, 2011 7:57:01 AM

audiovoodoo said:
If you're going to be playing with all that then I'd expect you to know how to trouble shoot this already.

Have you been able to confirm that you're getting an IP address?

  1. sudo ifconfig eth0


Run the command and post the output.

I think I am…
m
0
l
October 23, 2011 9:02:05 AM

What exactly do you mean by "no valid Internet connections are found"?

Have you done basic troubleshooting (tring to ping an external IP Address, doing a traceroute, things like that)?

Have you checked the routing table (netstat -r)? Do you have a default route?
m
0
l
October 23, 2011 9:57:43 AM

Nope. And the network manager thing says no valid Internet connections are found.
m
0
l
October 23, 2011 10:05:16 AM

May I suggest that you do the basic troubleshooting, in particular checking the routing table. You don't tell us whether that is a fixed IP Address or one supplied by the router. If fixed you should try pinging the router. In any case you should try power-cycling the router and checking the router's web interface to see if it is connected to the Internet.

Do you have any other devices using this router? If so, are they functioning or not?

You might like to have a look at http://www.linuxhomenetworking.com/wiki/index.php/Quick... which describes troubleshooting techniques for Linux networking.
m
0
l
October 23, 2011 6:51:19 PM

Dude, I don't know, if you're getting stumped on this fairly simple stuff, I don't know that you should be running apache since it can at times be non-sensical and is kinda a pain to setup/maintain.

Certainly this machine should not be globally-accessibly (read: no firewall in front of it or, even if there is one, ports 80 and 443 etc. forwarded to it), at least until you're a bit more comfortable with administering the system, since it would only be a matter of time before some script kiddie came across your machine and took advantage of some vulnerability or misconfiguration.
m
0
l
October 23, 2011 7:49:09 PM

I'd agree that if the OP is not aware of basic network troubleshooting then it would be extremely unwise to allow this machine to be accessible to the outside world. (phpmyadmin, in particular, is a favourite target of the bad guys.) The good news is that the computer has a private IP address, so won't be externally visible without port forwarding on the router. Hopefully it is only intended for use on a private network.
m
0
l
October 24, 2011 12:49:43 AM

My router is working fine, when I boot into Windows the internet works, and when I did the tracerout thing I got: 1 cesar-Inspiron-537s.local 0.113ms pmtu and 1 cesar-Inspiron-537s.local 2008.946ms !H
And this is what Netstat got: 172.19.0.0 0.0.0.0 255.255.255.0 eth0

169.254.0.0 0.0.0.0 255.255.0.0 eth0

0.0.0.0 172.19.0.1 0.0.0.0 eth0

fe80:: :: 64 eth0

:: :: 128 lo

::1 :: 128 lo

fe80::225:64ff:fe00:fara :: 128 lo

ff00:: :: 8 eth0

:: :: 0 lo

I selected the routing table infomation. :hello: 
m
0
l
October 24, 2011 1:49:32 AM

Ijack said:
I'd agree that if the OP is not aware of basic network troubleshooting then it would be extremely unwise to allow this machine to be accessible to the outside world. (phpmyadmin, in particular, is a favourite target of the bad guys.) The good news is that the computer has a private IP address, so won't be externally visible without port forwarding on the router. Hopefully it is only intended for use on a private network.

Awesome...
m
0
l
November 3, 2011 10:27:34 AM

Have you followed the guide that iJack gave you? No, you just got the hump when he pointed out that you should learn to walk before you attempt to launch rockets. Work through that guide, post questions related to what you find on the way and you'll get more input.

Sorry to sound harsh, but you need to nail that stuff before you play sysadmin.
m
0
l
!