Results 1 to 6 of 6

Thread: Problem with hostname not working

  1. #1

    [SOLVED] Problem with hostname not working

    Hello there!
    I'm using firmware and I have the following problem.
    Although I've set "wl500gp" in the "Host Name" field of IP Config - LAN & WAN configuration page, I cannot reach the router using "wl500gp" hostname.

    For instance, from my Windows 7 client, if I try:
    ping wl500gp
    I get "cannot find host" problem.

    If I log in the router and type: cat /etc/hosts, I get the following output:
    Code: localhost.localdomain localhost wl500gp my.router my.WL500gpv2
    # other entries follow...
    Strange enough, if I type in my client machine either:
    ping my.router
    ping my.WL500gpv2

    they work, but:
    ping wl500gp
    does not.

    Any suggestion?
    Thanks in advance,
    Last edited by mauromol; 02-09-2011 at 09:06.

  2. #2
    If you ping from your windows7 machine it will look at the host file of windows7

    if you ping from your router it will look at the host file from the router.

    Thus be sure to add the entries to both host files.

  3. #3
    Hi avberk,
    I don't want to manually enter hostnames in the host files of all the systems connected in my network. I've never need to do so when connecting Windows machines or other Linux boxes (like my NAS or the same WL-500gP V2 using the official Asus firmware).

    I mean, I have a NAS that has a hostname of "mybookworld": as soon as I connect it to the network, pinging "mybookworld" from any PCs of the network works correctly, without the need to add "mybookworld" to their host files. As I said, this was true for the WL-500gP V2 using the official Asus firmware, but it is not right now.

    Why doesn't this work for the router with the custom firmware?


  4. #4
    Seems to be some kind of design thing in the oleg firmware.
    You can solve it by changing the hostname to something with a dot in it.

    wl500gp -> wl500gp.something

    or e.g.

    wl500gp -> something.wl500gp

  5. #5
    Join Date
    Dec 2007
    The Netherlands - Eindhoven
    yes, that's the way it works.
    if you have a computer named "super-gaming-rig" you could resolve just that domain name, but would work also work if I recall it correctly

  6. #6

    Thumbs up

    Ok, I found the actual solution and it's something near to your latest messages.

    The fact is that under the DHCP Server configuration page there must be some domain set. For instance, if you put "my.lan" as the domain name and "wl500gp" as the hostname, then your router will be reachable as both wl500gp and This is because the DHCP Server is sending to clients a default connection DNS suffix (domain) of "my.lan".

    If you don't specify any domain name, instead, you can't reach the router with its hostname. Maybe you could do that if it had been assigned a hostname with a dot in it (as avberk said), I haven't tried, anyway I think the final solution is to set a domain name.

    Thank you for your help!

Similar Threads

  1. Bandwidth Management, static leases not working
    By AugustsZ in forum WL-500w Q&A
    Replies: 1
    Last Post: 12-01-2011, 05:26
  2. Problem to mount my hd to have twonky working
    By cyberic in forum WL-500gP Q&A
    Replies: 7
    Last Post: 13-09-2010, 11:25
  3. WL500gP stops working after a few minutes
    By Aser in forum WL-500gP Q&A
    Replies: 3
    Last Post: 28-04-2010, 20:03
  4. Multicast problem
    By luon in forum WL-500w Q&A
    Replies: 4
    Last Post: 03-07-2008, 13:26
  5. WL-500gP and Asus support experience
    By Blezi in forum WL-500gP Q&A
    Replies: 6
    Last Post: 03-12-2006, 13:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts