Solved

Want to share files over a network between linux and windows xp?

Posted on 2002-04-05
7
214 Views
Last Modified: 2010-04-20
How can I access my windows shared folders accross my network, on my linux box?

How can I Access my linux box on my windows machine?

Help!!!
0
Comment
Question by:chrishughes
7 Comments
 
LVL 4

Expert Comment

by:MFCRich
ID: 6920716
Samba (www.samba.org)--- this comes with most distros these days. Configuration can be a PITA but once its running it is very reliable.
0
 
LVL 2

Expert Comment

by:LeeMiller
ID: 6921698
if it is installed try this as root

smbmount //windowsserver/shsre /mountpointonlinux -o username=user

it will prompt you for a password (this is all assuming its installed and you werent aware of samba)
0
 

Author Comment

by:chrishughes
ID: 6921846
Right! I have worked out how to do that (I must have had Samba installed), and I can mount a shared folder.

a) Can I add the smbmount statement to a file so that it mounts whenbever the machine is started?

b) How can I see the linux machine from my windows network neigbourhood..??

Thanx
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 4

Expert Comment

by:MFCRich
ID: 6925251
a) The place to do this is '/etc/init.d/rc.local' on a RedHat machine. This file is executed as the last part of booting up.

b) Configure and run Samba at startup. On my Redhat machine Samba is called the 'smb' service.
0
 
LVL 2

Expert Comment

by:LeeMiller
ID: 6925264
from a browser window open localhost:901.
This is a web based SAMBA configuration app.
From there you can set shares on your linux machine that can be seen and accessed from NT.

0
 
LVL 2

Expert Comment

by:maZZoo
ID: 6926570
MFCRich 's comment is maybe feasible, but usually you add the mount to /etc/fstab:
//windowsserver/shsre /mountpointonlinux smbfs user,noauto

this will ask a authorized user for a password when mounting, but you can also directly hack the password into /etc/fstab with
username=itsme,password=sEEcret

to see your linux share from windows is a different story, go through /etc/smb.conf, its usually nicely documented.

m
0
 
LVL 3

Accepted Solution

by:
SteveWaite earned 100 total points
ID: 7622201
if you still haven't got your shared directory showing this should get something going:

edit /etc/samba/smb.conf and set:
  security = share

and add something like:

# A publicly accessible directory
[shared]
  comment = shared stuff
  path = /tmp/shared
  read only = no
  public = yes

and you have a directory /tmp/shared with files set to rw

also:
 /etc/inittab called by init is like autoexec.bat when the system starts

regards
steve
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question