Re: how to send files from a pc to my home server and viceversa

2007-03-04 Thread Chris Bannister
On Wed, Feb 28, 2007 at 09:27:12AM -0500, Roberto C. Sanchez wrote:
 On Wed, Feb 28, 2007 at 05:55:47AM -0800, Jordi wrote:
  Hello
  
  Yesterday I was able to run my server. I have 2 computers at home, one
  is server and the other is not. Both are connected to router. One uses
  Xubuntu and the other Windows XP.
  I know Xubuntu is not Debian but it is based on it. Few people in
  Xubuntu know how to do this, I asked, no solution was found to me.
  
  What do you recommend me to send files between them? I mean, send
  files from the server to the other to save backups, and from the XP to
  the server to send files for anything.
  
 Use sftp or scp.  If you need a GUI, then gftp is a good one on Linux.
 I am not sure about windows.  A good windows ssh/sftp client is PuTTY.

I have heard that lftp is worth a look. 

-- 
Chris.
==
Don't forget to check that your /etc/apt/sources.lst entries point to 
etch and not testing, otherwise you may end up with a broken system once
etch goes stable.


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



Re: how to send files from a pc to my home server and viceversa

2007-03-01 Thread Paul Scott

Andrei Popescu wrote:

On Wed, 28 Feb 2007 09:27:12 -0500
Roberto C. Sanchez [EMAIL PROTECTED] wrote:

  

On Wed, Feb 28, 2007 at 05:55:47AM -0800, Jordi wrote:


Hello

Yesterday I was able to run my server. I have 2 computers at home,
one is server and the other is not. Both are connected to router.
One uses Xubuntu and the other Windows XP.
I know Xubuntu is not Debian but it is based on it. Few people in
Xubuntu know how to do this, I asked, no solution was found to me.

What do you recommend me to send files between them? I mean, send
files from the server to the other to save backups, and from the XP
to the server to send files for anything.

  

Use sftp or scp.  If you need a GUI, then gftp is a good one on Linux.
I am not sure about windows.  A good windows ssh/sftp client is PuTTY.



FileZilla should to the trick for Windows.
  

As well as for Debian.

Paul Scott


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




Re: how to send files from a pc to my home server and viceversa

2007-03-01 Thread Jordi
Hi Greg


 Further question: What model of router do you have?

My router is Thomson Speedtouch 530v6, has 2 ports: ethernet and usb.
I asked for 2 ethernet ports but my isp sent me this. They took 85
days to do this, so I better buy one myself next time.

Jordi


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



Re: how to send files from a pc to my home server and viceversa

2007-03-01 Thread Jordi
Hi again Greg

  1) Must I disable this shared folder?
  2) Must I remove samba from my server?
  3) Should I better use SCP allways?
  4) Or can I leave that shared folder in the server and just use for
  non-vital,trivial files?

 1) no
 2) no
 3) no
 4) yes

Do you all people agree with this? I mean, do as Greg says and use the
shared folder just for nonsenses or trivial documents, and use SCP for
transmission of backups and important data? Or can samba and that
folder be a danger anyway?
And... can someone spying through internet in my XP pc enter beyond
that shared folder in another one in my linux system?

THanks Greg and you all

Jordi


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



Re: how to send files from a pc to my home server and viceversa

2007-03-01 Thread Greg Folkert
On Thu, 2007-03-01 at 04:04 -0800, Jordi wrote:
 Hi again Greg
 
   1) Must I disable this shared folder?
   2) Must I remove samba from my server?
   3) Should I better use SCP allways?
   4) Or can I leave that shared folder in the server and just use for
   non-vital,trivial files?
 
  1) no
  2) no
  3) no
  4) yes

I'd change my answers to all yes until you get a proper firewall.

I am sorry, but my answers were wrong. Based on the answer of your
router ... which it is not. It is merely a non-protected bridge. 

The product page explains a lot to me:
http://www.speedtouch.com/prod530.htm

 Do you all people agree with this? I mean, do as Greg says and use the
 shared folder just for nonsenses or trivial documents, and use SCP for
 transmission of backups and important data? Or can samba and that
 folder be a danger anyway?
 And... can someone spying through internet in my XP pc enter beyond
 that shared folder in another one in my linux system?

Ok, well since you answered the question about the router... you do not
have one.

