RE: Class problem

2005-08-07 Thread Nicolas Triantafillou
(forgot to send this to list) > In your script the echo command only defined the class SKY, but not the > classes listed in the file SKY! You can use the builtin fai function catnc > (cat no comments, a pipe of cat and grep for removing comment lines) instead > of echo. e.g: catnc SKY catnc work

Re: Class problem

2005-08-03 Thread Nicolas Triantafillou
In your script the echo command only defined the class SKY, but not the classes listed in the file SKY! You can use the builtin fai function catnc (cat no comments, a pipe of cat and grep for removing comment lines) instead of echo. e.g: catnc SKY This is true.. but the SKY works perfectly, the

Class problem

2005-08-02 Thread Nicolas Triantafillou
Hi FAI'ers, Once again I'm having hopefully what is a simple problem causing all my machines to build incorrectly. My classes aren't getting defined for certain machines and I can't figure out why. ~~ Example 1 (working): Machine name: sky-pc01 classes/50-host-classes lines: sky-*)

Re: mkdebmirror problem

2005-07-04 Thread Nicolas Triantafillou
Sorry I can't be more helpful, Are you joking? that was extremely helpful :D the gpg command did something, it looked like it worked, but my mkdebmirror was still failing. Using your script, changing to my mirror host and changing /mirror/debian to debian worked perfectly, and i'm mirroring

mkdebmirror problem

2005-07-03 Thread Nicolas Triantafillou
Hi all, I've been working on this most of today, trying different mirroring programs and not having much luck, so I thought i'd go back to mkdebmirror and try and get some help. Hopefully it's user error and easily fixed ;-) I've installed debmirror via apt, version "20050207", and i've modi

Re: USB keyboard during install

2005-05-10 Thread Nicolas Triantafillou
Hmm.. the network seems to be fine on ours :) They're PXE booting and fai 2.6.3 seemed to install fine.. Are you using 2.6.8 ? I'm installing with that and then installing my own rolled 2.6.9 and it goes OK. The FAI 2.8.2 installation however, I can't really get a machine completely installed..

USB keyboard during install

2005-05-10 Thread Nicolas Triantafillou
Hi all, I've noticed that since the release notes for FAI 2.4, there has been: - USB keyboard support during installation however, I've never got this working and have always gone back to the PS2 keyboards for my initial builds. Are there any additional modules I need to activate to get this work

rdate

2005-02-13 Thread Nicolas Triantafillou
Hi all, I'm installing some machines in a lab where I don't have control over the firewall, and during install it hangs on 'Calling task_setup' - where the error which follows it about 3 minutes later is: 'rdate: connect: connection timed out' - seems it's being blocked, but I don't know what to t

Re: script hacking

2005-01-13 Thread Nicolas Triantafillou
That's ugly and bad. You should use a hook for that. agreed ;-) it was the result of 4x8 hour days trying to figure out the real problem with the hardware. Create a file hooks/partition.MYHARDWARE: #! /bin/sh mkfs.ext2 /dev/hda3 mkfs.ext2 /dev/hda6 skiptask partition brilliant! I knew a hook sho

script hacking

2005-01-13 Thread Nicolas Triantafillou
Hi all, I've recently stumbled upon a problem due to a combination of our imaging software, hardware, and FAI. I've solved this problem with some hacking of /usr/lib/fai/sbin/setup_harddisks the diff is as follows, and I know it's a very ugly way of doing it.. but it works: 726,728d725 <

Re: fai with SATA hard disk

2005-01-11 Thread Nicolas Triantafillou
definately, in class/06hwdetect.source my kernelmodules look like this: kernelmodules="rtc floppy usbkbd keybdev mousedev hid ide-detect ide-disk ide-cd isa-pnp ide-generic ata_piix piix" I think it's the ata_piix which makes the sata hdd's work. Nick. Emmanuel.Leguy wrote: Hello, I tried to inst

Re: nsswitch.conf not copied

2004-11-27 Thread Nicolas Triantafillou
during the install, do you see NIS defined in the list of classes? I have a script in my scripts/ directory with: #!/bin/sh # NIS stuff fcopy -iM /etc/defaultdomain fcopy -iM /etc/nsswitch.conf fcopy -iM /etc/yp.conf (make sure the script is +x) this copies my NIS stuff over. make sure the script h

Re: 2.6 and ide cdrom

