[03:38] Hugo (3ddc2355@ircip2.mibbit.com) joined #fai. [03:38] guten morgen [03:39] I'm testing FAI's functionalities [03:39] while I boot a install client up [03:40] after fetching IP-address [03:40] it shows TFTP TIME OUT [03:40] I check the daemon of TFTP which is working on [03:41] PS. I installed FAI server from FAI-CD that I downloaded from FAI web-site [04:23] how are you checking the tftp daemon remotely? [04:25] to my knowlege, you should be using a live CD (your faicd on a safe setting, preferably) to boot the client, then performing a tftp request from tha client with its proper mac address. [05:02] root 31048 0.0 0.0 2240 248 ? Ss 11:34 0:00 /usr/sbin/in.tftpd -l -s /srv/tftp on faiserver [05:04] I assign a client MAC which is belong to install client ,in dhcpd.conf on faiserver [06:30] justleen (~leen@s5591f74f.adsl.wanadoo.nl) joined #fai. [07:24] justleen (~leen@s5591f74f.adsl.wanadoo.nl) left irc: Ping timeout: 480 seconds [07:28] Hugo: what version of the tftpd did you install? [08:01] thanks for oz_ , I'm erase the old installation of FAI [08:01] I'm going to install FAI on Ubuntu Maverick [08:02] additional question , any one ever use DC2 for FAI GUI ? [08:02] is that good to using ? [08:15] <\sh> Hugo: it's difficult to install it right now ;) [08:15] you mean install on Ubuntu Maverick @@? [08:15] <\sh> Hugo: as there is no documentation how to do it...but it works ;) I'll have to find the time for documentation [08:15] <\sh> Hugo: no .. DC˛ ;) [08:15] oh got it [08:16] how about install FAI on ubuntu Maverick ? [08:16] <\sh> easy [08:17] thanks , but i think tftp version in Maverick is a little different from tftp in debian [08:17] am i right ? [08:18] Im facing a problem for now . there's no kernel image in /srv/tftp after I ran fai-setup [08:18] I still can not find out a document of FAI on Ubuntu Maverick in detail [08:20] btw , I'm just a beginner . :> [08:20] justleen (~leen@rev-131-102.virtu.nl) joined #fai. [08:42] Hugo: I think there is no Document [08:43] Confusing about the problem of no kernel image in /srv/tftp/fai ~"~ [08:45] which distro do you recommand for a beginner ? [08:46] Debian ? [08:46] yes [08:47] so , the easiest way is install FAI on debian by fai-cd 3.3 ? [08:47] I think so, yes [08:49] thanks , but while I install from fai-cd , the process of installation shows me several error . [08:59] osmo (~o@195.14.20.220) joined #fai. [09:01] Hugo: does it install sucessfully? [09:03] yes, Ido think so , I'll check install log later [09:03] reinstall again :> [09:07] a normal question , r u german ? [09:07] Action: \sh hates klibcs ipconfig [09:08] Action: \sh integrates now udhcpc in live-initramfs-tools for [09:14] :-) [09:15] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [09:16] :D [09:27] it might be the problem on that I have two ethernet car on install server , eth0 is dhcp from our master dhcp server , eth1 is fai dhcp service for install client [09:28] after fai-setup , I found that /etc/exports nfsroot & config is assign to 172.16.2.94 [09:28] but my fai dhcp server is for 192.168.1.x clients [09:28] how to correct this issue ? [09:34] Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. [09:46] why isn't mdadm initiated prior to or inside get_current_lvm? [09:48] since you might have a configuration, as we do, where lvm is on top of software raid [10:00] thanks for your advice , but I don't know what's the meaning . [10:00] I just follow the guide which I found on google [10:00] http://www.akoestica.be/blog/home/sysadmin/15-provisioning/49-installing-fai [10:27] stuck on TFTP open timeout . using tftpd-hpa default by fai-cd [10:28] Hugo: can you do tftp from the commandline? [10:35] no command not found [10:35] should I install any tftp client package? [10:37] <\sh> looks like that I managed to use udhcpc as default dhcp client in live initramfs tools for fai... [10:37] <\sh> wow [10:37] <\sh> Mrfai: klibcs ipconfig + be2net != success , udhcpc + be2net == success [10:39] but I dpkg -L tftpd-hpa is already installed [10:39] \sh: es waere prima, wenn du eine mail an linux-fai posten koenntest, wie du das gemacht hast. [10:39] Hugo: you need the client: tftp-hpa [10:41] I search for package tftp , there is only one package named tftpd-hpa .... [10:44] <\sh> Mrfai: will do :) [10:45] <\sh> Mrfai: I wonder if it would be a good idea to create an initramfs overlay package just like the live-initramfs-tools for fai itself.... [10:52] I'll guess mika will have a look at the udhcpc thing and will include it into initramfs-tools it it's useful [10:52] Hugo: I'll have this: tftp-hpa - HPA's tftp client [10:52] <\sh> I'll just need to make it pretty..;) [10:52] try apt-cache search tftp [11:06] reinstall again :< I screw it up ...... [11:17] ErKa (~keryell@APuteaux-154-1-18-140.w83-199.abo.wanadoo.fr) joined #fai. [11:22] err http://faiserver lenny/main packages connection failed [IP: 192.168.1.250 9999] [11:57] tftp open time out is due to no tftp client [11:58] nic (~niki@217.17.27.69) joined #fai. [11:59] the reason why I can't see apt-cache is bcz apt-proxy , the listen address should be assign to 192.168.1.250 [12:04] msc_ (~msc@gw1.cgn3.hosteurope.de) joined #fai. [12:04] msc (~msc@gw1.cgn3.hosteurope.de) left irc: Read error: Connection reset by peer [12:04] Nick change: msc_ -> msc [12:17] hi again. i created a script to touch /opt/file on install client during installation. tried with: [12:17] /tmp/target/live/filesystem.dir/opt/file1/tmp/target/opt/file2 [12:17] false [12:17] mom [12:17] HerrK (~keryell@APuteaux-154-1-13-222.w83-199.abo.wanadoo.fr) joined #fai. [12:17] /tmp/target/live/filesystem.dir/opt/file1 [12:17] /tmp/target/opt/file2 [12:17] /target/live/filesystem.dir/opt/file3 [12:17] /target/opt/file4 [12:18] but nothing on client after installation [12:18] script is executable [12:21] ErKa (~keryell@APuteaux-154-1-18-140.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds [12:22] nic: you can use $TARGET/opt/file [12:26] thy [12:27] varable $TARGET must be in uppcase? [12:27] msc_ (~msc@gw1.cgn3.hosteurope.de) joined #fai. [12:29] msc_ (~msc@gw1.cgn3.hosteurope.de) left irc: [12:30] msc_ (~msc@gw1.cgn3.hosteurope.de) joined #fai. [12:34] msc (~msc@gw1.cgn3.hosteurope.de) left irc: Ping timeout: 480 seconds [12:34] msc_ (~msc@gw1.cgn3.hosteurope.de) left irc: Read error: Connection reset by peer [12:34] msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. [12:39] msc_ (~msc@gw1.cgn3.hosteurope.de) joined #fai. [12:39] msc (~msc@gw1.cgn3.hosteurope.de) left irc: Remote host closed the connection [12:39] Nick change: msc_ -> msc [12:40] justleen: did not work [12:45] why not? [12:45] use $target/opt/file [12:46] another way would be to use chroot, or $ROOTCMD [12:50] justleen: u mean chroot $target touch /opt/file right? [12:51] yep. This is the same as $ROOTCMD touch /opt/file [12:51] chroot $FAI_ROOT ln -s /data/shared/etc-lenny/php5 /etc/php5 [12:51] yes [12:51] I would always use $ROOTCMD. [12:52] the uppper/lower case difference is kind of confusing btw [12:57] msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc [13:02] msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. [13:04] ebbie (~username@berlin046.server4free.de) joined #fai. [13:06] hi, i want to create a bootable cd containing the installation os (nfsroot) but not the packages needed for installation, is this in squeeze possible with "fai-tools" [13:15] script now looks like: [13:15] #!/bin/bash [13:15] #mount 128.10.1.1:/srv/fai/ityx /mnt [13:15] #cp -r /mnt/* /tmp/target/live/filesystem.dir/opt [13:15] touch $TARGET/opt/file1 [13:15] touch $target/opt/file2 [13:15] chroot $target touch /opt/file3 [13:15] chroot $TARGET touch /opt/file4 [13:15] $ROOTCMD touch /opt/file5 [13:15] chroot $FAI_ROOT touch /opt/file6 [13:15] nothing happened [13:17] is the script executable? [13:17] y [13:17] do you see it execued in log? shell.log ? [13:18] nope [13:18] its in a correct class dir? [13:18] /config/scripts/CLASS/script? [13:19] and the gets that class? [13:19] the host* [13:19] /srv/fai/config/scripts/ITYX/2-mount_cp-test [13:19] y it gets class [13:19] and FAI_CLASSES contains ITYX [13:19] yep [13:19] hm [13:21] is there a 1- script? [13:21] does that get executed? [13:21] it exists but i didnt made it executable yet [13:27] I got a problem in fai-setup [13:28] Faiserver had install on Ubuntu Maverick [13:28] there's no kernel in /srv/tftp [13:35] Hugo: did u try to copy it by hand from /boot ? [13:36] nic: I only use double-digit scripts, but i cant imagine that having an impact [13:37] bit weird that its not executed at all, even though the class is recognized.. [13:38] justleen: moved 2-mount_cp-test to 10-test and it gets executed now [13:38] msc (~msc@gw1.cgn3.hosteurope.de) left irc: Read error: Connection reset by peer [13:38] msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. [13:40] justleen: file 2 3 5 and 6 where created [13:40] fai-do-scripts executes all scripts in DIRECTORY which are also a [13:40] defined class. If the name of the class is a directory, all scripts [13:40] that match `[0-9][0-9]*' in this directory are executed. [13:40] -- man fai-do-scripts(1) [13:41] would have to check the source, but if that applies to the scripts you're talking about as well (i guess so) it should be [0-9][0-9]+ maybe? [13:42] thanks let me try it [13:42] mikap: looks like [13:45] right, so it DOES make a diffenence to have 1-digit scripts [13:46] good to know.. [13:46] agree [13:46] so a class can only include 89 scripts [13:46] ONLY [13:47] 99 [13:47] 10 - 99 [13:47] ah [13:48] 01- would be a valid match on [0-9][0-9] [13:48] 01 - 99 [13:48] ur right [13:48] and you could be sneaky offcourse, 99-script could end by kicking off 100-script [13:49] but I dont think I'll ever get to 99 scripts [13:49] true same with me [13:50] Mrfai: ^^^ i think the [0-9][0-9]* in the docs isn't precise [13:53] fail to pxe boot from client TFTP error ~"~ [13:54] I already cp /boot kernel image to /srv/tftp/fai [13:55] should I change FAI_DEBOOTSTRAP="lenny http://cdn.debian.net/debian" to other string ? [13:55] due to my faiserver is on ubuntu maverick [13:57] btw my maverick is server x_64 [14:03] http://www.mail-archive.com/linux-fai@uni-koeln.de/msg03282.html I thinks this could be help [14:03] Hugo: looks like u do not even reach pxe rom. check /etc/default/tftp-hpa for TFTP_DIRECTORY="/srv/tftp/fai" [14:07] mikap: but that's excatly what fai does : for f in $(echo $class/[0-9][0-9]* ) ; do [14:07] Mrfai: doenst that mean that there is no difference on the match for 991-script and 992-script? [14:08] Mrfai: because shell doesn't support "real regex" in that way [14:08] Mrfai: demo -> [14:08] mika@lunge /tmp/fai % touch 01-foo 1-bar 100-baz [14:08] mika@lunge /tmp/fai % ls [0-9][0-9]* [14:08] 01-foo 100-baz [14:08] yes you're right.... [14:09] * == zero, one or more than 1 matches for me and what i'd expect [14:09] + == at least one match for me [14:09] mikap: yep, you are right [14:09] when i read [0-9][0-9]* without having any implementation details available i'd expect to be able to use 0-foobar was well [14:09] so it more a [0-9][0-9].* [14:10] mrfai: yes [14:12] msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc [14:13] fai: 3 lange committed revision 6264 to 7 fai: more precise description of matching file names [14:15] msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. [14:42] _julian (~quassel@hmbg-4d06e4c5.pool.mediaWays.net) joined #fai. [15:15] <\sh> mikap: read my mail about udhcpc? [15:24] Action: \sh 's gone home for today...cu tomorrow [15:24] \sh (~shermann@nat.de.netviewer.com) left irc: Read error: Connection reset by peer [16:02] nic (niki@217.17.27.69) left #fai. [16:09] justleen (~leen@rev-131-102.virtu.nl) left irc: Quit: Leaving. [16:36] HerrK (~keryell@APuteaux-154-1-13-222.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds [16:56] Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving [17:04] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat [17:13] Nick change: mfl_ -> mfl [17:25] ebbie (~username@berlin046.server4free.de) left irc: Quit: connection reset by user [18:09] Hugo (3ddc2355@ircip2.mibbit.com) left #fai. [18:09] hugo (72187e9f@ircip3.mibbit.com) joined #fai. [18:12] how about add tftp-hpa (tftp client) into fai-quickstart [18:13] a dependency would be nice, yes [18:16] :) [18:16] alekibango (~alekibang@ip-94-113-217-204.net.upcbroadband.cz) left irc: Read error: Connection reset by peer [18:16] still learning about FAI configuration [18:16] I got something confuse..... [18:17] I success to pxe boot up install client and get tftp file.... [18:17] in my lab today [18:18] but still failed to install it .... [18:18] it must be something wrong .... [18:19] server distro is Ubuntu Maverick , [18:19] may I ask a question , in this situation , what's the distro of nfsroot ? [18:20] I think that should be debian 5.0 !? [18:22] assume that I have success to install client , how about the distro ? Maverick or Debian ?? [18:23] bcz I saw FAI_DEBOOTSTRAP= squeeze http://cdn.debian.net debian [18:59] pav5088 (~Mark@ppp118-208-160-195.lns20.bne4.internode.on.net) left irc: Ping timeout: 480 seconds [19:08] pav5088 (~Mark@ppp118-208-178-94.lns20.bne4.internode.on.net) joined #fai. [21:34] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [21:51] alekibango (~alekibang@ip-94-113-217-204.net.upcbroadband.cz) joined #fai. [21:51] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. [22:45] msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc [00:00] --- Wed Jan 12 2011