Internet Problem

computerkid

Distinguished
Oct 26, 2010
22
0
18,510
After installing Apache, Postfix, Phpmyadmin and Cyrus mail server and rebooting, no valid Internet connections are found? :cry:
 
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?

[cpp]sudo ifconfig eth0[/cpp]

Run the command and post the output.
 

computerkid

Distinguished
Oct 26, 2010
22
0
18,510
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:~$
 

computerkid

Distinguished
Oct 26, 2010
22
0
18,510

I think I 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?
 
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_HOWTO_:_Ch04_:_Simple_Network_Troubleshooting which describes troubleshooting techniques for Linux networking.
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
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.
 
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.
 

computerkid

Distinguished
Oct 26, 2010
22
0
18,510
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:
 

computerkid

Distinguished
Oct 26, 2010
22
0
18,510

Awesome...
 
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.