You have an ADSL Modem with two ports. A USB and a 10/100 Ethernet port.
I'd have to bet you also are running a PPPoE connection... which is why
you've had such a time understanding the networking end of things.

Typically, a much better setup would be for you to get an inexpensive
product that acts as a firewall and has a 4-8 port switch built into it.

I currently use a D-Link DI-804HV, but anything reasonably compared to
it... would be fine. I purchased mine from NewEgg here $49.99:
http://www.newegg.com/Product/Product.asp?Item=N82E16833127030

That would be a much more sensible solution for you to use. I use one
and they are very easy to setup. Infact setup is easiest from a Windows
machine, using the software they send with it.

It is really flexible and capable of doing many things many others won't
do.

Once you get one, it'll make you understanding of things much better and
easier and will make it so you can share stuff between you Linux and
Windows machine much easier.

If you want to use you Linux machine as a firewall, you will also have
to get a second NIC for it and then plug you Windows machine into it.
The it will act as your router and firewall.

Personally, if you Windows machine does not have a NIC already, I'd buy
one at NewEgg as well $3.99:
http://www.newegg.com/Product/Product.asp?Item=N82E16833166004

I've had good luck with pretty much any of the Realtek based NICs (which
this is)

Once you get both machines properly attached to a something resembling a
switch (which the DI-804HV is) then you should be much happier.

Remember the Thomson is just an ADSL bridge, giving you unprotected
straight raw Internet... Unless you really know what you are doing...
and can manage your Windows machine properly this is a really BIG nono
connecting it straight to your ADSL Modem.
-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


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



Re: how to send files from a pc to my home server and viceversa

2007-03-01 Thread Jordi
Thanks Greg,

I am feeling really confused now.

It is supposed this is a router, and has a firewall inside.
I would need to read more about all this.

 I'd change my answers to all yes until you get a proper firewall.

In that case, I will disable the shared folder and use scp.

 I am sorry, but my answers were wrong. Based on the answer of your
 router ... which it is not. It is merely a non-protected bridge.
 Ok, well since you answered the question about the router... you do not
 have one.

