access other PCs by their name?

Discussion in 'Tomato Firmware' started by azjerry, Apr 25, 2008.

  1. azjerry

    azjerry Addicted to LI Member

    Just got my WRT54GL and loaded Tomato 1.19.

    One of the problems I had with my previous Dlink was that if I wanted to access one of the other PCs on my network (all being assigned using DHCP) I had no way of knowing the IP address. I got around this assigning everything using static DHCP and then putting all these in the hosts file on each PC.

    With Tomato can I access remote PCs by name if I don't use static DHCP or will I have to use static DHCP again? I don't really have a problem with static other than having to type them all in again.
  2. srouquette

    srouquette Network Guru Member

    I'm also interested if someone figures out how to do it.
    for the moment, I use static DHCP, and I added some entries in Tomato, Advanced > DHCP/DNS:

    and I can ping the computer like that:

    no need to put host file on each computer, Tomato manage the DNS.
  3. nvtweak

    nvtweak LI Guru Member

    seems working fine for me, without static leases even.

    I just ping hostname with a dot after it

    ping hostname.

    It's also how I connect to the router. I don't have to type in every time. Just router. (but you have to name the router in basic setup -> identification. by default, it's unknown. I think).

    If you have windows machines with netbios enabled, you can just use the netbios name most of the time.
  4. mstombs

    mstombs Network Guru Member

    I access machines by name using Tomato's static dhcp (which is a must if you want static port forwards etc). The 'trick' I have used from Hyperwrt Thibor days is to give the router the name router.lan, then call all the machines name.lan . Somewhere if you don't specify a 'fully qualified domain name' the .lan from the router gets added, so it all works.
  5. digitalgeek

    digitalgeek Network Guru Member

    I have never had these problems. I have always been able to use computer names in explorer/ie... check your local dns and workgroup settings.

    or call a Nerd to help you...
  6. azjerry

    azjerry Addicted to LI Member

    Following up on this. I put my new, Tomatoed router in my network yesterday. I 'm not using static DHCP. All 5 Windows PCs and my HP printer showed up in the device list. Two minor problems:

    -My DirecTV DVR showed an address for a minute or two but that then went away The DVR still successfully connects to the internet. I know the firmware doesn't allow it to be pingable. I may go ahead and give it a static DHCP address just to avoid any potential future conflicts.

    -One PC doesn't show it's name, just the IP address. I can ping the address.

    As far as using the names it was hit or miss, for awhile. At first some could be pinged by "name", "name." or "name.lan". After awhile all of them now work with just "name". ????
  7. jersully

    jersully LI Guru Member

    A minor point... adding clients to DHCP is very easy with Tomato. Just click on them in the connected clients section.
  8. azjerry

    azjerry Addicted to LI Member

    Still not quite working right. I assigned a static address to my server and DVR (it randomly shows up on the device list). But I can't access the router web page with any combination of the name. The only thing that works in the IP address. Yet the web page for printer works with just the name.
  9. LLigetfa

    LLigetfa LI Guru Member

    Did you assign the IP as a DHCP reservation or did you just hard code it on the device?
  10. azjerry

    azjerry Addicted to LI Member

    The router, of course, has it's assigned address. The server and DVR have static DHCP addresses. Everything else is normal DHCP.
  11. Rob650

    Rob650 Addicted to LI Member

    You're trying to access the Tomato router itself by name? If so, using the hostname listed here works for me.
  12. azjerry

    azjerry Addicted to LI Member

    I set all three fields "router". Now to ping the router or access the Tomato web page I need to use "router." That's acceptable. But other PCs and my printer don't need the "." How does that work?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice