[Resolved twice] Lost OMV on my network

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Re: Lost OMV on my network

      "tekkbebe" wrote:

      Try setting the fixed ip and dns server in the web-gui and see if OMV's scripts fix your problem. But I'm think there is issue on the 2nd router with dns.


      Thanks for all your help with this!

      Wouldn't a dns problem on the 2nd router mean that other computers connected to it would also have a problem resolving domains? As they don't.

      In the first instance I set the fixed IP and DNS via the GUI. I then tried it using nano and i've now done it via firstaid. They all seem to look the same really.

      ---EDIT

      I guess one option to really rule things out is to move the nasbox to the first router and see if it can then resolve domains.
    • Re: Lost OMV on my network

      "tekkbebe" wrote:

      I don't even know if the 2nd router can be setup properly. Like I said before a switch, in place of the 2nd router, would be the simplest option.

      The thing is, it has worked before.

      It's the new first router and a change of subnet that has triggered this issue. Yeah a switch would be a lot easier and I might do that. It's just not an ideal solution.
    • Re: Lost OMV on my network

      Yup, that's how i've got it setup. At this stage i'm fairly sure I know what the settings I need are. I've been telneting into my 2nd router and making sure it has the right dns entries (1st router + google). + DHCP disabled

      I have noticed that the dhcp lease pool on my 2nd router starts and ends at: 192.168.1.253
      For some reason I can't change this but I don't think this would be an issue since DHCP is disabled.

      Unfortunately the 2nd router isn't support by DD-WRT.

      It's a frustrating problem as my only way of debugging it is by trying to resolve a domain....

      btw my 2nd router specifically is a tg587n v2
    • Re: Lost OMV on my network

      I've fought with various ISP's routers/modems in the past. I know how you feel. I was at the point a long time ago that I will only buy routers I could use with DD-WRT, or Tomato, firmware. The problem lately is the ISP's are starting to lock you out of advanced settings, on their routers/modems, so it is not as easy to bridge their devices if you have your own router.
    • Re: Lost OMV on my network

      Trying out the old 1st router inplace of the 2nd.

      It's a DGN1000. Initial quick setup and I get the same issue. I will play around with this routers settings some more but on the face of it it doesn't look like this is going to work either.

      There is a ping feature from this router and it can't resolve domains.

      Done the usual, setting subnet, gateway, dns etc.
    • Re: Lost OMV on my network

      At this point, i'm ready to accept defeat and buy a gigabit switch.... (wanted one anyway) Just not happy about still having to use a potentially usable wifi router in addition to the switch and the cost of doing this. Wasted too much time on this.

      Thanks for your help tekkbebe, you've been very patient! I've learnt loads!

      ---EDIT

      Switch ordered.... I'll put this one down as a learning experience. at least now I know how to turn off my routers leds via cmd line :lol:
    • Re: Lost OMV on my network

      Hi bibib.
      I see you have ordered a new switch. I still think it is interresting to learn from this.Could you make a traceroute between the OMV and a workstation to your gateway and to 8.8.8.8 while they are behind your second router.

      Source Code

      1. traceroute 192.168.1.1
      2. traceroute 8.8.8.8

      Could you post the results?

      BTW I use a router as a switch. I connect it to the primary router through one of the switch ports. This way it just acts as a switch. On the second router i set up with a fixed ip and disabled routing, dhcp and dns.
      headless Squeeze with backports, Sardaukar current, Asus e35m1-i, 8 gig mem 6x WD30EFRX-68A 3Tb in raid6 with Minecraft,Subsonics, Solarpanel monitor, KVM host for Wheezy guest with iRedMail and Owncloud
      KVM on OMV HowTo: http://forums.openmediavault.org/viewtopic.php?f=13&t=2417
    • Re: Lost OMV on my network

      I'm probably doing this wrong but I get: -bash: traceroute: command not found
      whilst telneting into OMV...

      tried the same cmd through windows just in-case. Also doesn't work there. Assume that I don't know the steps to running these commands as i'm learning a lot still with Linux.
    • Re: Lost OMV on my network

      Traceroute is installed by

      Source Code

      1. apt-get install traceroute
      You need to be root
      or

      Source Code

      1. sudo apt-get install traceroute
      if you have installed sudo

      On windows i think the name is tracert
      start - run - command - tracert <ip_you_wish_to_trace_the_route_to>
      headless Squeeze with backports, Sardaukar current, Asus e35m1-i, 8 gig mem 6x WD30EFRX-68A 3Tb in raid6 with Minecraft,Subsonics, Solarpanel monitor, KVM host for Wheezy guest with iRedMail and Owncloud
      KVM on OMV HowTo: http://forums.openmediavault.org/viewtopic.php?f=13&t=2417
    • Re: Lost OMV on my network

      Thought you might say I needed to install it :D since the domains aren't resolving it can't get the app.

      From Windows cmd I get (same from both 2ndry routers i've tried) Both have dhcp turned off and the dns set to the gateways + googles:
      C:\Users\Thomas>tracert 192.168.1.1

      Source Code

      1. Tracing route to BRIGHTBOX [192.168.1.1]
      2. over a maximum of 30 hops:
      3. 1 3 ms 3 ms 3 ms BRIGHTBOX [192.168.1.1]
      4. Trace complete.


      One thing I don't understand is, if the router and nasbox can't resolve domains. Then why can my desktop, laptop, mobiles etc ?
    • Re: Lost OMV on my network

      Sorry i didn't think of this. you can download it here:
      ftp.us.debian.org/debian/pool/…ceroute_2.0.15-1_ia64.deb 64 bit
      or
      ftp.us.debian.org/debian/pool/…ceroute_2.0.15-1_i386.deb 32 bit

      Upload it to you OMV, Login via ssh and install by:

      Source Code

      1. dpkg -i path_to_your_upload/traceroute*
      headless Squeeze with backports, Sardaukar current, Asus e35m1-i, 8 gig mem 6x WD30EFRX-68A 3Tb in raid6 with Minecraft,Subsonics, Solarpanel monitor, KVM host for Wheezy guest with iRedMail and Owncloud
      KVM on OMV HowTo: http://forums.openmediavault.org/viewtopic.php?f=13&t=2417
    • Re: Lost OMV on my network

      Took me a while to find out how to find my share directory....

      Source Code

      1. traceroute 192.168.1.1
      2. traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 60 byte packets
      3. 1 192.168.1.1 (192.168.1.1) 25.493 ms 25.514 ms 25.508 ms


      Source Code

      1. traceroute 8.8.8.8
      2. traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
      3. 1 192.168.1.1 (192.168.1.1) 21.576 ms 21.562 ms 21.551 ms
      4. 2 213.1.112.169 (213.1.112.169) 34.442 ms 35.821 ms 37.006 ms


      It then proceeded to come up with loads of different IP's maybe because I tried copying from PUTTY and it re entered what I copied.

      A little test with a domain

      Source Code

      1. traceroute google.com
      2. google.com: Name or service not known
      3. Cannot handle "host" cmdline arg `google.com' on position 1 (argc 1)
      4. traceroute http://google.com
      5. http://google.com: Name or service not known
      6. Cannot handle "host" cmdline arg `http://google.com' on position 1 (argc 1)
      7. traceroute www.google.com
      8. www.google.com: Name or service not known
      9. Cannot handle "host" cmdline arg `www.google.com' on position 1 (argc 1)
      Display All


      Finally, maybe a silly question but i'm just using lan port to lan port on the routers. There is a wan port on the primary router though but not on the slave.
    • Re: Lost OMV on my network

      I should probably laugh....... but it's not really funny.

      Switch has arrived. nas box still won't resolve domains.....
      Switch is connected to main router(gateway), nas box is connected to switch. Nas box obtains IP via DHCP. Nasbox doesn't have dns set and obtains everything automatically.

      ifconfig output. Don't really know if/what the loopback is right.

      Would a re-install help at this stage? Or could the EE BrightBox (router) be blocking me in some way? I'm testing the dns resolution by doing traceroutes of domains via telnet on OMV from the nasbox.

      Brainfuck Source Code

      1. eth0 Link encap:Ethernet HWaddr -----------
      2. inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
      3. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      4. RX packets:935 errors:0 dropped:0 overruns:0 frame:0
      5. TX packets:347 errors:0 dropped:0 overruns:0 carrier:0
      6. collisions:0 txqueuelen:1000
      7. RX bytes:130927 (127.8 KiB) TX bytes:75669 (73.8 KiB)
      8. Interrupt:18
      9. lo Link encap:Local Loopback
      10. inet addr:127.0.0.1 Mask:255.0.0.0
      11. UP LOOPBACK RUNNING MTU:16436 Metric:1
      12. RX packets:449 errors:0 dropped:0 overruns:0 frame:0
      13. TX packets:449 errors:0 dropped:0 overruns:0 carrier:0
      14. collisions:0 txqueuelen:0
      15. RX bytes:110899 (108.2 KiB) TX bytes:110899 (108.2 KiB)
      Display All
    • Re: Lost OMV on my network

      Hi Bibib
      This looks very "interesting". It seems from your ifconfig that you have no hw address (MAC) on eth0. I don't know why because the traceroute seems to work som you have a working ethernet interfaces. Can you ping the OMV on address 192.168.1.111 from an other pc on your network?

      Did you let the traceroute for 8.8.8.8 run to the end - like it reached 8.8.8.8. There should a load of other ips in the route to 8.8.8.8. These are the routers your packages is passing through on the way to 8.8.8.8. Please post the complete ourput.

      An other tool to try on your OMV is nslookup.

      Source Code

      1. nslookup
      2. >8.8.8.8

      It should answer something like this:

      Source Code

      1. Server: 127.0.0.1
      2. Address: 127.0.0.1#53
      3. Non-authoritative answer:
      4. 8.8.8.8.in-addr.arpa name = google-public-dns-a.google.com.
      5. Authoritative answers can be found from:
      6. 8.in-addr.arpa nameserver = ns2.level3.net.
      7. 8.in-addr.arpa nameserver = ns1.level3.net.
      .
      if you don't have nslookup you can find it in the dnsutils package here:
      ftp.us.debian.org/debian/pool/….dfsg-1~squeeze9_ia64.deb64 bit. Download and install by:

      Source Code

      1. dpkg -i <path_to_your_download>/dnsutils*

      Please post your /etc/network/interfaces as it is now. The same for /etc/hosts and /etc/resolv.conf
      Please notice that if you edit any of these or other Linux files on a Windows pc and copy the over to OMV they will cause strange behavior because Windows and Linux uses different <CR><LF>. Thus allways edit Linux/OMV configuration files only on your OMV box.
      headless Squeeze with backports, Sardaukar current, Asus e35m1-i, 8 gig mem 6x WD30EFRX-68A 3Tb in raid6 with Minecraft,Subsonics, Solarpanel monitor, KVM host for Wheezy guest with iRedMail and Owncloud
      KVM on OMV HowTo: http://forums.openmediavault.org/viewtopic.php?f=13&t=2417
    • Re: Lost OMV on my network

      Thanks. I removed my mac address, so assume that part was normal.

      Traceroute on Googles DNS, goes nasbox - > gateway router, external IP's and carries on for a while I can also ping my nasbox 192.168.1.111

      nslookup doesn't seem to get anywhere

      Source Code

      1. nslookup 8.8.8.8
      2. ;; connection timed out; no servers could be reached


      Source Code

      1. traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
      2. 1 192.168.1.1 (192.168.1.1) 21.504 ms 21.485 ms 21.472 ms
      3. 2 213.1.112.169 (213.1.112.169) 35.324 ms 36.343 ms 37.433 ms
      4. 3 213.1.116.174 (213.1.116.174) 39.003 ms 40.020 ms 40.028 ms
      5. 4 213.1.67.222 (213.1.67.222) 49.932 ms 61.732 ms 61.747 ms
      6. 5 213.1.67.252 (213.1.67.252) 51.142 ms 61.705 ms 61.701 ms
      7. 6 213.1.79.18 (213.1.79.18) 61.691 ms 42.499 ms 43.655 ms
      8. 7 87.237.20.244 (87.237.20.244) 43.676 ms 41.467 ms 42.491 ms
      9. 8 72.14.223.2 (72.14.223.2) 43.756 ms 43.775 ms 45.066 ms
      10. 9 209.85.240.63 (209.85.240.63) 48.566 ms 209.85.240.61 (209.85.240.61) 50.219 ms 209.85.240.63 (209.85.240.63) 48.568 ms
      11. 10 209.85.253.92 (209.85.253.92) 61.473 ms 209.85.253.90 (209.85.253.90) 61.412 ms 61.431 ms
      12. 11 209.85.240.28 (209.85.240.28) 80.370 ms 209.85.243.33 (209.85.243.33) 61.416 ms 209.85.240.28 (209.85.240.28) 62.429 ms
      13. 12 216.239.49.36 (216.239.49.36) 52.353 ms 216.239.49.30 (216.239.49.30) 53.374 ms 216.239.49.38 (216.239.49.38) 51.865 ms
      14. 13 * * *
      15. 14 8.8.8.8 (8.8.8.8) 55.063 ms 65.814 ms 65.820 ms
      Display All


      /etc/network/interfaces

      Source Code

      1. # The loopback network interface
      2. auto lo
      3. iface lo inet loopback
      4. # eth0 network interface
      5. auto eth0
      6. allow-hotplug eth0
      7. iface eth0 inet dhcp
      8. pre-down ethtool -s $IFACE wol g


      /etc/hosts

      Source Code

      1. 127.0.0.1 localhost
      2. 127.0.1.1 openmediavault.local openmediavault
      3. # The following lines are desirable for IPv6 capable hosts
      4. ::1 ip6-localhost ip6-loopback
      5. fe00::0 ip6-localnet
      6. ff00::0 ip6-mcastprefix
      7. ff02::1 ip6-allnodes
      8. ff02::2 ip6-allrouters


      And I think we have a winner for what is wrong?
      /etc/resolv.conf

      Source Code

      1. search local
      2. nameserver 192.168.0.1

      The post was edited 5 times, last by bibib ().

    • Re: Lost OMV on my network

      All this other stuff is nonsense til you get this resolved.

      Brainfuck Source Code

      1. eth0 Link encap:Ethernet HWaddr -----------
      2. inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
      3. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      4. RX packets:935 errors:0 dropped:0 overruns:0 frame:0
      5. TX packets:347 errors:0 dropped:0 overruns:0 carrier:0
      6. collisions:0 txqueuelen:1000
      7. RX bytes:130927 (127.8 KiB) TX bytes:75669 (73.8 KiB)
      8. Interrupt:18


      No mac address and your showing the ip address as the address of your router?
    • Re: Lost OMV on my network

      "tekkbebe" wrote:

      All this other stuff is nonsense til you get this resolved.

      Brainfuck Source Code

      1. eth0 Link encap:Ethernet HWaddr -----------
      2. inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
      3. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      4. RX packets:935 errors:0 dropped:0 overruns:0 frame:0
      5. TX packets:347 errors:0 dropped:0 overruns:0 carrier:0
      6. collisions:0 txqueuelen:1000
      7. RX bytes:130927 (127.8 KiB) TX bytes:75669 (73.8 KiB)
      8. Interrupt:18


      No mac address and your showing the ip address as the address of your router?


      I removed the MAC address.. dunno why, thought it was for security. My routers IP is 192.168.1.1, my nasbox is 192.168.1.111