Results 1 to 3 of 3

Thread: Can't find Windows boxes by hostname

  1. #1
    Member
    Join Date
    Apr 2011
    Location
    Durham, NC, USA
    Posts
    31

    Can't find Windows boxes by hostname

    Hello,

    I can't find any of my Windows boxes that are connected to my wireless router by hostname, but the ip address works fine.

    Code:
    knoppix@Microknoppix:~$ cat /etc/resolv.conf  
    # Generated by NetworkManager
    domain Belkin
    search Belkin
    nameserver 192.168.2.1
    If I visit the 192.168.2.1 website and go to the DHCP settings, I see all the hostnames and ip addresses of all the attached devices. So if my Belkin wireless router knows the ip address/hostname mapping, why can't it send me to the appropriate device when I do a ping, etc?

    -Charlie

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    ... I think, your router can only connect to nameservers outside your LAN/WLAN, but cannot work as a nameserver by itself. What does the description of the Belkin router say?

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)

  3. #3
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    I agree with Werner. I would not expect a home router to offer name services.

    On a small home LAN the best way of address machines by name is to use /etc/hosts. See man hosts for more information.

    You prepare this file in an editor. Only root has write access to this file so use either sudo nano from a terminal or leafpad from a root console.

    You can (and should) propagate this file to all machines on your home LAN. That includes Windows machines. There is actually a hosts file on Windows machines but I'm not too sure of its exact location.

    It may be that your Windows machines know of each others names through a broadcast system. You can get that under Linux by running a samba server but that is more trouble that it is worth. While samba knows about Linux, Linux doesn't know about samba so you'd end up with your Windows machines knowing the name of the Knoppix machine but not vice versa.

Posting Permissions

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


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$26.99



A-Tech 16GB 2x 8GB 2Rx4 PC3-10600R DDR3 1333 MHz ECC RDIMM REG Server Memory RAM picture

A-Tech 16GB 2x 8GB 2Rx4 PC3-10600R DDR3 1333 MHz ECC RDIMM REG Server Memory RAM

$33.99



A-Tech 8GB 2x 4GB 2Rx4 PC3-10600R DDR3 1333MHz ECC RDIMM REG Server Memory RAM picture

A-Tech 8GB 2x 4GB 2Rx4 PC3-10600R DDR3 1333MHz ECC RDIMM REG Server Memory RAM

$14.99



8GB 2X4GB DDR3 PC3-12800U Desktop Memory Ram DELL HP LENOVO ACER GATEWAY  picture

8GB 2X4GB DDR3 PC3-12800U Desktop Memory Ram DELL HP LENOVO ACER GATEWAY

$19.99



SK Hynix 8GB DDR3-1600 (4GBx2) PC3L-12800U Desktop Memory picture

SK Hynix 8GB DDR3-1600 (4GBx2) PC3L-12800U Desktop Memory

$15.00



CORSAIR - VENGEANCE LPX 32GB (2PK x 16GB) 3200MHz DDR4 C16 DIMM Desktop Memory picture

CORSAIR - VENGEANCE LPX 32GB (2PK x 16GB) 3200MHz DDR4 C16 DIMM Desktop Memory

$131.99



Samsung 8GB (2x4GB) DDR3 1Rx8 PC3-12800U DDR3 Desktop Memory RAM  picture

Samsung 8GB (2x4GB) DDR3 1Rx8 PC3-12800U DDR3 Desktop Memory RAM

$14.95



Crucial 16GB PC4-25600 (DDR4-3200) Memory (CT16G4SFRA32A) RAM SODIMM laptop  picture

Crucial 16GB PC4-25600 (DDR4-3200) Memory (CT16G4SFRA32A) RAM SODIMM laptop

$59.99



Crucial 32GB KIT (2x16GB) 3200MHz 260-pin SODIMM DDR4 RAM Memory CT16G4SFRA32A picture

Crucial 32GB KIT (2x16GB) 3200MHz 260-pin SODIMM DDR4 RAM Memory CT16G4SFRA32A

$118.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$26.99