"Browse Network" in File Manager

162 views
Skip to first unread message

Stefan Kern

unread,
Apr 7, 2016, 5:31:10 PM4/7/16
to Maru
Heya there,
So far I'm amazed by the concept of Maru! Works very well by using MultiROM, never thought that :)

Anyways, I'd like to access my SAMBA-Share NAS via Maru, however I saw that I'll only get an error message when clicking on "Browse Network" inside the file manager.

Is there a way to install additional stuff to make it work again or is it not yet implemented in any way?

Thanks already!

Preetam

unread,
Apr 11, 2016, 12:53:10 PM4/11/16
to Maru
Hi Stefan,

Thanks for trying Maru out! I have never tried connecting to a NAS with Maru. I will try to reproduce a similar setup and get back to you.

If anyone else has gotten this to work, please let us know!

Henry Wilhelm

unread,
Jun 20, 2016, 11:03:35 AM6/20/16
to Maru OS
Hi, Preetam,
similar problem for me! I also tried sftp access direct via thunar. After installing gvfs-backend i have access for directory- and file-browsing, and it is possible to copy files from home-dir to remote-server. But remote file editing is not possible, also copying remote files to local home dir is impossible: Message is "access denied" (or similiar). Same with smb!

But overall Maru is great!

Daniel Tripp

unread,
Jun 21, 2016, 8:58:59 AM6/21/16
to mar...@googlegroups.com
Similar issue for me - nfs-client / nfs-common installed (sudo apt-get install nfs-client)  - I can enable it and start it (sudo systemctl enable nfs-commonm, systemctl start nfs-common) - but I cannot mount NFS from my NAS...

maru@[redacted]:/proc$ sudo mount rhea:/mnt/[redacted] /mnt/[redacted]
mount.nfs: No such device

And there's no "nfs" entry in /proc/filesystems

I've got other ARM devices (NextThing CHIP and Le Maker BananaPI) running Debian Jessie that have no issues...

I have had issues with SMB (cifs-utils) on ARM - and - I would really much rather use NFS than having to resort to CIFS (I hate all things Microsofty) - I only have CIFS on my NAS for my daughter's Windows machines...

Preetam

unread,
Oct 19, 2016, 7:42:23 PM10/19/16
to Maru OS

Hi Daniel and others playing around with NFS,

I'm taking a look at enabling NFS support in the Maru OS kernel but I'm running into a snag getting nfs-common to install correctly during my tests. It sounds like you were able to get it to install fine...was there anything extra you had to do other than install and start the nfs-common.service?

Here's my log:


maru@jessie:~$ sudo apt-get install nfs-common

Reading package lists... Done

Building dependency tree      

Reading state information... Done

The following extra packages will be installed:

 libnfsidmap2 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib

 libtirpc1 python python-minimal python2.7 python2.7-minimal rpcbind

Suggested packages:

 open-iscsi watchdog python-doc python-tk python2.7-doc binutils

 binfmt-support

The following NEW packages will be installed:

 libnfsidmap2 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib

 libtirpc1 nfs-common python python-minimal python2.7 python2.7-minimal

 rpcbind

0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.

Need to get 4126 kB of archives.

After this operation, 15.4 MB of additional disk space will be used.

Do you want to continue? [Y/n] Y

Get:1 http://httpredir.debian.org/debian/ jessie/main libnfsidmap2 armhf 0.25-5 [34.6 kB]

Get:2 http://httpredir.debian.org/debian/ jessie/main libtirpc1 armhf 0.2.5-1 [69.9 kB]

Get:3 http://httpredir.debian.org/debian/ jessie/main python2.7-minimal armhf 2.7.9-2+deb8u1 [1152 kB]

Get:4 http://httpredir.debian.org/debian/ jessie/main libpython2.7-minimal armhf 2.7.9-2+deb8u1 [376 kB]

Get:5 http://httpredir.debian.org/debian/ jessie/main python-minimal armhf 2.7.9-1 [40.2 kB]

Get:6 http://httpredir.debian.org/debian/ jessie/main libpython-stdlib armhf 2.7.9-1 [19.6 kB]

Get:7 http://httpredir.debian.org/debian/ jessie/main libpython2.7-stdlib armhf 2.7.9-2+deb8u1 [1805 kB]

