Re: Re: ltsp still not working as advertised.....

john-paul drawneek <[email protected]>
Newsgroups gmane.linux.suse.schools.usa
Message-ID <[email protected]>
"CyberOrg" <[email protected]> wrote:
> On Thu, Aug 14, 2008 at 4:37 PM, john-paul drawneek
> <[email protected]> wrote:
> 
>> Prebuilt are working - box is happily erroring out on the fact it can't
>> find tftp host - ping tftp from a real box and it finds it.
>>
>> usb - boots, then dies saying it can't find a usb drive.  What like the
one
>> you just booted from????
>>
>> Also why does the prebuilt images stop working when you make a usb
image?
>> Do i need to have multiply boxes running ltsp for each type of install?
> 
> This looks like a bug, copy back
> /srv/kiwi-ltsp.somebackup/ltsp-suse-11.0.i686-0.0.1 to /srv/kiwi-ltsp/

will do

> 
>>
>> the dhcpd config borks horribly with a random error - can't get it to
work
>> at all
>> so using dnsmasq, and fun that is to...
>>
> This seems to be one of your issues(misconfigured dnsmasq), we use
> dhcpd, let us know the errors you get so we can try to fix it.

only because I can't get dhcpd to work


> 
> Also paste output of ifconfig,

ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:22:72:E1:4B
          inet addr:192.168.9.53  Bcast:192.168.9.255  Mask:255.255.255.0
          inet6 addr: fe80::214:22ff:fe72:e14b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:154427 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21469 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:91140660 (86.9 Mb)  TX bytes:1802812 (1.7 Mb)

eth1      Link encap:Ethernet  HWaddr 00:0E:0C:83:F0:4D
          inet addr:192.168.8.102  Bcast:192.168.8.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth2      Link encap:Ethernet  HWaddr 00:14:22:72:E1:4C
          inet addr:192.168.100.1  Bcast:192.168.100.255 
Mask:255.255.255.0
          inet6 addr: fe80::214:22ff:fe72:e14c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:402346 errors:0 dropped:0 overruns:0 frame:0
          TX packets:401279 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:24555074 (23.4 Mb)  TX bytes:581565649 (554.6 Mb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:369 errors:0 dropped:0 overruns:0 frame:0
          TX packets:369 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:39564 (38.6 Kb)  TX bytes:39564 (38.6 Kb)


> cat /etc/dhcpd.conf 

# dhcpd.conf.template - Part of KIWI-LTSP as created by Cyberorg
#
# Copyright (c) 2007 Cyberorg
# This program is free software; you can redistribute it and/or modify it
under
# the terms of the GNU General Public License as published by the Free
Software
# Foundation; either version 2 of the License, or (at your option) any
later
# version.
#
# This program is distributed in the hope that it will be useful, but
WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along
with
# this program; if not, write to the Free Software Foundation, Inc., 59
Temple
# Place, Suite 330, Boston, MA 02111-1307 USA
#
# Authors: Cyberorg Cyberorg <[email protected]>
#         Magnus Boman <[email protected]>
#
# Version       Date            Changes
# 0.1           2007-08-25      Initial release

option domain-name "Computing.net";
option domain-name-servers 192.168.100.1;
option routers 192.168.100.1;
default-lease-time 14400;
ddns-update-style none;
next-server 192.168.100.1;
subnet 192.168.100.0 netmask 255.255.255.0 {
  range 192.168.100.100 192.168.100.200;
  default-lease-time 14400;
  max-lease-time 172800;
  filename "pxelinux.0";
}


> and
> /etc/sysconfig/dhcpd, to debug it.
## Path:        Network/DHCP/DHCP server
## Description: DHCP server settings
## Type:        string
## Default:     ""
## ServiceRestart: dhcpd
#
# Interface(s) for the DHCP server to listen on.
#
# A special keyword is ANY, it will cause dhcpd to autodetect available
# interfaces.
#
# Examples: DHCPD_INTERFACE="eth0"
#           DHCPD_INTERFACE="eth0 eth1 eth2 tr0 wlan0"
#           DHCPD_INTERFACE="internal0 internal1"
#           DHCPD_INTERFACE="ANY"
#
DHCPD_INTERFACE=eth2

## Type:        yesno
## Default:     yes
## ServiceRestart: dhcpd
#
# Shall the DHCP server dhcpd run in a chroot jail (/var/lib/dhcp)?
#
# Each time you start dhcpd with the init script, /etc/dhcpd.conf will
# be copied to /var/lib/dhcp/etc/.
#
# Some files that are important for hostname to IP address resolution
# (/etc/{hosts,host.conf,resolv.conf,localtime}, /lib/libnss_dns.so.2,
# /lib/libresolv.so.2) will also be copied to the chroot jail by the
# init script when you start it (about 100kB altogether).
#
# The pid file will be in /var/lib/dhcp/var/run/dhcpd.pid.
#
DHCPD_RUN_CHROOTED="yes"

## Type:        string
## Default:     ""
## ServiceRestart: dhcpd
#
# Since version 3, dhcpd.conf can contain include statements.
# If you enter the names of any include files here, _all_ conf
# files will be copied to $chroot/etc/, when dhcpd is started in the
# chroot jail. (/etc/dhcpd.conf is always copied.)
#
# For your convenience, you can also specify entire directories, like
# "/etc/dhcpd.conf.d".
#
# Example: "/etc/dhcpd.conf.shared /etc/dhcpd.conf.bootp-clients"
#
DHCPD_CONF_INCLUDE_FILES=""

## Type:        string
## Default:     "dhcpd"
## ServiceRestart: dhcpd
#
# Leave empty or enter "root" to let dhcpd run as root.
# Enter "dhcpd" to run dhcpd as user 'dhcpd'.
#
DHCPD_RUN_AS="dhcpd"

## Type:        string
## Default:     ""
## ServiceRestart: dhcpd
#
# Other arguments that you want dhcpd to be started with
# (e.g. "-p 1234" for a non-standard port to listen on)
#
DHCPD_OTHER_ARGS=""

## Type:        string
## Default:     ""
## ServiceRestart: dhcpd
#
# You may specify another dhcpd binary to be run.
# The full path needs to be specified.
#
# If empty, the default applies.
#
DHCPD_BINARY=""


/etc/init.d/dhcpd start
Starting DHCP server Internet Systems Consortium DHCP Server V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
/usr/sbin/dhcpd: : Unknown error 1701220736
                                                                     
failed


See nothing special, all pretty much default.

> 
> Things like "random errors", "not working" really does not help pin
> point the real cause :)

The error seem to be a random number generator - i get a different number
each time, even if theres been no change in the config

All I am doing is following your instructions, why should I have to list
them back to you?

> 
> Cheers
> 
> -J
> -- 
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.