Dear Nileshj,
 
thanks for your reply!
 
actually I did not intend to install a cygwin environment on every machine. I'd prefer using just the 'essentials' distribution as published on the backuppce website.
Furthermore, I don't need ssh, a unencrypted datatransfer is sufficient.
This all works on another Computer. I just hat to doubleklick 'service.bat' and that was it.
Now this problem only appears on the other Computer.
 
I would definetely prefer getting this version to run on my computer rather than installing cygwin.
 
Can you help me on that aswell?
 
Greets&Thanks,
Hendrik


From: nilesh vaghela [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 10, 2006 1:05 AM
To: Hendrik Friedel
Subject: Re: [BackupPC-users] Problem with rsyncd on one Windows XP client

This is our setup , you modify according to your setup.

we are using redhat base distro.
From: Kavin Desai <desai. kavin@gmail.com>
Date: Jun 20, 2006 4:16 PM

Please refer to the following steps to setup Cygwin on ur Windows Clients.

                SECTION - I                

Download Cygwin on your Computer from http://www. cygwin.com .

Run setup.exe from the  cygwinsetup path.

Now the setup is started.

Check "Install from Local Directory" option on the  " Choose a download Source" dialog box.

When u r asked for the "Root directory" specify " c:\cygwin"
When u r asked for "Local package directory" located specify "cygwinsetup"   path.

Then it will show a dialog box showing "parsing .ini file:......".

There after appears "Select packages" dialog box.

First "UN SELECT" the < hide obsolete and administrative packages> option at the bottom of the Box.

Then select all from "Admin" option.
Then select all packages from the package < BASE>.
Then select Opensshpackage, both Openssl packages & rsync package from package <NET>.

<please note that in the selection dialog Skip means u r omitting the package so click over it and it will show some numerics. this means it is selected>

Once the setup completes the installtion of Cygwin u will see a dialog box for creating shortcut on Desktop and in the Program menu both option checked.

There select finish.

Check u have a shortcut of Cygwin on ur desktop.

<REFER THE ATTACHED FILE FOR THE ICON VERIFICATION >

====================================================================
                   Now to prepare the Windows98 Client               


First on the Dos Command Prompt run "regedit"

Select options as shown in the following Hier Archy

            "Host_key_Local_Machine"
                            |
                     "Software"

                            |
                     "Microsoft"
                            |
                     "Windows"
                            |
                  "<First Option in the list of four options>"
                            |
                    "Run Service "

Right Click on the right half of the Window.  U get a dialog box stating "New". Clik over it  and selct " String Value"

Add new " String Value" as "SSH" .

Double Click over the variable and u get a dialog box asking the path.

Enter " c:\cygwin\usr\sbin\sshd.exe".


Then from the "c:\ cygwin\bin" directoy copy following files to " c:\windows".

* cygwin1.dll
* cygcrypt-0.dll
* cygcrypto-0.9.7.dll
* cygcrypto-0.9.8.dll
* cygz.dll

Now double-click the "Cygwin" shortcut on the desktop.
After a short while u will get the " LINUX's $" prompt.
Execute the following commands at the prompt.

*     ssh-host-config

*     ssh-keygen -t rsa

On both occassions please note that u have to press "Enter Key" as many times u r asked for any thing to enter."

Now restart the computer.

The Windows Client must show on restart that the "SSH " service has started. Otherwise the Cygwin SSH session will not be active.

Only if the SSH service has started.......   proceed to section - II
====================================================================

     Now to prepare the Windows-XP/2000/2003 Client     

In the "Control Panel" select "System -> Advanced".
At the bottom of the Dialog Box u will find "Environmental Variables" option.
Select it.

A new Dialog Box Appears which has to options. The User variables for Administrator and the System Variables.

In the System Variables section click over new.

Enter "CYGWIN" as variable name and " ntsec" as variable value.

On the Dos Command Prompt run the path command and check if c:\cygwin\bin has been added.
If not added please add manually using the.....
Control Panel -> System -> Advanced -> Environment Variables -> System Variables Option.
Here a Variable named path requires th above ammendment.

Now double-click the "Cygwin" shortcut on the desktop.
After a short while u will get the "LINUX's $" prompt.
Execute the following commands at the prompt.

*     ssh-host-config

*     ssh-keygen -t rsa

On both occassions please note that u have to press "Enter Key " as many times u r asked for any thing to enter."

Now restart the computer.

====================================================================
                SECTION  -   I I              

Once again double click the "Cygwin" shortcut. and type the following command.

scp [EMAIL PROTECTED]:/home/backuppc/.ssh/id_rsa.pub .ssh/authorized_keys2

To check the successfull completion of the task type the following command...

ssh -v [EMAIL PROTECTED]

U will be asked for password for backuppc
Enter " redhat"

U will see the following prompt....

[EMAIL PROTECTED] ~]$

from here type the following command

ssh -v [EMAIL PROTECTED]

HOSTIP is the IPAddress of the Windows Client u r setting up. (e.g. 192.168.0.69)

Without bieng asked for any password U will enter the clients own PC.

This confirms that now the backuppc is authenticated to enter into session without being asked for password.

Type "exit" and press " Enter" .

Once again ....... type "exit" and press "Enter" .

Now enter the following command ....

ssh -v [EMAIL PROTECTED]  

when asked for password enter " redhat".

Now enter the following command ....

sh user.config

It will ask for IP address. Enter IP address.

Now on the BackupPC Server side activate the Server Options and Click over Reload.



--~--~---------~--~----~------
------~-------~--~----~
You received this message because you are subscribed to the Google Groups "VGLUG" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/VGLUG
-~----------~----~----~----~------~----~------~--~---


On 9/9/06, Hendrik Friedel <[EMAIL PROTECTED]> wrote:
Hi,
I downloaded the rsyncd package from the backuppc website.
Starting service.bat, I get this Error:
C:\rsyncd>cygrunsrv.exe --start rsyncd
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The Service was not startet.

Are you fammiliar to this error?

Regards,
Hendrik

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 08.09.2006




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/



--
Nilesh Vaghela
ElectroMech
Redhat Channel Partner and Training Partner
74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.
www.electromech.info

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 08.09.2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 08.09.2006

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to