LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-11-2011, 12:03 AM   #1
RamPant_CaR
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Rep: Reputation: Disabled
Linux-Client Windows-Server automounting issue(s)


I am currently using virtual-box running an already configured windows XP server and a Fedora client. I am trying to get the client to automount the shared folder (which is name SharedDocs) from the server.
  1. I have installed autofs and disabled firewall
  2. I have manually mounted the file using:
mount cifs //192.168.1.1/Shared Docs /shares


My problem is I don't know the best way to automount the folder on the boot.

I have chkconfig autofs on, so its always running.

I can ping the both machines. I have added entries into auto.master as well as auto.share.

I have tried adding an entry to fstab as well.



My problem is I don't know how to automount the drive, I don't think my entries into the mount files were correct. My question is, what is the best way to make this happen?

Server IP: 192.168.1.3 (windows)
Client IP: 192.168.1.92 (Fedora)

Folder to share on Windows server: SharedDocs
Desired mount pt: /shares

windows user: admin (pass=adminpw)
client user: root

any help or advice is much appreciated. And please don't send me the link to some page on tldp or something else. I know what I am supposed to do, I am just having trouble making it all work.

-Rampant
 
Old 11-11-2011, 03:50 AM   #2
Doc CPU
Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 999

Rep: Reputation: 292Reputation: 292Reputation: 292
Hi there,

Quote:
Originally Posted by RamPant_CaR View Post
I am currently using virtual-box running an already configured windows XP server and a Fedora client. I am trying to get the client to automount the shared folder (which is name SharedDocs) from the server.
in some of your examples below the name is "Shared Docs" with a blank in between. Which spelling is correct?
Since many configuration files (e.g. those of autofs and fstab) use whitespace as field delimiters, spaces in file or directory names can be troublesome. Try enclosing the names in quotes. Or better even: Try avoiding spaces in file names altogether.

Quote:
Originally Posted by RamPant_CaR View Post
My problem is I don't know the best way to automount the folder on the boot.
If the server machine is guaranteed to be available whenever the client machine boots, you can assign a static mapping in fstab. If not, I'd rather suggest you stay with autofs.

[X] Doc CPU
 
  


Reply

Tags
fedora


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
Issue with sliding windows (backing up windows client to Linux media agent) jrembish Linux - Newbie 1 05-14-2010 07:15 AM
CentOS /Samba server- XP Windows client file sharing issue 3phoenix Linux - Server 7 11-06-2009 11:05 AM
Linux server with windows client thiyagu912 Linux - Server 4 07-27-2008 12:23 PM
Server in Linux and Client in Windows dinwwf Programming 4 08-31-2005 09:37 AM
can not connect to my pureftp server from Linux client, but i can from windows client bonito Suse/Novell 5 03-16-2005 09:45 PM


All times are GMT -5. The time now is 05:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration