Mounting Remote Windows Share

Windows Access Rights Management

Mounting Remote Windows Share

Postby pascone » Fri Mar 16, 2012 12:06 am

I am trying to access Windows Shares \\<Server>\<Share> from my QNAP but can't figure out where this is accomplished? I played with Iscsi on both the QNAP and Windows side with no luck.
Is there a walkthrough somewhere?
Thanks!
pascone
Getting the hang of things
 
Posts: 68
Joined: Thu May 21, 2009 1:00 am
NAS Model: TS-119/219

Re: Mounting Remote Windows Share

Postby schumaku » Fri Mar 16, 2012 1:02 am

Thre is no simple click and shoot solution on the NAS Web UI available.

You can temporarely mount a Windows share form the command line. Assuming you intend to access the remote share as part of an existing share:

[~] # mkdir /share/Public/WindowsShare
[~] # mount.cifs //192.168.12.34/sharename /share/Public/WindowsShare -o username=user,password=pass
User avatar
schumaku
Guru
 
Posts: 22283
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Mounting Remote Windows Share

Postby tstein » Sun May 06, 2012 10:25 am

How do you mount the share permanently on every boot-up?
tstein
Starting out
 
Posts: 15
Joined: Thu Jan 07, 2010 5:11 am
NAS Model: TS-439U-SP/-RP

Re: Mounting Remote Windows Share

Postby trejder » Wed May 09, 2012 9:29 pm

I don't know, if this will help you, but for a completely different purpose, I use following script:

Code: Select all
mount -t ext2 /dev/mtdblock5 /tmp/config
nano /tmp/config/autorun.sh
umount /tmp/config

(replace nano with vi or any other text editor, if you don't have nano installed)

This script mounts flash memory, opens 'autorun.sh' in nano, saves changes after closing nano and unmounts memory.

This is solution my friend made for me, so I don't know much details. But it works fine. Whatever I put into authorun.sh is executed every time I restart my QNAP.
QNAP TS-210 with:
- RAID 0 Stripping Disk Volume using 2x2TB HDD (Samsung HD204UI),
- plus 1,5TB Ext USB HDD (Samsung HD154UI),
- and 0,75TB Ext USB HDD (WD MyPassport).
Latest firmware installed.
trejder
Know my way around
 
Posts: 164
Joined: Fri Jan 07, 2011 5:13 am
NAS Model: TS-219P


Return to Windows

Who is online

Users browsing this forum: No registered users and 2 guests