RFM2Pi on Synology NAS to forward serial data to emon

Hi!!!

I have put my RFM2Pi on a Synology NAS (DS214play), so I can release my raspberry for other things... But, I am not able to get it successfully, I mean:

(On raspberry is it OK, with oem_gateway seeding data to emon properly)

I have joined RFM2Pi with cp210x-TTL-USB attached to my NAS by USB, drivers intalled,

dmesg on synology:

[  133.603575] USB Serial support registered for cp210x
[  133.611283] cp210x 4-1:1.0: cp210x converter detected
[  133.828818] usb 4-1: cp210x converter now attached to ttyUSB0
[  133.845770] usbcore: registered new interface driver cp210x
[  133.851343] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver

if I run this on my synology:

cat /dev/ttyUSB0

I can see:

[RFM2Pi]

Available commands:
  123 x      - Toggle configuration change protection, 1=Unlocked
  <nn> i     - set node ID (standard node ids are 1..26)
  <n> b      - set MHz band (4 = 433, 8 = 868, 9 = 915)
  <nnn> g    - set network group (RFM12 only allows 212, 0 = any)
  <n> c      - set collect mode (advanced, normally 0)
  ...,<nn> a - send data packet to node <nn>, with ack
  ...,<nn> s - send data packet to node <nn>, no ack
  <n> l      - turn activity LED on DIG8 on or off
Current configuration:
79 i15 g210 @ 868 MHz  Lock: 1

10 141 0 239 255 33 0 5 0 9 93 0 0
10 139 0 239 255 31 0 5 0 254 92 0 0
^C

So, i guess soft (drivers an so on) and hard (cables to/from RFM2Pi-cp210x) are OK...

But, If I run (as I do in raspberry) oemgateway

Keep frozen and say nothing....

I need to ctrl-c

root@turbods ~/oem_gateway $ ./oemgateway
         
^C
root@turbods ~/oem_gateway $

 

I have installed on my nas python2.6, py26-configobj, py26-serial and argparse-1.2.1.

 

Any idea?

 

PD: Sorry for my poor English, but it is not my native languaje.