Reputation: 25429
I have SVN running on my main windows development box on my home network. I access the server from various development laptops depending on what I'm doing. I also do this with a Mac OS X development laptop but I apparently have to use the IP Address of the SVN Server.
This is causing problems because the IP address of the SVN server changes. On my windows machines, I can access SVN via the servers name.
Is it possible for me to do something like this from my Mac? Or perhaps some configuration so I can "configure" my mac to to name an IP Address? (Perhaps the hosts file?)
Thank you all!
Regards,
Frank
Update: I access my SVN repository on my Mac with ZigVersion. I use a URL like the following: http://[email protected]/svn/RepositoryName/
Update 2: While Chris gave a good answer (that I understand), I was hoping for something a little more elegant. If you think this is the best method, please chime in by voting. I'm looking for other ideas but also community opinion on how this might be accomplished.
Also, If it'd be possible to Post this on ServerFault, please let me know how.
Upvotes: 0
Views: 872
Reputation: 16871
I have my router set up to give my server the same IP so that I don't run into this issue. If I were you, I would just set up a static IP either through Windows or through your router.
Upvotes: 1
Reputation: 18312
It sounds like your windows machine is using a windows-specific method of broadcasting its NetBIOS name. The OS X system is trying to lookup the DNS name. Your DNS system should be fixed to allow the DHCP server to assign hostnames.
Upvotes: 0