Jump to content

No Internet Connection


Recommended Posts

I just moved into my new house (moved from Alaska to Michigan and my server survived the flight) I just hooked everything up and it is running great, well the server part is. I can access all my files and see all the interface pages. The only problem is no internet connection. I have SABnzbd + Sickbeard running and neither of them can connect. I know they programs are running because I can interact with them, I just cant get SABnzbd to download (No connections) and I cant get Sickbeard to search. I am a real noob and I dont know what kind of logs/screen shots or other facts you need. Any help would be appreciated. Than you

Link to comment

The output of the following commands from the unRAID command line or root prompt could be useful:

 

route

ethtool eth0

ethtool -i eth0

 

Chances are it doesn't have a default gateway setup or the one setup isn't your Internet Router and thus it can't communicate outside your LAN.

 

How is your network and internet setup? You do have a Router connected to your Cable Modem or DSL Modem, right?

 

Also, please post a syslog. Instructions should be included in one of the links in my signature.

Link to comment

root@Tower:~# route

Kernel IP routing table

Destination    Gateway        Genmask        Flags Metric Ref    Use Iface

192.168.1.0    *              255.255.255.0  U    0      0        0 eth0

loopback        *              255.0.0.0      U    0      0        0 lo

 

 

root@Tower:~# ethtool eth0

Settings for eth0:

        Supported ports: [ TP MII ]

        Supported link modes:  10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Half 1000baseT/Full

        Supports auto-negotiation: Yes

        Advertised link modes:  10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Half 1000baseT/Full

        Advertised auto-negotiation: Yes

        Speed: 100Mb/s

        Duplex: Full

        Port: MII

        PHYAD: 0

        Transceiver: internal

        Auto-negotiation: on

        Supports Wake-on: pumbg

        Wake-on: g

        Current message level: 0x00000033 (51)

        Link detected: yes

 

root@Tower:~# ethtool -i eth0

driver: r8169

version: 2.3LK-NAPI

firmware-version:

bus-info: 0000:03:00.0

 

 

I have a wireless router with a Cable Modem connected to the WAN and the UnRaid connected to LAN, I am currently using the wireless to connect to the internet, so I know that part is working.

syslog.zip

Link to comment

Do you have your unRAID server using DHCP or do you have the IP address hardwired? If it is, have you tried using DHCP? That should auto-detect the needed settings. The following file contents are of interest: /boot/config/network

cat /boot/config/network

 

If you are running things hard-wired, there is a way of adding the default gateway using the unRAID Management Console. However I am running the 5.0 beta 2 series and I do not remember how to set it up in the 4.x series. It should be as simple as finding the proper IP address and entering it into that field. I'm not certain if the server needs a reboot after that setting is modified.

 

The following information might help you with determining what your router information is for the wired ports.

 

I think it's as I suspected, for some reason it doesn't look like you have a default route setup. For reference, here's how my route table looks. The "10.0.0.128" is my internet router. You can ignore the difference in IP blocks used (192.168.1.x for you, 10.0.0.x for me). Though notice that it's setup as my default route for unknown locations, such as the IPs on the internet.

 

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     202    0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.0.0.128      0.0.0.0         UG    202    0        0 eth0

 

Do you happen to know the Wired IP address of your router? That needs to be added to your server's routing table as the default gateway. If you're using a WinOS on your client PC, you might be able to determine what it is by doing the following from a DOS command prompt. This is assuming you can plug in a network cable to the PC and it finds the wired router information in addition to the wireless information.

route PRINT

 

It's output looks something like this:

===========================================================================
Interface List
13...00 01 2e 2f 14 56 ......Intel(R) 82578DM Gigabit Network Connection
11...1c 4b d6 c3 00 c3 ......802.11n Wireless LAN Card
 1...........................Software Loopback Interface 1
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
         0.0.0.0          0.0.0.0       10.0.0.128        10.0.0.19     10
        10.0.0.0    255.255.255.0         On-link         10.0.0.19    266
       10.0.0.19  255.255.255.255         On-link         10.0.0.19    266
      10.0.0.255  255.255.255.255         On-link         10.0.0.19    266
       127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
       127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
 127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
       224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
       224.0.0.0        240.0.0.0         On-link         10.0.0.19    266
 255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
 255.255.255.255  255.255.255.255         On-link         10.0.0.19    266
===========================================================================

 

To add the default gateway the command is as follows, of course replace the 192.168.1.254 with your actual Wired Router IP address.

route add default gw 192.168.1.254 eth0

 

Another general purpose command that sometimes provides useful information is ifconfig, which will include the current IP address, the netmask, and the broadcast Mask as well as any errors with packets.

ifconfig eth0

Link to comment

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Mandy>route PRINT
===========================================================================
Interface List
11 ...00 1d 72 53 5c 56 ...... NVIDIA nForce Networking Controller
10 ...00 21 00 0e 14 22 ...... Broadcom 802.11b/g WLAN
  1 ........................... Software Loopback Interface 1
13 ...02 00 54 55 4e 01 ...... Teredo Tunneling Pseudo-Interface
15 ...00 00 00 00 00 00 00 e0  isatap.{F067A2EF-D69E-4110-B9E0-A95D45201D09}
14 ...00 00 00 00 00 00 00 e0  isatap.{5F158BCA-E693-4911-92D6-777315B6B351}
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1      192.168.1.3     25
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      192.168.1.0    255.255.255.0         On-link       192.168.1.3    281
      192.168.1.3  255.255.255.255         On-link       192.168.1.3    281
    192.168.1.255  255.255.255.255         On-link       192.168.1.3    281
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link       192.168.1.3    281
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link       192.168.1.3    281
===========================================================================
Persistent Routes:
  None

IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination      Gateway
13     18 ::/0                     On-link
  1    306 ::1/128                  On-link
13     18 2001::/32                On-link
13    266 2001:0:4137:9e76:cbe:3deb:3f57:fefc/128
                                    On-link
10    281 fe80::/64                On-link
13    266 fe80::/64                On-link
13    266 fe80::cbe:3deb:3f57:fefc/128
                                    On-link
10    281 fe80::d5b5:c2f2:2b09:fb1d/128
                                    On-link
  1    306 ff00::/8                 On-link
13    266 ff00::/8                 On-link
10    281 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

 

I have the Tower set to a static IP 192.168.1.169, I kind of want it to stay static for the SABnzbd and Sickbeard.

UNRaid_Settings.jpg.79765f09213cda24b63ef4f077aab5d7.jpg

Link to comment
  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...