From m.forster at advanced-business-solutions.de Mon Jul 16 10:30:39 2007 From: m.forster at advanced-business-solutions.de (Markus Forster) Date: Mon, 16 Jul 2007 10:30:39 +0200 Subject: [Udpcast] Question for UDPcast Message-ID: <20070716103031.SM01480@forstertosh> Hi, i've got a question about UDP-Cast: How can i integrate an telnet server into an initrd for the PXE System? Maybe you have a tutorial to realize it? Or can you give me any tips to do that? I haven't found a forum on your website to ask someone about this, therefore i write this email. Thank you in advance. Best Regards, Markus Forster ________________________________________________ abs GmbH multimedia networks Beethovenstraße 24 D-66111 Saarbrücken - Germany Fon: +49 (0) 681 / 991 991 - 29 Fax: +49 (0) 681 / 991 991 - 25 eMail: m.forster at abs.st Web: http://www.abs.st Geschäftsführer: Ulrich Brüll, Christoph Koch Registergericht: Amtsgericht Saarbrücken Register-Nr.: HRB 14167 Sitz: 66111 Saarbrücken ________________________________________________ CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify abs immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of abs. From alain at knaff.lu Mon Jul 16 13:53:20 2007 From: alain at knaff.lu (Alain Knaff) Date: Mon, 16 Jul 2007 13:53:20 +0200 Subject: [Udpcast] Question for UDPcast In-Reply-To: <20070716103031.SM01480@forstertosh> References: <20070716103031.SM01480@forstertosh> Message-ID: <469B5C30.9010708@knaff.lu> Markus Forster wrote: > Hi, > > i've got a question about UDP-Cast: > > How can i integrate an telnet server into an initrd for the PXE System? > Maybe you have a tutorial to realize it? Or can you give me any tips to do > that? > > I haven't found a forum on your website to ask someone about this, therefore > i write this email. > > Thank you in advance. > > > Best Regards, > > > Markus Forster 1. Download busybox version 1.5.1 from http://busybox.net/downloads/busybox-1.5.1.tar.bz2 2. Download busybox-1.5.1.diff.gz from http://udpcast.linux.lu/20070602/busybox-1.5.1.diff.gz 3. Untar busybox (tar xfjv busybox busybox-1.5.1.tar.bz2) 4. Apply patch: cd busybox-1.5.1 zcat ../busybox-1.5.1.diff.gz| patch -p1 -s 5. Activate "maxi" configuration: cp .config.maxi .config 6. make menuconfig, and activate the telnet server (in "Networking Utilities") and select "telnetd" and "support standalone telnetd" 7. Compile (using make) 8. Copy the resulting busybox over /usr/lib/udpcast/tmpl/bin/fullbox (... if you have installed the udpcast-mkimage RPM...) 9. Add a call to telnetd to /usr/lib/udpcast/tmpl/etc/inittab : vc/7:12345:once:/bin/busybox telnetd 10. Now, when you invoke /usr/lib/udpcast/makeImage, you will get an image with a running telnetd Alain From jmiller7 at gmail.com Wed Jul 25 22:32:29 2007 From: jmiller7 at gmail.com (Jon Miller) Date: Wed, 25 Jul 2007 15:32:29 -0500 Subject: [Udpcast] Compiling from Source Message-ID: I had a question about compiling udpcast from source. I am inexperienced with Linux, so I am probably doing something wrong. I downloaded udpcast-20070602.tar.gz as listed on the site ( http://udpcast.linux.lu/source.html). I followed the steps to extract the file to a folder and changed to that directory. However, when I typed the make command, it says "make: *** No targets specified and no makefile found. Stop.". This is under Ubuntu 6.10. I also tried "make --file=./Makefile.in" thinking that it might be what was needed but got a different error (CC@: Command not found & Error 127). Can you help me figure out what I am doing wrong? Thanks for the project! I am hoping to implement this at a university to replace Ghost. -Jonathan M -------------- next part -------------- An HTML attachment was scrubbed... URL: From breuer.jens at googlemail.com Thu Jul 26 07:35:51 2007 From: breuer.jens at googlemail.com (Jens Breuer) Date: Thu, 26 Jul 2007 07:35:51 +0200 Subject: [Udpcast] Compiling from Source In-Reply-To: References: Message-ID: <76ce20420707252235h3276f544p92b47daa4473847c@mail.gmail.com> Hi Jon, usually you execute ./configure inside the udpcast source directory to have the makefile build. This step seems to be missing on the udpcast homepage. However, this step is quite common when building something from source, so remind it for future projects. Since you are using a Debian based OS, if you get complaints of missing stuff while executing ./configure or make, you can simply invoke sudo apt-get build-dep udpcast and have everything fetched by apt. Have fun with udpcast. Regards, Jens On 7/25/07, Jon Miller wrote: > I had a question about compiling udpcast from source. I am inexperienced > with Linux, so I am probably doing something wrong. I downloaded > udpcast-20070602.tar.gz as listed on the site ( > http://udpcast.linux.lu/source.html). I followed the steps > to extract the file to a folder and changed to that directory. However, > when I typed the make command, it says "make: *** No targets specified and > no makefile found. Stop.". This is under Ubuntu 6.10. > > I also tried "make --file=./Makefile.in" thinking that it might be what was > needed but got a different error (CC@: Command not found & Error 127). Can > you help me figure out what I am doing wrong? > > Thanks for the project! I am hoping to implement this at a university to > replace Ghost. > > -Jonathan M > > _______________________________________________ > Udpcast mailing list > Udpcast at udpcast.linux.lu > https://lll.lgl.lu/mailman/listinfo/udpcast > > From jmiller7 at gmail.com Thu Jul 26 21:59:11 2007 From: jmiller7 at gmail.com (Jon Miller) Date: Thu, 26 Jul 2007 14:59:11 -0500 Subject: [Udpcast] Udpcast Digest, Vol 49, Issue 3 In-Reply-To: References: Message-ID: Thank you both, Jens and Michael. I was missing some dependencies as you both indicated. I was able to compile it today without a problem. What a coincidence that you replied Michael; I was actually updating the udpcast binaries in G4L (terrific project btw!) for testing. On 7/26/07, udpcast-request at udpcast.linux.lu < udpcast-request at udpcast.linux.lu> wrote: > > Send Udpcast mailing list submissions to > udpcast at udpcast.linux.lu > > To subscribe or unsubscribe via the World Wide Web, visit > https://lll.lgl.lu/mailman/listinfo/udpcast > or, via email, send a message with subject or body 'help' to > udpcast-request at udpcast.linux.lu > > You can reach the person managing the list at > udpcast-owner at udpcast.linux.lu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Udpcast digest..." > > > Today's Topics: > > 1. Compiling from Source (Jon Miller) > 2. Re: Compiling from Source (Jens Breuer) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 25 Jul 2007 15:32:29 -0500 > From: "Jon Miller" > Subject: [Udpcast] Compiling from Source > To: udpcast at udpcast.linux.lu > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > I had a question about compiling udpcast from source. I am inexperienced > with Linux, so I am probably doing something wrong. I downloaded > udpcast-20070602.tar.gz as listed on the site ( > http://udpcast.linux.lu/source.html). I followed the steps to extract the > file to a folder and changed to that directory. However, when I typed the > make command, it says "make: *** No targets specified and no makefile > found. Stop.". This is under Ubuntu 6.10. > > I also tried "make --file=./Makefile.in" thinking that it might be what > was > needed but got a different error (CC@: Command not found & Error > 127). Can > you help me figure out what I am doing wrong? > > Thanks for the project! I am hoping to implement this at a university to > replace Ghost. > > -Jonathan M > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lll.lgl.lu/pipermail/udpcast/attachments/20070725/f5b54dc5/attachment.html > > ------------------------------ > > Message: 2 > Date: Thu, 26 Jul 2007 07:35:51 +0200 > From: "Jens Breuer" > Subject: Re: [Udpcast] Compiling from Source > To: Udpcast at udpcast.linux.lu > Message-ID: > <76ce20420707252235h3276f544p92b47daa4473847c at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Jon, > > usually you execute > ./configure > inside the udpcast source directory to have the makefile build. > This step seems to be missing on the udpcast homepage. However, this > step is quite common when building something from source, so remind it > for future projects. > > Since you are using a Debian based OS, if you get complaints of > missing stuff while executing ./configure or make, you can simply > invoke > sudo apt-get build-dep udpcast > and have everything fetched by apt. > > Have fun with udpcast. > > Regards, > Jens > > > On 7/25/07, Jon Miller wrote: > > I had a question about compiling udpcast from source. I am > inexperienced > > with Linux, so I am probably doing something wrong. I downloaded > > udpcast-20070602.tar.gz as listed on the site ( > > http://udpcast.linux.lu/source.html). I followed the steps > > to extract the file to a folder and changed to that directory. However, > > when I typed the make command, it says "make: *** No targets specified > and > > no makefile found. Stop.". This is under Ubuntu 6.10. > > > > I also tried "make --file=./Makefile.in" thinking that it might be what > was > > needed but got a different error (CC@: Command not found & Error > 127). Can > > you help me figure out what I am doing wrong? > > > > Thanks for the project! I am hoping to implement this at a university > to > > replace Ghost. > > > > -Jonathan M > > > > _______________________________________________ > > Udpcast mailing list > > Udpcast at udpcast.linux.lu > > https://lll.lgl.lu/mailman/listinfo/udpcast > > > > > > > ------------------------------ > > _______________________________________________ > Udpcast mailing list > Udpcast at udpcast.linux.lu > https://lll.lgl.lu/mailman/listinfo/udpcast > > > End of Udpcast Digest, Vol 49, Issue 3 > ************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikes at kuentos.guam.net Thu Jul 26 22:23:48 2007 From: mikes at kuentos.guam.net (Michael D. Setzer II) Date: Fri, 27 Jul 2007 06:23:48 +1000 Subject: [Udpcast] Udpcast Digest, Vol 49, Issue 3 In-Reply-To: References: , Message-ID: <46A98F74.18924.6F2C5A9@mikes.kuentos.guam.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for the reply. Turns out I had downloaded and build that latest version of udpcast on 6/5, but hadn't copied it to the new alpha version. I build the programs on a P4, but build the image files on an AMD64 system. I've just added ntfs-write access g4l, so it can do backups to an ntfs partition locally, and have been working on making ntfsclone backups locally as well, but have a little problem. It seems to be able to create a ntfsclone backup to a fat32 partition using split since the size is bigger than fat32 supports, but it then freezes, but the files will then restore with no erros. Doing the local backup to an ext3 partition has no problem. Also, looking at being able to add write access to a LVM partition, but haven't figured out how to add that support. Added lvm.static, and could get it to see the LVM, but not mount it. On 26 Jul 2007 at 14:59, Jon Miller wrote: > > Thank you both, Jens and Michael. I was missing some dependencies as you both indicated. I > was able to compile it today without a problem. What a coincidence that you replied Michael; I > was actually updating the udpcast binaries in G4L (terrific project btw!) for testing. > > > On 7/26/07, udpcast-request at udpcast.linux.lu wrote: > Send Udpcast mailing list submissions to > udpcast at udpcast.linux.lu > > To subscribe or unsubscribe via the World Wide Web, visit > https://lll.lgl.lu/mailman/listinfo/udpcast > or, via email, send a message with subject or body 'help' to > udpcast-request at udpcast.linux.lu > > You can reach the person managing the list at > udpcast-owner at udpcast.linux.lu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Udpcast digest..." > > > Today's Topics: > > 1. Compiling from Source (Jon Miller) > 2. Re: Compiling from Source (Jens Breuer) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 25 Jul 2007 15:32:29 -0500 > From: "Jon Miller" > Subject: [Udpcast] Compiling from Source > To: udpcast at udpcast.linux.lu > Message-ID: > < b0d754d50707251332o65e410b1v8b2be99316596319 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > I had a question about compiling udpcast from source.I am inexperienced > with Linux, so I am probably doing something wrong.I downloaded > udpcast-20070602.tar.gz as listed on the site ( > http://udpcast.linux.lu/source.html).I followed the steps to extract the > file to a folder and changed to that directory.However, when I typed the > make command, it says "make: *** No targets specified and no makefile > found. Stop.".This is under Ubuntu 6.10. > > I also tried "make --file=./Makefile.in" thinking that it might be what was > needed but got a different error (CC@: Command not found &Error 127).Can > you help me figure out what I am doing wrong? > > Thanks for the project!I am hoping to implement this at a university to > replace Ghost. > > -Jonathan M > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://lll.lgl.lu/pipermail/udpcast/attachments/20070725/f5b54dc5/attachment.html > > ------------------------------ > > Message: 2 > Date: Thu, 26 Jul 2007 07:35:51 +0200 > From: "Jens Breuer" > Subject: Re: [Udpcast] Compiling from Source > To: Udpcast at udpcast.linux.lu > Message-ID: > < 76ce20420707252235h3276f544p92b47daa4473847c at mail.gmail.com > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Jon, > > usually you execute > ./configure > inside the udpcast source directory to have the makefile build. > This step seems to be missing on the udpcast homepage. However, this > step is quite common when building something from source, so remind it > for future projects. > > Since you are using a Debian based OS, if you get complaints of > missing stuff while executing ./configure or make, you can simply > invoke > sudo apt-get build-dep udpcast > and have everything fetched by apt. > > Have fun with udpcast. > > Regards, > Jens > > > On 7/25/07, Jon Miller wrote: > > I had a question about compiling udpcast from source.I am inexperienced > > with Linux, so I am probably doing something wrong.I downloaded > > udpcast-20070602.tar.gz as listed on the site ( > > http://udpcast.linux.lu/source.html).I followed the steps > > to extract the file to a folder and changed to that directory.However, > > when I typed the make command, it says "make: *** No targets specified and > > no makefile found. Stop.".This is under Ubuntu 6.10. > > > > I also tried "make --file=./Makefile.in" thinking that it might be what was > > needed but got a different error (CC@: Command not found &Error 127).Can > > you help me figure out what I am doing wrong? > > > > Thanks for the project!I am hoping to implement this at a university to > > replace Ghost. > > > > -Jonathan M > > > > _______________________________________________ > > Udpcast mailing list > > Udpcast at udpcast.linux.lu > > https://lll.lgl.lu/mailman/listinfo/udpcast > > > > > > > ------------------------------ > > _______________________________________________ > Udpcast mailing list > Udpcast at udpcast.linux.lu > https://lll.lgl.lu/mailman/listinfo/udpcast > > > End of Udpcast Digest, Vol 49, Issue 3 > ************************************** > > > +----------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor Guam Community College Computer Center mailto:mikes at kuentos.guam.net mailto:msetzerii at gmail.com http://www.guam.net/home/mikes Guam - Where America's Day Begins +----------------------------------------------------------+ http://setiathome.berkeley.edu (Original) Number of Seti Units Returned: 19,471 Processing time: 32 years, 290 days, 12 hours, 58 minutes (Total Hours: 287,489) BOINC at HOME CREDITS SETI 3,412,542.824463 | EINSTEIN 970,204.788541 | ROSETTA 167,391.947864 -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 -- QDPGP 2.61c Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBRqh2NSzGQcr/2AKZEQLvqQCgrJLOU0ooJa9oV14xOUx2JotAAbcAoLMF nSy1BgKo3EdM/qOJBxvEXCuC =A8yN -----END PGP SIGNATURE----- From alain at knaff.lu Fri Jul 27 04:30:13 2007 From: alain at knaff.lu (Alain Knaff) Date: Fri, 27 Jul 2007 04:30:13 +0200 Subject: [Udpcast] Udpcast Digest, Vol 49, Issue 3 In-Reply-To: <46A98F74.18924.6F2C5A9@mikes.kuentos.guam.net> References: , <46A98F74.18924.6F2C5A9@mikes.kuentos.guam.net> Message-ID: <46A958B5.1090304@knaff.lu> Please mind the bandwidth. FYI, top posting is frowned upon, especially if the cruft appended is more than 10 times your actual text. Please use some common sense here, folks! Thanks Alain From ghasseler at gmail.com Sat Jul 28 04:50:25 2007 From: ghasseler at gmail.com (Greg Hasseler) Date: Fri, 27 Jul 2007 22:50:25 -0400 Subject: [Udpcast] Initrd - Cast-o-Matic issue with mount Message-ID: My desired use of udpcast involves PXE booting machines. I am able to successfully PXE boot, and I am also able to successfully image the machines. However, I would like to further automate the process, which involves implementing a post-setup script. The easy way for me to achieve this (I have the script written) is to simply use the Cast-o-Matic tool (which I do like). However, I have noticed a discrepancy in the output of the initrd file from the Cast-o-Matic versus the "ready prepared" initrd image available for download. When using the ready made initrd, I am able to successfully mount the hard drive. Mounting the hard drive is required so that my post setup script can then make the necessary changes to key files. However, when using the Cast-o-Matic generated initrd, I am unable to mount the hard drive. I am given a mount command failed error. My desired behavior is that I would also be able to mount the hard drive with this initrd. What I would like to know is if the discrepancy can be fixed (only assuming that there is one--maybe mismatched versions?--I don't know), or if there is a way for me to make the "ready prepared" initrd work for my needs? To do this, I would need to inject two files. I realize that most initrd files are simply compressed with cpio and then gzipped. I see that this seems to be the case with the Cast-o-Matic initrds. However, I do not seem to be able to successfully decompress/extract the ready made one using the same technique. I apologize for my long windedness. The target operating system is Gentoo Linux. If any more information is required, please let me know and I will be more than pleased to provide it ASAP. Thanks, Greg ------------------------------ Greg Hasseler SUNYIT Computer Science Department ... Linux und seine Programme sind damit so etwas wie ein real existierender Sozialismus der besseren Art ... -- Christian Seel in der Berliner Morgenpost v. 9.3.1997 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ghasseler at gmail.com Tue Jul 31 03:21:53 2007 From: ghasseler at gmail.com (Greg Hasseler) Date: Mon, 30 Jul 2007 21:21:53 -0400 Subject: [Udpcast] Initrd - Cast-o-Matic issue with mount In-Reply-To: References: Message-ID: <46AE8EB1.5000908@gmail.com> After further investigation, it appears that the "ready made" initrd image is compressed with lzma and cpio. In order to extract it, one must rename it to initrd.lzma or else lzma will complain. $lzma d initrd.lzma initrd will un"lzma" it, leaving you with a cpio compressed archive. You can further decompress it into the file hierarchy with $cpio -i < initrd To rebuild the image (I have rebuilt it, but not yet tested--that will happen tomorrow), one should be able to do the following: $find ./ | cpio -H newc -o > initrd $lzma e initrd initrd.lzma $mv initrd.lzma initrd and they will have a factory like initrd image. If someone does not have lzma, it is freely available. I found that the README (http://www.zelow.no/floppyfw/download/Development/Patches/lzmastuff/README) was most helpful, as the traditional ./configure; make; make install did not quite cut it. I will update tomorrow as to whether or not this procedure was successful. ------------------------------ Greg Hasseler SUNYIT Computer Science Department I'm telling you that the kernel is stable not because it's a kernel, but because I refuse to listen to arguments like this. -- Linus Torvalds