What is the difference between router and non-protected bridge?
I see most pages refer to it as simply speedtouch 530v6 but all
sites and companies and pc shops in Spain call it router adsl 2+,
and it is how it was called in the case the sent me.
And I can forward ports (I've done it) and can activate a firewall
(did it too) from its menu.

 You have an ADSL Modem with two ports. A USB and a 10/100 Ethernet port.

I hear most people around me using all those modem/router as
synonims.

It is not my fault, I really try to understand but in the pc shops
they seem not to know really the difference.

I know there are many differences. But I will thank if anyone can give
me a simple explanation on this.
I saw this searching: (text from a forum)
---
HUB: plug some computers into this, and all traffic is shared.  In
other words, if computer 1 talks to computer 3, computer 2 will also
hear what computer 1 said.  Usually computer 2 just discards traffic
not meant for it, but it does tend to burden your network.

SWITCH: if computer 1 talks to computer 3, computer 2 hears nothing.
On high-traffic networks, this means downloads  uploads go a little
faster for everyone.  On low-traffic networks (home networks) users
typically don't notice a difference.

ROUTER: plug some computers into this, and it'll use port forwarding,
IP masquerading, and NAT to allow your computers to share an IP
address
and connect to the internet.  Cheap routers use HUB technology, good
routers use SWITCH technology.

A bridge is a box to regenerate signals on a coax in coax-networks.
As a fact every 500 meters, a new bridge needed to be placed in order
to maintain a good signal.

---
The most similar to mine is router, as it uses port forwading, and pcs
share the ip to enter internet. Maybe the quality of my router is not
like a router-switch, and mostly a router with hubs, so is virtually
insecure. Do you mean this?

And in speedtouch 530v6 FAQ it says:
---
Can I configure my router as a bridged ethernet connection?

* Yes this is possible. Click on SpeedTouch - setup at the bottom
of the SpeedTouch Web interface. This will launch the embedded setup
wizard. You can choose for setting up your router as a bridge there
during setup in the first screen.
--
So seems they call it router that can be configured as bridge or
not.

It seems not only me, also the people in Thomson confuse all those
concepts.

 Typically, a much better setup would be for you to get an inexpensive
 product that acts as a firewall and has a 4-8 port switch built into it.

If this has not a firewall... why it says it has and what do I have
activated???

Well, to resume:
- what is a router and what is a bridge?
- what is that product that sometimes sells as a router-switch?
- is mine a router or not?? (lol)

And if someone would recommend me some good router, this is what I
want:
- I have 3 pcs: 2 desktops ( one is server Xubuntu, and the other a
desktop Windows XP), and a WindowsXP laptop with wifi.
- Thus, I would prefer to have at least: 2 ethernet connections (for
the 2 desktop pcs) and 1 wifi (for the laptop)
- I would prefer that traffic that must go to the server is not known
by any pc (switch?)
- I would like to be able to use internet in each pc regardless of if
I have the others turned off (even the server)
- I have static public ip and want to use it.
- the server is a WEB server for internet, not a server for my private
LAN. And runs Xubuntu, based on Debian (Ubuntu)
- I don't like usb

I saw some models in my shop:
 ROUTER WIRELESS ASUS WL-500G PREMIUM (95 euros -- ouch!)
 ROUTER WIRELESS CISCO-LINKSYS WRT54GS  + 4 ETHERNET (82 euros --mmm)
 ROUTER WIRELESS CONCEPTRONIC  + ACCESS POINT 54MB (46 euros -cheap)

I see too some interesting ones:
* ROUTER WIRELESS SMC WBR14T-G  + ACCESS POINT 108MBPS (55 euros)
(what do they mean with 'access point'?? they mean an usb wifi
adaptor?)

http://www.smc.com/index.cfm?event=viewProductlocaleCode=EN_USAcid=5scid=pid=1442

*ROUTER WIRELESS SMC WBR14T-G2  54MBPS (48 euros)

http://www.smc.com/index.cfm?event=viewProductlocaleCode=EN_USApid=1535

These they say are router-switch with Firewall with SPI (what is
this?), and prepared for VPN (whatever it is). They have 4 ethernet
ports and wifi support.

I would not like to buy a bad router as it seems I have with the
sp530v6.

Thanks for your patience

Jordi


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



Re: how to send files from a pc to my home server and viceversa

2007-03-01 Thread Michael M.
On Thu, 2007-03-01 at 08:26 -0800, Jordi wrote:

 I hear most people around me using all those modem/router as
 synonims.

That's probably because sometime they are both.  My modem (the one
supplied to me by my ISP) is also a router.  It's an Actiontec GT701-WG,
DSL Modem with Wireless Gateway.  Sometimes an ISP sends you a modem
that is just a modem and nothing more.

 It is not my fault, I really try to understand but in the pc shops
 they seem not to know really the difference.
 
 I know there are many differences. But I will thank if anyone can give
 me a simple explanation on this.
 I saw this searching: (text from a forum)
 ---
 HUB: plug some computers into this, and all traffic is shared.  In
 other words, if computer 1 talks to computer 3, computer 2 will also
 hear what computer 1 said.  Usually computer 2 just discards traffic
 not meant for it, but it does tend to burden your network.
 
 SWITCH: if computer 1 talks to computer 3, computer 2 hears nothing.
 On high-traffic networks, this means downloads  uploads go a little
 faster for everyone.  On low-traffic networks (home networks) users
 typically don't notice a difference.

I bought one of these because my modem/router has has only one ethernet
port.  I wanted to connect two computers to the internet, and I didn't
want to use wireless and I didn't want to use one of my machines as a
gateway for the other.  The switch sits between my modem/router and each
computer -- that is, the ethernet for each computer is connected to the
switch, and the ethernet for the switch is connected to the
modem/router.  I could have bought a hub instead of a switch, but
there's very little price difference and a switch seemed like the better
buy.  In this way, each computer can reach the internet independently of
the other through my ISP assigned IP address, and each computer has it's
own internal IP address (192.168.0.2 and 192.168.0.3), so I can transfer
files between them easily. 

 ROUTER: plug some computers into this, and it'll use port forwarding,
 IP masquerading, and NAT to allow your computers to share an IP
 address
 and connect to the internet.  Cheap routers use HUB technology, good
 routers use SWITCH technology.
 

If my modem had been just a modem and not a modem/router, I would have
bought a router instead of a switch, and done the same thing I'm doing
now.

 A bridge is a box to regenerate signals on a coax in coax-networks.
 As a fact every 500 meters, a new bridge needed to be placed in order
 to maintain a good signal.

I'm not sure why you would need one of these?

 The most similar to mine is router, as it uses port forwading, and pcs
 share the ip to enter internet. Maybe the quality of my router is not
 like a router-switch, and mostly a router with hubs, so is virtually
 insecure. Do you mean this?
 
 And in speedtouch 530v6 FAQ it says:
 ---
 Can I configure my router as a bridged ethernet connection?
 
 * Yes this is possible. Click on SpeedTouch - setup at the bottom
 of the SpeedTouch Web interface. This will launch the embedded setup
 wizard. You can choose for setting up your router as a bridge there
 during setup in the first screen.
 --
 So seems they call it router that can be configured as bridge or
 not.
 
 It seems not only me, also the people in Thomson confuse all those
 concepts.

I think maybe you are confusing a bridge with bridged mode.  Many
(most? all?) routers can be configured to operate in bridged mode if
you want or need that.  Otherwise, they operate in router mode.  In
bridged mode, you would need a PPPoE (or PPPoA) client on your machine
to login in order to connect.  In router mode, your router is the bridge
between you and your ISP.


-- 
Michael M. ++ Portland, OR ++ USA
No live organism can continue for long to exist sanely under conditions
of absolute reality; even larks and katydids are supposed, by some, to
dream. --S. Jackson


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



Re: how to send files from a pc to my home server and viceversa

2007-03-01 Thread Jordi
Hello Michael

I liked the description of your network, was very clear.
So those called router-switch maybe be a router that comes with a
switch inside to do what you've done.

Jordi

On 1 mar, 19:10, Michael M. [EMAIL PROTECTED] wrote:
 On Thu, 2007-03-01 at 08:26 -0800, Jordi wrote:
  I hear most people around me using all those modem/router as
  synonims.

 That's probably because sometime they are both.  My modem (the one
 supplied to me by my ISP) is also a router.  It's an Actiontec GT701-WG,
 DSL Modem with Wireless Gateway.  Sometimes an ISP sends you a modem
 that is just a modem and nothing more.



  It is not my fault, I really try to understand but in the pc shops
  they seem not to know really the difference.

  I know there are many differences. But I will thank if anyone can give
  me a simple explanation on this.
  I saw this searching: (text from a forum)
  ---
  HUB: plug some computers into this, and all traffic is shared.  In
  other words, if computer 1 talks to computer 3, computer 2 will also
  hear what computer 1 said.  Usually computer 2 just discards traffic
  not meant for it, but it does tend to burden your network.

  SWITCH: if computer 1 talks to computer 3, computer 2 hears nothing.
  On high-traffic networks, this means downloads  uploads go a little
  faster for everyone.  On low-traffic networks (home networks) users
  typically don't notice a difference.

 I bought one of these because my modem/router has has only one ethernet
 port.  I wanted to connect two computers to the internet, and I didn't
 want to use wireless and I didn't want to use one of my machines as a
 gateway for the other.  The switch sits between my modem/router and each
 computer -- that is, the ethernet for each computer is connected to the
 switch, and the ethernet for the switch is connected to the
 modem/router.  I could have bought a hub instead of a switch, but
 there's very little price difference and a switch seemed like the better
 buy.  In this way, each computer can reach the internet independently of
 the other through my ISP assigned IP address, and each computer has it's
 own internal IP address (192.168.0.2 and 192.168.0.3), so I can transfer
 files between them easily.

  ROUTER: plug some computers into this, and it'll use port forwarding,
  IP masquerading, and NAT to allow your computers to share an IP
  address
  and connect to the internet.  Cheap routers use HUB technology, good
  routers use SWITCH technology.

 If my modem had been just a modem and not a modem/router, I would have
 bought a router instead of a switch, and done the same thing I'm doing
 now.

  A bridge is a box to regenerate signals on a coax in coax-networks.
  As a fact every 500 meters, a new bridge needed to be placed in order
  to maintain a good signal.

 I'm not sure why you would need one of these?



  The most similar to mine is router, as it uses port forwading, and pcs
  share the ip to enter internet. Maybe the quality of my router is not
  like a router-switch, and mostly a router with hubs, so is virtually
  insecure. Do you mean this?

  And in speedtouch 530v6 FAQ it says:
  ---
  Can I configure my router as a bridged ethernet connection?

  * Yes this is possible. Click on SpeedTouch - setup at the bottom
  of the SpeedTouch Web interface. This will launch the embedded setup
  wizard. You can choose for setting up your router as a bridge there
  during setup in the first screen.
  --
  So seems they call it router that can be configured as bridge or
  not.

  It seems not only me, also the people in Thomson confuse all those
  concepts.

 I think maybe you are confusing a bridge with bridged mode.  Many
 (most? all?) routers can be configured to operate in bridged mode if
 you want or need that.  Otherwise, they operate in router mode.  In
 bridged mode, you would need a PPPoE (or PPPoA) client on your machine
 to login in order to connect.  In router mode, your router is the bridge
 between you and your ISP.

 --
 Michael M. ++ Portland, OR ++ USA
 No live organism can continue for long to exist sanely under conditions
 of absolute reality; even larks and katydids are supposed, by some, to
 dream. --S. Jackson

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


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



Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Roberto C. Sanchez
On Wed, Feb 28, 2007 at 05:55:47AM -0800, Jordi wrote:
 Hello
 
 Yesterday I was able to run my server. I have 2 computers at home, one
 is server and the other is not. Both are connected to router. One uses
 Xubuntu and the other Windows XP.
 I know Xubuntu is not Debian but it is based on it. Few people in
 Xubuntu know how to do this, I asked, no solution was found to me.
 
 What do you recommend me to send files between them? I mean, send
 files from the server to the other to save backups, and from the XP to
 the server to send files for anything.
 
Use sftp or scp.  If you need a GUI, then gftp is a good one on Linux.
I am not sure about windows.  A good windows ssh/sftp client is PuTTY.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Salvatore Iovene
On Wed, Feb 28, 2007 at 05:55:47AM -0800, Jordi wrote:
 Hello
 
 Yesterday I was able to run my server. I have 2 computers at home, one
 is server and the other is not. Both are connected to router. One uses
 Xubuntu and the other Windows XP.
 I know Xubuntu is not Debian but it is based on it. Few people in
 Xubuntu know how to do this, I asked, no solution was found to me.
 
 What do you recommend me to send files between them? I mean, send
 files from the server to the other to save backups, and from the XP to
 the server to send files for anything.
 
 To make a ftp server? Or what?

Or SCP, or Samba.

-- 
Salvatore Iovene
http://www.iovene.com


signature.asc
Description: Digital signature


Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Liam O'Toole
On Wed, 28 Feb 2007 09:27:12 -0500
Roberto C. Sanchez [EMAIL PROTECTED] wrote:

 On Wed, Feb 28, 2007 at 05:55:47AM -0800, Jordi wrote:
  Hello
  
  Yesterday I was able to run my server. I have 2 computers at home,
  one is server and the other is not. Both are connected to router.
  One uses Xubuntu and the other Windows XP.
  I know Xubuntu is not Debian but it is based on it. Few people in
  Xubuntu know how to do this, I asked, no solution was found to me.
  
  What do you recommend me to send files between them? I mean, send
  files from the server to the other to save backups, and from the XP
  to the server to send files for anything.
  
 Use sftp or scp.  If you need a GUI, then gftp is a good one on Linux.
 I am not sure about windows.  A good windows ssh/sftp client is PuTTY.
 
 Regards,
 
 -Roberto
 

I recommend WinSCP as a convenient drag 'n' drop GUI for Windows.

To the OP: make sure the SSH daemon is running on the server.

-- 

Liam


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



Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread borondil
On Wed, Feb 28, 2007 at 09:27:12AM -0500, Roberto C. Sanchez wrote:
 On Wed, Feb 28, 2007 at 05:55:47AM -0800, Jordi wrote:
  Hello
  
  Yesterday I was able to run my server. I have 2 computers at home, one
  is server and the other is not. Both are connected to router. One uses
  Xubuntu and the other Windows XP.
  I know Xubuntu is not Debian but it is based on it. Few people in
  Xubuntu know how to do this, I asked, no solution was found to me.
  
  What do you recommend me to send files between them? I mean, send
  files from the server to the other to save backups, and from the XP to
  the server to send files for anything.
  
 Use sftp or scp.  If you need a GUI, then gftp is a good one on Linux.
 I am not sure about windows.  A good windows ssh/sftp client is PuTTY.

On windows I use WinSCP as a gui, it works fine.

Jirka Novosad


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



Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Andrew Sackville-West
On Wed, Feb 28, 2007 at 05:55:47AM -0800, Jordi wrote:
 Hello
 
 Yesterday I was able to run my server. I have 2 computers at home, one
 is server and the other is not. Both are connected to router. One uses
 Xubuntu and the other Windows XP.
 I know Xubuntu is not Debian but it is based on it. Few people in
 Xubuntu know how to do this, I asked, no solution was found to me.
 
 What do you recommend me to send files between them? I mean, send
 files from the server to the other to save backups, and from the XP to
 the server to send files for anything.
 
 To make a ftp server? Or what?
 Thanks again
 

It really depends on what you're trying to do. Try asking us one
specific situation and we'll give you a couple really good ways to do
that.  That said, scp as others have recommended is a good way to do
one off stuff. 

A


signature.asc
Description: Digital signature


Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Joe

Jordi wrote:

Hello

Yesterday I was able to run my server. I have 2 computers at home, one
is server and the other is not. Both are connected to router. One uses
Xubuntu and the other Windows XP.
I know Xubuntu is not Debian but it is based on it. Few people in
Xubuntu know how to do this, I asked, no solution was found to me.

What do you recommend me to send files between them? I mean, send
files from the server to the other to save backups, and from the XP to
the server to send files for anything.

To make a ftp server? Or what?
Thanks again



The most convenient way is to use the Windows file-share protocol
SMB. You need to set up XP to share files. I can't remember how
to do that, but the network wizard should have it somewhere.

Windows wants a workgroup name, pick anything you like up to 8
characters. It should work for longer names, but I would not
like to guarantee that. If you are running the built-in firewall,
you may need to adjust it to allow Windows File and Print Sharing.

Almost certainly reboot. Right click on a suitable folder and
enable sharing, despite the warning. Tell it you understand what
that means and do it anyway. Give it a suitable name, which is
what other computers will see. They will not see the actual folder
name. Remember to enable writing, shares are read-only by default.

Look in My Network Places (ugh) and keep expanding things. You
should eventually see your computer and the folder you just shared.
In Windows Explorer, that folder icon should have a hand (that's
what it is) under it.

