Newbie SMB question

Posted by: msaeger

Newbie SMB question - 22/08/2012 23:33

When trying to connect to a shared folder on a windows 7 or xp computer from a MFP (copier/scanner/printer) why would I be able to connect to it using the hosts IP address but not computer name?

I see some computers I can use the computer name and some will only work with the IP address and I don't know why.
Posted by: JBjorgen

Re: Newbie SMB question - 23/08/2012 01:49

Do you need to enable netbios over TCP/IP on your client machines?

Do you run a DNS server?
Posted by: Roger

Re: Newbie SMB question - 23/08/2012 06:37

Originally Posted By: JBjorgen
Do you need to enable netbios over TCP/IP on your client machines?

Do you run a DNS server?


Or a WINS server? DNS is the right answer, though.
Posted by: msaeger

Re: Newbie SMB question - 23/08/2012 23:56

The last example of this I encountered was a workgroup no server using a linksys type router type thing.

They had the linksys address for the gateway and the dns.

I could connect between computers using the computer name but I can't connect to a computer from the MFP using a computer name.
Posted by: StigOE

Re: Newbie SMB question - 24/08/2012 04:15

I read yesterday that linksys on some of their routers have exactly that problem. The router use itself as the first DNS and for some reason manage to get a wrong IP-address for some domain names. I don't know if that is the same problem encountered here though.
Posted by: Roger

Re: Newbie SMB question - 24/08/2012 12:21

Originally Posted By: msaeger
They had the linksys address for the gateway and the dns.


Most consumer routers have terrible DNS support. They ought to publish DHCP leases into the DNS server, but they rarely seem to do this reliably. Which is why I use OpenWRT and run a full-blown BIND installation.
Posted by: Taym

Re: Newbie SMB question - 24/08/2012 12:27

Originally Posted By: msaeger
When trying to connect to a shared folder on a windows 7 or xp computer from a MFP (copier/scanner/printer) why would I be able to connect to it using the hosts IP address but not computer name?

I see some computers I can use the computer name and some will only work with the IP address and I don't know why.


Your copier/scanner/printer should have a field where you can indicate what the DNS/WINS servers are in your network. In most cases, that's enough to address the issue. If you already did that, then such DNS/WINS servers are not correctly mapping IPs to Hostnames.