Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

local hostnames not recognised

  • 04-11-2007 7:56pm
    #1
    Moderators, Arts Moderators Posts: 35,508 Mod ✭✭✭✭


    I had to change a broken router yesterday and having put in the new one the two PCs on the network no longer recognise one another by name. Their IP addresses changed from 192.168.1.100 and 192.168.1.117 to 192.168.1.10 and 192.168.1.11 respectively. Each machine can still ping itself by IP and hostname but can only ping the other by IP. No big deal, I'm just wondering what might have happened.


Comments

  • Closed Accounts Posts: 1,506 ✭✭✭Jackz


    What operating system are they using?

    I'll presume some kind of NIX if your posting here.

    Look at the /etc/hosts file.

    If the name is listed with the old ip change to the new ip.

    If it's windows it should pick up the hostname if both are in the same domain/workgroup.

    Alternatively newer versions of Windows will detect others pc's on the same subnet.

    Further still Windows also has a host file hidden somewhere Google windows host file and your version.


  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    It should be in c:\windows\system32\drivers\etc\ if memory serves correctly


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 92,550 Mod ✭✭✭✭Capt'n Midnight


    %windir%\system32\drivers\etc
    also check the lmhosts file if using windows
    name resolution in windows is a pain with caching and master browsers to consider too :mad:

    nslookup works in linux and 32 bit windows - but that's just DNS


  • Moderators, Arts Moderators Posts: 35,508 Mod ✭✭✭✭pickarooney


    Eh, it's linux, didn't think I'd need to specify in here!
    Nothing pertinent in /etc/hosts and nslookup doesn't even find the machine I'm running it from (e.g. ping thismachine returns

    Server: 192.168.1.1
    Address: 192.168.1.1#53

    ** server can't find thismachine: NXDOMAIN


  • Closed Accounts Posts: 1,506 ✭✭✭Jackz


    Ah there's always a chance you were lost we'd only be making a guess about your intelligence after one post.

    How did you go about changing the ip address' ?

    Seems to me your /etc/hosts file got empty somehow.

    Put the following in the /etc/hosts file on both boxes.

    <thisserverip> <thisservername>
    <thatserverip> <thatservername>

    leave a tab between them.

    Also its weird that when you swapped routers that despite still using the 192.168.1.* network you changed IP's?

    When you do an nslookup on a box that is not a dns server itself it looks to the /etc/hosts file and your configured dns server(s).

    The order is determined by /etc/nsswitch.conf.

    Maybe post up /etc/hosts and nsswitch


  • Advertisement
Advertisement