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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-23-2003, 02:53 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Toronto
Posts: 12
Rep:
|
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?
|
|
|
08-23-2003, 03:05 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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
|
|
|
08-23-2003, 04:23 PM
|
#3
|
Member
Registered: Jun 2003
Location: Seychelles
Distribution: RedHat 8.0, Gentoo
Posts: 32
Rep:
|
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

|
|
|
08-23-2003, 04:23 PM
|
#4
|
Member
Registered: Jun 2003
Location: Seychelles
Distribution: RedHat 8.0, Gentoo
Posts: 32
Rep:
|
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

|
|
|
08-24-2003, 02:15 AM
|
#5
|
LQ Newbie
Registered: Aug 2003
Location: Toronto
Posts: 12
Original Poster
Rep:
|
Thanks, worked great.
How do I have it automount on bootup?
|
|
|
08-24-2003, 06:04 AM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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.
|
|
|
08-24-2003, 02:13 PM
|
#7
|
LQ Newbie
Registered: Aug 2003
Location: Toronto
Posts: 12
Original Poster
Rep:
|
can you give me an example entry for /etc/fstab?
thanks for the help.
|
|
|
08-24-2003, 02:17 PM
|
#8
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Try this:
Code:
//winbox/share /mnt/mywinbox smbfs username=USER,password=PASSWORD,user 0 0
|
|
|
08-24-2003, 02:32 PM
|
#9
|
LQ Newbie
Registered: Aug 2003
Location: Toronto
Posts: 12
Original Poster
Rep:
|
Is it possible to mount a ftp location?
|
|
|
08-24-2003, 02:42 PM
|
#10
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
|
|
|
08-25-2003, 07:07 AM
|
#11
|
LQ Newbie
Registered: Aug 2003
Location: Toronto
Posts: 12
Original Poster
Rep:
|
Thanks, very cool stuff.
|
|
|
All times are GMT -5. The time now is 07:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|