-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Your wpkg.js is located on another server (\\192.168.1.12\wpkg). is it possible that the script failed only beacause the process doesn't have the credential to access the share?
Also, what credential has the script when you run it? How do you run it? task sheduler? a system service? Dany Chouinard Magnus Mølbach a écrit : > Has anyone ever done this? > > > The combination openssh and vnc is the best I guess. > You have to edit allowtcpforwarding in the sshd_config file as well. > > > > > I have used all day to try to make this installer for openssh. > > By now everything works if I run the wpkg-start.bat script. > If I use the schtasks. it doesnt work. > > Same with the wpkg-client. > > It does not work at all. > I am running WPKG 0.9.10 > > > > > By now I don't really care for the wpkg-client. > > I just want it to run. > > > since this is going to run on laptops I made a small hack to verify that > the laptops connect to the right server. > > > set WPKGROOT=\\192.168.1.12\wpkg > set SOFTWARE=%WPKGROOT%\software > > ping 192.168.1.12 -n 1 | find "TTL=" >nul > > if errorlevel 1 ( > echo dont > echo %date% %time% > c:\log.txt > ipconfig >> c:\log.txt > > ) ELSE ( > arp -a | find "00-16-3e-37-cd-91" >nul > if errorlevel 0 ( > echo YEAH! > cscript %WPKGROOT%\wpkg.js /synchronize /quiet /nonotify > ) ELSE ( > echo arpnomatch > arp -a > c:\log.txt > ) > ) > > > > > This script runs perfect everytime but not when I put it in a script. > > > How Can I run ths script when a laptop boots? > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > wpkg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wpkg-users > - -- Dany CHOUINARD Technicien en informatique -o) Commission scolaire de l'Or et des Bois /\ [EMAIL PROTECTED] _\_v tél. 819.825.4220 ext. 3041 cel. 819.856.6892 skype. dchouinard courriel. [EMAIL PROTECTED] <<<(((( ))))>>> Ce document est signé numériquement par GnuPG http://www.gnupg.org/fr/index.html Pour récupérer ma clef publique, consultez mon site internet : www.danychouinard.net/clef.asc <<<(((( ))))>>> Vous connaissez http://www.linuxabitibi.org ? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAQTwa9/+BUSG+LQRAt8DAJoCu2GxRJuDQELcyOSbWyCj2MubsgCeM9w1 Uwxi1g/YtHBRXbuiFDQ/k5A= =S/k+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wpkg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wpkg-users
