Linux Computer Names not found

Craig White craigwhite at azapple.com
Tue Sep 5 18:23:28 MST 2006


If samba is running on the Linux machine, it will broadcast it's NETBIOS
name and be found by other systems IF the workgroup is the same name. By
default, the NETBIOS name of a Linux system running samba will be it's
host name (not the fqdn) but is configurable in smb.conf

when you say editing c:\windows\system32\hosts, I am presuming that you
are talking about Win95/Win98 since WinNT/Win2K/WinXP/Win2K3 would use
c:\windows\system32\drivers\etc\hosts or actually 'lmhosts' for netbios
resolution.

Craig

On Tue, 2006-09-05 at 06:51 -0700, Dazed_75 wrote:
> I do not doubt what you say, but it does not seem to answer the actual
> question.  If I use a web browser from any system to look at the
> Linksys Router's web page and navigate to the page where I can click
> on a button to display the routers DHCP Client table, it shows the
> system names for the TiVo Box (which I understand is a linux based
> bystem) and the names for Windows boxes, but does not show the names
> for my Linux systems. Although it would be nice to ping (etc) by name,
> that was meant more as supporting information than as a question.
> Sorry if I confused the issue. 
> 
> BTW, making named entries in /etc/hosts and in C:\WINDOWS\system32
> \hosts is not a perfect solution to the ping type question I was not
> asking either since the DHCP issued IPs actually do change once in a
> while.
> 
> On 9/5/06, Craig White <craigwhite at azapple.com> wrote:
>         On Mon, 2006-09-04 at 22:11 -0700, Dazed_75 wrote:
>         > Whether I look at the DHCP Clients Table on my Linksys
>         WRT54G, a
>         > Network Neighborhood window in XP, a nbtstat -c or net view
>         command
>         > result in a command window, or a servers list in Ubuntu I
>         only see 
>         > names for my Windows boxes and my TiVo unit.  The Linux
>         boxes show up
>         > in the DHCP client list of course but sans any name at
>         all.  I can
>         > ping the windows boxes by name from another windows box but
>         not from 
>         > Linux.
>         >
>         > 1) What makes the router recognize the box names for clients
>         other
>         > than Linux?  Can something in Linux be configured so the
>         router knows
>         > their names?
>         ----
>         wins/netbios - Linux uses DNS 
>         
>         It has nothing to do with the router per se.
>         
>         What you can do is edit /etc/hosts and put entries with short
>         names
>         .i.e.
>         
>         # cat /etc/hosts
>         # Do not remove the following line, or various programs
>         # that require network functionality will fail.
>         MailScanner warning: numerical links are often
>         malicious:127.0.0.1               localhost.localdomain
>         localhost
>         MailScanner warning: numerical links are often
>         malicious:192.168.2.10            lin-workstation.azapple.com
>         lin-workstation
>         MailScanner warning: numerical links are often
>         malicious:192.168.2.20            win-workstation.azapple.com
>         win-workstation
>         ----
>         > 2) I am guessing that the windows ping command gets box
>         names from 
>         > something other than DNS or the HOSTS file.  Anyone know
>         what?  Or if
>         > Linux is using that ability (via Samba?) to find the Windows
>         Network
>         > boxes?  Could that facility be used to make the Linux box
>         names known 
>         > to Windows boxes?
>         ----
>         see above
>         
>         Craig
>         
>         ---------------------------------------------------
>         PLUG-discuss mailing list -
>         PLUG-discuss at lists.plug.phoenix.az.us
>         To subscribe, unsubscribe, or to change  you mail settings:
>         http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
> 
> 
> -- 
> Be who you are and say what you feel, because those who mind don't
> matter and those who matter don't mind.  - Dr. Seuss 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list