Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Sharing files between debian sarge 3.1 and Windows Xp

Sharing files between debian sarge 3.1 and Windows Xp 10 years 11 months ago #12522

  • Lindows
  • Lindows's Avatar
  • Offline
  • Senior Member
  • Posts: 246
  • Karma: 0
Hey Guys,

Does anyone know how i can share files between these two operating systems. I tried using the connect to server command but it does go through.

Lindows
The administrator has disabled public write access.

Re: Sharing files between debian sarge 3.1 and Windows Xp 10 years 11 months ago #12526

  • Unforgiven
  • Unforgiven's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Karma: 0
I think you're looking for Samba. I've only a pedstrian knowledge of it, but it's not too difficult to access a windows share with linux using that, and I'm sure you can do the opposite as well, although I never did bother with it too much.
If there's one thing I hate, it's everything.
The administrator has disabled public write access.

Re: Sharing files between debian sarge 3.1 and Windows Xp 10 years 11 months ago #12541

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Posts: 613
  • Karma: 0
Yes samba is really simple to setup, especially for basic filesharing.

Generally you have to do the following:

- Install samba, either from a package repository through the package system of your distribution, or download it's source code from www.samba.org and compile it according to the included instructions (they should be in a file called README or INSTALL). Recommended is the first option (use apt-get).
- Create the configuration file, usually at /etc/samba/smb.conf or similar. Inside the same directory, a sample config file should be provided. There are also detailed instructions and descriptions of all the directives at the official documentation page
- Create and enable the user accounts that will have access to your shares. I.e
[code:1]# smbpasswd -a lindows
password:
# smbpasswd -e lindows[/code:1]
- Run samba! Through a control script that should be installed in /etc/init.d i.e you would execute [code:1]# /etc/init.d/samba start[/code:1]
- All set, you should be able to access the shares by logging in from any windows pc of the network.

To make available shares of windows systems to linux, you can either use the smbclient or some interface for it, i.e in KDE's konqueror (provided it has compiled-in support), at the address bar define
[code:1]smb://1.2.3.4
or
smb://hostname
[/code:1] You will need to provide the credentials for a valid windows system account. The other way is to use smbmount. This gives more flexibility, since the remote share is mounted just like a local filesystem and no special support is needed for any application to access the files. An example of how you could mount the share:
[code:1]mount -t smbfs -o username=lindows,password //HOST /mnt/test[/code:1]
where HOST it could either be the IP address of a windows host, or it's netbios-advertised hostname.
For in-detail information you should refer to the Samba3 Howto & the manpages available online here .

Finally, there is also a driver for NFS shoved somewhere on the windows CD, with which you could access NFS shares from windows, however I don't think it is very optimized and you should get better performance with samba. Of course if you do not require on-demand access of files (that's filesharing, right?!), good-old FTP offers much better performance on file transfers than anything else! :)
The administrator has disabled public write access.

Thats Great 10 years 10 months ago #12629

  • Lindows
  • Lindows's Avatar
  • Offline
  • Senior Member
  • Posts: 246
  • Karma: 0
Thanks guys for the advice. I really appreicate it.

Lindows
The administrator has disabled public write access.

Re: Sharing files between debian sarge 3.1 and Windows Xp 10 years 9 months ago #13067

  • beexo
  • beexo's Avatar
  • Offline
  • Frequent Member
  • Posts: 78
  • Karma: 0
If you want a graphical interface to configure SAMBA, install and use Webmin. Many distros have it.
The administrator has disabled public write access.
Time to create page: 0.081 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup