-
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
-
... 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)
-
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
-
Forum Rules
Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ
$44.99
WD_BLACK 1TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS100T2X0E
$99.99
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A
$79.99
Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ
$84.99
Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe
$109.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.89
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$773.19
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$109.99