Moode Forum

Full Version: NSA310 Zyxel problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.
I have a problem with mounting the NSA310 Zyxel in moode 4.1

Scanning finds me a server, I enter data and I have an error.

[attachment=41]

Code:
Moode Log
20180416 065229 worker: - Start
20180416 065229 worker: Successfully daemonized
20180416 065229 worker: - Init
20180416 065229 worker: Session loaded
20180416 065229 worker: Debug logging (off)
20180416 065231 worker: Host (moode)
20180416 065231 worker: Hdwr (Pi-3B 1GB v1.2)
20180416 065231 worker: Arch (armv7l)
20180416 065231 worker: Rasp (9.4)
20180416 065231 worker: Kver (4.14.32-v7+)
20180416 065231 worker: Ktyp (Standard)
20180416 065231 worker: Gov  (performance)
20180416 065231 worker: Rel  (Moode 4.1 2018-04-02)
20180416 065231 worker: Upd  (None)
20180416 065231 worker: MPD  (0.20.18)
20180416 065231 worker: USB boot not enabled yet
20180416 065231 worker: File system expanded
20180416 065231 worker: HDMI port on
20180416 065232 worker: File check ok
20180416 065232 worker: - Network
20180416 065232 worker: eth0 exists
20180416 065232 worker: eth0 (192.168.0.25)
20180416 065232 worker: wlan0 does not exist
20180416 065232 worker: - Audio
20180416 065232 worker: ALSA outputs unmuted
20180416 065232 worker: Audio output (USB audio device)
20180416 065232 worker: ALSA mixer name (Mic)
20180416 065232 worker: MPD volume control (disabled)
20180416 065232 worker: Hdwr volume controller exists
20180416 065232 worker: - Services
20180416 065234 worker: MPD started
20180416 065234 worker: MPD scheduler policy (time-share)
20180416 065234 worker: Configure MPD outputs
20180416 065234 worker: MPD output 1 ALSA default (on)
20180416 065234 worker: MPD output 2 ALSA crossfeed (off)
20180416 065234 worker: MPD output 3 ALSA parametric eq (off)
20180416 065234 worker: MPD output 4 ALSA graphic eq (off)
20180416 065234 worker: MPD output 5 ALSA bluetooth (off)
20180416 065234 worker: MPD crossfade (off)
20180416 065234 worker: LCD updater engine started
20180416 065234 worker: Shellinabox SSH server started
20180416 065234 worker: - Last
20180416 065234 worker: USB source (KINGSTON XVI)
20180416 065234 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 065234 worker: NAS sources (mountall initiated)
20180416 065234 worker: LocalUI started
20180416 065235 worker: Volume level (0) restored
20180416 065235 worker: Maintenance interval (21600)
20180416 065235 worker: Watchdog started
20180416 065235 worker: Ready
20180416 073740 worker: Job sourcecfg
20180416 073740 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 075652 worker: Job sourcecfg
20180416 075653 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 075828 worker: Job sourcecfg
20180416 075829 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 075844 worker: Job sourcecfg
20180416 075845 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 075943 worker: Job sourcecfg
20180416 075944 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 080002 worker: Job sourcecfg
20180416 080003 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 080902 worker: Job sourcecfg
20180416 080903 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 082159 worker: Job sourcecfg
20180416 082200 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 084437 worker: Job sourcecfg
20180416 084844 worker: Job sourcecfg
20180416 084845 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 084958 worker: Job sourcecfg
20180416 085140 worker: Job sourcecfg
20180416 085141 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)

in putty he can not see my NAS

Code:
Last login: Mon Apr 16 07:15:32 2018 from 192.168.0.17
pi@moode:~ $ ls -l /mnt/NAS
ls: cannot access '/mnt/NAS': No such file or directory
pi@moode:~ $ ls -l /mnt
total 4
drwxr-xr-x 3 root root 4096 Apr  9 13:43 SDCARD
pi@moode:~ $ ls -l /var/lib/mpd/music
total 12
lrwxrwxrwx 1 root root     8 Apr  9 13:43 [color=#ff3333]NAS -> /mnt/NAS[/color]
drwxrwxrwx 2 root root 12288 Apr  9 13:43 RADIO
lrwxrwxrwx 1 root root    11 Apr  9 13:43 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root     6 Apr  9 13:43 USB -> /media

What is wrong?
manually entering the NAS ip address/Music worked for me. ie 192.168.1.144/Music. The NAS starter utility will give you your nas ip address, best set it to static.
(04-24-2018, 04:31 PM)ROBSONIK Wrote: [ -> ]Hi.
I have a problem with mounting the NSA310 Zyxel in moode 4.1

Scanning finds me a server, I enter data and I have an error.



Code:
Moode Log
20180416 065229 worker: - Start
20180416 065229 worker: Successfully daemonized
20180416 065229 worker: - Init
20180416 065229 worker: Session loaded
20180416 065229 worker: Debug logging (off)
20180416 065231 worker: Host (moode)
20180416 065231 worker: Hdwr (Pi-3B 1GB v1.2)
20180416 065231 worker: Arch (armv7l)
20180416 065231 worker: Rasp (9.4)
20180416 065231 worker: Kver (4.14.32-v7+)
20180416 065231 worker: Ktyp (Standard)
20180416 065231 worker: Gov  (performance)
20180416 065231 worker: Rel  (Moode 4.1 2018-04-02)
20180416 065231 worker: Upd  (None)
20180416 065231 worker: MPD  (0.20.18)
20180416 065231 worker: USB boot not enabled yet
20180416 065231 worker: File system expanded
20180416 065231 worker: HDMI port on
20180416 065232 worker: File check ok
20180416 065232 worker: - Network
20180416 065232 worker: eth0 exists
20180416 065232 worker: eth0 (192.168.0.25)
20180416 065232 worker: wlan0 does not exist
20180416 065232 worker: - Audio
20180416 065232 worker: ALSA outputs unmuted
20180416 065232 worker: Audio output (USB audio device)
20180416 065232 worker: ALSA mixer name (Mic)
20180416 065232 worker: MPD volume control (disabled)
20180416 065232 worker: Hdwr volume controller exists
20180416 065232 worker: - Services
20180416 065234 worker: MPD started
20180416 065234 worker: MPD scheduler policy (time-share)
20180416 065234 worker: Configure MPD outputs
20180416 065234 worker: MPD output 1 ALSA default (on)
20180416 065234 worker: MPD output 2 ALSA crossfeed (off)
20180416 065234 worker: MPD output 3 ALSA parametric eq (off)
20180416 065234 worker: MPD output 4 ALSA graphic eq (off)
20180416 065234 worker: MPD output 5 ALSA bluetooth (off)
20180416 065234 worker: MPD crossfade (off)
20180416 065234 worker: LCD updater engine started
20180416 065234 worker: Shellinabox SSH server started
20180416 065234 worker: - Last
20180416 065234 worker: USB source (KINGSTON XVI)
20180416 065234 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 065234 worker: NAS sources (mountall initiated)
20180416 065234 worker: LocalUI started
20180416 065235 worker: Volume level (0) restored
20180416 065235 worker: Maintenance interval (21600)
20180416 065235 worker: Watchdog started
20180416 065235 worker: Ready
20180416 073740 worker: Job sourcecfg
20180416 073740 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 075652 worker: Job sourcecfg
20180416 075653 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 075828 worker: Job sourcecfg
20180416 075829 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 075844 worker: Job sourcecfg
20180416 075845 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 075943 worker: Job sourcecfg
20180416 075944 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 080002 worker: Job sourcecfg
20180416 080003 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 080902 worker: Job sourcecfg
20180416 080903 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 082159 worker: Job sourcecfg
20180416 082200 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 084437 worker: Job sourcecfg
20180416 084844 worker: Job sourcecfg
20180416 084845 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)
20180416 084958 worker: Job sourcecfg
20180416 085140 worker: Job sourcecfg
20180416 085141 wrk_sourcemount(): Mount error: (Couldn't chdir to /mnt/NAS/MOJA: No such file or directory)

in putty he can not see my NAS

Code:
Last login: Mon Apr 16 07:15:32 2018 from 192.168.0.17
pi@moode:~ $ ls -l /mnt/NAS
ls: cannot access '/mnt/NAS': No such file or directory
pi@moode:~ $ ls -l /mnt
total 4
drwxr-xr-x 3 root root 4096 Apr  9 13:43 SDCARD
pi@moode:~ $ ls -l /var/lib/mpd/music
total 12
lrwxrwxrwx 1 root root     8 Apr  9 13:43 [color=#ff3333]NAS -> /mnt/NAS[/color]
drwxrwxrwx 2 root root 12288 Apr  9 13:43 RADIO
lrwxrwxrwx 1 root root    11 Apr  9 13:43 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root     6 Apr  9 13:43 USB -> /media

What is wrong?

Hi,

The missing /mnt/NAS directory suggests a regression bug where somehow the Name field is blank when saving the NAS config which would cause the code that removes the mount directory /mnt/NAS/<Name> to actually remove /mnt/NAS/. The Name field however is validated and blank or empty is not allowed.

The NAS subdirectory needs to be present otherwise mounts will fail.


mkdir /mnt/NAS

-Tim
Thanks for your help.
Tim, everything has worked, thanks a lot for your help.
Hi,

Was it "mkdir /mnt/NAS" that resolved the issue?

-Tim
Hi
That's how the command helped, then I had to manually enter the server ip and the music folder and it went. Thank you again.