Once you've got that far, Ubuntu should have various tools to access
it. I don't use Ubuntu, so I can't help too much, but Konqueror can
see Windows shares (URL is smb://server/sharename). It is
possible to drag and drop in a similar way to Windows Explorer.

Look for various Ubuntu tools with 'network' in the name, one or
more should work with Windows networking, and expect to tell it
the workgroup name you chose for the Windows machine. Better still,
ask on the Ubuntu forum.

If you look up the fstab man page, and study the file /etc/fstab,
you can work out how to mount the share at boot time. The share
will then appear as a Linux directory in the Ubuntu filesystem,
and any file moving or copying technique should work. Here is a
line from my Debian Sid workstation, referring to a share on the
server debian: (it's all one line in /etc/fstab)

//debian/Joe  /mnt/debserve/Joe  smbfs  user,guest,dmask=777,
  fmask=777,rw

The directory /mnt/debserve/Joe must be created on the Linux machine
first.

Yes, it's a Windows share that actually lives on a Debian machine
but behaves as a real Windows share would. More or less. Permissions
can be a bit tricky. There may well be a tool to share directories on
the Ubuntu machine so that the XP machine can see them. If not, there's
quite a lot more involved doing it that way round. Check to see if the
smbd and nmbd daemons are running on Ubuntu. If so, there's probably
a fairly easy way, they are the services which make Linux directories
available as Windows shares.


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




Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Matthew K Poer
On Wed, 2007-02-28 at 05:55 -0800, Jordi wrote:
 Hello
 
 Yesterday I was able to run my server. I have 2 computers at home, one
 is server and the other is not. Both are connected to router. One uses
 Xubuntu and the other Windows XP.
 I know Xubuntu is not Debian but it is based on it. Few people in
 Xubuntu know how to do this, I asked, no solution was found to me.
 
 What do you recommend me to send files between them? I mean, send
 files from the server to the other to save backups, and from the XP to
 the server to send files for anything.
 
 To make a ftp server? Or what?
 Thanks again
 
 Jordi
I use FTP or SFTP when I have to share files on my network.

To use FTP, the server should install the server daemon, thusly:
  apt-get install pure-ftpd
It should configure itself adequately

Then, on the Windows computer, install an FTP client. I use FileZilla on
Windows (google 'filezilla').

You'll need to tell Filezilla the IP address of the server on your
network, typically something like 192.168.1.xxx. Log in to the server
with your username/password that you normally use. Once you're in, you
have access to the files and directories that you normally would. You
can download or upload any file you have access to.

-- 
Matthew K Poer


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



Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Greg Folkert
On Wed, 2007-02-28 at 05:55 -0800, Jordi wrote:
 Hello
 
 Yesterday I was able to run my server. I have 2 computers at home, one
 is server and the other is not. Both are connected to router. One uses
 Xubuntu and the other Windows XP.
 I know Xubuntu is not Debian but it is based on it. Few people in
 Xubuntu know how to do this, I asked, no solution was found to me.
 
 What do you recommend me to send files between them? I mean, send
 files from the server to the other to save backups, and from the XP to
 the server to send files for anything.
 
 To make a ftp server? Or what?
 Thanks again

If you are trying to use you xubuntu machine as a file-server for your
windows machine... use Samba.

Find it in synaptic or aptitude.
-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


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



Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Andrei Popescu
On Wed, 28 Feb 2007 09:27:12 -0500
Roberto C. Sanchez [EMAIL PROTECTED] wrote:

 On Wed, Feb 28, 2007 at 05:55:47AM -0800, Jordi wrote:
  Hello
  
  Yesterday I was able to run my server. I have 2 computers at home,
  one is server and the other is not. Both are connected to router.
  One uses Xubuntu and the other Windows XP.
  I know Xubuntu is not Debian but it is based on it. Few people in
  Xubuntu know how to do this, I asked, no solution was found to me.
  
  What do you recommend me to send files between them? I mean, send
  files from the server to the other to save backups, and from the XP
  to the server to send files for anything.
  
 Use sftp or scp.  If you need a GUI, then gftp is a good one on Linux.
 I am not sure about windows.  A good windows ssh/sftp client is PuTTY.

FileZilla should to the trick for Windows.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


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



Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Jordi
Hi again.

It took me some time but finally I did folder sharing between my
server and the windows pc with samba.
This is how I did:

1) I created a working group in XP as Joe said.
2) I rebooted the XP machine
3) I loaded the package list in Synaptic on Xubuntu, that was
outdated.
4) go to the menu Applications/System/shared folders in Xubuntu and
selected the folder I created in my  /home/ to be shared. Xubuntu
installed samba automatically.
5) I set the same working group as in XP. I set permission to examine
the folder, and write inside it.
6) I set a password in the Terminal for my user with:
 sudo smbpasswd -a myuser
7) Rebooted both machines

Now I have a folder that can be seen in XP and I can place files
there, or from Xubuntu, so I can share files and send files from one
to the other.

A question more: I think this is the fastest way now to share. Is this
as secure as SCP ?

If it is, maybe is the best solution for me, as I have access to both
computers via my keyboard-mouse-monitor switch.

And last question:
I used cronjob to make backups of my web and databases. I think I will
add more cronjobs or modify the existing to copy the backups to this
shared folder, or maybe a shell script would be better, executed by
hand. So I can do a copy on cd sometimes with the XP computer and
don't waste the server burning disks.
What do you think of this? Would be secure and good idea?

So long, many thanks.

Jordi


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



Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Roberto C. Sanchez
On Wed, Feb 28, 2007 at 12:16:15PM -0800, Jordi wrote:
 
 Now I have a folder that can be seen in XP and I can place files
 there, or from Xubuntu, so I can share files and send files from one
 to the other.
 
 A question more: I think this is the fastest way now to share. Is this
 as secure as SCP ?
 
No.  This is not at all secure.  No encryption.  If this is all on your
own local network segment, it is probably OK.  Over the public Internet,
this would be terribly bad.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Joe

Jordi wrote:

Hi again.


Now I have a folder that can be seen in XP and I can place files
there, or from Xubuntu, so I can share files and send files from one
to the other.

A question more: I think this is the fastest way now to share. Is this
as secure as SCP ?



No, as Roberto says. There are a number of network services which can
never be made really secure, and are only suitable for use within a
network which is kept secure from outside intrusion. SMB is one of
these, like NFS which is the nearest Unix equivalent. SMB can be made
more secure by permissions and password protection, but should never
be exposed to the Internet. SCP or SFTP are the only real options for
file transfer over the Internet, unless a VPN tunnel is created to
pass SMB or NFS fairly safely.

