Linux Computer Names not found

Dazed_75 lthielster at gmail.com
Tue Sep 5 21:40:45 MST 2006


On 9/5/06, Craig White <craigwhite at azapple.com> wrote:
>
> 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


Perhaps it is a misunderstanding on my part, but I was assuming Samba was
running simply because I am able to use the printers and shared disk space
of the windows machines from ubuntu.  If I click on Places/Network Servers
in gnome, the resulting window shows an icon for the Windows Network and
within that the workgroup name the windows machines share and within that
the shared resources by name.  But I have no other reason to believe Samba
is actually running.  I looked at /etc/samba/smb.conf and did correct the
workgroup name. After rebooting machines (know I should be able to just
restart the service but I do not know how), I see no change to either the
Linux or Windows sides.

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.


Actually in my haste to leave this  morning I did leave the  \drivers\etc\
off the path.  I do use the hosts file there to successfully block many ad
sites by directing them to localhost.  I was blissfully unaware of lmhosts
there however.

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
>
> ---------------------------------------------------
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plug.phoenix.az.us/pipermail/plug-discuss/attachments/20060905/b2566fc0/attachment.htm


More information about the PLUG-discuss mailing list