Solved

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

Posted on 2002-04-05
7
210 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now