LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-23-2003, 02:53 PM   #1
mattschinkel
LQ Newbie
 
Registered: Aug 2003
Location: Toronto
Posts: 12

Rep: Reputation: 0
Samba Question.


Hey there, I'm new to these forums Looks quite nice (except I hate the url to get here), I would suggest forums.linuxquestions.org as a direct link to these forums.


anyways, I installed Redhat 9.0 on a little box at home, I successfully got Samba running and a directory shared across my home network. Eg, windows can view the linux shared directory via the "My Network Places".

The question is, How may I view a windows shared drive from my linux box?
 
Old 08-23-2003, 03:05 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

You will need to use the mount command. Create a mount point then mount the drive:
mkdir /mnt/mywinbox
mount -t smbfs -o username=USER,password=PASSWORD //winbox/share /mnt/mywinbox
 
Old 08-23-2003, 04:23 PM   #3
PenGPow
Member
 
Registered: Jun 2003
Location: Seychelles
Distribution: RedHat 8.0, Gentoo
Posts: 32

Rep: Reputation: 15
just a side note you could use konquere to get the share name on the windows box
url would be something like :

smb://your-_windows_machine_name

 
Old 08-23-2003, 04:23 PM   #4
PenGPow
Member
 
Registered: Jun 2003
Location: Seychelles
Distribution: RedHat 8.0, Gentoo
Posts: 32

Rep: Reputation: 15
just a side note you could use konquere to get the share name on the windows box
url would be something like :

smb://your_windows_machine_name

 
Old 08-24-2003, 02:15 AM   #5
mattschinkel
LQ Newbie
 
Registered: Aug 2003
Location: Toronto
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks, worked great.
How do I have it automount on bootup?
 
Old 08-24-2003, 06:04 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can either create an entry in /etc/fstab or put the mount command at the end of rc.local

I have see reports of people having problems putting it in /etc/fstab (ie it won't always mount). Plus if you use rc.local you could write a script to see if the other machine is alive before it tries to mount the share.
 
Old 08-24-2003, 02:13 PM   #7
mattschinkel
LQ Newbie
 
Registered: Aug 2003
Location: Toronto
Posts: 12

Original Poster
Rep: Reputation: 0
can you give me an example entry for /etc/fstab?

thanks for the help.
 
Old 08-24-2003, 02:17 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try this:
Code:
//winbox/share /mnt/mywinbox smbfs username=USER,password=PASSWORD,user 0 0
 
Old 08-24-2003, 02:32 PM   #9
mattschinkel
LQ Newbie
 
Registered: Aug 2003
Location: Toronto
Posts: 12

Original Poster
Rep: Reputation: 0
Is it possible to mount a ftp location?
 
Old 08-24-2003, 02:42 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Take a look here for examples and a howto:
http://www.tldp.org/HOWTO/Kernel-HOWTO/ftpfs.html
 
Old 08-25-2003, 07:07 AM   #11
mattschinkel
LQ Newbie
 
Registered: Aug 2003
Location: Toronto
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks, very cool stuff.
 
  


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
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
Samba question Ryknow215 Linux - General 3 02-23-2004 06:11 PM
Samba question Marklar Linux - Networking 30 01-02-2004 03:44 PM
A Samba Question? gsmonk Linux - Networking 2 08-20-2003 09:14 AM
RE: Samba question pls help {Newbie question} Radiouk Linux - Networking 4 06-03-2002 06:40 PM

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

All times are GMT -5. The time now is 08:15 PM.

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