Get:8 http://httpredir.debian.org/debian/ jessie/main python armhf 2.7.9-1 [151 kB]

Get:9 http://httpredir.debian.org/debian/ jessie/main python2.7 armhf 2.7.9-2+deb8u1 [252 kB]

Get:10 http://httpredir.debian.org/debian/ jessie/main rpcbind armhf 0.2.1-6+deb8u1 [37.9 kB]

Get:11 http://httpredir.debian.org/debian/ jessie/main nfs-common armhf 1:1.2.8-9 [189 kB]

Fetched 4126 kB in 1s (2385 kB/s)

debconf: delaying package configuration, since apt-utils is not installed

Selecting previously unselected package libnfsidmap2:armhf.

(Reading database ... 47281 files and directories currently installed.)

Preparing to unpack .../libnfsidmap2_0.25-5_armhf.deb ...

Unpacking libnfsidmap2:armhf (0.25-5) ...

Selecting previously unselected package libtirpc1:armhf.

Preparing to unpack .../libtirpc1_0.2.5-1_armhf.deb ...

Unpacking libtirpc1:armhf (0.2.5-1) ...

Selecting previously unselected package libpython2.7-minimal:armhf.

Preparing to unpack .../libpython2.7-minimal_2.7.9-2+deb8u1_armhf.deb ...

Unpacking libpython2.7-minimal:armhf (2.7.9-2+deb8u1) ...

Selecting previously unselected package python2.7-minimal.

Preparing to unpack .../python2.7-minimal_2.7.9-2+deb8u1_armhf.deb ...

Unpacking python2.7-minimal (2.7.9-2+deb8u1) ...

Selecting previously unselected package python-minimal.

Preparing to unpack .../python-minimal_2.7.9-1_armhf.deb ...

Unpacking python-minimal (2.7.9-1) ...

Selecting previously unselected package libpython2.7-stdlib:armhf.

Preparing to unpack .../libpython2.7-stdlib_2.7.9-2+deb8u1_armhf.deb ...

Unpacking libpython2.7-stdlib:armhf (2.7.9-2+deb8u1) ...

Selecting previously unselected package python2.7.

Preparing to unpack .../python2.7_2.7.9-2+deb8u1_armhf.deb ...

Unpacking python2.7 (2.7.9-2+deb8u1) ...

Selecting previously unselected package libpython-stdlib:armhf.

Preparing to unpack .../libpython-stdlib_2.7.9-1_armhf.deb ...

Unpacking libpython-stdlib:armhf (2.7.9-1) ...

Processing triggers for man-db (2.7.0.2-5) ...

Processing triggers for desktop-file-utils (0.22-1) ...

Processing triggers for mime-support (3.58) ...

Setting up libpython2.7-minimal:armhf (2.7.9-2+deb8u1) ...

Setting up python2.7-minimal (2.7.9-2+deb8u1) ...

Linking and byte-compiling packages for runtime python2.7...

Setting up python-minimal (2.7.9-1) ...

Selecting previously unselected package python.

(Reading database ... 48050 files and directories currently installed.)

Preparing to unpack .../python_2.7.9-1_armhf.deb ...

Unpacking python (2.7.9-1) ...

Selecting previously unselected package rpcbind.

Preparing to unpack .../rpcbind_0.2.1-6+deb8u1_armhf.deb ...

Unpacking rpcbind (0.2.1-6+deb8u1) ...

Selecting previously unselected package nfs-common.

Preparing to unpack .../nfs-common_1%3a1.2.8-9_armhf.deb ...

Unpacking nfs-common (1:1.2.8-9) ...

Processing triggers for man-db (2.7.0.2-5) ...

Processing triggers for systemd (215-17+deb8u5) ...

Setting up libnfsidmap2:armhf (0.25-5) ...

Setting up libtirpc1:armhf (0.2.5-1) ...

Setting up libpython2.7-stdlib:armhf (2.7.9-2+deb8u1) ...

Setting up python2.7 (2.7.9-2+deb8u1) ...

Setting up libpython-stdlib:armhf (2.7.9-1) ...

Setting up python (2.7.9-1) ...

Setting up rpcbind (0.2.1-6+deb8u1) ...

