Page 1 of 1 1
Topic Options
#24887 - 2002-07-11 08:52 PM @hostname and WinXP missing. need help.
Anonymous
Unregistered


I can get my KiXtart scripts to run, but it won't return the @hostname information as it does from Win98 workstations. Am I missing something?
I do have the computer name identified in the setup.
My statement that defined the variable is:
$fhname="@hostname"
then I print it to a file.
Any ideas? Is WinXP reporting differently?

Top
#24888 - 2002-07-11 09:01 PM Re: @hostname and WinXP missing. need help.
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Glen,

I am running XP Pro within a 2000 domain and it works fine..

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#24889 - 2002-07-11 09:03 PM Re: @hostname and WinXP missing. need help.
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
What version of Kix are you running?

Can you report back what you get from the following?

code:
break on cls
?"KIX "+@KIX
?"WUSERID "+@WUSERID
?"USERID "+@USERID
?"DOMAIN "+@DOMAIN
?"LDOMAIN "+@LDOMAIN
?"FULLNAME "+@FULLNAME
?"COMMENT "+@COMMENT
?"HOMESHR "+@HOMESHR
?"HOSTNAME "+@HOSTNAME
?"PRIV "+@PRIV
?"PWAGE "+@PWAGE
?"MAXPWAGE "+@MAXPWAGE
?"PRIMARYGROUP "+@PRIMARYGROUP
?"LSERVER "+@LSERVER
?"LDRIVE "+@LDRIVE
?
?"Press any Key to continue"
get $k

Thanks,

Kent

[ 11 July 2002, 21:05: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#24890 - 2002-07-11 09:03 PM Re: @hostname and WinXP missing. need help.
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
geln, what is the kixtart version and build?
_________________________
!

download KiXnet

Top
#24891 - 2002-07-11 10:03 PM Re: @hostname and WinXP missing. need help.
Anonymous
Unregistered


Thanks for the help. The answers to your questions. "Kix32.exe hostname.kix" run on the host machine resulted in:
KIX 4.02
WUSERID EHPort
USERID EHPort
DOMAIN ENVHRT
LDOMAIN ENVHRT
FULLNAME EH Port
COMMENT Laptop Dep portable
HOMESHR \\ehserv\Public
HOSTNAME CALLA
PRIV USER
PWAGE 491
MAXPWAGE 0
PRIMARYGROUP Domain Users
LSERVER \\EHSERV
LDRIVE \\EHSERV\NETLOGON\

Press any Key to continue

This doubly confuses me. Apparently the information is there. I wonder why the information is reported on other workstations and not on the XP one? I am correct that everything looks OK here?

Top
#24892 - 2002-07-11 10:05 PM Re: @hostname and WinXP missing. need help.
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Glen,

Is this information snap from the XP Workstation?

When you run this script do all of the @macros report results?

Thanks,

Kent

[ 11 July 2002, 22:06: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#24893 - 2002-07-11 11:11 PM Re: @hostname and WinXP missing. need help.
Anonymous
Unregistered


The scrtipt run on the host XP system...
I just discovered that KiXtart is reporting the full host name as:
CALLA not as expected CALLA.ucdavis.edu

The domain name is missing and that is causing the error I believe because I parce it with
$nlet=Instr($fhname,".")-1 ;find length of first part.
Substr($fhname,1,$nlet) to define the short host name.
I don't see how to configure the XP system to report the domain yet. It using DHCP like all other Win98. Except in Win98 there is a place to define the domain.

Thanks for your comments. They help a lot.

Top
#24894 - 2002-07-11 11:36 PM Re: @hostname and WinXP missing. need help.
Anonymous
Unregistered


I also see that ipconfig is reporting the suffix domain name:

$fhname="@hostname"
?"Full Host Name= "$fhname
$shname=Substr($fhname,1,$nlet)
?"short host name= "$shname

Full Host Name= CALLA
short host name=
C:\Temp>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : ucdavis.edu.
IP Address. . . . . . . . . . . . : etc..

Not sure what is missing for XP not to send back the full name as CALLA.ucdavis.edu???

Top
#24895 - 2002-07-11 11:44 PM Re: @hostname and WinXP missing. need help.
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
these are the things about NS...
win98 works if your dns and dhcp breaks down as they use wins and netbeui.
_________________________
!

download KiXnet

Top
#24896 - 2002-07-11 11:51 PM Re: @hostname and WinXP missing. need help.
Anonymous
Unregistered


I'll try installing netbeui on the XP and see what happens. I'll let you know.
Top
#24897 - 2002-07-11 11:59 PM Re: @hostname and WinXP missing. need help.
Anonymous
Unregistered


Adding netbeui to the XP system didn't fix it.

Something fundamentally different about XP I think. I is really built for Active Directory.

Top
#24898 - 2002-07-12 12:45 AM Re: @hostname and WinXP missing. need help.
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
If you go to 'Control Panel - System - Network Identification', does the 'Full Computer Name' show up correctly? It sound contain a FQDN (fully qualified domain name). It sounds like your TCP/IP setup is not entirely correct.

Also, please get rid of NetBEUI, it's evil, a non-routable protocol, doesn't help you in your situation, and it's slooowwww.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.133 seconds in which 0.09 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org