torkel (torkel@ip64.degernas.se) left irc: Ping timeout: 480 seconds
bastian (~bastian@p5B0771E2.dip.t-dialin.net) joined #fai.
ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) joined #fai.
bastian (~bastian@p5B0771E2.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep
tempel (~mettler@dsl-62-220-14-162.berlikomm.net) joined #fai.
07:47 tempelhi
puck (~puck@leibniz.catalyst.net.nz) left irc: Ping timeout: 480 seconds
puck (~puck@leibniz.catalyst.net.nz) joined #fai.
edoreld (~Adium@p57A097C4.dip0.t-ipconnect.de) joined #fai.
verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai.
09:59 \shmoins
10:00 \shguys...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 \shand it's not deterministic
10:00 \shregarding tcpdump and it doesn't even send anyout out on the device
10:03 \shdhcp and tftp are running fine...and I don't see anything else being wrong..and idea?
10:27 oz_what's the error msg, when it doesn't do dhcp?
10:28 \shoz_: nothing...it runs into the timeout
10:28 \shand tcpdump tells me that nothing leaves the server
10:29 \shI have to mention that it's a BL465c ;)
10:34 tempelare you connected with the correct interface / net_device?
10:34 tempelmaybe connect all interfaces with the switch and 'tcpdump again ? ^^
10:41 oz_\sh: does the box have multiple NICs?
10:48 \shoz_: yepp...but the second nic is set to shutdown ;)
10:48 \shso I'm sure it only uses the first and only one
10:49 oz_\sh: I'd bet that the confusion is here
10:49 \shoz_: nope...the pxe boot interface is the very same later on
10:50 \shstrange is: pxe boot works everytime..it's only the dhcp request after kernel is loaded
10:51 \shit 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 edoreldI thought after pxe gets the address from the dhcp server there aren't more dhcp request..
10:54 \shedoreld: nope...the kernel reinit the NICs..and then initramfs does a new dhcp request..
10:54 \shfor mounting the nfsroot
10:55 edoreldok
10:57 edorelddoes it send a dhcp request at least?
10:57 \shedoreld: nope
10:57 \shand sometimes yes
10:58 edoreldand when yes, it also doesn't work?
10:58 \shedoreld: if it works, it works...if not, it doesn't...and no request comes to the dhcp server
10:58 edoreldmeh
11:01 \shbah...span port enabled on the switch let's seer
torkel (torkel@ip64.degernas.se) joined #fai.
12:23 edoreldIs 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 oz_edoreld: hm. I have an expect script for that.
12:24 oz_autoexpect makes this so easy...
12:25 edoreldis that something official (autoexpect) or something you've made :)?
12:26 edoreldIf it's the latter, would you mind sharing \(^_^)/
12:26 mgoetzepersonally i do it with a cfagent script
12:27 edoreldmgoetze: does the script execute during the installation?
12:27 mgoetzeof course
12:27 mgoetzeand during every softupdate too
12:27 edoreldsounds nice! I'll check it out :)
12:28 mgoetzesome of the simple examples are cfagent scripts
12:28 edorelddo they have some special extension to identify them?
12:29 mgoetzeno, but now might be a good time to reread the grep(1) manpage ;)
12:29 edoreld^_^ Thanks, I'll see what I can dig :D
12:37 oz_edoreld: not it belongs to the expact package
bastian (~bastian@p5B0771E2.dip.t-dialin.net) joined #fai.
12:38 edoreldoz: I'm looking at "man expect" right now :D
12:40 oz_edoreld: look for autoexpect.
12:40 oz_you can just run it once, and it generates an expect script for you.
12:40 oz_mgoetze: I somehow never use cfengine.
12:41 edoreldoz: 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 edoreldI'll read the man :)
12:46 edoreldweird 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 oz_edoreld: it's an example what you can do with expect
12:48 oz_usr/share/doc/expect-dev/examples/expect_autoexpect.1.gz
12:48 mgoetzeoz_: i don't use the full thing, just write scripts for execution with cfagent. AddIfNoSuchLine etc. is easy enough
12:48 oz_mgoetze: I use expect for years...and I am lazy.
12:48 mgoetzesure, just use what you are used to, that's fine :)
12:51 edoreldaah expect-dev
12:51 edoreldthat's what I needed to know :)
h01ger (~holger@socket.layer-acht.org) left #fai (cu later).
12:59 bastianhello
bastian (~bastian@p5B0771E2.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep
13:39 edoreldWell I used autoexpect but on the installation is giving me an error
13:40 edoreldhttp://paste.debian.net/41247/
13:40 edoreldI post the error & my expect script
uchimata_ (~uchimata@i3ED6D49D.versanet.de) joined #fai.
uchimata (~uchimata@i3ED6D324.versanet.de) left irc: Ping timeout: 480 seconds
14:29 \shedoreld: does /usr/bin/expect exists?
14:30 edoreldyes
14:35 oz_edoreld: sometimes you have to edit the expect script
14:36 oz_I mostly remove the "-exact" things, as the prompt is not always the same.
14:36 edoreldI'll try that ^_^
edoreld (Adium@p57A097C4.dip0.t-ipconnect.de) left #fai.
kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Remote host closed the connection
tempel (~mettler@dsl-62-220-14-162.berlikomm.net) left irc: Quit: Lost terminal
18:10 \shgrmpf...I don't get it...it works then not then again not then again not  then it works ... damn
19:47 \shMrfai: 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 \shok...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 \shregarding this https://bugs.edge.launchpad.net/ubuntu/+source/klibc/+bug/175324 report, the fix is already in lennys klibc as well as in ubuntus..
torkel (torkel@ip64.degernas.se) left irc: Quit: leaving
torkel (~torkel@ip64.degernas.se) joined #fai.
ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds
EvilDennisR (dennisr@static-72-70-36-12.bstnma.fios.verizon.net) left #fai.
bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai.
--- Wed Jul 8 2009

Generated by irclog2html.pl 2.1_h01ger1 by Jeff Waugh - find it at freshmeat.net! Customized by Holger 'h01ger' Levsen