WakeNAS not work

WakeNAS not work

Postby msnews » 28 Feb 2013, 23:23

Hello, All:

Asus O!play Air with moService installed. Two problems I have:

1. Unable to wake up NAS. I configed NAS MAC address, broadcast address 192.168.10.255(My network ip is 192.168.10.xxx), upd port =9. I also tried UDP port 7. I can wake up NAS from router(dd-wrt firmware), from a program running on PC or from app on my phone, but just could not do it from ASUS O!play.
The service is installed and Enabled.

2. I am not able to use browser to open moService page. I found that directory "www" under /tmp is always deleted after reboot. I am not able to edit the ftp/samba configuration files unless I create "www" manually. How to male browser working and prevent "www" from being deleting everytime system reboots?

Thanks
HDP-R3 with AMP_R13
msnews
 
Posts: 27
Joined: 14 Nov 2010, 22:45

Re: WakeNAS not work

Postby shdo » 03 Mar 2013, 16:09

Hey there,

The reason for your problem is the difference in waking up the box - on power on the firmware executes all init-Scripts, but after suspended by remote power off/on these won't be executed at wakeup. In order to achieve this PatchedRootApp needs to be installed. (Quote: https://sites.google.com/site/farvoice/about_en -> Chapter Patches)
After this installation it worked like a charm for us.

1. First of all to get on the desired web frontend you may plug out the power cable in the back of the device in order to do a full restart. (Hereby moServices HAVE to be installed!) Now the frontend is reachable within your webbrowser (Firefox, IE - http://IpOplay)
2. Now install the patched root application
3. Within the http environment select the wakeup service -> select config and enter your hardware-MAC which you want to wake up (Similar to your previously post)

If you are able to follow all these steps without getting serious errors beware - the access to the web page needs always a hard reset! - wake-on-lan shall work after remote wakeups though.

Have fun,

ShDo

Greetings
shdo
 
Posts: 1
Joined: 03 Mar 2013, 15:40

Re: WakeNAS not work

Postby msnews » 19 Mar 2013, 00:55

Hi, ShDo:

PatchedRootApp is installed since beginning. Anyway, I tried to delete it and re-install again. I still have same problem. Yes, if I recycle the power, I am able to get browser to work. However, Wake-up on LAN never works.
If I manually type "/usr/local/etc/mos/scripts/wakelan xx:xx:xx:xx:xx:xx 192.168.10.10 9", the NAS wakes up.

Below are the messages when I change the configuration file:

~ # /usr/local/etc/mos/scripts/wakelan stop
~ # /usr/local/etc/mos/scripts/wakelan start
Send UDP packets...
/usr/local/etc/mos/wakelan/wakelan: illegal option -- i
Usage: /usr/local/etc/mos/wakelan/wakelan [options] [mac] [broadcast] [port]
-b addr broadcast address
-m mac mac address of host
-p port UDP port to broadcast to
-v[v] version

There is another question for NFS mounts. I mounted NFS share(pointing to NAS NFS share) successfully, however, the speed is terrible. I tried to access same NAS directory via Network or UPNP. UPNP works the best, very smoothly; Network works fine, it has problem to play high bitrate mkv with DTS. However, NFS works holible, almost none of movie can be played smoothly.
HDP-R3 with AMP_R13
msnews
 
Posts: 27
Joined: 14 Nov 2010, 22:45

Re: WakeNAS not work

Postby msnews » 08 Apr 2013, 20:58

Finally I figured out WOL problem. The wakelan script has one mistake on one line:

[ ! -z $bcast ] && b="-i $bcast"

This should be changed to:

[ ! -z $bcast ] && b="-b $bcast"

After changed, I am able to wake the NAS when my asus o!play turns on.

Please correct the script error in mos installation package.
HDP-R3 with AMP_R13
msnews
 
Posts: 27
Joined: 14 Nov 2010, 22:45

Re: WakeNAS not work

Postby FarVoice » 08 Apr 2013, 21:45

Thanks for bug report and for resolve it :) I'll change module now
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: WakeNAS not work

Postby FarVoice » 09 Apr 2013, 00:24

Added module wakelan to moS3 repository
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: WakeNAS not work

Postby msnews » 10 Apr 2013, 20:12

Hello, Farvoice:

Thanks! I have question below:

1. Is O!Play moServices Manager working with mos3?
2. I am still using mos2 with O!play air official firmare 1.29, can I use mos3?
3. If yes, what is the correct procedure to upgrade?

Best regards
HDP-R3 with AMP_R13
msnews
 
Posts: 27
Joined: 14 Nov 2010, 22:45

Re: WakeNAS not work

Postby FarVoice » 10 Apr 2013, 20:51

1. No, moS3 don't manage with moManager, web interface only.
2. Yes. You can use moS3 with original FW
3. The same :)
Code: Select all
cd /tmp
wget http://www.moservices.org/mos3/install
chmod +x install
./install
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: WakeNAS not work

Postby msnews » 10 Apr 2013, 22:49

Hello, Farvoice:

Do I need to complete remove mos2 first before installing mos3?

Thanks
HDP-R3 with AMP_R13
msnews
 
Posts: 27
Joined: 14 Nov 2010, 22:45

Re: WakeNAS not work

Postby FarVoice » 10 Apr 2013, 22:51

Nop. install remove previous versions itself
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Next

Return to About moServices

Who is online

Users browsing this forum: No registered users and 5 guests