“Eric Norton” <enortonNOSPAM@NOSPAMfct.ca> wrote in message
news:3D5BCAF6.4070900@NOSPAMfct.ca…
Hey,
I’ve been trying to setup mount points to windows shares from QNX 6.2
and I’m having some difficulties using fs-cifs. I’m trying to map to a
windows share that is accessible by “Everyone” and doesn’t have any
authentication setup whatsoever. So if I try to run this command it
doesn’t work:
fs-cifs //Laptop:Radial:/ /Mp3 guest none
I’ve trying various other combinations, like using the administrator
login/password without any luck. If anyone who is using fs-cifs could
post some examples of what they did and if there are any particulars
that need to taken off on the windows side, I would greatly appreciate it.
Thanks,
Eric
Up front, the shipped 6.2 version of fs-cifs will not handle the below IFS
script, but I have tested and confirmed a fix for all CPU variants.
I set up my shares on Windows so that permissions are given to a user id of
“target” with read and change access for each share, where “target” user id
is set up in advance on the Windows host.
With that said, the following IFS works with Windows NT/2K/XP.
\
Target: pentium 233
IP: 10.75.1.106
Root: 10.75.1.1, labxp
Date: August 16, 2002
[virtual=x86,bios +compress] boot = {
startup-bios -N tx86p233 -D console -v
PATH=/proc/boot:/bin:/sbin:/usr/bin:/usr/sbin
LD_LIBRARY_PATH=/proc/boot:/lib:/lib/dll:/usr/lib procnto
}
[+script] .script = {
procmgr_symlink …/…/proc/boot/libc.so.2 /usr/lib/ldqnx.so.2
networking
display_msg Starting TCP/IP…
io-net -d ne2000 -p tcpip-v4
waitfor /dev/socket
waitfor /dev/io-net
ifconfig en0 10.75.1.106
remote file systems
display_msg CIFS mounting / from labxp …
fs-cifs //labxp:10.75.1.1:/x86 / target target
waitfor /bin/mount 10
waitfor /usr/sbin/fs-nfs2 10
waitfor /tmp
display_msg CIFS mounting /usr …
mount -t cifs -o target,target //labxp:10.75.1.1:/usr /usr
waitfor /usr/info
waitfor /usr/man
waitfor /usr/lib/terminfo
waitfor /usr/photon/config
waitfor /usr/photon/font_repository
waitfor /usr/photon/keyboard
waitfor /usr/photon/palette
waitfor /usr/photon/share
waitfor /usr/photon/translations
waitfor /usr/photon/welcome
waitfor /usr/share
display_msg NFS mounting /etc from Release Branch file server…
fs-nfs2 10.75.1.200:/xfer/etc/6.2 /etc
waitfor /etc
display_msg NFS mounting /etc/sysinit…
mount -t nfs 10.75.1.200:/xfer/sysinit /etc/sysinit
waitfor /etc/sysinit
some drivers/managers we want started before the initialization file
display_msg Starting remaining drivers…
slogger -l /tmp/p233.slog
devc-con -e -n 9
waitfor /dev/con1
reopen
devc-pty -e
devc-ser8250 -u1 3f8,4 -u2 2f8,3
seedres
pci-bios
pipe
waitfor /dev/pipe
final system initialization
display_msg Handing off to /etc/sysinit/toolslab.init …
on -t /dev/con1 /bin/ksh -i /etc/sysinit/toolslab.init labxp cifs default
}
links
[type=link] /dev/console=/dev/con1
[type=link] /bin/ph=/etc/sysinit/ph.init
libraries
devn-ne2000.so
npm-tcpip-v4.so
libsocket.so
libc.so.2
\
image binaries
[data=c]
io-net
ifconfig
fs-cifs
added data & scripts
[perms=+r]
/tx86p233.labxp.cifs.bld=./tx86p233.labxp.cifs.bld