Topics

PI3 and DV3000U


Ian
 

Hello,

While I try and figure out were I have gone wrong I thought I'd post this just in case someone else has experienced it.

As you can see the ambeserver starts but falls over a few seconds later.

Regards,

Ian.. 


pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: active (running) since Wed 2016-09-14 14:56:17 BST; 3s ago

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (AMBEserver)

   CGroup: /system.slice/system-ambeserver.slice/ambeserver@...

           └─1003 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyUSB0


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: failed (Result: exit-code) since Wed 2016-09-14 14:56:50 BST; 1s ago

  Process: 1003 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (code=exited, status=1/FAILURE)


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Couldn't find start byte in serial data

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: error receiving response to reset

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Could not initialize the DV3K!

Sep 14 14:56:50 compass02 systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE

Sep 14 14:56:50 compass02 systemd[1]: Unit ambeserver@... entered failed state.

Sep 14 14:56:50 compass02 systemd[1]: Triggering OnFailure= dependencies of ambeserver@....



ne3k@...
 

Ian-

I had quite the time with a Pi3 and DV3000 board. This set of directions worked for me, and also worked for my friend I sent them to, KI7SI.

Best of luck, let me know how it goes.

73,

Geoff, NE3K



Ok, first thing:


You have to use the 'Compass' distro I have found.

Once you get that done:


then:

sudo apt-get install ircddbgateway ircddbgatewayd dummrepeater

sudo ircddbgatewayconfig

Under the Gateway tab, Type - Dongle; Callsign - KI7SI; Local HB Address - 127.0.0.1, then whatever you want to enter for your QTH.

Under the Repeater 1 Tab, Band - B (apparently on a dongle it doesn't matter); Type - Homebrew; Address - 127.0.0.1; Port 20011; Reflector - IF you want it to connect to a particular reflector at startup. I set mine to REF062C since that is what the local D-Star machine is on.

Under the ircddbgateway network 1 tab, set it for 'Enabled', 'rr.openquad.net', 'KI7SI'.

Under the ircddbgateway network 2 tab, set it for 'Enabled', 'ircddb.dstar.su', 'KI7SI'

Under the D-PRS Tab, D-PRS - Enabled; Hostname - rotate-aprs2.net; Port 14580

DExtra - Enabled; Max Dongles - 5

D-Plus - Enabled; Max Dongles - 5; Login - KI7SI

DCS and CCS - Both Enabled; Server - CCS704 worked for me

Don't do anything in the StarNet tabs

Remote - if you want to control it via an app on your phone, you need to set this up, otherwise you can leave it alone

Misc - English (US), enable all other settings


'Save' the settings under the 'File' menu.


 
 
When setting up dummyrepeater, you have to select 'DV3000 Network' and the set the loopback address under the 'Dongle' tab.
 
 
Callsign Tab - fill in your call. I put '3000' after the slash since I'm using the DV3000
 
Sound Card - select the headset for both
 
Dongle - Type - DV3000 Network; Device - none; Address 127.0.0.1; Port - 2460
 
Network - Gateway address - 127.0.0.1; Gateway Port - 20010; Local Address - 127.0.0.1; Local Port 20011
 
Controller and Timeout you can leave as is
 
Message - Whatever message you want to come up when you transmit.
 
 
 
 
To make the wlan0 and wireless work on the Pi3 with Compass, make sure your /etc/network/interfaces file looks like this:
 

# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

 
 
 
To set a static IP with this setup, make sure /etc/dhcpcd.conf has this language with your settings at the end of the file:

Interface wlan0
static ip_address=xxx.xxx.xxx.xxx/24
static routers=xxx.xxx.xxx.xxx
static domain_name_servers=xxx.xxx.xxx.xxx




To get it to associate with your wireless, your /etc/wpa_supplicant/wpa_supplicant.conf file looks like this:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

network={
ssid="[Your SSID]"
psk="[Your Password]"
key_mgmt=[Your Encryption Level]
}

 
sudo reboot
 
under 'Menu' go to 'Run' then 'sudo dummyrepeater' and 'sudo ircddbgateway'.
 
It will take a minute for it to get up and running. To connect to whatever reflector you want, in the 'UR' block type REFXXX[ABCD]CL, then switch back to 'CQCQCQ'. You should hear a connect message then a beep. 
 
After that, hit transmit and you should be cooking.
 
 
I have not been able to get ircddbgatewayd to run at startup automatically, but it works fine if I do it in a terminal window. Still waiting on an answer for that problem. Otherwise this should take care of getting it to work for you.
 
There is also a script/procedure for updating the DExtra hosts file, I have to dig that out for you.
 
 
Let me know if it works ok.
 
 
Geoff
 



From: "Ian" <gm4upx@...>
To: ambe@nw-digital-radio.groups.io
Sent: Wednesday, September 14, 2016 10:14:24 AM
Subject: [ambe] PI3 and DV3000U

Hello,

While I try and figure out were I have gone wrong I thought I'd post this just in case someone else has experienced it.

As you can see the ambeserver starts but falls over a few seconds later.

Regards,

Ian.. 


pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: active (running) since Wed 2016-09-14 14:56:17 BST; 3s ago

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (AMBEserver)

   CGroup: /system.slice/system-ambeserver.slice/ambeserver@...

           └─1003 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyUSB0


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: failed (Result: exit-code) since Wed 2016-09-14 14:56:50 BST; 1s ago

  Process: 1003 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (code=exited, status=1/FAILURE)


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Couldn't find start byte in serial data

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: error receiving response to reset

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Could not initialize the DV3K!

Sep 14 14:56:50 compass02 systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE

Sep 14 14:56:50 compass02 systemd[1]: Unit ambeserver@... entered failed state.

Sep 14 14:56:50 compass02 systemd[1]: Triggering OnFailure= dependencies of ambeserver@....




 

From your error log, you are running at 230400 baud. If your ThumbDV is new, it runs at 460800.

Make sure it is at /dev/ttyUSB0 and modify the configuration as per https://nw-digital-radio.groups.io/g/ambe/wiki/AMBEserver-Addendum


On Sep 14, 2016 07:20, "Ian" <gm4upx@...> wrote:

Hello,

While I try and figure out were I have gone wrong I thought I'd post this just in case someone else has experienced it.

As you can see the ambeserver starts but falls over a few seconds later.

Regards,

Ian.. 


pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: active (running) since Wed 2016-09-14 14:56:17 BST; 3s ago

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (AMBEserver)

   CGroup: /system.slice/system-ambeserver.slice/ambeserver@ttyUSB0.service

           └─1003 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyUSB0


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: failed (Result: exit-code) since Wed 2016-09-14 14:56:50 BST; 1s ago

  Process: 1003 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (code=exited, status=1/FAILURE)


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Couldn't find start byte in serial data

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: error receiving response to reset

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Could not initialize the DV3K!

Sep 14 14:56:50 compass02 systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE

Sep 14 14:56:50 compass02 systemd[1]: Unit ambeserver@... entered failed state.

Sep 14 14:56:50 compass02 systemd[1]: Triggering OnFailure= dependencies of ambeserver@....



Ian
 

Hello Geoff,

Thanks for the pointers, I have gone through the download/setup etc with a fresh card and I am still experiencing a problem. It'll be something simple I imagine, perhaps because I am only running dummyrepeater, as an example. Incidentally my Pi3 card did not run on a Pi2B ; I'll keep looking.


Hello John,

I double checked the baud rate and I get an error ( wrong baud rate ) when I enter 460800 so my ThumbDV is an " old " one and it is at /dev/ttyUSB0

My first install was with Compass lite on which I had  Direwolf running; I followed the install instructions to use dl5di github and ambetest3.py ( maybe not the correct name as typing from memory <smile> ) responded correctly although dummyrepeater needed a GUI installed so I downloaded the Compass GUI.  I'm assuming the ambeserver runs on its own and doesn't need dummyrepeater, unfortunately I get no response when running python ambesocketest.py.

Regards,

Ian..


 

Please use the instructions at https://nw-digital-radio.groups.io/g/ambe/wiki/Installing-AMBEserver-on-a-Raspberry-Pi-and-ThumbDV%E2%84%A2 -- the Github instructions are out of date, though you could use the Python scripts for testing.  ambesockettest.py tests the server when it is up and running, the scripts on Github are for testing the port 'raw'.

On Wed, Sep 14, 2016 at 1:45 PM, Ian <gm4upx@...> wrote:

Hello Geoff,

Thanks for the pointers, I have gone through the download/setup etc with a fresh card and I am still experiencing a problem. It'll be something simple I imagine, perhaps because I am only running dummyrepeater, as an example. Incidentally my Pi3 card did not run on a Pi2B ; I'll keep looking.


Hello John,

I double checked the baud rate and I get an error ( wrong baud rate ) when I enter 460800 so my ThumbDV is an " old " one and it is at /dev/ttyUSB0

My first install was with Compass lite on which I had  Direwolf running; I followed the install instructions to use dl5di github and ambetest3.py ( maybe not the correct name as typing from memory <smile> ) responded correctly although dummyrepeater needed a GUI installed so I downloaded the Compass GUI.  I'm assuming the ambeserver runs on its own and doesn't need dummyrepeater, unfortunately I get no response when running python ambesocketest.py.

Regards,

Ian..




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


Ian
 

Problem solved; I have an error with my ThumbDV.  I tried WinDV - it didn't recognise my ThumbDV; I tried Buster - it didn't recognise my ThumbDV; I have contacted my supplier.

Thanks for the pointers and info, I'll be up and running shortly.

Regards,

Ian..



Ian
 

Hello,

I am pleased to report I am now up and running with CompassLinux ( GUI version ) and ThumbDV on the RP13.  Thanks for the help and suggestions.

My next move will be to CompassLinux ( no GUI ) and connect to a URI .

Regards,

Ian..


 

Glad to hear. Have you looked at the UDRC in lieu of the URI?


On Oct 11, 2016 08:46, "Ian" <gm4upx@...> wrote:

Hello,

I am pleased to report I am now up and running with CompassLinux ( GUI version ) and ThumbDV on the RP13.  Thanks for the help and suggestions.

My next move will be to CompassLinux ( no GUI ) and connect to a URI .

Regards,

Ian..


Ian
 

Yes I have; for my Direwolf " project ".  I currently have Direwolf running on a BBB and am looking to move that to a Pi and " speed up " from 1k2 to 9k6; I have a spare URIx, hence the reason for using it.

Regards,

Ian..