DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-07-06 14:20:12

Pish
New member
Registered: 2007-07-06
Posts: 2

Stumped mounting NFS on Ubuntu

Hey all,
Ive been pouring over the forums searching for the answer to my problem so far the closest I can find is this here

http://dns323.kood.org/forum/t578-mount-command.html

however it still gives me similar messages as lionsnob was receiving.

My Dns-323s ip address is 192.168.2.25
My Linux box (with which i want to be acting as the client) is 192.168.2.112

To this end do i have to change the exports file to allow connections to this address?
I cant seem to find much in the way of documentation as to how this exports file should be set up.
I have tried to "guess" how it should be written yet still I am getting the permission denied.

this is how my exports file looks at the moment (i may have butchered it I really don't know)

/ 192.168.2.0/150(rw,no_root_squash)
/mnt/HD_a2 192.168.2.0/150(rw,no_root_squash)

I am running two 500gb drives as just a buch of disks so i removed the HD_a2 line

I havnt fiddled with anything else - just put fonz funplug on and mldonkey (which is not running at all until i sort out this nfs stuff)

Any ideas anyone?

EDIT : - the command im using to mount the drive is this
sudo mount -t nfs 192.168.2.25:/mnt/HD_a2/ /home/pish/Desktop/Superdrive

This is the output

mount: 192.168.2.25:/mnt/HD_a2/ failed, reason given by server: Permission denied

The only reason why im doing this is so i can stream my movies and mp3s from the DNS-323 as it doesn't seem to work over samba.

Last edited by Pish (2007-07-06 14:48:02)

Offline

 

#2 2007-07-06 14:59:49

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Stumped mounting NFS on Ubuntu

Pish wrote:

/ 192.168.2.0/150(rw,no_root_squash)
/mnt/HD_a2 192.168.2.0/150(rw,no_root_squash)

Where does "/150" come from - that's definitely wrong. Try /24 instead.

Offline

 

#3 2007-07-06 15:22:31

Pish
New member
Registered: 2007-07-06
Posts: 2

Re: Stumped mounting NFS on Ubuntu

Mmmm, I changed that back, it works i had changed the value to /150 assuming it was a range of addresses it would allow to talk to it to take into account all the ip addresses on my network

prior to that i had written it as 192.168.0.0/24 and it wasn't working for now obvious reasons

what does the /24 mean anyway out of curiosity ?

Its working anyway now which is bloody fantastic smile

Also another quick question while I seem to have your attention, do you know if I can use USA firmwares on my Australian Device. The Australian Dlink sever only has up to 1.02b and im running 1.02. I see no reason right now to upgrade anyway, since everything is working nice and fine. But it would be nice to know.

I might write a quick little howto to be submitted to the wiki tomorrow. May save someone else the trouble I had.

Thanks again! for your straightening out of my stupidity(sometimes its like proof reading you need someone to look at what you have done) and also for spending the time to create your fun_plug as well. Guten nacht, its late here in OZ and im ready to go to bed (much relieved now that its actually working).

Offline

 

#4 2007-07-06 15:35:43

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Stumped mounting NFS on Ubuntu

Pish wrote:

assuming it was a range of addresses

Pretty close, but the actual notation is different. It's called "netmask": http://en.wikipedia.org/wiki/Netmask


Pish wrote:

Also another quick question while I seem to have your attention, do you know if I can use USA firmwares on my Australian Device.

I think quite a few people are using firmwares from other countries. Usually there's no difference e.g. between a 1.02 from EU and the 1.02 from US. There's no guarantee, though, and you'll probably lose warranty.

Pish wrote:

Thanks again! for your straightening out of my stupidity(sometimes its like proof reading you need someone to look at what you have done) and also for spending the time to create your fun_plug as well. Guten nacht, its late here in OZ and im ready to go to bed (much relieved now that its actually working).

You're welcome. Schlaf gut.

Offline

 

#5 2007-07-06 19:24:13

ollo
Member
Registered: 2007-06-30
Posts: 17

Re: Stumped mounting NFS on Ubuntu

Hi fonz & Pish

I stubled across the very same issue with unfsd from funplug-0.2. Since I just use a single disk I had to remove the line about HD_b2 from the export file. This should be mentioned somewhere!
Also, showmount -e <NAS_IP> executed on the client side should tell you if the client is setup correctly.

Regards, ollo

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB