Samba question

Bob George plug-discuss@lists.PLUG.phoenix.az.us
Tue, 1 Jan 2002 14:03:00 -0700


"Bob Cober" <cplusplus@home.com> wrote:

> The name cx267762-k is left over from when the pc was directly connected
to cox.  Now I have a firewall/gateway/router, and haven't renamed the
system yet.  (I did, however, stop paying cox for multiple IPs ;)).
>
> Anyway, even though I can't ping cx267762-k, Samba still connects,
presumably through netbios....

Ah, I'm willing to bet it's in your network config on the Win2K box. That's
why it's recognized. If you ever do rename the beast, that name will
probably work as well.

> [...]
> and then it magically works...Oh well, I was just amazed that Samba was
unable to resolve through ip.  BTW I tried the following as you suggested
and it also works:
>
> [root@devlap1 /root]# umount /mnt/bobpc
> [root@devlap1 /root]# mount -t smbfs -o username=rgc,ip=192.168.1.200
//cx267762-k/download /mnt/bobpc
> Password:
> [root@devlap1 /root]#

I'd be willing to bet if you put:

192.168.1.200    cx267762-k

in /etc/hosts that IP would work, though you might still get some error
messages. I think you've got a WINS-DNS name resolution issue going on.
'Course it's working by name (and presumably still will when you rename the
Windows box) so it's not a big deal.

Sorry I missed you on IRC last night.

- Bob