| 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 tempel | hi |
| 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 \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 oz_ | 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 tempel | are you connected with the correct interface / net_device? |
| 10:34 tempel | maybe connect all interfaces with the switch and 'tcpdump again ? ^^ |
| 10:41 oz_ | \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 oz_ | \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 edoreld | 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 edoreld | ok |
| 10:57 edoreld | does it send a dhcp request at least? |
| 10:57 \sh | edoreld: nope |
| 10:57 \sh | and sometimes yes |
| 10:58 edoreld | 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 edoreld | meh |
| 11:01 \sh | bah...span port enabled on the switch let's seer |
| torkel (torkel@ip64.degernas.se) joined #fai. |
| 12:23 edoreld | 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 oz_ | edoreld: hm. I have an expect script for that. |
| 12:24 oz_ | autoexpect makes this so easy... |
| 12:25 edoreld | is that something official (autoexpect) or something you've made :)? |
| 12:26 edoreld | If it's the latter, would you mind sharing \(^_^)/ |
| 12:26 mgoetze | personally i do it with a cfagent script |
| 12:27 edoreld | mgoetze: does the script execute during the installation? |
| 12:27 mgoetze | of course |
| 12:27 mgoetze | and during every softupdate too |
| 12:27 edoreld | sounds nice! I'll check it out :) |
| 12:28 mgoetze | some of the simple examples are cfagent scripts |
| 12:28 edoreld | do they have some special extension to identify them? |
| 12:29 mgoetze | no, 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 edoreld | oz: 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 edoreld | 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 edoreld | I'll read the man :) |
| 12:46 edoreld | 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 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 mgoetze | oz_: 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 mgoetze | sure, just use what you are used to, that's fine :) |
| 12:51 edoreld | aah expect-dev |
| 12:51 edoreld | that's what I needed to know :) |
| h01ger (~holger@socket.layer-acht.org) left #fai (cu later). |
| 12:59 bastian | hello |
| bastian (~bastian@p5B0771E2.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep |
| 13:39 edoreld | Well I used autoexpect but on the installation is giving me an error |
| 13:40 edoreld | http://paste.debian.net/41247/ |
| 13:40 edoreld | I 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 \sh | edoreld: does /usr/bin/expect exists? |
| 14:30 edoreld | yes |
| 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 edoreld | I'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 \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.. |
| 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 |