Always, security and convenience are at opposite ends of a spectrum.
SMB is easy and convenient to use, and has poor security. The latest
Windows version of SMB is much more secure, but even in a Windows
network it is not convenient, and some of the security options are
often disabled in exchange for useful speed. Windows 2003 can use
digital signatures to secure SMB, and split Microsoft Access
applications, among other things, are unusably slow with it enabled.


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




Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Paul Johnson
Jordi wrote:

 Hello
 
 Yesterday I was able to run my server. I have 2 computers at home, one
 is server and the other is not. Both are connected to router. One uses
 Xubuntu and the other Windows XP.
 I know Xubuntu is not Debian but it is based on it. Few people in
 Xubuntu know how to do this, I asked, no solution was found to me.
 
 What do you recommend me to send files between them? I mean, send
 files from the server to the other to save backups, and from the XP to
 the server to send files for anything.
 
 To make a ftp server? Or what?

FTP is obsolete, it sends passwords in plaintext, don't use it.  Install SSH
instead, that will give you both SSH and SFTP.



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



RE: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Julian De Marchi
 
 FTP is obsolete, it sends passwords in plaintext, don't use it.  Install
 SSH
 instead, that will give you both SSH and SFTP.
 

Use WINSCP. That is the easiest way to transfer file from M$ to your server.


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



Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Marty

Jordi wrote:

Hi again.

It took me some time but finally I did folder sharing between my
server and the windows pc with samba.
This is how I did:

1) I created a working group in XP as Joe said.
2) I rebooted the XP machine
3) I loaded the package list in Synaptic on Xubuntu, that was
outdated.
4) go to the menu Applications/System/shared folders in Xubuntu and
selected the folder I created in my  /home/ to be shared. Xubuntu
installed samba automatically.
5) I set the same working group as in XP. I set permission to examine
the folder, and write inside it.
6) I set a password in the Terminal for my user with:
 sudo smbpasswd -a myuser
7) Rebooted both machines

Now I have a folder that can be seen in XP and I can place files
there, or from Xubuntu, so I can share files and send files from one
to the other.

A question more: I think this is the fastest way now to share. Is this
as secure as SCP ?

If it is, maybe is the best solution for me, as I have access to both
computers via my keyboard-mouse-monitor switch.

And last question:
I used cronjob to make backups of my web and databases. I think I will
add more cronjobs or modify the existing to copy the backups to this
shared folder, or maybe a shell script would be better, executed by
hand. So I can do a copy on cd sometimes with the XP computer and
don't waste the server burning disks.
What do you think of this? Would be secure and good idea?

So long, many thanks.

Jordi




I'm not security expert, but if I understand correctly, I think you are taking a 
risk by running SMB on a web server, especially if you are using the server as 
your local router for your ISP connection, and/or routing web traffic through 
your local LAN.  That risk is compounded by XP, which is hard to secure under 
the best of conditions.


It would be safer to run just the http service, with all other serices turned 
off, and isolate the machine in a DMZ using a separate router, or else give 
the web server it's own dedicated internet connection, at least when the machine 
is not being backed up.



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




Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Jordi
Thanks for the replies

Tell me if I don't understand.
I use that shared folder to pass files from one computer to another by
hand. But as they cross the router, they are exposed to internet
without any security.
So:
1) Must I disable this shared folder?
2) Must I remove samba from my server?
3) Should I better use SCP allways?
4) Or can I leave that shared folder in the server and just use for
non-vital,trivial files?

Thanks again. I am learning a lot.

Jordi


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



Re: how to send files from a pc to my home server and viceversa

2007-02-28 Thread Greg Folkert
On Wed, 2007-02-28 at 22:44 -0800, Jordi wrote:
 Thanks for the replies
 
 Tell me if I don't understand.
 I use that shared folder to pass files from one computer to another by
 hand. But as they cross the router, they are exposed to internet
 without any security.
 So:
 1) Must I disable this shared folder?
 2) Must I remove samba from my server?
 3) Should I better use SCP allways?
 4) Or can I leave that shared folder in the server and just use for
 non-vital,trivial files?

Okay, your router most likely has a built-in firewall, which would
classify it as a hardware firewall/router.

1) no
2) no
3) no
4) yes

Further question: What model of router do you have?

Answer that before I can go further.

-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


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