alternate DHCP 1067/1068 in Gusty
Anton Kaser
antonkaser at gmx.net
Mon Nov 12 23:25:25 GMT 2007
Hi,
I ran the Edubuntu System on an exitsting Windows Network. I used the
alternate DHCP-Ports for this and it worked great under Feisty. For
installing i wrote 3 little Scripts. But now, under Gusty mkelf-linux
doesnot work anymore and so the 2nd DHCP request doesnot work on the
clients. The Client starts to boot and stops when the Network card waits for
the IP-Adress for the 2nd time.
- Any Idea why mkelf doesnot work anymore?? I chanched the Kernel nummber to
2.6.22-14-386
Here the 3 scripts in a row.
# Find the line: #bring up device
# add -p 1068 after ipconfig in the next 8 lines ( 3 times)
# ipconfig -p 1068 ...
gedit /opt/ltsp/i386/usr/share/initramfs-tools/scripts/nfs
echo "copy"
cp /opt/ltsp/i386/usr/share/initramfs-tools/scripts/nfs
/opt/ltsp/i386/initrd/nfs
echo "mkinitramfs"
mkinitramfs -o /opt/ltsp/i386/initrd/nfs
# now the 2nd script will be copied into chroot environment
cp 2nd-dhcp-2.sh /opt/ltsp/i386/2nd-dhcp-2.sh
echo "chroot /opt/ltsp/i386/"
echo
echo "please type: ./2nd-dhcp-2.sh"
chroot /opt/ltsp/i386/
# the 2nd script:
update-initramfs -c -k 2.6.20-15-386
#echo "cd /boot"
cd /boot
#echo "mkelf-linux"
# +++++++++++ the following doesnot work anymore:
mkelf-linux --output=/boot/nbi.img-2.6.20-15-386 vmlinuz-2.6.20-15-386
initrd.img-2.6.20-15-386
echo "type exit"
# the 3rd script:
cd /var/lib/tftpboot/ltsp/i386/
cp /opt/ltsp/i386/boot/initrd.img-2.6.20-15-386 initrd.img-2.6.20-15-386
cp /opt/ltsp/i386/boot/nbi.img-2.6.20-15-386 nbi.img-2.6.20-15-386
cp /opt/ltsp/i386/boot/initrd.img initrd.img
cp /opt/ltsp/i386/boot/nbi.img nbi.img
More information about the edubuntu-users
mailing list