Empty looking NPL?

Discussion in 'TiVo Underground' started by Gojira69, Jul 11, 2005.

  1. JamieP

    JamieP Member

    991
    0
    Aug 2, 2004

    Advertisements

    In fact, people who have taken the time to packet sniff have found that it is actually $SerialNumber.localhost that the tivo software is trying to do a DNS lookup on. Search for DocTauri's post in the thread titled "Now playing list blank [6.2]" over at DDB for details.

    As far as I have been able to determine, all references to internet sites from the tivo software are by IP address and don't require a DNS lookup.
     
  2. dnemec123

    dnemec123 Member

    497
    0
    Jan 24, 2004
    Oregon
    Here are the contents of my /etc/hosts files:

    Bedroom-TiVo# cat /etc/hosts
    # Copyright (c) 2001 TiVo Inc.
    127.0.0.1 localhost.localdomain localhost
    192.168.1.121 livingroom_tivo

    LivingRM-TiVo# cat /etc/hosts
    # Copyright (c) 2001 TiVo Inc.
    127.0.0.1 localhost.localdomain localhost
    192.168.1.120 bedroom_tivo

    As you can see, I've placed the IP address and a hostname of the other DTiVo in the /etc/hosts file.

    I then edited the /etc/nsswitch.conf file and found the line "hosts: files dns" and removed the "dns" from the line, so that it ended up being "hosts: files" (no quotes of course).

    Rebooted and now the NPL is as fast as before.

    Dale
     
  3. slydog75

    slydog75 Not all that sly

    9,199
    0
    Jul 8, 2004
    Warminster, PA
    Does the hostname have to match your MRV name? Thanks Dale
     
  4. dnemec123

    dnemec123 Member

    497
    0
    Jan 24, 2004
    Oregon
    Apparently for me, nope. And this only works since I'm using static IP addresses, not DHCP assigned addresses.

    Good luck!
    Dale
     
  5. 94SupraTT

    94SupraTT New Member

    172
    0
    Feb 17, 2005
    TN...

    Advertisements

    I don't have any other Tivos on my LAN. Do you think just removing "host" from the nsswitch.conf file will help speed my NPL.
     
  6. Conklin

    Conklin New Member

    67
    0
    Feb 12, 2005
    U.S.
    Enter a valid dns in the net config module in TivoWebPlus and reboot. No editing of any file needed.
     
  7. kdonnel

    kdonnel DVC-BCV

    5,715
    0
    Nov 28, 2000
    Metro...
    This means your Tivo will only quickly display a now playing list when your network is up. If you ever try to bring the list up when your network is down you will have to wait while it attempts to lookup the ip's via dns.

    By removing DNS from the nsswitch.conf file the tivo will almost immediately get a response back that it has no idea what the ip of tivo.com is and display the now playing list.
     
  8. a4wanman

    a4wanman New Member

    21
    0
    Jun 20, 2005
    Upstate, SC
    I have just recently upgraded my DVR40 in the bedroom with a 160GB drive and hacked using the Zipper. I get a delay in the NPL when selecting a recording and then going richt back to the NPL. My delay is approximately 25 +/-5 seconds. If I goto the NPL while watching live TV or a recording, there is no delay.

    I have MRV setup and have been successful transferring shows between another hacked DVR40 in the bonus room (don't have DTV service on this one). I've cheked the bonus room DTivo. The DNS setting is pointing to my router.

    Currently, I do not have the bedroom DTivo connected to my network. I'll connect and test.

    I thought this may have to do with some memory/indexing or maybe a swap file size and the way I updgraded my drive. I used the Weaknees guide to upgrade/copy my 40GB drive to a new 160GB and then Zipper'ed.
     
  9. a4wanman

    a4wanman New Member

    21
    0
    Jun 20, 2005
    Upstate, SC
    Just unplugged the Netgear FA120 ethernet adapter from the DTivo. NPL is now working as expected. I was leaving the ethernet adapter connected to the DTivo and just unplugging the network cable.

    I guess I need to run that cable sometime soon.
     
  10. dnemec123

    dnemec123 Member

    497
    0
    Jan 24, 2004
    Oregon
    My understanding is that the "hosts:" portion needs to stay... it's the "dns" and "files" entries that are optional.

    Dale
     
  11. Uncle Spanky

    Uncle Spanky New Member

    62
    0
    May 20, 2004
    Plano, TX
    Dale - I followed this, and it works perfectly for me...Thanks for posting this !!!

    sb
     
  12. dnemec123

    dnemec123 Member

    497
    0
    Jan 24, 2004
    Oregon
    Happy to hear that! And happy to help!

    Dale
     
  13. ssstivo

    ssstivo New Member

    65
    0
    Jan 8, 2004
    I followed this part of your tip and it works great. No more trying to explain to the wife why the NPL is so slow.

    Thanks for the info.
     
  14. donivan

    donivan New Member

    25
    0
    Jul 20, 2004
    MD
    dnemec thanks for that tip, I tried all the other suggestions in this thread first, but I still had the delay on NPL and when accessing Tivo desktop. I'm a linux noob but Gunny and Rbautch's zipper made it easy and now my delay is gone thanks to removing "dns" from /etc/nsswitch.conf. My only question is : Will the removal of "dns" from /etc/nsswitch.conf cause me any loss of functionality somewhere else. My setup is a wired network with a Vonage/Linksys router (Verizon DSL for ISP) and 1 zippered RCA DVR 40 so far. I have 2 more units left to modify. Thanks for all the help!
     
  15. starbiker99

    starbiker99 1 Tivo 2 Tivo 3 Tivo

    86
    0
    Feb 4, 2005
    Parker, CO
    donivan as long as your only accessing tivo's on your own LAN removing the DNS should have no ill effect.
     
  16. dnemec123

    dnemec123 Member

    497
    0
    Jan 24, 2004
    Oregon
    Removing the 'dns' entry shouldn't matter, especially since the zipper'd units have some sort of bogus entry in one of the files to prevent them from contacting the mothership.

    So far, with both my zipper'd units on the same subnet as my PC, everything is working and the NPL is never delayed.

    Dale
     
  17. donivan

    donivan New Member

    25
    0
    Jul 20, 2004
    MD
    Starbiker and Dnemec, thanks for your prompt reply. If I want to schedule remote recordings with TWP, will I be able to do that without the dns entry? Or will I have to add it back in and fight with the DNS settings some more?
     
  18. Finnstang

    Finnstang King of the North

    8,667
    0
    Sep 11, 2003
    Winterfell
    Remote recordings will work fine without the dns entry.
     
  19. donivan

    donivan New Member

    25
    0
    Jul 20, 2004
    MD
    Thanks Finnstang.
     
  20. UR14Me

    UR14Me New Member

    78
    0
    May 19, 2002
    Wake...
    Here's what I did to "solve" the Disappearing Now Playing List, as it was bugging the crap out of me:

    Step 0: Zippered my DTivos.

    Step 1: Set up a DNS server on my home iMac, which happens to have a fixed IP address. I paid a few $$'s for Bernard Teo's DNS Enabler to remove any/all guesswork (note I have no relationship - only a satisfied customer). Of course, if you live/breathe DNS/BIND, you can no doubt do this with vi.

    Domain Name = "localdomain"
    Hostmaster = "hostmaster@localdomain"
    Primary Name Server = "imac.localdomain"

    Host Names and IP Addresses
    imac.localdomain (192.168.x.y)
    tivo1.localdomain (192.168.x.z)
    tivo2.localdomain (192.168.x.a)​

    Step 2: Using the "MRV Setup" section of TivoWebPlus, I set the names of my DTivos to be "tivo1" and "tivo2", respectively.

    Step 3: Using the "Net Config" section of TivoWebPlus, I set the DNS Server to be the address of my iMac (192.168.x.y) on both DTivos.

    Step 4: Rebooted my DTivos.

    Only through Steps 3 and 4 were modifications to the /etc/resolv.conf files in the DTivo's honored. I couldn't manually edit /etc/resolv.conf and expect anything; I *had* to set the nameserver field via Step 3 for it to "take", as rebooting would wipe out any manual edits. Also, I stayed with the as-configured "localdomain" domain, as I haven't (yet) figured out how to set/store this as an MFS object.

    So, the end result is a modified /etc/resolv.conf (via TivoWebPlus, NOT the command line), and a DNS server, the sole purpose of which is to provide the DTivo's with each other's IP addresses (and serve as a proxy for Internet resolving). No other changes (to /etc/hosts, /etc/nsswitch.conf, etc) are required.

    Now, absolutely no delay whatsoever in the NPL.

    Hope this helps someone,
    UR14Me
     

Share This Page

spam firewall

Advertisements