[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bootclient



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> <zitiere wer="Jonas Smedegaard">
>
> > Ok, all commands include full path so that's not it.
>
> oops! In the original posting the script-entry
> RCFILE_01          = nbd
> has got no path!
> I remember Steffen posted it on user@skolelinux.de
> too and mentioned, he manually called the script _with_full_path_ !

in this case nbd is a full path, there is a script called nbd in /opt/
ltsp/i386/etc/rc.d/nbd, which then starts the nbd-server-script, 
enclosed i send it to you.

I also did a strace for debugging, but the result tells me only that the 
trace gives the same output as when i do it manually from the prompt.
The only difference is that there's a -------> unfinished 
at the end. The nbd-server is stopped then, but i don't know why.
Enclosed i send you the scripts again and my lts.conf.

nbd (/opt/ltsp/i386/etc/rc.d/)
nbd-server-script (opt/ltsp/i386/bin/)
lts.conf (opt/ltsp/i386/etc/)
nbd-server (/opt/ltsp/i386/bin/) (it is the binary from the deb-package)

BTW during the booting the script will be executed and it creates the 
device fd0, but the nbd-server will be terminated later, but that was 
all which i can see during the strace.

Thx for help or advices

Greetings
Steffen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFB9mba62zWxYk/rQcRAqakAJwL3kjK59vdHHtGl+1QVw6XAEGf0QCeJwdT
PWNtX5KutnUdIPDPOuHJiKs=
=AwFm
-----END PGP SIGNATURE-----

Attachment: nbd-server
Description: application/executable

Attachment: nbd-server-script
Description: application/shellscript

#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#

[Default]
        SERVER             = 192.168.0.254
        XSERVER            = auto
	X_MOUSE_PROTOCOL   = "Auto"
	X_MOUSE_DEVICE     = "/dev/ttyS1"
	X_MOUSE_BUTTONS    = 3
        USE_XFS            = Y
        XkbLayout          = de
	SEARCH_DOMAIN	   = intern
	USE_NFS_SWAP	   = Y
	SWAPFILE_SIZE	   = 32m
	LOCAL_APPS	   = N
	RUNLEVEL	   = 3
	RCFILE_01	   = nbd

#------------------------------------------------------------------------------
#
# Example of specifying X settings for a workstation
#
[ws001]
        XSERVER            = auto
        LOCAL_APPS         = N
        USE_NFS_SWAP       = N
        SWAPFILE_SIZE      = 48m
        RUNLEVEL           = 5

[ws002]
        XSERVER            = XF86_SVGA
        LOCAL_APPS         = N
        USE_NFS_SWAP       = N
        SWAPFILE_SIZE      = 64m
        RUNLEVEL           = 3

#
# ws004 is my virtual workstation running in a VMware session
#
[ws004]
        DNS_SERVER         = 192.168.0.254
        XSERVER            = auto
        X4_BUSID           = "PCI:0:15:0"
        X_MODE_0           = 800x600
        LOCAL_APPS         = N
        USE_NFS_SWAP       = N
        SWAPFILE_SIZE      = 64m
        RUNLEVEL           = 5

#------------------------------------------------------------------------------
#
# Example of a workstation configured to load some modules
#
#[ws001]
#    MODULE_01       = agpgart.o		# This is for i810 video
#    MODULE_02       = uart401.o
#    MODULE_03       = sb.o io=0x220 irq=5 dma=1
#    MODULE_04       = opl3.o

#------------------------------------------------------------------------------
#
# Example of ws001 configured for local apps
#
#[ws001]
#    LOCAL_APPS      = Y
#    LOCAL_WM        = Y
#    NIS_DOMAIN      = ltsp
#    NIS_SERVER      = 192.168.0.254

#------------------------------------------------------------------------------
#
# Example of a serial printer attached to /dev/ttyS1 on workstation ws001
#
#[ws001]
#    PRINTER_0_DEVICE   = /dev/ttyS1
#    PRINTER_0_TYPE     = S		# P-Parallel, S-Serial
#    PRINTER_0_PORT     = 9100		# tcp/ip port: defaults to 9100
#    PRINTER_0_SPEED    = 9600		# baud rate: defaults to 9600
#    PRINTER_0_FLOWCTRL = S		# Flow control: S-Software (XON/XOFF),
#					# H-Hardware (CTS/RTS)
#    PRINTER_0_PARITY   = N		# Parity: N-None, E-Even, O-Odd
#					# (defaults to 'N')
#    PRINTER_0_DATABITS = 8		# Databits: 5,6,7,8 (defaults to 8)

Attachment: nbd
Description: application/shellscript


Reply to: