LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2003, 08:37 AM   #1
n3wb1e
LQ Newbie
 
Registered: Mar 2003
Location: Slovenia
Distribution: Red Hat X
Posts: 23

Rep: Reputation: 15
samba mounting into NTFS?


Hello

I have litte LAN at home 3 computers.My gateway is on Linux OS ( Red Hat ) I running samba ( smbd....) service, but i dont now how to mount on my NTFS disk in other computer? ( Others computer name is : FAMILY and i have shared all second disk (Other E. So.. how to mount from my Linux box into FAMILYs E:disk?

Thanks
 
Old 03-22-2003, 09:32 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
If you are trying to get your Windows box to use files on your Linux box, the basic process is...
  • Network computers, make sure they can ping eachother.
  • Install Samba Server.
  • Configure smb.conf to allow shares.
  • Add users to smbpasswd file... smbpasswd -a user_name
  • Restart Samba service... service smbd restart
  • In Windows Explorer, browse to the Linux box, or "Map Network Drive".

If you are trying to get your Linux box to use files on your Windows box, the basic process is...
  • Network computers, make sure they can ping eachother.
  • Install Samba Client.
  • Create a mount point... mkdir /mnt/windows
  • Change permissions on mount point... chmod 0777 /mnt/windows
  • List shares on Windows box... smbclient -L //windows_IP
  • Try mounting a share as root... mount -t smbfs //windows_IP/share_name /mnt/windows
  • Edit /etc/fstab to allow users to mount/unmount the Windows share...
    Code:
    //windows_IP/share_name     /mnt/windows     smbfs    noauto,gid=users,fmask=0664,dmask=0775,iocharset=iso8859-15 0 0
  • It can then be mounted by... mount /mnt/windows
  • And unmounted by... umount /mnt/windows

You can use windows_name rather than windows_IP if you add an entry to your /etc/hosts to point to the Windows computer.

Check the Linux Documentation Project to find a How-To for more info.

You can also get LinNeighborhood to make mounting Windows shares on the Linux box a heckuva lot easier.
 
Old 03-23-2003, 06:42 AM   #3
n3wb1e
LQ Newbie
 
Registered: Mar 2003
Location: Slovenia
Distribution: Red Hat X
Posts: 23

Original Poster
Rep: Reputation: 15
ranger_nemo: Thank you very much!

It works ofcourse. i understand now what is the point of mounting

Thx , bye
 
Old 03-24-2003, 05:27 AM   #4
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Rep: Reputation: 30
can you post your smb.conf file ..
please... any of you?
i cant config my smb.conf properly..
i dont know which to be configure and set..
please....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ntfs Mounting sri_hassan Fedora - Installation 2 11-24-2005 02:16 AM
Samba > Trouble mounting remote NTFS share Harlin Linux - Software 6 06-20-2005 07:07 PM
NTFS mounting mooler Linux - Networking 3 10-28-2003 08:52 AM
Mounting NTFS. dolvmin Linux - Software 4 08-03-2003 03:04 PM
mounting ntfs starbreaker Slackware 3 06-02-2002 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration