Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-16-2010, 07:52 AM   #1
Registered: Jul 2008
Posts: 30

Rep: Reputation: 0
need help mounting on local network.


I am not really any good at linux so I'll try to explain my setup and problem:

Linuxbox connected wireless to network. NAS connected to network. (network is working ok)

I am trying to get my linux box to mount a folder on my NAS.

first of all, I've setup a NFS user on the NAS (it asks for ip or name. if I choose ip, what ip should I enter, linuxbox's ip or what?

My linuxbox is using a file to mount shares on boot. this file contains

# Mount an NFS share
#xmount ShareName nfs
So, what am I to replace here? NasIPadress:/whatsthis?/ MYNASNAME what here?

hope anyone can come with some ideas.
Old 11-16-2010, 11:04 AM   #2
LQ Newbie
Registered: Nov 2008
Posts: 11

Rep: Reputation: 0
I assume following set-up

01. your network is to
02. your subnetmask is

03. Your wireless router ip =
04. your linux box IP =
05. Your NAS Box IP =

06. create a user in NAS box such as user = user001
07. create a nfs share share name = nasshare
08. assign "nasshare" permission for read & write for user "user001"
09. IP to the nas box is already assigned above on step 5

10. now log-in to linux box
11. create an empty folder some where, such as "mkdir /mnt/nfsshare"
12. disable your iptables, because you will have a lot of troubles, to do that use the following command.

service iptable stop

13. to stop iptables for ever, following command will do it.

chkconfig --delete iptables

14. mount your nfs share using following command

mount -t nfs /mnt/nfsshare

I hope that you will be able to connect

Old 11-16-2010, 01:57 PM   #3
LQ Newbie
Registered: Dec 2009
Posts: 18

Rep: Reputation: 0

If not check out smbfs for network attached storage that is shared with a windows system.

there are many good tutorials for various distros.
Old 11-17-2010, 12:06 AM   #4
LQ Newbie
Registered: Dec 2009
Posts: 18

Rep: Reputation: 0
What type of NAS do you have?

Please post your model of nas. If you are using the type that is a powered hd which is connected via ethernet cable and it is a windows shared drive.... the easiest way I know to access this device is to install smbfs and edit the fstab file.

However if you have a nas which requires a login to access the drive and is basically a simplified file server... it will take some research.

Either way, we will need to know the brand and model number of your nas device, how you are connected (ethernet to router or shared through a windows computer), and your distro (RHE, UBUNTU, or DEBIAN). The more specific you are will directly influence our ability to help you overcome the issue.



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
[SOLVED] Creating simultaneous network connections to a VPN and local area network. Reactor89 Linux - Networking 2 06-03-2010 12:52 AM
mounting network samba drive using cifs in /etc/rc.local file rioguia Linux - Server 2 09-09-2009 08:22 PM
trouble mounting local and network filesystems with accented character filenames amorphia Linux - General 0 09-04-2008 04:21 PM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 08:52 PM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 11:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration