Asmo Koskinen kirjoitti: > Script sees my network right, but then this. It does not create new > > admin-lt...@ubuntu-ltsp5:~$ sudo /etc/network/if-up.d/ltsp-server-pnp > PUB_IFACE=eth0 PUB_IP_MASK=192.168.1.2/24 PUB_BROADCAST=192.168.1.255 > PRV_IFACE=eth1 PRV_IP_MASK=192.168.0.254/24 PRV_BROADCAST=192.168.0.255 > /etc/network/if-up.d/ltsp-server-pnp: 112: Syntax error: word unexpected > (expecting ")")
That line and lines around that. if [ "$MODE" = start \ # Only run from ifup. -a ("$ADDRFAM" = inet -o "$ADDRFAM" = inet6) \ # Only care about inet and inet6. -a -e /usr/sbin/ethtool ] # Is /usr mounted? then I can boot client, when I add only this one line manually in /etc/dnsmasq.d/ltsp-server-pnp.conf file. # This range(s) is for the private network on 2-NIC servers, # where dnsmasq functions as a normal DHCP server, providing IP leases. dhcp-range=192.168.0.100,192.168.0.250 Jun 9 13:19:45 ubuntu-ltsp5 dnsmasq-dhcp[4597]: 1699315701 DHCPREQUEST(eth1) 192.168.0.100 00:22:64:49:7f:f5 Jun 9 13:19:45 ubuntu-ltsp5 dnsmasq-dhcp[4597]: 1699315701 DHCPACK(eth1) 192.168.0.100 00:22:64:49:7f:f5 Best Regards Asmo Koskinen. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net