Hello, in my environment it is not possibel to see the local devices. i follow up the differnt docus. Please i need HELP HELP her are my files: sorry, these are all files /etc/aut.misc /etc/auto.maste /etc/dhcpd.conf /etc/exports /etc/fstab /etc/hosts /opt/ltsp41/i386/etc/lts.conf //etc/ltsp.conf /etc/samba/etc.conf /etc/samba/smbuser
THANKS TO ALL Wolf
*/etc/auto.misc*
#cdrom -fstype=auto,ro :/dev/cdrom
#floppy -fstype=auto,sync :/dev/fd0
#server -fstype=nfs server.local:/export
ws023cd -fstype=smbfs,workgroup=LTSP,guest ://ws023/cdrom
ws023fl -fstype=smbfs,workgroup=LTSP,fmask=666,dmask=777,guest,username=nobody,rw ://ws023/floppy
*/etc/auto.master*
#cdrom -fstype=auto,ro :/dev/cdrom
#floppy -fstype=auto,sync :/dev/fd0
#server -fstype=nfs server.local:/export
ws023cd -fstype=smbfs,workgroup=LTSP,guest ://ws023/cdrom
ws023fl -fstype=smbfs,workgroup=LTSP,fmask=666,dmask=777,guest,username=nobody,rw ://ws023/floppy
*/etc/dhcpd.conf*
option domain-name "SUSELTSP";
option domain-name-servers 145.253.2.11, 145.253.2.75;
option routers 192.168.0.1;
option ntp-servers ntp2.fau.de;
option subnet-mask 255.255.255.0;
option root-path "192.168.0.35:/opt/ltsp41/i386";
option broadcast-address 192.168.0.255;
default-lease-time 21600;
max-lease-time 21600;
ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.20 192.168.0.24;
default-lease-time 14400;
max-lease-time 172800; }
host ws023 { hardware ethernet 00:07:e9:b8:60:53; filename "/lts/2.4.26-ltsp-2/pxelinux.0"; } */etc/exports*
/opt/ltsp41 192.168.0.0/255.255.255.0(ro,no_root_squash,sync) /var/opt/ltsp/swapfiles 192.168.0.0/255.255.255.0(rw,no_root_squash,async)
/home 192.168.0.*(rw)
*/etc/hosts*
127.0.0.1 localhost
# special IPv6 addresses ::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts 192.168.0.35 linux92.site linux92
192.168.0.20 ws020.ltsp ws020
192.168.0.21 ws021.ltsp ws021
192.168.0.22 ws022.ltsp ws022
192.168.0.23 ws023.ltsp ws023
192.168.0.24 ws024.ltsp ws024
192.168.0.25 ws025.ltsp ws025
192.168.0.26 ws026.ltsp ws026
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-10-21
[global]
workgroup = TUX-NET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
security = user
encrypt passwords = yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = yes
domain master = yes
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
local master = yes
os level = 65
preferred master = yes
ldap suffix = dc=example,dc=com
[homes] comment = Home Directories valid users = %S browseable = no read only = no inherit acls = yes
[profiles] comment = Network Profiles Service path = %H read only = no store dos attributes = yes create mask = 0600 directory mask = 0700
[users] comment = All users path = /home read only = no inherit acls = yes veto files = /aquota.user/groups/shares/
[groups] comment = All groups path = /home/groups read only = no inherit acls = yes
[pdf] comment = PDF creator path = /var/tmp printable = yes print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z create mask = 0600
[printers] comment = All Printers path = /var/tmp printable = yes create mask = 0600 browseable = no
[print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775
*/opt/ltsp41/i386/etc/lts.conf
*[Default] SERVER = 192.168.0.35 XSERVER = auto X_MOUSE_PROTOCOL = "PS/2" X_MOUSE_DEVICE = "/dev/psaux" X_MOUSE_RESOLUTION = 400 X_MOUSE_BUTTONS = 3 USE_XFS = N SCREEN_01 = startx SCREEN_02 = shell XkbLayout = de XkbModel = pc105 LOCAL_APPS = Y LOCAL_DEVICE_01 = /dev/hdc:cdrom LOCAL_DEVICE_02 = /dev/fd0:floppy */etc/ltsp.conf*
LTSP_DIR=/opt/ltsp41 PKG_SOURCE=http://www.ltsp.org/ltsp-4.1/ HTTP_PROXY=none FTP_PROXY=none LTSP_ETH_INTERFACE=eth0 */opt/ltsp41/i386/letc/rc.localdevice (its the new one)* #!/bin/sh # # local_cd # # This script will set up a local cdrom drive for supermount. # PATH=/bin:$PATH; export PATH . /etc/ltsp_functions
SAMBATMP="/tmp/samba" SAMBACNF="/tmp/smb.conf"
mkdir /tmp/drives
# # Get the lts.conf entries # eval `/bin/getltscfg -a`
FOUND_ONE="N"
for i in 01 02 03 04 05 06 07 08 09 10; do DEVVAR=LOCAL_DEVICE_${i}
if [ ! -z ${!DEVVAR} ] ; then # # As soon as we find at least 1 local device, we need to # setup the Samba config stuff # reg_info ${DEVVAR}
if [ "${FOUND_ONE}" = "N" ]; then
FOUND_ONE=Y
mkdir ${SAMBATMP}
cat <<-EOF >${SAMBACNF}
[global]
workgroup = ${WORKGROUP:-"LTSP"}
security = SHARE
smb passwd file = /etc/passwd
guest account = nobody
log file = /tmp/samba/%m.log
max log size = 2
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
dns proxy = No
unix extensions = No
lock directory = /tmp/samba
pid directory = /tmp/samba
private dir = /tmp/samba
[drives]
path = /tmp/drives
read only = no
guest ok = Yes
locking = no
EOF
fi
DEVICE=`echo ${!DEVVAR} | sed 's/\(.*\):.*/\1/'`
SHARE=`echo ${!DEVVAR} | sed 's/.*:\(.*\)/\1/'`
BASE_DEVICE=`/usr/bin/basename ${DEVICE}`
START_SAMBA="Y"
if [ -z ${SHARE} ] ; then SHARE=${BASE_DEVICE} fi
echo ${DEVICE} ${SHARE} ${BASE_DEVICE}
case "${BASE_DEVICE}" in hd* ) modprobe ide-cd modprobe iso9660 RW="ro" FS="iso9660" ;; fd* ) modprobe floppy modprobe vfat RW="rw" FS="vfat" ;; sr* ) modprobe scsi_mod modprobe sr_mod RW="ro" FS="iso9660" ;; sd* ) modprobe scsi_mod modprobe sd_mod RW="rw" FS="auto" ;; * ) # assume modules are already loaded RW="ro" FS="auto" ;; esac
mkdir /tmp/drives/${SHARE} mount -t supermount \ -o fs=${FS},dev=${DEVICE},--,${RW} none /tmp/drives/${SHARE} fi done
if [ "${START_SAMBA}" = "Y" ] ; then smbd -D -s /tmp/smb.conf fi
*/etc/samba/smbusers*
root = administrator admin
nobody = guest pcguest smbguest
*/etc/samba/smb.conf*
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-10-21
[global]
workgroup = TUX-NET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
security = user
encrypt passwords = yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = yes
domain master = yes
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
local master = yes
os level = 65
preferred master = yes
ldap suffix = dc=example,dc=com
[homes] comment = Home Directories valid users = %S browseable = no read only = no inherit acls = yes
[profiles] comment = Network Profiles Service path = %H read only = no store dos attributes = yes create mask = 0600 directory mask = 0700
[users] comment = All users path = /home read only = no inherit acls = yes veto files = /aquota.user/groups/shares/
[groups] comment = All groups path = /home/groups read only = no inherit acls = yes
[pdf] comment = PDF creator path = /var/tmp printable = yes print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z create mask = 0600
[printers] comment = All Printers path = /var/tmp printable = yes create mask = 0600 browseable = no
[print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _____________________________________________________________________ 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