Home server showed as connected, but has no connection

Mike Edinger

Honorable
Aug 9, 2013
16
0
10,520
Greetings all,

I have a small home server set up on my network with Ubuntu Server 14.04. Recently I acquired a Netgear WNDR3700v3. It was given to me by a friend, but I reset to factory defaults before connecting it. It is connected with an ethernet cable, not wireless. I've been having a problem with my server staying connected since I got this router.

Basically, if I log into the router, it says the server is connected, but it has no connection. I can't SSH in, I can't access Samba shares, etc. If I try to ping another computer on the network from it, or 8.8.8.8, or google.com, there is no response. The first time this happened, a friend of mine suggested that it might be because of an IP address conflict. I assigned it a static IP address using this guide.

Is there anything else i can try to do to fix this problem?

Thanks in advance for the help.
 
More info is needed, what IP address have you assigned to your server? what subnet mask? what default gateway?

Same goes for your router configuration in it's LAN port.

Also the firewall could be on in your server thus blocking any response, you'll have to open the appropriate ports for samba ssh etc.
 


It's not a persistent problem and can be fixed by either flipping the power switch or doing "ifdown eth0 && ifup etho0" which isn't really possible because the system is isually headless. Because it's not persistent, I don't understand why it would be the ethernet cable, but I'll test it next time it happens.


More info is needed, what IP address have you assigned to your server? what subnet mask? what default gateway?

Same goes for your router configuration in it's LAN port.

Also the firewall could be on in your server thus blocking any response, you'll have to open the appropriate ports for samba ssh etc.

I have the following settings for the server:

address 192.168.1.50
netmask 255.255.255.0
gateway 192.168.1.1

I don't know if the following is what you're looking for regarding the configuration of the LAN port, but I found this under LAN set up:


LAN TCP/IP setup
IP address: 192.168.1.1
IP Subnet mask: 255.255.255.0
RIP Direction : Both
RIP Version: Disabled

Router is being used as DHCP Server
Starting IP address: 192.168.1.2
Ending IP address: 192.168.1.254

Address Reservations:
None


As for a firewall: I didn't install one. However, using the iptables command, I got the following output:


Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


Have you checked you syslog for duplicate address warnings?
To view the syslog, I used "sudo less /var/log/syslog" but the only entries I found were from today. Is there a way to view earlier entries? If there is, what do I look for?