LTSP clients doesn't sets up their broadcast addresses during bootup (patch provided which fixes the issue)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ltsp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ltsp-client-core
My LTSP installation works great except for this issue: the LTSP clients got 0.0.0.0 broadcast address from the server after booting.
Steps to reproduce:
1. Unlock the chroot root account following this howto: https:/
2. Boot an LTSP client.
3. When LDM is displayed, press Ctrl-Alt-F1 to go to a text console.
4. Login as root.
5. Type "ifconfig".
Result:
All the IP parameters has been correctly set up from the DHCP server, except for the broadcast address, which has been set as 0.0.0.0:
root@p8pc1:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:d6:3b:40
inet addr:192.168.0.2 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr:fe80:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets: 79891 errors:0 dropped:0 overruns:0 frame:0
TX packets: 14726 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:120036016 (120.0 MB) TX bytes:1055693 (1.0 MB)
If I then do a "udhcpc eth0" to get a new DHCP lease, I get:
root@p8pc1:~# udhcpc eth0
udhcpc (v0.9.9-pre) started
Sending discover...
Sending select for 192.168.0.2...
Lease of 192.168.0.2 obtained, lease time 43200
Resetting default routes
adding dns 192.168.0.1
and now I have all the IP params perfectly setup, including the broadcast address:
root@p8pc1:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:d6:3b:40
inet addr:192.168.0.2 Bcast:192.
inet6 addr:fe80:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets: 81418 errors:0 dropped:0 overruns:0 frame:0
TX packets: 15092 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:122309092 (122.3 MB) TX bytes:1086942 (1.0 MB)
So obviously this is not a problem on the dhcpd configuration in the LTSP server.
tags: | added: patch |
tags: | added: patch-accepted-upstream |
Changed in ltsp (Ubuntu): | |
status: | Fix Committed → Fix Released |
I have a workaround which involves hacking of the /opt/ltsp/ i386/usr/ share/initramfs -tools/ scripts/ init-premount/ udhcp:
1. Enter chroot. initramfs- tools/scripts/ init-premount/ udhcp script. sh".
2. # vi /usr/share/
and comment the line 151 which says "chmod +x /tmp/dhcp-
3. # update-initramfs -u
4. Exit chroot.
5. sudo ltsp-update-kernels
6. sudo ltsp-update-image
Since then, my LTSP clients has their correct address broadcast.
However, there's one problem with this workaround: the DNS address is not correctly set up. Any clues?