Re: Back up a Windows box w/o Samba?

2004-05-19 Thread Silvan
On Monday 17 May 2004 06:49 am, Jens Simmoleit wrote:
 She's learning how to use a
  computer for the very first time, and learning Linux from day one.  Kinda
  cool.  :)

 Cool indeed :-) my Mom doesn't even like pc's :-/

Nor does mine.  She has remained one to voice a very low and hostile opinion 
toward these things for years.  I read one of her messages to my son over his 
shoulder, and she told *him* she never had any idea how addictive they would 
be.  She won't ever admit to *me* that she likes it, but at least I'm not 
wasting my time setting this stuff up for her.

It's not going that well at the moment though.  As a test, I suggested that 
she should play with the wrench icon and reconfigure something in her 
environment.  Surprise me.  So her idea of surprising me was to try to 
install a screensaver from off the web somewhere.  For Windows, of course.

That went very badly.  Ended up with her crying, literally, and snuffling 
things like So I can't do what the other 97% of the world can do?

I guess she has a point.  For web browsing, even with Crossover Office, almost 
everything she wants to look at doesn't work.  Neither do the Lord of the 
Rings Windows themes and whatnot she wants to install.

I might yet have to buy her a copy of Windows.  :(

 Whow, wait a second here. I think nothing is easier then to setup a guest
 share? Fire up your webmin, mkdir a folder and share it as GUEST ONLY and
 READ/WRITABLE and you're okay? Why care for users and security-stuff, if
 this is your home net and there are only two user who trust each other...?

 Well you can shoot birds with canons. but. ;oP

Webmin is easier than SWAT?  I don't have webmin installed.

 If you want help with that, write me an email, no problem if you don't
 want help with that read on *laugh*

How about Samba for people who just want the thing to work without having to 
learn anything about Samba?  :)

If I could share a Windows printer, that would save me some money.  Dad has a 
fancy color laser.  CUPS supports it, but I need to run it as either a Samba 
share or a network printer.

In either case, I keep smacking my face into the same brick wall.  The 
all-important URL field.

For Samba, I have no idea what the thing is called.  I come up with something 
like:

smb://printershostname/$RANDOM_STUPID_THINGS_GO_HERE

For the network thing, only the protocol is different.

lpd:printershostname/$RANDOM_STUPID_THINGS_GO_HERE
http:printershostname/$RANDOM_STUPID_THINGS_GO_HERE
ipp:printershostname/$RANDOM_STUPID_THINGS_GO_HERE
socket://printershostname/$RANDOM_STUPID_THINGS_GO_HERE

I screwed with this all last week, and never got anywhere at all.  It's the 
most frustration I've experienced in years.  I HATE being thwarted.

I guess if there's some easy way to do this with Samba, Samba might be the way 
to go after all.  The backup thing can be done a different way from what I 
had already figured out, and it's probably best if I can avoid having to 
install anything unusual on his computer.  He wiped out Cygwin already, even 
though I put it in a directory called 
cygwin-do-not-delete-this-unless-you-want-to-break-your-backups  :(

I'm glad he doesn't have the root password on Mom's box.  ;)

-- 
Michael McIntyre     Silvan [EMAIL PROTECTED]
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Back up a Windows box w/o Samba?

2004-05-19 Thread Jens Simmoleit

 That went very badly.  Ended up with her crying, literally, and snuffling
 things like So I can't do what the other 97% of the world can do?


Well at least you could tell her that the other 97% can get viruses and
worms, ending up in having NO system at all, which might be worth
overthinking. Otherwise you'll end up reconfiguring the M$-stuff all the
time your Mom downloads a virus or clicks a wrong mail ;-P


 I guess she has a point.  For web browsing, even with Crossover
 Office, almost
 everything she wants to look at doesn't work.  Neither do the Lord of the
 Rings Windows themes and whatnot she wants to install.

 I might yet have to buy her a copy of Windows.  :(


Well at least do a dual boot then, if it's unavoidable. If the Wintendo Box
crashes, you still got a rock solid Debian :-)
Why don't you use Mozilla then? Go to the package search and download
mozilla and ssl support and you'll be fine for most sites. Java is out
there, I think Flash also should work, but I can't say for sure.

 Webmin is easier than SWAT?  I don't have webmin installed.


 How about Samba for people who just want the thing to work
 without having to
 learn anything about Samba?  :)


Well, apt-get install webmin and (should be) webmin-samba and give it a try
then. BUT I must say I forgot an even simpler method if you're still
looking for an easy to use solution for your dad. Simply create a new normal
user called backup on your Debian-Box and get a copy of WINscp... install it
on WinME, provide your Dad with the password of the user backup and he can
copy the stuff to /home/backup with the windows feeling he's used to ;-)
he can't mess up anything (only his own backups :-).


 If I could share a Windows printer, that would save me some
 money.  Dad has a
 fancy color laser.  CUPS supports it, but I need to run it as
 either a Samba
 share or a network printer.

 In either case, I keep smacking my face into the same brick wall.  The
 all-important URL field.

Oh, erm, I'm sorry I can't help you with that. You should www.google.com on
the mailing list here, there we're a lot of posts to this kind of topic the
last weeks. Looks really like a pain in the a** I guess you just need
time to work on that. Roughly said, you first need to make sure that
Unix-Printing works, if that works you can build the samba thingie on top
(If I'm wrong here, pls. comment :-)


Greets,
Simmel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Back up a Windows box w/o Samba?

2004-05-19 Thread Ronny Aasen
On Wed, 2004-05-19 at 11:11, Jens Simmoleit wrote:

[snip]

 
 Well, apt-get install webmin and (should be) webmin-samba and give it a try
 then. BUT I must say I forgot an even simpler method if you're still
 looking for an easy to use solution for your dad. Simply create a new normal
 user called backup on your Debian-Box and get a copy of WINscp... install it
 on WinME, provide your Dad with the password of the user backup and he can
 copy the stuff to /home/backup with the windows feeling he's used to ;-)
 he can't mess up anything (only his own backups :-).
 

just a hint to something i have been using.
the cwrsync for windows is a standalone cygwin+rsync for windows. 
you can run rsync server on your debian. 
and a bat script on the windows can run the whole backup

advantages is that you can put the password in a textfile to avoid user
error, and it will backup the changes only so it saves on time and
bandwitdh


 
  If I could share a Windows printer, that would save me some
  money.  Dad has a
  fancy color laser.  CUPS supports it, but I need to run it as
  either a Samba
  share or a network printer.
 
  In either case, I keep smacking my face into the same brick wall.  The
  all-important URL field.

if it has a static ip then i tend to use socket://ip.addr.of.printer



-- 
Ronny Aasen [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Back up a Windows box w/o Samba?

2004-05-17 Thread Jens Simmoleit

She's learning how to use a
 computer for the very first time, and learning Linux from day one.  Kinda
 cool.  :)


Cool indeed :-) my Mom doesn't even like pc's :-/


 The trouble is Samba.  I started setting that up, and it didn't take long
 before I got sick to my stomach.  I know it can be done because
 I've done it
 before, but it just sucks.  Everything about networking with Windows is
 retarded.


Whow, wait a second here. I think nothing is easier then to setup a guest
share? Fire up your webmin, mkdir a folder and share it as GUEST ONLY and
READ/WRITABLE and you're okay? Why care for users and security-stuff, if
this is your home net and there are only two user who trust each other...?

Well you can shoot birds with canons. but. ;oP

If you want help with that, write me an email, no problem if you don't
want help with that read on *laugh*

There is another thing which will work, that's FTP... You could setup an
FTP-Server on sarge and then use ws_ftp or something similar from the
ME-Box, simple. it should also be possible to do a task schedule on the
ME-Box, as ftp is also available as a command in the dos shell.

That should be an opportunity if you don't want to use Samba.. I'm not
quite sure if it's possible to use telnet, AFAIK only W2K and XP are able to
use a telnet server as a service, so that won't work for you at all.

Ah, coming back to samba another thing comes up to my mind. You could also
try to use the smbCLIENT stuff only! That means you connect to a share on
the MX-Box and copy it over from the sarge side, should also work. So you
don't have to care about setting up a smb-server. Would that be an option
for you?


Hope that these are worth investigating for you :-)
Simmel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Back up a Windows box w/o Samba?

2004-05-16 Thread John L Fjellstad
Jonathan Melhuish [EMAIL PROTECTED] writes:

 Dircha's solution is probably going to be a lot easier for 10Mb of
 files, but if the amount to backup starts to grow, or you'd like to back
 up in both directions, setting up something like Rsync is going to pay off.

How do you sync in both directions using rsync?  I've been trying to
find the options, but seems it can only be one way.

-- 
John L. Fjellstad
web: http://www.fjellstad.org/  Quis custodiet ipsos custodes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Back up a Windows box w/o Samba?

2004-05-16 Thread Stephen Patterson
On Sat, 15 May 2004 07:50:07 +0200, dircha wrote:

 3a. Put .bat script on (A) to zip files, prompt for password, and 
 transfer files with command-line scp from PuTTY.

Or you could set up passphrase-less ssh keys for a 'click-and-go' type
solution.



-- 
Stephen Patterson http://patter.mine.nu/
[EMAIL PROTECTED]  remove SPAM to reply
Linux Counter No: 142831 GPG Public key: 252B8B37
Caution: breathing may be hazardous to your health.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Back up a Windows box w/o Samba?

2004-05-15 Thread Jonathan Melhuish
Silvan wrote:
I'm thinking a (Cygwin) bash script on the Windows box to rsync (or something) 
his files.  It needs to be able to grab everything.  I haven't thought it all 
the way through, and I'm looking for clever ideas.
 

Dircha's solution is probably going to be a lot easier for 10Mb of
files, but if the amount to backup starts to grow, or you'd like to back
up in both directions, setting up something like Rsync is going to pay off.
In that vein, you might like to check out Unison, which claims to run on
both Windows and Unix:
http://www.cis.upenn.edu/~bcpierce/unison/
Let us know how you get on, I might be interested in setting up a
similar system myself.
Cheers,
Jon

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Back up a Windows box w/o Samba?

2004-05-15 Thread Tim Goodaire
Or, you could look into Bacula (www.bacula.org). It's a simple backup 
system that has GNU/Linux and Windows clients. There's a Debian package 
for it too. :)

Tim
Jonathan Melhuish wrote:
Silvan wrote:
I'm thinking a (Cygwin) bash script on the Windows box to rsync (or 
something) his files.  It needs to be able to grab everything.  I 
haven't thought it all the way through, and I'm looking for clever 
ideas.
 

Dircha's solution is probably going to be a lot easier for 10Mb of
files, but if the amount to backup starts to grow, or you'd like to back
up in both directions, setting up something like Rsync is going to pay 
off.

In that vein, you might like to check out Unison, which claims to run on
both Windows and Unix:
http://www.cis.upenn.edu/~bcpierce/unison/
Let us know how you get on, I might be interested in setting up a
similar system myself.
Cheers,
Jon


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Back up a Windows box w/o Samba?

2004-05-14 Thread dircha
Silvan wrote:
Here's the deal.  Dad has two boxes.  His computer, a WinME box, and Mom's new 
computer, which is running Debian Sarge.  She's learning how to use a 
computer for the very first time, and learning Linux from day one.  Kinda 
cool.  :)

He wants to back up about 10 MB of stuff to her computer periodically.  

The trouble is Samba.  I started setting that up, and it didn't take long 
before I got sick to my stomach.  I know it can be done because I've done it 
before, but it just sucks.  Everything about networking with Windows is 
retarded.

Basically anything I could run on Cygwin and then wrap up in such a fashion 
that Dad can click on and icon and have the process happen by magic.  Better 
still if I can get Cygwin to mail me (locally, or via SMTP) to let me know 
how it's going.
OK: user-initiated transfer of files from (A) a WinME machine to (B) a 
Debian Sarge machine.

Assuming they are both on the same local network, you don't have to 
worry about saving bandwidth. And 10MB is not much. So unless you know 
of a standard free rsync for Windows, just use the PuTTY package. Don't 
bother with cygwin.

1. Install ssh daemon on (B).
2 Install PuTTY on (A).
3. Choose (3a) or (3b).
3a. Put .bat script on (A) to zip files, prompt for password, and 
transfer files with command-line scp from PuTTY.
3b. Generate SSH keys. Put .bat script on (A) to zip files, and transfer 
files with command-line scp from PuTTY.
4. Make shortcut on (A) to .bat script.

Bam!
dircha
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]