Index: fact/tools/Scripts/Logon
===================================================================
--- fact/tools/Scripts/Logon	(revision 18178)
+++ fact/tools/Scripts/Logon	(revision 18336)
@@ -4,5 +4,5 @@
 # Set environment variables if not yet set
 if [ -z "$DIM_DNS_NODE" ]; then export DIM_DNS_NODE=ihp-pc49.ethz.ch; fi
-if [ -z "$DIM_HOST_NODE" ]; then export DIM_HOST_NODE=`hostname -I`; fi
+if [ -z "$DIM_HOST_NODE" ]; then export DIM_HOST_NODE=`ip route get 8.8.8.8 | awk '{print $NF; exit}'`; fi
 if [ -z "$DIMDIR" ]; then export DIMDIR=/usr/local/dim/; fi
 if [ -z "$QWTDIR" ]; then export QWTDIR=/usr/local/qwt/; fi
