Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ipaddress

Status
Not open for further replies.

nappaji

Programmer
Mar 21, 2001
76
US
I use Exceed, and a DHCP server automaticall allocates IP adresses . Each IP address is different each time.

How do I find out what the IP address is each time. Is there a command in UNIX to do it??

How do I set the DISPLAY when I have a different IP address each time??
 
You could try something like set DISPLAY `ifconfig eth0 |grep inet |cut -f2 -d " "` which should set your $DISPLAY to your current IP address. Then just add that to your .cshrc or .login script. Also, look in your Exceed documentation there IS a way to have Exceed define the display parameter automatically. d3funct
zimmer.jon@cfwy.com
The software required `Windows 95 or better', so I installed Linux.

 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top