LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Visibility of Network Shares from within Applications (https://www.linuxquestions.org/questions/linux-newbie-8/visibility-of-network-shares-from-within-applications-642279/)

Rfahrytas 05-14-2008 11:47 PM

Visibility of Network Shares from within Applications
 
Cable Modem >> Router >> four WINXP SP3 machines plus HP Printer running off router.

One of these XP peers is dual boot with pclos 2008.1. When this machine is booted in Linux i can see the Network Shares from the other XP peers via Places > Network > Windows Network > Workgroup > [server] ....

.... and indeed can 'Connect' to those shares via 'Connect to Server' which creates as permanently visible listing of the Network Shares under 'Places', for my UserName.

All fine ... great stuff!

However, when i load an application [for example Audacity for one] none of these shares [or 'server connections'] can be seen - all that is listed under the Application's 'Places' list are the directories on localhost - not any 'server connections [read 'mapped network shares'].

I know it is more than likely a very simply config setting but i cannot find it. *newbie grin*

Any help please.

*smile*

Rfah

theNbomr 05-16-2008 09:17 AM

The shares need to mounted on your filesystem. You use the mount command, and use either filesystem type 'cifs' or 'smbfs'. Mounting a share will make it appear as if it is part of the local filesystem, and when given the appropriate owner, group, and permission levels will make it accessible to applications. This is somewhat analogous to mapping a shared filesystem to a drive letter in Windows.
Code:

mount -t smbfs -o uid=shareOwner,gid=shareGroupOwner,username=remoteUserName,rw,fmask=0777,dmask=0777 //servername/sharename /mount/point
The parts in red should be replaced by values appropriate to your local setup. There is a tool smb4k, which may be useful in getting this done for you.
When you have it set up in a way that you want it, it can be put into /etc/fstab, so the mounting will occur automatically after booting.

For more info:
man mount
man smbmount
man fstab

--- rod.

baldur_the_god 05-16-2008 09:19 AM

shares
 
it has to be, for instance, audacity...or the program that you are using. the only was it loses a connection is if your networking utility crashes. you probably have to map the the other share manually within the program.

baldur_the_god


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