LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-16-2010, 08:52 AM   #1
xwishmasterx
Member
 
Registered: Jul 2008
Posts: 30

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


Hello

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

Code:
# Mount an NFS share
#xmount 192.168.0.44:/nfsroot 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, 12:04 PM   #2
shuja_khan
LQ Newbie
 
Registered: Nov 2008
Posts: 11

Rep: Reputation: 0
I assume following set-up

01. your network is 192.168.0.1 to 192.168.0.254
02. your subnetmask is 255.255.255.0

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

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 192.168.0.3:/nfsshare /mnt/nfsshare

I hope that you will be able to connect

Thanks
-shuja
 
Old 11-16-2010, 02:57 PM   #3
ferris_bewley
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Rep: Reputation: 0
resolved?

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, 01:06 AM   #4
ferris_bewley
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.

peace.
 
  


Reply


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 01:52 AM
mounting network samba drive using cifs in /etc/rc.local file rioguia Linux - Server 2 09-09-2009 09:22 PM
trouble mounting local and network filesystems with accented character filenames amorphia Linux - General 0 09-04-2008 05:21 PM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 09:52 PM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 12:03 PM


All times are GMT -5. The time now is 02:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration