Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2002-04-05
7
Medium Priority
?
219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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 300 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.
Suggested Courses

604 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