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