Well,
I thought I had it solved. But it looks like it works intermittently. Running SRSS 4.2. I have debug print out that show the ID card number is being match correctly and that the script is issuing the "echo host=192.168.100.2", but the thin client is not listening to it for some reason. We have private VLAN setup that all our then clients connect to. Network info:

192.186.100.0 - 192.168.103.255
netmask: 255.255.252.0

My test SRSS server is on 192.168.100.2 along with my regular SRSS FOG servers. Here is my test SRSS network info:

# ./utadm -l
LAN connections: On
Use IPv4 multicast
Subnetwork: 192.168.100.0
       Netmask=        255.255.252.0
       AuthSrvr=       192.168.100.2
       AltAuth=        192.168.100.2
       FirmwareSrvr=   192.168.100.2
       NewTver=        4.2_140993-01_2010.01.21.17.35

Here is sample from one of my SRSS FOG members:

sunfire5 % ./utadm -l
LAN connections: On
Use IPv4 multicast
Subnetwork: 192.168.100.0
       Netmask=        255.255.252.0
       Broadcast=      192.168.103.255
       Router=         192.168.100.12
       AuthSrvr=       192.168.100.12
       AltAuth=        192.168.100.12 255.255.255.255
       FirmwareSrvr=   192.168.100.12
       NewTver=        4.2_77_2009.10.19.17.01
       IP assignment=  1/500 (192.168.100.26)

Again here is my AMGH script:
#!/bin/sh
#
# ident "@(#)utamghref_script.sh        1.6 05/05/17 SMI"
#
# Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#


OUTPUT=/opt/SUNWutref/amgh/out.txt

# parse the args into shell vars
while read A
do
   eval "$A"
done
touch $OUTPUT
echo "UserName: >>$username<<">>$OUTPUT
echo "Token: $token" >>$OUTPUT
echo "Terminal CID: $terminal_cid">>$OUTPUT
echo "Terminal IP: $terminal_ip_addr">>$OUTPUT
echo "Insert Token: $insert_token">>$OUTPUT
echo "Display: $display">>$OUTPUT

if [ $insert_token = Payflex.500ae36d00130100 -o $insert_token = Payflex.500ae36 a00130100 -o $insert_token = Payflex.500ae35900130100 -o $insert_token = Payflex .500ae36c00130100 -o $insert_token = Payflex.500ae35800130100 -o $insert_token =
Payflex.500ae35a00130100 ]
then
   echo "host=192.168.100.2"
   echo "Sending host to 192.168.100.2">>$OUTPUT
elif [ "$username" = "" ]
then
if [ "$terminal_ip_addr" = "129.82.224.49" -o "$terminal_ip_addr" = "129.82. 224.50" -o "$terminal_ip_addr" = "129.82.224.95" -o "$terminal_ip_addr" = "129.8
2.224.94" ]
   then
       echo "Send Use First">>$OUTPUT
       echo "host=129.82.224.49"
   fi
fi
exit 0

--
C. J. Keist                     Email: [email protected]
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to