| 00:00 MT | feel free to ask again in like 7 hours or so, then most likely more people will be active in here |
| 00:00 MT | you might also want to ask on the mailinglist (see www.informatik.uni-koeln.de/fai/) |
| 00:00 MT | good luck! |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds |
| BarryAllen (the@201.22.23.225.adsl.gvt.net.br) left #fai. |
| skand1 (saravanan@pcp090764pcs.unl.edu) left #fai. |
| BarryAllen (~marx@201.22.23.225.adsl.gvt.net.br) joined #fai. |
| 01:02 BarryAllen | hi all, ... after few tests... i can boot pxelinux.0, but cant but another pxelinux.cfg/fai_genereated file.... |
| 01:02 BarryAllen | the file generetade by fai, is a text file... pxelinux.0 is a binary... |
| 01:03 BarryAllen | somebody there? |
| 01:04 BarryAllen | :( |
| 01:30 BarryAllen | ok, i found.. tks |
| BarryAllen (~marx@201.22.23.225.adsl.gvt.net.br) left irc: Ping timeout: 480 seconds |
| eartoast_ (~glaweh@g33.physik.fu-berlin.de) joined #fai. |
| eartoast (~glaweh@g33.physik.fu-berlin.de) left irc: Remote host closed the connection |
| theBro (~theBro@a88-112-16-56.elisa-laajakaista.fi) left irc: Remote host closed the connection |
| baldy (baldy@pptp.dial.ipv6-network.de) left irc: Remote host closed the connection |
| theBro (~theBro@a88-112-16-56.elisa-laajakaista.fi) joined #fai. |
| baldy (baldy@pptp.dial.ipv6-network.de) joined #fai. |
| MT (~MT@ppp-82-135-12-218.dynamic.mnet-online.de) joined #fai. |
| MT_ (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| MT (~MT@ppp-82-135-12-218.dynamic.mnet-online.de) left irc: Ping timeout: 480 seconds |
| MT_ (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds |
| ErKa (keryell@dhcp2.info.enstb.org) joined #fai. |
| nomeata (nobody@nomeata.de) joined #fai. |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| ErKa (keryell@dhcp2.info.enstb.org) left irc: Ping timeout: 480 seconds |
| ErKa (keryell@m6.wifi.enstb.org) joined #fai. |
| MT_ (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Read error: Connection reset by peer |
| Nick change: MT_ -> MT |
| Nick change: MT -> MT_ |
| nomeata (nobody@nomeata.de) left irc: Ping timeout: 480 seconds |
| ErKa (keryell@m6.wifi.enstb.org) left irc: Ping timeout: 480 seconds |
| MT__ (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| MT_ (~MT@dove.informatik.tu-muenchen.de) left irc: Read error: Connection reset by peer |
| nomeata (nobody@nomeata.de) joined #fai. |
| nomeata (nobody@nomeata.de) left irc: Remote host closed the connection |
| BarryAllen (~marx@201.86.26.203.adsl.gvt.net.br) joined #fai. |
| 11:37 BarryAllen | hi all |
| 11:37 BarryAllen | good morning. |
| 11:37 BarryAllen | somebody there, today? |
| 11:38 MT__ | hi again :-) |
| Nick change: MT__ -> MT |
| 11:39 BarryAllen | my fai server is working now :), |
| 11:39 BarryAllen | MT: tks for tips :) |
| 11:39 MT | how did you fix it? |
| 11:42 BarryAllen | MT i was doing wrong things, in the dhcpd.conf i was using filename= /fai/pxelinux.cfg/A!#@A@#... but that is a text file...... |
| 11:43 BarryAllen | the right is to load the pxelinux.0 (binary), ... on boot, pxe convert the hostname to hex, and get the config from /A!#@A@# |
| 11:45 MT | is there anybody around here using software raid? |
| 11:45 BarryAllen | in my first tests, i used the simple sample of the doc, works great :) |
| 11:48 BarryAllen | MT somebody read talks, here? |
| 11:48 BarryAllen | s/read/really/g |
| 11:49 MT | usually, there is plenty of action going on here, but probably because of the German LinuxTag people are not even online |
| 11:51 BarryAllen | i know if freenode, have an irc channel about fai? |
| 11:51 BarryAllen | s/i know/you know/g |
| 11:51 sanso|work | BarryAllen, how about this one? |
| 11:51 MT | the channel used to be on freenode |
| 11:52 sanso|work | ...when irc.debian.org was in the freenode network... |
| 11:53 sanso|work | ...but then debian moved to oftc, and so did fai. |
| 11:56 BarryAllen | hmmm now, i know, tks by the information... |
| 11:58 BarryAllen | sanso|work (or anyone), instead to create on pxelinux.cfg an entry foreach host i have to install.... can i create an default, witha grub/lilo menu whee after the boot, i can select what kind of installation, i want to do? |
| 11:59 sanso|work | define 'what kind of installation', please |
| 12:01 oz | BarryAllen: there is a way to create pxe boot menus |
| 12:01 BarryAllen | sanso, for example, "server", "workstation"... so, i create that classes on the fai config directory |
| 12:01 oz | but I did not do it yet |
| 12:01 oz | ask Thomas, I think he knows it |
| 12:01 BarryAllen | oz, is Thomas online? |
| 12:01 sanso|work | ah, You can add classes in the kernel parameters |
| 12:02 sanso|work | BarryAllen, he's MrFai |
| 12:02 oz | BarryAllen: I think he's quite busy with LT# |
| 12:02 BarryAllen | ok, i can wait :) |
| 12:02 oz | BarryAllen: google may help you. :-/ |
| 12:02 sanso|work | so, Yes, You can add a line to grub that will reinstall with certain classes defined |
| 12:02 sanso|work | BarryAllen, have You looked in the FAIwiki? |
| 12:02 BarryAllen | sanso|work, tks, |
| 12:02 oz | sanso|work: year, but he needs a pxe boot menu for that... |
| 12:03 oz | do you know a good howto for this? |
| 12:03 BarryAllen | sanso|work, really not, just read all the doc... but not the wiki, |
| 12:03 oz | I'd be intersted, too |
| 12:03 BarryAllen | sanso|work,ill do that, |
| 12:03 sanso|work | actually, I work without dhcp/pxe and this works |
| 12:03 oz | sanso|work: how do you do it? |
| 12:03 sanso|work | ip=::::: |
| 12:04 sanso|work | boot-cd or local kernel |
| 12:04 sanso|work | for new installs, I boot from a boot-cd made with make-fai-bootfloppy |
| 12:05 sanso|work | and just edit the grub entry to match hostname and ip |
| 12:11 BarryAllen | oz, i found some informatino about grub and pxe, ... you have to patch an grub source tee and rebuild it... |
| 12:12 oz | BarryAllen: uh. so I think no improvement yet...I never did find time to set it up |
| 12:12 oz | but it would be so cute |
| 12:13 oz | I'd like to have a menu point like "record this server installation" |
| 12:13 oz | so that you can add the relevant files into the FAI config-space automatically |
| 12:16 BarryAllen | i ll use the sanso|work setup, too, create an boot disk |
| Lin (~igor@200.179.57.56) joined #fai. |
| nomeata (nobody@nomeata.de) joined #fai. |
| ErKa (keryell@m6.wifi.enstb.org) joined #fai. |
| MT_ (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Read error: Connection reset by peer |
| 13:03 BarryAllen | sanso|work, i found on manpage, how crete a image to write with cdrecord.... but the command fails |
| 13:03 BarryAllen | with something about no space left on device. |
| 13:04 sanso|work | ah, have You used the option for a big image? |
| 13:04 sanso|work | IIRC it was -B |
| 13:05 BarryAllen | sanso|work, works... now. ... the sample in the man page, havent that :) |
| 13:06 sanso|work | ? |
| 13:09 BarryAllen | forget about... lets see if i can boot with that image |
| 13:31 BarryAllen | sanso|work, the boot works, but it is trying to mount an /tftpboot/my-hostname-from-dhcp... (that isnt exist)... |
| 13:31 BarryAllen | (via nfs) |
| 13:32 sanso|work | BarryAllen, Have You read the fai-guide? |
| 13:39 BarryAllen | sanso|work, now i found... how put nfsroot... |
| nomeata (nobody@nomeata.de) left irc: Quit: Client exiting |
| ErKa (keryell@m6.wifi.enstb.org) left irc: Ping timeout: 480 seconds |
| woffs (~woffs@osiris.taz.de) joined #fai. |
| MT_ (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds |
| Lin (~igor@200.179.57.56) got netsplit. |
| Lin (~igor@200.179.57.56) returned to #fai. |
| MT_ (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| 16:13 BarryAllen | MT_ hi |
| 16:13 MT_ | hi! |
| 16:16 BarryAllen | MT_ are u using pxe, or boot(cd/floppy) ? |
| 16:17 MT_ | usually PXE, but sometimes the FAI-CD as well, why are you asking? |
| 16:20 BarryAllen | MT_ im trying to change the class/50-host-classes script... actuall it get the hostname of the client to define what to do... but i dont want have to add my hostnames every time om my dhcpd server.... |
| 16:20 BarryAllen | im looking an way to do it not based in the hostname.... but ifclass.... |
| woffs (woffs@osiris.taz.de) left #fai. |
| 16:21 BarryAllen | isnt found my custom class, (i passed into kernel boot) |
| 16:22 BarryAllen | i try: ifclass SAMBA && echo SAMBA |
| 16:22 BarryAllen | but it isnt working. |
| 16:24 MT_ | 1 minute... |
| 16:27 MT_ | ifclass SAMBA && echo SAMBA seems to be useless |
| 16:27 MT_ | when used for defining classes |
| 16:28 BarryAllen | ... i agree... but ... i dont put anything... |
| 16:28 BarryAllen | the next stepe, (disk_format), fails, why dont have an script... to follow. |
| 16:28 MT_ | if you don't want your configuration to be based on hostnames, what is it that your configuration should be based on? |
| 16:29 BarryAllen | just in the class ? |
| 16:29 BarryAllen | classes |
| 16:29 MT_ | well, but how do you want to have your classes defined? |
| 16:30 MT_ | i.e., depending on what? |
| 16:30 MT_ | hardware? IP addresses? MAC addresses? |
| 16:30 BarryAllen | ... FLAGS? or something like that passed trough the kernel append? |
| 16:31 MT_ | well, then do the following |
| 16:31 BarryAllen | in my FAI_FLAGS, i put the name of the class, SAMBA |
| 16:33 MT_ | I think it should also be possible to use any other (custom) variable for kernel append |
| 16:34 MT_ | like MY_CLASSES=SAMBA,OTHER_CLASS,BLA |
| 16:35 MT_ | and then take a script, say 49-my_classes |
| 16:35 MT_ | with the following code |
| 16:35 MT_ | #!/bin/bash |
| 16:35 MT_ | my_classes="`echo $MY_CLASSES | sed 's/,/ /g'`" |
| 16:35 MT_ | for c in $my_classes ; do |
| 16:35 MT_ | echo $c |
| 16:35 MT_ | done |
| theBro (~theBro@a88-112-16-56.elisa-laajakaista.fi) left irc: Quit: leaving |
| 16:41 BarryAllen | MT_ works :) |
| 16:41 MT_ | cool :-) |
| 16:55 BarryAllen | nice, now, i havenot to edit my dhcpd.conf all the time :) |
| Nick change: h01ger -> h01ger_ |
| Nick change: h01ger_ -> h01ger |
| 17:41 Lin | MT_: Fai-CD has support for wireless cards? |
| 17:42 MT_ | support at which point? |
| 17:42 Lin | it start up madwifi cards? |
| 17:42 Lin | and ask or something else for wpa keys? |
| 17:42 MT_ | for, e.g., getting the packages from Debian mirrors? |
| 17:42 Lin | maybe pass key /essid throught boot parameters |
| 17:43 Lin | for e.g to do a fully fai install using wifi cards instead normal ethernet pxe |
| 17:43 MT_ | no, this is not there in the default setup |
| 17:43 MT_ | but it should not be too hard to add this |
| 17:43 MT_ | just a script in class/ that does all the magic |
| 17:43 Lin | I really want to do this.. did you have any guide to startup? |
| 17:44 MT_ | like loading the modules and setting up keys, etc. |
| 17:44 MT_ | for the madwifi setup? |
| 17:44 Lin | yes |
| 17:44 MT_ | no, sorry |
| 17:44 Lin | I know how to configure card using managed mode |
| 17:44 Lin | and roaming too. I want to know how to customize fai-cd |
| 17:44 MT_ | well, if you know it anyway... |
| 17:45 MT_ | ah, ok |
| 17:45 MT_ | it's just about customizing your config space |
| 17:45 MT_ | however, I guess madwifi also requires additional kernel modules, right? |
| 17:45 Lin | exactly |
| 17:45 MT_ | meaning modules that are not part of the Debian kernel package |
| 17:46 Lin | not default.. but they are found on non-free packages |
| 17:46 MT_ | so just install that package into your nfsroot |
| 17:46 MT_ | chroot into it |
| 17:46 MT_ | and install it |
| 17:46 Lin | and about key auto configuration? just configure it on my nfs root? |
| 17:47 MT_ | either there or using some scripts in the class/ directory of your config space |
| 17:47 Lin | hmm.. |
| 17:48 Lin | any aditional packages from packages dir will be installed after nfs root boots up, right? |
| 17:49 Lin | sorry package_config dir |
| 17:49 MT_ | ah, yes, they will be installed later on |
| 17:49 MT_ | to your _target system_ |
| 17:49 MT_ | but you will probably need those packages for madwifi within your nfsroot |
| 17:50 Lin | damn good.. FAI is really a tool build for superior minds. |
| 17:50 Lin | Ok.. I just figured that :-) |
| 17:50 Lin | MT_: Thank you for the help |
| 17:51 Lin | let me make a last question about interfaces file |
| 17:51 MT_ | ? |
| 17:51 Lin | right now my /etc/network/interfaces has only this line (inside nfsroot) iface lo inet loopback |
| 17:52 Lin | maybe some package will change it |
| 17:52 Lin | how can I avoid any changes to file? |
| 17:52 MT_ | probably the simplest way is to keep a copy of the file and restore it afterwards |
| 17:52 MT_ | :-) |
| 17:53 Lin | MT_: I really need a fully non-interactive environment |
| 17:54 MT_ | fully non-interactive for doing what? |
| 17:55 MT_ | for setting up the nfsroot or the target system? |
| 17:55 Lin | for installation.. not usage ;-) |
| 17:55 Lin | I will deploy a lot of computers running linux (desktop computers) |
| 17:55 Lin | if any user has a system problem, just insert fai-cd and boot up |
| 17:55 MT_ | If you are concerned about the wifi setup, that is just about writing a proper script |
| 17:56 Lin | on the end of instalation (using scripts dir) |
| 17:56 Lin | ok. |
| 17:56 Lin | I will do it |
| 17:56 MT_ | well, not only that |
| 17:56 MT_ | also for setting up wifi for the installation itself |
| 17:57 Lin | the wifi configs are just set in interfaces and wpa_supplicant.conf files |
| 17:57 Lin | if both files are ok. wifi works like a charm. |
| 17:57 Lin | my problem is. if a package reintall the file after installation, system will reboot without network support. |
| 17:58 Lin | I have to send someone to fix it. ANd its not good for 200 hosts |
| 17:58 MT_ | no package is allowed to overwrite /etc/network/interfaces, unless you configured apt to overwrite conf files |
| 17:59 Lin | I havent done this. |
| 17:59 MT_ | so, if you ever provide a proper interfaces-file, it will stay there |
| 17:59 Lin | Ok.. nothing as TEST to see what happens. |
| 17:59 Lin | testing* |
| 17:59 Lin | :-) thank you MT_! |
| nomeata (nobody@nomeata.de) joined #fai. |
| MT__ (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| MT_ (~MT@dove.informatik.tu-muenchen.de) left irc: Read error: Connection reset by peer |
| Lin (~igor@200.179.57.56) left irc: Read error: Connection reset by peer |
| Lin (~igor@200.179.57.56) joined #fai. |
| meandtheshell (~markus@85-125-193-181.dynamic.xdsl-line.inode.at) left irc: Quit: Leaving. |
| meandtheshell (~markus@85-125-231-123.dynamic.xdsl-line.inode.at) joined #fai. |
| 19:50 eartoast_ | moin |
| 19:50 MT__ | hi :-) |
| 19:50 eartoast_ | any linuxtag-fai-meeting-plans? |
| Action: h01ger hopes to meet eartoast_ there :) |
| 19:52 eartoast_ | I won't be for long at the linuxtag, as i have quite a lot of time-consuming issues going on... |
| 19:52 eartoast_ | although, of course, i am in berlin. |
| 19:53 eartoast_ | ATM in kreuzberg36... |
| 19:53 eartoast_ | ;) |
| 19:53 eartoast_ | lazyb0y: kuhles foto, BTW. |
| 19:55 eartoast_ | so serioes ;) |
| 19:56 eartoast_ | h01ger: und du hast dich gar nicht veraendert... |
| 19:56 eartoast_ | ;) |
| 19:58 h01ger | :) |
| 19:58 h01ger | eartoast_, which day will you be there฿ |
| 19:58 h01ger | ? |
| Action: h01ger only thursday+friday |
| 20:03 eartoast_ | didn't make any plans yet. thursday afternoona and friday perhaps... |
| 20:08 h01ger | \o/ |
| 20:10 eartoast_ | MT__: you're also in B_ |
| 20:10 eartoast_ | ? |
| 20:10 eartoast_ | scheissdeutschetastatur |
| 20:10 MT__ | no, unfortunately I can't |
| 20:10 MT__ | being too busy here in MUC at the university |
| Nick change: MT__ -> MT |
| 20:52 BarryAllen | MT... i read a little bit about scripts and hooks, ... i want to run an script with dialog.... where is the best place? |
| 20:52 MT | what do you want to ask the user for |
| 20:54 BarryAllen | MT, im creating some server profiles... im doing now... to samba... so i want, the domain.... the netbios name... ... and the admin password |
| 20:54 MT | somewhat perverting the principles of FAI :-) |
| 20:55 MT | full automatic installer ... |
| 20:55 BarryAllen | ;) |
| 20:55 MT | where are these things set? |
| 20:55 MT | in some custom script? |
| 20:56 BarryAllen | yes, im codding an script dialog based.... to change... a lot of files (smb.conf, slapd.conf, etc) with sed |
| 20:56 MT | probably you should do something like this |
| 20:56 MT | create a directory scripts/SAMBA/ |
| 20:57 MT | there, put some script 01-menu |
| 20:57 MT | where you do the dialog things |
| 20:57 BarryAllen | ok |
| 20:57 MT | and some other script 02-write-config-files |
| 20:59 BarryAllen | let me try |
| 21:04 BarryAllen | bless be, vmware, ;) |
| 21:05 juri_ | qemu for the win. :P |
| 21:08 eartoast_ | hm. wouldn't it be the best to ask these data as early as possible in the install process? |
| 21:08 eartoast_ | so you could put the questions in $FAI/class/ |
| 21:08 eartoast_ | and do whatever you like with the answers in $FAI/scripts |
| 21:09 eartoast_ | (roughly following the debconf approach) |
| 21:19 eartoast_ | just bought ticket for the social event... |
| 21:28 BarryAllen | hmmm could by, but, by the way, the script isnt run.... just show to me "executing 01-menu", but not happens... i have to follow some standard? (i have observed the use of trap on almost all scripts) |
| 21:29 MT | within scripts? |
| 21:29 MT | hmm, in fact you might need to follow eartoast's approach |
| 21:30 MT | because AFAIK stdout and stderr are redirected while running the scripts in scripts/ |
| nomeata (nobody@nomeata.de) left irc: Quit: Client exiting |
| 21:33 eartoast_ | BarryAllen: the traps are IMHO only there for error-handling... |
| 21:37 eartoast_ | n8 |
| 21:48 BarryAllen | ok, ill try put it in the $FAI/class |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds |
| --- Wed May 30 2007 |