[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2505
  • Last Modified:

How do I configure a Ghost network boot disk to automatically logon to a domain

Hi all, hope somebody can sort this one for me!

I've created a Ghost bootdisk, and pretty much have it totally automated. My one problem is this, how can I configure it to connect automatically to our domain?
At present, the floppy does the job of getting as far as a line saying 'Please enter your username, or press ENTER if it is USERNM'
I press enter and am then asked to enter my domain password, after that, the rest of the steps are automated.
I'm not sure if I've missed an obvious option for saving these details to the disk when creating it, but I suspect one of the .ini files on the disk (or possibly autoexec.bat) needs to be manually edited. I've pasted their contents below...

*************************************************

***********Autoexec.bat**************
@ECHO OFF
SET PATH=A:\NET\;a:\;%PATH%;
SET TEMP=A:\
SET TCPHELP=A:\NET
SET ETCDIR=A:\NET
REM \MOUSE.COM
A:\NET\NET START
A:\NET\NET.EXE USE l: \\server\shared
l:\ghost.exe -clone,mode=load,src=l:\image.gho,dst=1 -sure -rb

****N******Network.ini*****************
[network]
computername=PC1
lanroot=A:\NET
autostart=netbeui full
username=USERNM
domain=MYDOMAIN
lslogon=yes
autologon=no
reconnect=no
passwordcaching=no
timesync=no

***********Protocol.ini******************
[network.setup]
version=0x3100
netcard=NIC,1,NIC
transport=nts$ntst2,NTS$NTST2
transport=ibm$netbeui,IBM$NETBEUI
lana0=NIC,1,ibm$netbeui
lana1=NIC,1,nts$ntst2

[NTS$NTST2]
DefaultDomain=MYDOMAIN
BOOTPFLAG=DHCP
DriverName=ntsts$
VCs=16
VCReceiveLarge=6
VCSends=6
RcvWindow=2920
UseMemory=UMB
BINDINGS=NIC
LANABASE=1

[protman]
DriverName=PROTMAN$
PRIORITY=ibm$netbeui

[IBM$NETBEUI]
DriverName=netbeui$
SESSIONS=20
NCBS=20
BINDINGS=NIC
LANABASE=0

[nic]
drivername = E1000$
; Line Speed (Mbits/sec)

Speed = Auto-Speed

; Force Duplex Mode

ForceDuplex = Auto



*******************************************************

Any assistance would be greatly appreciated!
Thanks
0
egandp
Asked:
egandp
1 Solution
 
gabit25Commented:
Hi!

I'm doing me too ghost by network domain and it isn't a method to provide the domain password automatically. You will always have to confirm user name and enter the user password.

Sorry.

Gabriel
0
 
internocCommented:
a) Try making a user account that has stringent restricted access rights for ONLY this purpose, and set it up withy NO password.  On a Novell network that is possible.

b) If (a) doesn't work, then try putting your manual input into a file, and use input redirection to have it keyed in for you.
   So .. if you create a text-file called 'autokeys.txt' that contains just one line or 2 lines having the username and password... then you could add as follows...

A:\NET\NET START   <  a:\NET\autokeys.txt

or

A:\NET\NET.EXE USE l: \\server\shared    <  a:\NET\autokeys.txt

Greetings,

Marc
0
 
msaracenoCommented:
what about in the network.ini
set the autologon option to yes
and passwordcaching to yes as well
you might have to enter another line that says
password=mypassword
0
 
star57techCommented:
I also used ghost until I found a better boot disk that has a better feature, Checkit out here
http://www.netbootdisk.com/screens.htm
Copy the above if link does not work.

This boot disktte is great and lots better than ghost bootable, Still need ghost.exe

keith
0
 
egandpAuthor Commented:
Took a bit of tinkering around, but using A:\NET\NET START < a:\NET\autokeys.txt seems to have done the trick
The additional tinkering consisted of changing some of the variables in network.ini so that the password isn't asked untill a remote drive is mapped - given that the password is asked after mapping the drive (net use l: \\server\share) I changed this line to net use l: \\server\share < autoword.txt. The bootdisk is now totally automated :)
Thanks everyone!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now