-
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
![ATARI 130XE Computer TESTED WORKING Original Box Power Supply MANUAL TV Cable picture](/store/img/g/~IsAAOSwY51mfvmM/s-l225/ATARI-130XE-Computer-TESTED-WORKING-Original-Box-P.jpg)
ATARI 130XE Computer TESTED WORKING Original Box Power Supply MANUAL TV Cable
$249.99
![Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU picture](/store/img/g/YVgAAOSwe-pmGvcM/s-l225/Atari-Power-Cube-800XL-600XL-65XE-130XE-USB-C-Powe.jpg)
Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU
$11.25
![Atari 800xl 65xe 130xe XEGS Pico. A8PicoCart. Loaded with ROMs Gray/Gray picture](/store/img/g/KnsAAOSwR8Fmc1qN/s-l225/Atari-800xl-65xe-130xe-XEGS-Pico-A8PicoCart-Loaded.jpg)
Atari 800xl 65xe 130xe XEGS Pico. A8PicoCart. Loaded with ROMs Gray/Gray
$25.00
![Atari 800xl Excellent cond. Mechanical KB. Custom upgrades (Video, Case) picture](/store/img/g/sgEAAOSw3CRmfxk-/s-l225/Atari-800xl-Excellent-cond-Mechanical-KB-Custom-up.jpg)
Atari 800xl Excellent cond. Mechanical KB. Custom upgrades (Video, Case)
$280.00
![ATARI 800XL Computer TESTED WORKING Original Box Power Supply TV Cable 800 XL picture](/store/img/g/HX8AAOSwqStmfwJb/s-l225/ATARI-800XL-Computer-TESTED-WORKING-Original-Box-P.jpg)
ATARI 800XL Computer TESTED WORKING Original Box Power Supply TV Cable 800 XL
$249.99
![Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On picture](/store/img/g/3dEAAOSw4EFma4Kg/s-l225/Rana-Systems-1000-Atari-Compatible-Floppy-Disk-Dri.jpg)
Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On
$139.99
![Vintage Original Atari 800XL Home Personal Computer Console / Keyboard UNTESTED picture](/store/img/g/OdQAAOSwFXFmdxqV/s-l225/Vintage-Original-Atari-800XL-Home-Personal-Compute.jpg)
Vintage Original Atari 800XL Home Personal Computer Console / Keyboard UNTESTED
$99.99
![Atari 1010 Program Recorder with Original Box, Power Supply And Cable. READ picture](/store/img/g/hB4AAOSw4nBmeLrj/s-l225/Atari-1010-Program-Recorder-with-Original-Box-Powe.jpg)
Atari 1010 Program Recorder with Original Box, Power Supply And Cable. READ
$40.00
![Atari 800 8-Bit Home Computer Complete in Box Bueatiful Condition Powers up picture](/store/img/g/jwkAAOSwQU9mQpmy/s-l225/Atari-800-8-Bit-Home-Computer-Complete-in-Box-Buea.jpg)
Atari 800 8-Bit Home Computer Complete in Box Bueatiful Condition Powers up
$399.00
![A8PicoCart Kit Atari 130 65 XE 800 600 XL unocart clone multicart cartridge game picture](/store/img/g/uAQAAOSwhaxmVnIS/s-l225/A8PicoCart-Kit-Atari-130-65-XE-800-600-XL-unocart-.jpg)
A8PicoCart Kit Atari 130 65 XE 800 600 XL unocart clone multicart cartridge game
$19.95