2004-11-14 Thread Nicolas Triantafillou
controllers when I tried to use it. will test tomorrow with vanilla 2.6.9 and see if that fixes it.. then all I have to do is wait for fai kernels with 2.6.9. cheers, Nicolas. Nicolas Triantafillou wrote: Hi FAIers, i'm attempting to migrate my FAI installs from 2.4 to 2.6 kernels and I

2.6 and ide cdrom

2004-11-14 Thread Nicolas Triantafillou
Hi FAIers, i'm attempting to migrate my FAI installs from 2.4 to 2.6 kernels and I've got a problem with a dell GX280, it has SATA hard disks and an ide cd/dvd drive. For the SATA hard disks i've modprobed ata-piix which works, but the cdrom drive isn't being detected, any ideas which kernel mo

Re: change root password for clients installation

2004-11-05 Thread Nicolas Triantafillou
simplest way ive found, if you have apache installed, type 'htpasswd -n blah' and type in the password twice, whatever it shows after the : is the password. It uses standard crypt() I believe. Nick. what kind of encryption is used to generate root password in fai? how to generate a password to i

Re: is there anybody out there?

2004-10-12 Thread Nicolas Triantafillou
Ask the question and find out ;-) Nick. On 13/10/2004, at 3:05 AM, Andrea Iacopini wrote: someone is present to respond to my question? :) A.

Re: no kernel installed on client so it refuses booting ... a little more

2004-10-08 Thread Nicolas Triantafillou
scripts/DEFAULT/S01 has: fcopy /etc/kernel-img.conf this should be happening by itself? check out your files/etc/kernel-img.conf the hook shouldn't be needed. Nick. Holger Levsen wrote: Hi Gerald, hi all, I use a hook before the packages get installed to set /etc/kernel-img.conf - but I'm also won

Re: Possibly silly: FAI served from OS X?

2004-09-23 Thread Nicolas Triantafillou
Can OS X use apt-get? If there's an apt repository for OS X the main part may be already solved. The second questions is how to create a minimal system, where we can chroot into. Debian is using debootstrap for this, but what is OS X using? For Suse, RH and fedora there's a project called mach (htt

Re: [NEW RELEASE]: FAI 2.6.3, fai-kernels 1.8

2004-09-14 Thread Nicolas Triantafillou
Thanks Thomas, all your work is greatly appreciated :) Nicolas. Thomas Lange wrote: On Tue, 14 Sep 2004 09:52:29 +1000, Nicolas Triantafillou <[EMAIL PROTECTED]> said: > I'm not seeing the new fai deb at > http://www.informatik.uni-koeln.de/fai/download/, only fai-ker

Re: [NEW RELEASE]: FAI 2.6.3, fai-kernels 1.8

2004-09-14 Thread Nicolas Triantafillou
n FAI 2.6.3 - make $rootpw not readable for users - use default kernel 2.4.27 - fai-setup: add option -e - make-fai-nfsroot: add option -K - add xfs support into the nfsroot - define kernel parameters using $kappend http://www.informatik.uni-koeln.de/fai/ -- Nicolas Triantaf

Re: Installing own deb

2004-09-09 Thread Nicolas Triantafillou
http://www.mail-archive.com/linux-fai%40rrz.uni-koeln.de/msg02061.html This page should help. Nick. On 10/09/2004, at 10:51 AM, Abhishek Jha wrote: I have failed to install my own deb. Any help will be appreciated. Thanks Abhishek

Re: install own .deb

2004-08-11 Thread Nicolas Triantafillou
I have put my sun-j2sdk1.4_1.4.2+05_i386.deb in /files/packages How do I say (in /script/DEFAULT/S01 ?) to install the package if the JAVA class is defined? I've tried this => In /class/DEFAULT.var : installjava="sun-j2sdk1.4" In /script/DEFAULT/S01 : ifclass JAVA && { [ "$installjava" ] && ye

Re: java and FAI

2004-08-10 Thread Nicolas Triantafillou
W. Borgert wrote: The "one real way" to install Sun Java on Debian is called mpkg-j2se (installable from unstable/sid). You download the *.bin files from Sun and make *.deb packages from them using the mpkg-j2se command. During this transition you have to agree to the Sun license. Put the result

java and FAI

2004-08-09 Thread Nicolas Triantafillou
I'm attempting to install the java sdk and jre on my lab machines which are build with FAI (sarge server/clients, 2.6.1). Being 'Fully Automatic', I really don't want to have to install anything manually after the FAI build is done, and java seems to require me to agree to a licence agreement e

Re: problems with the xprt-xprintorg package

2004-08-03 Thread Nicolas Triantafillou
it work.. I still can't tell if this is just my printer (HP 2200) or my system. anyone else having this particular problem ? Nick. On 04/08/2004, at 2:27 AM, Paul Nijjar wrote: On Tue, 3 Aug 2004, Nicolas Triantafillou wrote: same problem as me ;-) my FAI installs are sarge, but the sarg

Re: problems with the xprt-xprintorg package

2004-08-03 Thread Nicolas Triantafillou
same problem as me ;-) my FAI installs are sarge, but the sarge version of xprt-xprintorg is broken, so i'm using the sid version and putting it in the local fai repository fai/packages and installing it that way. (might work if you just put sarge's version in there also) Nick. Jan Brand wrote:

Re: Problem when using fai (2.5.4 and 2.6) and verbose option

2004-08-01 Thread Nicolas Triantafillou
I'm having the same problem since adding the xprt package to my package_config. It stalls during a verbose install but is fine when it's not verbose. Removing xprt from the package_config makes the verbose install work without a problem. any ideas? Nick. Sébastien GALLET wrote: hi When i use th

Re: NIS and 2.6 BETA

2004-07-22 Thread Nicolas Triantafillou
You may add this command to the script which builds the /etc/defaultdomain file and look at the messages in shell.log set -xv Any idea which script this is? ive been looking for the past hour (with two other people) and can't find anything in fai setting defaultdomain. i've grep -R domainname and

Re: NIS and 2.6 BETA

2004-07-20 Thread Nicolas Triantafillou
Have a look at variables.sh. Which value has YPDOMAIN in this file? This files contains all variables that are define after all *.var scripts are sourced. # grep DOMAIN variables.sh DNSDOMAIN=cs.uow.edu.au DOMAIN=cs.uow.edu.au YPDOMAIN=linux.cs.uow.edu.au is this right? I hope im not wrong in think

Re: NIS and 2.6 BETA

2004-07-19 Thread Nicolas Triantafillou
YPDOMAIN and YPSERVERS are set by the DHCP or BOOT daemons. Have a look a boot.log and RTFM. Thanks for your help Thomas, Now I have YPDOMAIN being set by DHCP and boot.log says YPDOMAIN=linux.cs.uow.edu.au List of all classes during boot contains 'NIS LINUX_CS_UOW_EDU_AU' $target/etc/defaultdoma

NIS and 2.6 BETA

2004-07-16 Thread Nicolas Triantafillou
Wondering if this is something I did, or this is a new problem. In /etc/fai/fai.conf i've set YPDOMAIN=linux.cs.uow.edu.au, however during installation /etc/defaultdomain is set to cs.uow.edu.au, with the 'linux' bit dropped. Is this right? I've got a custom script fixing it up manually so it's

Re: hooks

2004-07-16 Thread Nicolas Triantafillou
in /usr/share/fai/subroutines there is a bash-function called "task_install" which calls the tasks. You can use this as a list. Thanks Holger and Thomas, I was looking more at the '6.11 - hooks' section of the documentation rather than the '6.1 - tasks' makes a lot more sense now. can be a bit ov

Re: hooks

2004-07-15 Thread Nicolas Triantafillou
27;savelog' are both tasks as they seem to be in the documentation/examples, I just thought anything in there would work. Nicolas. Nicolas Triantafillou wrote: Hopefully this is a simple problem, I'm trying to get a simple hook working which echo's the word "test" to /etc

hooks

2004-07-15 Thread Nicolas Triantafillou
Hopefully this is a simple problem, I'm trying to get a simple hook working which echo's the word "test" to /etc/fai/hook.test hrm:/usr/local/share/fai/hooks# ls -la test.LAST -rwxr-xr-x1 root staff 43 Jul 16 10:24 test.LAST hrm:/usr/local/share/fai/hooks# cat test.LAST #!/bin/sh

Re: beta version of next fai release available

2004-07-13 Thread Nicolas Triantafillou
Thomas, - make FAI ready-to-use for sarge This is great, I got a sarge machine installed after a small bit of fiddling [mostly my fault when trying to merge my config with it]. This was timed perfectly! I just realised woody wouldn't do what I needed and was about to start trying out sarge t

Re: could use some troubleshooting tips

2004-07-01 Thread Nicolas Triantafillou
on't know what versions of NFS each is using. Thanks for all the help. Seth On Thu, 2004-07-01 at 09:50, Nicolas Triantafillou wrote: Not sure if this helps, i'm using nfs-user-server chrome:~# cat /etc/exports /usr/local/share/fai kraken(async,ro) /usr/lib/fai/nfsroot kraken(async,ro,n