Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Subnet-based env settings on unix
From: Susanna Jacobson <SRJacobson@lbl.gov>
To: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Thu, 18 Sep 2003 12:08:48 -0700
We test our EPICS apps on one subnet and install them on another.
This makes it necessary to have different environment settings
depending on which subnet we're on.  (Don't want to base settings
only on machine name.)  

On Linux or Solaris we figure we could have the host use nslookup
to get its IP number and then parse the results.  Has anyone else
already coded this or a better solution?

If not, I'll post ours when it's done.

	Thanks in advance,
	Susanna
-- 
=====================================================================
Susanna Jacobson                MS 10-110
SRJacobson@LBL.Gov              Lawrence Berkeley National Laboratory
VOICE:  (510) 486-7801          1 Cyclotron Road
FAX:    (510) 486-7374          Berkeley, CA 94720
=====================================================================

Navigate by Date:
Prev: Re: Homing speed Ronald L. Sluiter
Next: going to ICALEPCS'03 Steve Lewis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Homing speed Ronald L. Sluiter
Next: going to ICALEPCS'03 Steve Lewis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·