FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu User

 
 
LinkBack Thread Tools
 
Old 11-20-2007, 05:17 PM
"Anton Kaser"
 
Default AW: alternate DHCP 1067/1068 in Gusty

No answer at all is also an answer...

in the meantime I found out, that mkelf-Linux doesnot exits anymore in
Gusty.
So I tried mkelfImage instead. that looked good in the beginning.
With
mkelfImage --output=/boot/nbi.img-2.6.22-14-386 vmlinuz-2.6.22-14-386
initrd.img-2.6.22-14-386

reply:
initrd.img-2.6.22-14-386 already exists

update-initramfs -u seemed to be easier as it automatically goes with the
highest kernel number.

It looked good at the beginning. Booting on Ports 1067/1068 worked to the
2nd dhcp request.
But then it continued with the wrong ltsp-boot server settings.

It looked (tried) for a boot file in 192.168.2.1 (Windows server) but my
Edubuntu Server is on 192.168.2.11
So no client boot again!!

The /etc/ltsp/dhcpd.conf is set accordingly.

Or should I use the
/opt/ltsp/i386/usr/share/initramfs-tools/scripts/ltsp-nbd instead of
the nfs file???
but where shall I put it??

Some ideas???

ps:
I wanted to upgrade to Gusty as I hoped for faster Client boot.
The alternate dhcp Boot worked really great under Feisty and gave me a lot
of advantages.
With this setting I can plug in "my" Edubuntu Server in any existing Network
without any changes!

-----Ursprungliche Nachricht-----
Von: edubuntu-users-bounces@lists.ubuntu.com
[mailto:edubuntu-users-bounces@lists.ubuntu.com]Im Auftrag von Anton
Kaser
Gesendet: Dienstag, 13. November 2007 00:25
An: edubuntu-users@lists.ubuntu.com
Betreff: alternate DHCP 1067/1068 in Gusty


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


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 12-10-2007, 10:12 PM
"Anton Kaser"
 
Default AW: alternate DHCP 1067/1068 in Gusty

Booting works now!!!! In Gutsy the package mknbi is not installed
anymore!!!!

apt-get install mknbi

within the chroot-Environment ( sudo chroot /opt/ltsp/i386/ ) solved the
problem with the not working mkelf-image command.

Now the clients are booting completly on port 1067. BUT:
all the syslog-files don't work anymore: eg:

syslogd: /var/log/syslog:Permission denied

finally it comes to


* Starting Kernel log daemon ...

Ubuntu 7.10 ltsp tty1

ltsp login:


What can I do now??? Now even when I switch back to ports 67/68 the
syslogproblem remains!!!
With ltsp-build-clients I have to build a new setup and then it would work
fine again....

- So I am still using Feisty in the School Server!!!! There everything works
slow but fine!


-----Ursprungliche Nachricht-----
Von: edubuntu-users-bounces@lists.ubuntu.com
[mailto:edubuntu-users-bounces@lists.ubuntu.com]Im Auftrag von Anton
Kaser
Gesendet: Dienstag, 13. November 2007 00:25
An: edubuntu-users@lists.ubuntu.com
Betreff: alternate DHCP 1067/1068 in Gusty


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


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 

Thread Tools




All times are GMT. The time now is 03:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org