[02:22] torkel (torkel@ip64.degernas.se) left irc: Ping timeout: 480 seconds [07:08] bastian (~bastian@p5B0771E2.dip.t-dialin.net) joined #fai. [07:18] ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) joined #fai. [07:31] bastian (~bastian@p5B0771E2.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep [07:47] tempel (~mettler@dsl-62-220-14-162.berlikomm.net) joined #fai. [07:47] hi [07:57] puck (~puck@leibniz.catalyst.net.nz) left irc: Ping timeout: 480 seconds [08:05] puck (~puck@leibniz.catalyst.net.nz) joined #fai. [08:38] edoreld (~Adium@p57A097C4.dip0.t-ipconnect.de) joined #fai. [09:14] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [09:59] <\sh> moins [10:00] <\sh> guys...I have a strange problem regarding initramfs and ipconfig...sometimes my machines are booting the kernel and the ipconfig does fire up a dhcp request...and some other time it doesn't fire up the dhcp request (while in initramfs) [10:00] <\sh> and it's not deterministic [10:00] <\sh> regarding tcpdump and it doesn't even send anyout out on the device [10:03] <\sh> dhcp and tftp are running fine...and I don't see anything else being wrong..and idea? [10:27] what's the error msg, when it doesn't do dhcp? [10:28] <\sh> oz_: nothing...it runs into the timeout [10:28] <\sh> and tcpdump tells me that nothing leaves the server [10:29] <\sh> I have to mention that it's a BL465c ;) [10:34] are you connected with the correct interface / net_device? [10:34] maybe connect all interfaces with the switch and 'tcpdump again ? ^^ [10:41] \sh: does the box have multiple NICs? [10:48] <\sh> oz_: yepp...but the second nic is set to shutdown ;) [10:48] <\sh> so I'm sure it only uses the first and only one [10:49] \sh: I'd bet that the confusion is here [10:49] <\sh> oz_: nope...the pxe boot interface is the very same later on [10:50] <\sh> strange is: pxe boot works everytime..it's only the dhcp request after kernel is loaded [10:51] <\sh> it could be that the nic is set to up but the dhcp request via ipconfig is too fast...hence "portfast" is enabled on the switches [10:53] I thought after pxe gets the address from the dhcp server there aren't more dhcp request.. [10:54] <\sh> edoreld: nope...the kernel reinit the NICs..and then initramfs does a new dhcp request.. [10:54] <\sh> for mounting the nfsroot [10:55] ok [10:57] does it send a dhcp request at least? [10:57] <\sh> edoreld: nope [10:57] <\sh> and sometimes yes [10:58] and when yes, it also doesn't work? [10:58] <\sh> edoreld: if it works, it works...if not, it doesn't...and no request comes to the dhcp server [10:58] meh [11:01] <\sh> bah...span port enabled on the switch let's seer [11:09] torkel (torkel@ip64.degernas.se) joined #fai. [12:23] Is there any documentation as to the how-to of user creation in FAI? I want to install a graphical Debian environment, and automatically create a user called "user" with password "user". I have tried running a script with "useradd ....." but it hasn't worked. [12:24] edoreld: hm. I have an expect script for that. [12:24] autoexpect makes this so easy... [12:25] is that something official (autoexpect) or something you've made :)? [12:26] If it's the latter, would you mind sharing \(^_^)/ [12:26] personally i do it with a cfagent script [12:27] mgoetze: does the script execute during the installation? [12:27] of course [12:27] and during every softupdate too [12:27] sounds nice! I'll check it out :) [12:28] some of the simple examples are cfagent scripts [12:28] do they have some special extension to identify them? [12:29] no, but now might be a good time to reread the grep(1) manpage ;) [12:29] ^_^ Thanks, I'll see what I can dig :D [12:37] edoreld: not it belongs to the expact package [12:37] bastian (~bastian@p5B0771E2.dip.t-dialin.net) joined #fai. [12:38] oz: I'm looking at "man expect" right now :D [12:40] edoreld: look for autoexpect. [12:40] you can just run it once, and it generates an expect script for you. [12:40] mgoetze: I somehow never use cfengine. [12:41] oz: ah so I can use autoexpect to create an user then it will generate the script and I have to do nothing else but run it? :) [12:42] I'll read the man :) [12:46] weird I installed the expect package, but if I try to run autoexpect it says "command not found" and also there's no mention of autoexpect in "man expect" ... [12:47] edoreld: it's an example what you can do with expect [12:48] usr/share/doc/expect-dev/examples/expect_autoexpect.1.gz [12:48] oz_: i don't use the full thing, just write scripts for execution with cfagent. AddIfNoSuchLine etc. is easy enough [12:48] mgoetze: I use expect for years...and I am lazy. [12:48] sure, just use what you are used to, that's fine :) [12:51] aah expect-dev [12:51] that's what I needed to know :) [12:53] h01ger (~holger@socket.layer-acht.org) left #fai (cu later). [12:59] hello [13:11] bastian (~bastian@p5B0771E2.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep [13:39] Well I used autoexpect but on the installation is giving me an error [13:40] http://paste.debian.net/41247/ [13:40] I post the error & my expect script [13:43] uchimata_ (~uchimata@i3ED6D49D.versanet.de) joined #fai. [13:50] uchimata (~uchimata@i3ED6D324.versanet.de) left irc: Ping timeout: 480 seconds [14:29] <\sh> edoreld: does /usr/bin/expect exists? [14:30] yes [14:35] edoreld: sometimes you have to edit the expect script [14:36] I mostly remove the "-exact" things, as the prompt is not always the same. [14:36] I'll try that ^_^ [15:29] edoreld (Adium@p57A097C4.dip0.t-ipconnect.de) left #fai. [16:07] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Remote host closed the connection [16:50] tempel (~mettler@dsl-62-220-14-162.berlikomm.net) left irc: Quit: Lost terminal [18:10] <\sh> grmpf...I don't get it...it works then not then again not then again not then it works ... damn [19:47] <\sh> Mrfai: pingeling...if you are awake: on http://layer-acht.org/fai-irc/fai.log.20090206 you were saying something about klibc's ipconfig and eventually a bug...might be, I#m running into the very same issue [19:56] <\sh> ok...the dhcp request from ipconfig inside initramfs takes a long time...a timeout of 180 is not long enough...setting it to 360 gives a late dhcp request and a long wait for nfsmount [19:56] <\sh> regarding this https://bugs.edge.launchpad.net/ubuntu/+source/klibc/+bug/175324 report, the fix is already in lennys klibc as well as in ubuntus.. [20:12] torkel (torkel@ip64.degernas.se) left irc: Quit: leaving [20:15] torkel (~torkel@ip64.degernas.se) joined #fai. [21:04] ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds [21:52] EvilDennisR (dennisr@static-72-70-36-12.bstnma.fios.verizon.net) left #fai. [23:40] bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai. [00:00] --- Wed Jul 8 2009