OK, I found where the problem is.

Looking at /opt/ltsp/i386/usr/share/initramfs-tools/scripts/init-
premount/udhcp, line 223, you see:

  ip address add $ip/$(subnet_to_cidr $subnet) dev $interface

The above line is the command which effectively sets up the IP
parameters of the network interface. However, it doesn't sets the
broadcast address.

The best solution is to change the above line with the following:

  [ -n "$broadcast" ] && IP_BROADCAST="broadcast $broadcast"
  ip address add $ip/$(subnet_to_cidr $subnet) $IP_BROADCAST dev $interface

After doing update-initramfs, ltsp-update-kernels and ltsp-update-image,
LTSP clients get their broadcast address perfectly well.

-- 
LTSP clients doesn't sets up their broadcast addresses during bootup (patch 
provided which fixes the issue)
https://bugs.launchpad.net/bugs/604276
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to