Re: PI3 and DV3000U


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@....



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