Solved

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

Posted on 2002-04-05
7
213 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

816 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

8 Experts available now in Live!

Get 1:1 Help Now