Setting up nfs-common (1:1.2.8-9) ...


Creating config file /etc/idmapd.conf with new version

Adding system user `statd' (UID 110) ...

Adding new user `statd' (UID 110) with group `nogroup' ...

Not creating home directory `/var/lib/nfs'.

Job for nfs-common.service failed. See 'systemctl status nfs-common.service' and 'journalctl -xn' for details.

invoke-rc.d: initscript nfs-common, action "start" failed.

dpkg: error processing package nfs-common (--configure):

subprocess installed post-installation script returned error exit status 1

Processing triggers for libc-bin (2.19-18+deb8u6) ...

Processing triggers for systemd (215-17+deb8u5) ...

Errors were encountered while processing:

nfs-common

E: Sub-process /usr/bin/dpkg returned an error code (1)

And my journalctl logs:


$ sudo journalctl -xn

Oct 19 22:18:20 jessie systemd[1]: Starting LSB: NFS support files common to cli

ent and server...

-- Subject: Unit nfs-common.service has begun with start-up

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit nfs-common.service has begun starting up.

Oct 19 22:18:20 jessie rpc.statd[1699]: Version 1.2.8 starting

Oct 19 22:18:20 jessie sm-notify[1700]: Version 1.2.8 starting

Oct 19 22:18:20 jessie rpc.statd[1699]: Failed to read /var/lib/nfs/state:

Success

Oct 19 22:18:20 jessie rpc.statd[1699]: Initializing NSM state

Oct 19 22:18:20 jessie rpc.statd[1699]: failed to create RPC listeners, ex

iting

Oct 19 22:18:20 jessie nfs-common[1694]: Starting NFS common utilities: statd fa

iled!

Oct 19 22:18:20 jessie systemd[1]: nfs-common.service: control process exi

ted, code=exited status=1

Oct 19 22:18:20 jessie systemd[1]: Failed to start LSB: NFS support files

common to client and server.


So it fails to install correctly and trying to 'systemctl start nfs-common' fails with the same unhepful error. Tried searching the net but didn't find anything enlightening.


Any ideas what's going on?

Chituc Georgian

unread,
Sep 21, 2019, 9:59:31 PM9/21/19
to Maru OS
Works in S9+ with Ubuntu Xenial  , after setting kernel config for NFS support .


root@localhost:~# mount -o nolock 192.168.0.2:/mnt/sharedfolder /mnt/sharedfolder_client
root@localhost:~# mount
/dev/block/platform/11120000.ufs/by-name/USERDATA on / type ext4 (rw,noatime,seclabel,discard,journal_checksum,noauto_da_alloc,errors=panic,data=ordered)
none on /dev type tmpfs (rw,relatime,seclabel,size=492k,mode=755)
tmpfs on /dev/input type tmpfs (ro,nosuid,relatime,seclabel,mode=755)
devpts on /dev/console type devpts (rw,relatime,seclabel,mode=600,ptmxmode=000)
devpts on /dev/tty1 type devpts (rw,relatime,seclabel,mode=600,ptmxmode=000)
devpts on /dev/tty2 type devpts (rw,relatime,seclabel,mode=600,ptmxmode=000)
devpts on /dev/tty3 type devpts (rw,relatime,seclabel,mode=600,ptmxmode=000)
devpts on /dev/tty4 type devpts (rw,relatime,seclabel,mode=600,ptmxmode=000)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,relatime,seclabel)
sysfs on /sys/fs/fuse/connections type sysfs (rw,relatime,seclabel)
selinuxfs on /sys/fs/selinux type selinuxfs (ro,relatime)
/data/media on /mnt/sdcard type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid)
devpts on /dev/pts type devpts (rw,relatime,seclabel,gid=5,mode=620,ptmxmode=666)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
cgroup on /sys/fs/cgroup/schedtune type cgroup (rw,nosuid,nodev,noexec,relatime,schedtune)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=534612k,mode=700,uid=1000,gid=1000)
192.168.0.2:/mnt/sharedfolder on /mnt/sharedfolder_client type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.2,mountvers=3,mountport=42431,mountproto=udp,local_lock=all,addr=192.168.0.2)

Reply all
Reply to author
Forward
0 new messages