[Unattended] connect problem...

2004-04-06 Thread Roberto Caranci
hello
i wonder if there's anybody with the same problem...
while i am trying to start with the dos cd, i get this looping error message:

GUEST was logged off successfully
The command completed succesfully
Mapping Z: to \\xxx.xxx.xxx.xxx\install\...
The syntax is incorrect.
For help, type NET USE /?
Failed. Retrying...
Override bootdisk defaults (if unsure, say yes)[Y,N]
i am using the el90x image.

can anybody help me? thanks.
roberto caranci
¸.·´¯`·.´¯`·.¸¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸(((º
.¸¸.·´¯`·.¸¸.·´¯`·.¸(((º
Roberto Caranci
IT Support Group
Institute of Pharmaceutical Sciences
Swiss Federal Institute of Technology Zurich
Winterthurerstrasse 190 --- 8057 Zurich
Tel 01 635 60 03 --- Fax 01 635 68 87
http://isg.pharma.ethz.ch/roberto.caranci/  



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] Linux boot z_user too back slash or not

2004-04-06 Thread Patrick J. LoPresti
Max Lovius [EMAIL PROTECTED] writes:

   append initrd=initrd root=0:0 init=/linuxrc z_user=username/domain
 z_pass=password z_path=\\server\install
 
 For the linux boot (smbmount) to connect to a windows 2003 share this
 seems ok z_user=username/domain or user/workgroup in the smb doc.

Wait, are you sure it actually wants username/DOMAIN and not
DOMAIN/username?  Interesting.  (Forget the docs for a minute; could
you actually try both and confirm that the former works and the latter
does not?)

 But in the context of net use when taken from tempcred.bat, it should be
 domainname\username.

Good point.  We already canonicalize z_path from //foo/bar to
\\foo\bar, but we do not (yet) do any transformations on z_user.

Can you do me a favor?  Try setting z_user=DOMAIN\username and let me
know what happens?

 So should there be something like, what I do $z_user =~
 s/(.*)\/(.*)/$2\\$1/; 

Yeah, something like that.  But first I would like to know whether
Samba also accepts DOMAIN\username.

 - Pat


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


RE: [Unattended] Linux boot z_user too back slash or not

2004-04-06 Thread Max Lovius
Pat wrote Can you do me a favor?  Try setting z_user=DOMAIN\username
and let me know what happens?
Yes it is fine...
Well I did read some where that it is better to only have one way to do
things... 
Now I start to think the same way...

My only question is, How does samba know what is the domain and what is
the username, or does it try both?
What would happen if the was two domains and two users and the two!

 


Great Thanks
Max


-Original Message-
From: Patrick J. LoPresti [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 06 April, 2004 3:58 PM
To: Max Lovius
Cc: [EMAIL PROTECTED]
Subject: Re: [Unattended] Linux boot z_user too back slash or not


Max Lovius [EMAIL PROTECTED] writes:

   append initrd=initrd root=0:0 init=/linuxrc z_user=username/domain 
 z_pass=password z_path=\\server\install
 
 For the linux boot (smbmount) to connect to a windows 2003 share this 
 seems ok z_user=username/domain or user/workgroup in the smb doc.

Wait, are you sure it actually wants username/DOMAIN and not
DOMAIN/username?  Interesting.  (Forget the docs for a minute; could you
actually try both and confirm that the former works and the latter does
not?)

 But in the context of net use when taken from tempcred.bat, it should 
 be domainname\username.

Good point.  We already canonicalize z_path from //foo/bar to \\foo\bar,
but we do not (yet) do any transformations on z_user.

Can you do me a favor?  Try setting z_user=DOMAIN\username and let me
know what happens?

 So should there be something like, what I do $z_user =~ 
 s/(.*)\/(.*)/$2\\$1/;

Yeah, something like that.  But first I would like to know whether Samba
also accepts DOMAIN\username.

 - Pat


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] connect problem...

2004-04-06 Thread Patrick J. LoPresti
Roberto Caranci [EMAIL PROTECTED] writes:

 while i am trying to start with the dos cd, i get this looping error message:
 
 GUEST was logged off successfully
 The command completed succesfully
 Mapping Z: to \\xxx.xxx.xxx.xxx\install\...

The net use command from MSCLIENT (the DOS network stack) does not
accept IP addresses.  You have to use a Windows machine name.  And not
a DNS name, either; the command chokes if a dot appears in the name at
all.

As far as I know, there is nothing we can do about this.

If you must use a DNS name or IP address, use the Linux boot disk.

 - Pat


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] Detecting the active NIC

2004-04-06 Thread Jordan Share
I primarily use the Unattending infrastructure to rebuild lab machines.

These machines have a variety of network cards, which come up in varying 
orders.  They all have 1 mgmt interface, and 1 test interface.

I'd like to be able to rename the network connections in Windows 
according to their purpose (e.g. mgmt and test).  Then I can use netsh 
to give them their IP addresses, etc.  (Being able to give them IP info 
without renaming would also be acceptable).

Does anyone know a way to determine which adapter has link?  Given that, 
I can name that one mgmt, and then toggle link (via the switch) on the 
test interface to find it.  (I can't just use the other nic for test, 
because some of the machines have an onboard GigE that is cheezed, so 
their test NIC is a generic 100mbit card.)

I'm trying to get a 100% unattended install together.  I did finally try 
the CTTY COM1 trick (for DOS serial console), and it works.  I am going 
to add in a timeout that asks whether you want to install over serial 
(and defaults to no) to all the bootdisks today.  Then I can at least 
start the reinstall remotely.

Even if I were to set the MAC addresses in the DHCP server (a somewhat 
compelling argument), that'd only handle the mgmt interfaces, so I'd 
still need to figure out which of the other NICs is the real test 
interface.

Thanks,
Jordan Share


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] Linux boot z_user too back slash or not

2004-04-06 Thread Patrick J. LoPresti
Max Lovius [EMAIL PROTECTED] writes:

 Well I did read some where that it is better to only have one way to do
 things... 
 Now I start to think the same way...

:-)

 My only question is, How does samba know what is the domain and what
 is the username, or does it try both?  What would happen if the was
 two domains and two users and the two!

Well, it looks like Samba accepts username/DOMAIN or
DOMAIN\username, but not the other two.

I have edited /etc/master on the Linux boot disk to accept
username/DOMAIN and convert it to DOMAIN\username.  In other words:
Fixed in next release.

Thanks!

 - Pat


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] Using unattended post os install

2004-04-06 Thread Bruce Jarvis
Title: Message



I have situations 
where I have machines with the OS already installed, but want to use unattended 
to install applications. What are the steps involved in getting a machine 
to the point where I can use todo.pl to install applications and 
updates?

I apologize if I 
have missed the documentation on this.

Thanks,

Bruce

-
Bruce Jarvis
LeanLogistics, Inc.
3347 128th Ave.
Holland, MI 49424
(616) 738-6400 ex. 132
[EMAIL PROTECTED]
http://www.leanlogistics.com




Re: [Unattended] Detecting the active NIC

2004-04-06 Thread Jordan Share
Patrick J. LoPresti wrote:
Jordan Share [EMAIL PROTECTED] writes:


Does anyone know a way to determine which adapter has link?


If these machines are running Windows XP, you can use the
NetConnectionStatus property of the Win32_NetworkAdapter WMI class:
  http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_networkadapter.asp

We ship a generic WMI enumeration script (instances.pl).  Try running
instances.pl Win32_NetworkAdapter with the cable connected and
disconnected to see the difference.  But since the NetConnectionStatus
property was first introduced in Windows XP, this will not show any
difference on Windows 2000.
For Win2k, the best idea I have is to run ipconfig and parse the
output...
I need to do both, so it looks like I'll just have to parse ipconfig.

I'm trying to get a 100% unattended install together.  I did finally
try the CTTY COM1 trick (for DOS serial console), and it works.  I
am going to add in a timeout that asks whether you want to install
over serial (and defaults to no) to all the bootdisks today.  Then I
can at least start the reinstall remotely.


Glad to hear that worked.  If you have time to try it with the Linux
boot disk, I would be interested to hear the results of that, too.
What is it that you want me to try with the Linux boot disk?  I have 
tried it out on system I had handy, but there is nothing on the serial 
port (after the PXE boot completes, anyway).

Jordan



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


RE: [Unattended] Using unattended post os install

2004-04-06 Thread Jeff Black
 I have situations where I have machines with the OS already installed, but want to 
 use unattended
 to install applications. What are the steps involved in getting a machine to the 
 point where I
 can use todo.pl to install applications and updates?

I could find no step-by-step instructions either. It appears as though everyone that 
is doing this
is using custom scripts to do so.

I place the following scripts in z:\scripts\

ftp://www.hansonsystems.com/unattended/Start_Apps_Only_Install.bat
ftp://www.hansonsystems.com/unattended/AppsOnly_Set1.bat

From any workstation, logged in as a user that has permission to map a drive to my 
unattended share 
[ \\ntinstall\install ]
I can launch Start - run - \\ntinstall\install\Start_Apps_Only_Install.bat
The Z: drive is mapped using mapznrun.bat then appsonly_set1.bat is called to install 
perl and then
use todo.pl to install the programs required.

Hopefully this or something similar to this can be rolled into unattended. 

-Jeff





---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info