LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-03-2011, 01:47 AM   #1
Emegra
Member
 
Registered: Sep 2011
Location: Dundee, Scotland
Distribution: Mint Maya 13
Posts: 104

Rep: Reputation: Disabled
Cannot Access network shares


Hello everyone I have a windows network with a freenas server that I can access ok through the file manager however there are 2 programs I have installed namely pyrenamer & Freefilesync that doesn't list any network shares, If I want to rename files on my server using pyrenamer I have to copy the folder over to a local source rename them then copy back because the program will only list local files, I have the same problem with freefile sync only copying files to a local directory isn't an option as the folders are too big, does anyone know if there is any I can get my network folders to show up in these programs, any help would be much apreciated

Many Thanks
Graeme
 
Old 12-03-2011, 02:24 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Emegra View Post
I have a windows network with a freenas server that I can access ok through the file manager however there are 2 programs I have installed namely pyrenamer & Freefilesync that doesn't list any network shares
have you mapped the network shares to a drive letter on the Windows box? - Because still today, many Windows programs cannot deal with Network Neighborhood directly, but once you map the shares to a drive letter, they can access it fine that way.

[X] Doc CPU
 
Old 12-03-2011, 08:08 AM   #3
Emegra
Member
 
Registered: Sep 2011
Location: Dundee, Scotland
Distribution: Mint Maya 13
Posts: 104

Original Poster
Rep: Reputation: Disabled
Hi Doc thanks for your reply, I'm not sure I understand you correctly, The programs I'm using are Linux programs although it's a Windows network share (MSHOME)I'm using Mint 11,Linux sees the shares in Nautilus ok and I can access them no problem, The problem only occurs when I try to access them within a program such as freefilesync which is only listing local folders, The folders I want to synchronize are both on a Freenas server connected to the network, i hope I'm explaining the problem ok, I,m quite new to Linux and I'm finding it a bit difficult explaining the problem but I'll try to answer any questions as clearly as I can any help would be much appreciated

Many Thanks
Graeme
 
Old 12-04-2011, 05:09 AM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Emegra View Post
Hi Doc thanks for your reply, I'm not sure I understand you correctly, The programs I'm using are Linux programs although it's a Windows network share (MSHOME)
hmm, I'm confused and probably misunderstood you. I your initial post you said:

Quote:
Originally Posted by Emegra View Post
Hello everyone I have a windows network with a freenas server that I can access ok through the file manager
I understood that you have one or more windows PCs that acess a FreeNAS server. Was I wrong? Why do you say "although it's a Windows network share"? That assumes (for my understanding) a network of Windows PCs. Still confused .oO(?)

Quote:
Originally Posted by Emegra View Post
I'm using Mint 11,Linux sees the shares in Nautilus ok and I can access them no problem, The problem only occurs when I try to access them within a program such as freefilesync which is only listing local folders, The folders I want to synchronize are both on a Freenas server connected to the network, i hope I'm explaining the problem ok, I,m quite new to Linux and I'm finding it a bit difficult explaining the problem but I'll try to answer any questions as clearly as I can
Well, that part was described fine, I think. Yet I miss an important detail: Do you access the files through Nautilus's integrated Samba client (then you would use the Go/Network menu in Nautilus and see "smb://servername/sharename" in the address bar), or do you have the FreeNAS shares mounted into the file system (then they have an address that looks like a local directory)?
Many programs can only access shared files and directories if they are mounted into the file system.

To mount a network share, use the following:
Code:
sudo mount -t cifs -o username=user,password=pass servername:/sharename mountpoint
where the parts in italics are placeholders. Replace them as follows:
user: The required user name for accessing the share
pass: The above user's password
servername: Obviously, the server's name (may be IP address as well)
sharename: The shared directory name
mountpoint: An empty local directory, where you wish the contents of the shared directory to appear.

The sudo command makes the entire instruction run as root, that's why you'll have to enter root's password on the console when you execute that command.

[X] Doc CPU
 
Old 12-05-2011, 08:07 AM   #5
Emegra
Member
 
Registered: Sep 2011
Location: Dundee, Scotland
Distribution: Mint Maya 13
Posts: 104

Original Poster
Rep: Reputation: Disabled
Hi
Once again apologies for the duplicate thread,

Quote:I understood that you have one or more windows PCs that acess a FreeNAS server. Was I wrong? Why do you say "although it's a Windows network share"? That assumes (for my understanding) a network of Windows PCs. Still confused .oO(?)

I'll try to be more clear, The network I have consists 2 PCs and a Freenas server 1 PC runs win xp only the other is dual boot win xp & Linux Mint, The network works perfectly in both windows installation, I called it a windows share because the network was initially set up in windows and has the windows workgroup name of MSHOME, Linux lists it as windows share so that's why I called a windows network,

Quote: Why don't you try to properly mount the shares on your Mint or Ubuntu machine and get rid of the trouble in a clean way?

That's exactly what I want to do but I couldn't work out how to do it I'm not particularly computer literate and have a very limited understanding of the command line, but I will try the command you listed tonight when I get home from work, Can you tell me will that permanently mount them or will I have to do that each time I log in ?

Many Thanks

Graeme
 
Old 12-05-2011, 04:00 PM   #6
Emegra
Member
 
Registered: Sep 2011
Location: Dundee, Scotland
Distribution: Mint Maya 13
Posts: 104

Original Poster
Rep: Reputation: Disabled
Hi Doc I did as you suggested but I think I must have the syntax wrong for some reason I can't copy and paste the command I put in but this what I entered " sudo mount -t cifs -o username=graeme password=gsy464f freenas:/serverdrive 1 freenas" I created a folder in my home directory called freenas to act as the mountpoint

My Details
Username: graeme
Password: gsy464f
Server Name: freenas
Share Name: Serverdrive 1 (Also to be mounted serverdrive 2,3,4 and 5
Mountpoint: freenas

can you please tell me if you see something wrong ?

Many Thanks

Graeme
 
  


Reply



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
ASUS EEE can see MS network but can't access the shares stardustdk Linux - Networking 6 08-05-2008 04:23 AM
Can't access Samba shares with wireless network NeoChaosX Linux - Software 2 08-12-2006 01:22 PM
I need to block access to Windows-shares in network pingu Linux - Security 2 11-24-2005 01:29 AM
Read-Write Access for Network Shares HKDude Linux - Newbie 2 08-06-2004 06:17 PM
Cant access some samba shares from internal network emilioestevezz Linux - Software 2 04-20-2004 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11: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