Re: ambeserver on Raspian Jessie with ThumbDV locks BlueDV on receive after having changed UDP Port


TG9AOR
 

After I ran the top command, I noticed that opendv was running ambeserver, So I did a check on USB1:
pi@raspberrypi:~ $ ls -l /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 1 Sep 29 23:30 /dev/ttyUSB1

So then I went ahead and ran sudo usermod -a -G dialout opendv

and after that the test came OK:
pi@raspberrypi:~/Downloads/NWDigitalRadio $ python ambesocketest.py
Server reply : a
                0AMBE3000R
Server reply : a
                0AMBE3000R
Server reply : a
                0AMBE3000R
^CTraceback (most recent call last):
  File "ambesocketest.py", line 23, in <module>
    d = s.recvfrom(1024)
KeyboardInterrupt
pi@raspberrypi:~/Downloads/NWDigitalRadio $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: active (running) since Fri 2017-09-29 23:37:14 UTC; 7min ago
  Process: 3420 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)
  Process: 3417 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)
 Main PID: 3423 (AMBEserver)
   CGroup: /system.slice/system-ambeserver.slice/ambeserver@...
           └─3423 /usr/sbin/AMBEserver -p 18317 -i /dev/ttyUSB1 -s 460800
Sep 29 23:37:14 raspberrypi systemd[1]: Started DV3000 Daemon.
Sep 29 23:37:14 raspberrypi AMBEserver[3423]: AMBEserver: Starting...
Sep 29 23:37:14 raspberrypi AMBEserver[3423]: AMBEserver: Opened serial port /dev/ttyUSB1 at 460800 bps.
Sep 29 23:37:14 raspberrypi AMBEserver[3423]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Sep 29 23:37:14 raspberrypi AMBEserver[3423]: AMBEserver: Listening for connections on UDP port 18317.
It runs fine, however the BlueDV will not work on decode. But like you sad, John, if the server works then the problem lies somewhere else.

73 de TG9AOR

Join ambe@nw-digital-radio.groups.io to automatically receive all group messages.