[sharp-discuss] DHCP changing address prevents killing/restarting
server
Clemens Vonrhein
vonrhein at globalphasing.com
Mon Apr 11 14:41:03 BST 2005
Hi,
the easiest is to
% cd /where/ever/sharp
% cd machines
% ln -s dhcp-107-7331 dhcp-144-5388
(so that the 'new' machine name is now a clone of the initial one).
Obviously, if you get a new hostname again after a reboot you need to
do that again. Or, you could do the following (if using sh/bash):
% [ ! -d `hostname -s` ] && ln -s dhcp-107-7331 `hostname -s`
Cheers
Clemens
On Thu, Apr 07, 2005 at 11:43:51AM -0400, Wilson, Jeffrey (wilsj9) wrote:
>
> I have/had SHARP running on a Mac OS 10.3. I installed the program a few
> months ago, and now that I have data I want to run SHARP. Unfortunately, it
> seems as though my IP has changed since I am on DHCP. When trying to run
> SHARP or any server commands I get the message:
>
> ERROR : You must run this script on dhcp-107-7331 (remember
> that a machine is usually identified by the output
> of the "hostname -s" command)
>
> Of course, my address is now dhcp-144-5388. Any ideas on how to get around
> this problem?
>
> Of course, since I have not been able to post for so long (this list does
> not care for e-mail aliases), I am now on a static IP. So the question
> remains, how do I switch to a different computer name without reinstalling?
>
> Jeff
>
>
>
>
>
>
> _______________________________________________
> sharp-discuss mailing list
> sharp-discuss at globalphasing.com
> http://www.globalphasing.com/mailman/listinfo/sharp-discuss
>
--
***************************************************************
* Clemens Vonrhein, Ph.D. vonrhein AT GlobalPhasing DOT com
*
* Global Phasing Ltd.
* Sheraton House, Castle Park
* Cambridge CB3 0AX, UK
*--------------------------------------------------------------
* BUSTER Development Group (http://www.globalphasing.com)
***************************************************************
More information about the sharp-discuss
mailing list