Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have samba server running on ubuntu 10.04 lts. At the moment I am connecting to it from windows 7 by typing \\192.168.1.3\sharename. Is there a way to give the ip a "name". At my school I can type in \hsmain\sharename. How would I set something like this up?

share|improve this question
    
if you are the only client to that server, you can add an entry in your hosts file located at c:\windows\system32\drivers\etc –  jet Mar 8 '13 at 18:58

1 Answer 1

up vote 1 down vote accepted

You need a DNS server (like bind) or something substituting it in your network. You can install dnsmask for example on your ubuntu server or if your network is simple, you can use hosts files on all machines.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.