Monitoring AMBESERVER traffic
Is there a terminal command to monitor traffic on the RPi/COMPASS AMBEserver? My server is accessible by a few friends and I’d like to know when the server is being used.
Tnx .... Tom VE3NY
|
|
Re: Audio receive problem with AMBE 3000 Stick on WIN10 Laptop
Karl-Aug. Eichhorn <dr.eichhorn@...>
Hi John,
thanks for your quick reply. With your first question you are hitting the spot: it's a 3rd party AMBE. And last night in our 80m daily qso party somebody told me about the difference between 3000R and 3000F :-) And after more hours of frustration I found out that my AMBE 3000F is now working fine with an older version of BlueDV ;-) Thanks for the help and it's your fault that I ordered just now this nice Eversame-Multimeter-Chargers-Capacity-Banks for a few Euros :-) vy 73 Charly (DK3ZL / AD8AS)
|
|
Re: Audio receive problem with AMBE 3000 Stick on WIN10 Laptop
Hi Charly, Is this a ThumbDV™ or a 3rd party AMBE 3000 device? They all function similarly, but NW Digital Radio manufactures and supports the ThumbDV™ exclusively. It sounds like your AMBE is fine. The USB ThumbDV™ appears simply as a FTDI USB serial port. The interchange is encoded PCM digital audio and AMBE encoded data between the ThumbDV™ and the computer. Programs such as BlueDV or Buster access the ThumbDV™ serially and exchange data packets with the AMBE 3000 chip. All audio processing and routing, as well as radio protocols (D-STAR, DMR, ...) and network connections are handled in the program you use to access the ThumbDV™. Assistance with PC specific and program configuration will require someone familiar with your particular setup. USB 3 should be compatible. One thing to be aware of is both the voltage and current supplied by the laptop USB interfaces -- sometimes testing with a powered USB hub can pinpoint if that is the issue. For testing, I keep something similar to this in my shack -- https://www.amazon.com/Eversame-Multimeter-Chargers-Capacity-Banks-Black/dp/B01D9Y6ZFW Perhaps if you provide the ACER model number someone else on the list has direct experience.
|
|
Audio receive problem with AMBE 3000 Stick on WIN10 Laptop
Karl-Aug. Eichhorn <dr.eichhorn@...>
Hello, I'm new on DStar and I try to get an AMBE 3000 stick working on my new Win10 ACER Laptop. My problem is: on the ACER I can't hear any thing in the speaker or my Sennheiser headset. The headset itself works fine with music and I have a good modulation while transmitting. But no RX audio? The AMBE 3000 works excellent at my WIN10 pc for amateur radio. No audio issues at all there. The only difference I found out is: the PC uses "Realtek High Definition Audio" drivers AND the Laptop "Realtek High Definition Audio (SST)" drivers mentioned in the device manager. A second difference is: with the normal PC I use USB 2 slot and with the ACER laptop I got only USB 3 slots.
Anybody any clue to solve this mystery for me which gives me hours of frustration :-) at the latop. vy 73 Charly (DK3ZL / AD8AS)
|
|
Re: RPi 3 and PIDV will not work
Michael KD5DFB
So, after reboot. I tried to run ambeserver with systemctl. I enabled and then started
Here is the output.
sudo systemctl status ambeserver@... ● ambeserver@... - DV3000 Daemon Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2019-01-12 20:03:15 GMT; 7s ago Process: 562 ExecStartPre=/bin/chgrp dialout /dev/ttyAMA0 (code=exited, status=217/USER)
Jan 12 20:03:15 raspberrypi systemd[1]: Starting DV3000 Daemon... Jan 12 20:03:15 raspberrypi systemd[1]: ambeserver@...: Control process exited, code=exited status=217 Jan 12 20:03:15 raspberrypi systemd[1]: Failed to start DV3000 Daemon. Jan 12 20:03:15 raspberrypi systemd[1]: ambeserver@...: Unit entered failed state. Jan 12 20:03:15 raspberrypi systemd[1]: ambeserver@...: Triggering OnFailure= dependencies. Jan 12 20:03:15 raspberrypi systemd[1]: ambeserver@...: Failed with result 'exit-code'.
Michael KD5DFB
From: Michael KD5DFB via Groups.Io
Sent: Saturday, January 12, 2019 13:58 To: ambe@nw-digital-radio.groups.io Subject: Re: [ambe] RPi 3 and PIDV will not work
John,
That article helped and lot! I think that should be in the wiki.
I did sudo systemctl disable hciuart and added pi3-disable-bt to the config.txt and rebooted.
Here is the ambetest2 after reboot
sudo python AMBEtest2.py d 8 N 1 False False False 0 a9 Reset 6100010033 Wrote: 5 bytes a9 Product ID 6100010030 Wrote: 5 bytes a 0AMBE3000R Version 6100010031 Wrote: 5 bytes a11V120.E100.XXXX.C106.G514.R009.B0010411.C0020208 Set DSTAR Mode 61000c000a013007634000000000000048 Wrote: 17 bytes A
Here is just trying to run the program
sudo ./AMBEserver AMBEserver: Starting... AMBEserver: error when opening /dev/ttyUSB0: No such file or directory
Define port and tty
sudo ./AMBEserver -d -r -p 2460 -i /dev/ttyAMA0 AMBEserver: Starting... AMBEserver: Opened serial port /dev/ttyAMA0 at 230400 bps. pi@raspberrypi:~ $ AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106 .G514.R009.B0010411.C0020208. AMBEserver: Listening for connections on UDP port 2460.
I guess I need to fix the systemctl for the ambeserver
Michael KD5DFB
From: John D Hays - K7VE
The RPi 3 can muck with device names. See https://www.raspberrypi.org/documentation/configuration/uart.md
Try /dev/ttyS0
On Sat, Jan 12, 2019, 09:08 Michael KD5DFB <mhebert1975@... wrote:
|
|
Re: RPi 3 and PIDV will not work
Michael KD5DFB
John,
That article helped and lot! I think that should be in the wiki.
I did sudo systemctl disable hciuart and added pi3-disable-bt to the config.txt and rebooted.
Here is the ambetest2 after reboot
sudo python AMBEtest2.py d 8 N 1 False False False 0 a9 Reset 6100010033 Wrote: 5 bytes a9 Product ID 6100010030 Wrote: 5 bytes a 0AMBE3000R Version 6100010031 Wrote: 5 bytes a11V120.E100.XXXX.C106.G514.R009.B0010411.C0020208 Set DSTAR Mode 61000c000a013007634000000000000048 Wrote: 17 bytes A
Here is just trying to run the program
sudo ./AMBEserver AMBEserver: Starting... AMBEserver: error when opening /dev/ttyUSB0: No such file or directory
Define port and tty
sudo ./AMBEserver -d -r -p 2460 -i /dev/ttyAMA0 AMBEserver: Starting... AMBEserver: Opened serial port /dev/ttyAMA0 at 230400 bps. pi@raspberrypi:~ $ AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106 .G514.R009.B0010411.C0020208. AMBEserver: Listening for connections on UDP port 2460.
I guess I need to fix the systemctl for the ambeserver
Michael KD5DFB
From: John D Hays - K7VE
Sent: Saturday, January 12, 2019 12:59 To: ambe@nw-digital-radio.groups.io Subject: Re: [ambe] RPi 3 and PIDV will not work
The RPi 3 can muck with device names. See https://www.raspberrypi.org/documentation/configuration/uart.md
Try /dev/ttyS0
On Sat, Jan 12, 2019, 09:08 Michael KD5DFB <mhebert1975@... wrote:
|
|
Re: RPi 3 and PIDV will not work
The RPi 3 can muck with device names. See https://www.raspberrypi.org/documentation/configuration/uart.md Try /dev/ttyS0
On Sat, Jan 12, 2019, 09:08 Michael KD5DFB <mhebert1975@... wrote: Good Morning!
|
|
RPi 3 and PIDV will not work
Michael KD5DFB
Good Morning!
I have a RPi3 and PIDV and cannot get it to work with AMBEtest , AMBEsocket or AMBEserver. I have tried the guide on the ambe groups.io wiki and installed compass. I could never get ambetest2 or 3 to work I am currently trying a fresh install of raspbian and have tried several different things. When looking at the systemctl status I get the following: ambeserver@... - DV3000 Daemon
Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2019-01-12 16:26:33 GMT; 2s ago
Process: 1040 ExecStartPre=/bin/chgrp dialout /dev/ttyAMA0 (code=exited, status=217/USER)
Jan 12 16:26:33 raspberrypi systemd[1]: Starting DV3000 Daemon...
Jan 12 16:26:33 raspberrypi systemd[1]: ambeserver@...: Control process exited, code=exited
Jan 12 16:26:33 raspberrypi systemd[1]: Failed to start DV3000 Daemon.
Jan 12 16:26:33 raspberrypi systemd[1]: ambeserver@...: Unit entered failed state.
Jan 12 16:26:33 raspberrypi systemd[1]: ambeserver@...: Triggering OnFailure= dependencies.
Jan 12 16:26:33 raspberrypi systemd[1]: ambeserver@...: Failed with result 'exit-code'.
When I try to start it manually using ./AMBEServer I get the following: ./AMBEserver
AMBEserver: Starting...
AMBEserver: error when opening /dev/ttyUSB0: No such file or directory When I try to define everything during run, I get the following: sudo ./AMBEserver -d -r -p 2460 -i /dev/ttyAMA0 -x
AMBEserver: Starting...
Baud 230400
opened /dev/ttyAMA0 230400
AMBEserver: Opened serial port /dev/ttyAMA0 at 230400 bps.
sudo python AMBEtest2.py
d
8
N
1
False
False
False
0
Reset
6100010033
Wrote: 5 bytes
Product ID
6100010030
Wrote: 5 bytes
Version
6100010031
Wrote: 5 bytes
Set DSTAR Mode
61000c000a013007634000000000000048
Wrote: 17 bytes
Hers is the AMBEtest3.py sudo python AMBEtest3.py
Setting ...
/dev/ttyAMA0
d
8
N
1
False
False
False
Reset
6100010033
Wrote: 5 bytes
Product ID
6100010030
Wrote: 5 bytes
Version
6100010031
Wrote: 5 bytes
Set DSTAR Mode
61000c000a013007634000000000000048
Wrote: 17 bytes
Any help would be greatly appreciated!
Michael KD5DFB
|
|
locked
Using the discussion topics
#support
Hi Everyone. First of all thank you for your testing, observations, suggestions, and requests for help via the established groups on groups.io This allows the folks at NW Digital Radio and others to answer once and everyone can benefit. A few important requests:
Again, thank you for using NW Digital Radio products and services and your valuable insights.
|
|
Re: Pb running AMBE server on RPI3b+
Pierre-Paul Raoult
Hi all,
toggle quoted messageShow quoted text
I wish to thank you for your responses. It helped! And now server is working fine. It was indeed a pb of ports…. Best regards, 73 F1JMN
|
|
Re: Pb running AMBE server on RPI3b+
Annaliese McDermond
If you’re using a ThumbDV you are using the wrong serial port. You need to do something like: systemctl stop ambeserver@ttyS0 systemctl disable ambeserver@ttyS0 systemctl enable ambeserver@ttyUSB0 systemctl start ambeserver@ttyUSB0 —Anna
On Dec 11, 2018, at 3:37 AM, Pierre-Paul Raoult via Groups.Io <f1jmn@...> wrote:
|
|
Re: Pb Installing ThumDV AMBE server on RPI3b+
|
|
Re: Pb Installing ThumDV AMBE server on RPI3b+
Ludovic Ludo
Hello,
my tutorial here : http://radioamateur.forumsactifs.com/t2179-cle-usb-dvstick-30-de-dvmega-en-serveur-sur-raspberry-pi-configuration-et-materiel-necessaire and the image if you want on http://radioamateur.forumsactifs.com/t2185-cle-usb-dvstick-30-de-dvmega-en-serveur-sur-raspberry-pi-image-carte-sd-64-go-samsung-evo Best regards, Ludovic - F5PBG
|
|
Re: Pb Installing ThumDV AMBE server on RPI3b+
Richard Aubin
Try to feed the ThumbDv trough a USB hub that has en external power supply .. I have seen some problem with the Rpi not able to feed the ThumbDv properly. Richard Ve2DJE
Le mar. 11 déc. 2018 10:33 a.m., Pierre-Paul Raoult via Groups.Io <f1jmn=me.com@groups.io> a écrit : Hi all,
|
|
Pb running AMBE server on RPI3b+
Pierre-Paul Raoult
After installing AMBE server on a RPI3B+ i cannot run it.... I have this message :
Can anyone help me please? Best 73 F1JMN ● ambeserver@... - DV3000 Daemon Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2018-12-11 12:33:53 CET; 49s ago Process: 428 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/ttyS0 $AMBESERVER_FLAGS (code=exited, status=1/FAILURE) Process: 425 ExecStartPre=/bin/chmod 0660 /dev/ttyS0 (code=exited, status=0/SUCCESS) Process: 417 ExecStartPre=/bin/chgrp dialout /dev/ttyS0 (code=exited, status=0/SUCCESS) Main PID: 428 (code=exited, status=1/FAILURE)
déc. 11 12:33:10 AMBE-server systemd[1]: Starting DV3000 Daemon... déc. 11 12:33:11 AMBE-server systemd[1]: Started DV3000 Daemon. déc. 11 12:33:11 AMBE-server AMBEserver[428]: AMBEserver: Starting... déc. 11 12:33:11 AMBE-server AMBEserver[428]: AMBEserver: Opened serial port /dev/ttyS0 at 460800 bps. déc. 11 12:33:53 AMBE-server systemd[1]: ambeserver@...: Main process exited, code=exited, status=1/FAILURE déc. 11 12:33:53 AMBE-server systemd[1]: ambeserver@...: Unit entered failed state. déc. 11 12:33:53 AMBE-server systemd[1]: ambeserver@...: Triggering OnFailure= dependencies. déc. 11 12:33:53 AMBE-server systemd[1]: ambeserver@...: Failed with result 'exit-code'.
|
|
Pb Installing ThumDV AMBE server on RPI3b+
Pierre-Paul Raoult
Hi all,
I want to install a AMBE server on a RPI3b+. I followed all wikis on this topic... Unfortunately when I run service i got this error.... I don't know how to solve it... Please Help. Thanks best regards, 73 from F1JMN pi@AMBE-server:~ $ sudo systemctl status ambeserver@... ● ambeserver@... - DV3000 Daemon Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2018-12-11 12:07:44 CET; 440ms ago Process: 420 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/ttyS0 $AMBESERVER_FLAGS (code=exited, status=1/FAILURE) Process: 416 ExecStartPre=/bin/chmod 0660 /dev/ttyS0 (code=exited, status=0/SUCCESS) Process: 406 ExecStartPre=/bin/chgrp dialout /dev/ttyS0 (code=exited, status=0/SUCCESS) Main PID: 420 (code=exited, status=1/FAILURE)
déc. 11 12:07:01 AMBE-server systemd[1]: Starting DV3000 Daemon... déc. 11 12:07:01 AMBE-server systemd[1]: Started DV3000 Daemon. déc. 11 12:07:01 AMBE-server AMBEserver[420]: AMBEserver: Starting... déc. 11 12:07:01 AMBE-server AMBEserver[420]: AMBEserver: Opened serial port /dev/ttyS0 at 460800 bps. déc. 11 12:07:44 AMBE-server systemd[1]: ambeserver@...: Main process exited, code=exited, status=1/FAILURE déc. 11 12:07:44 AMBE-server systemd[1]: ambeserver@...: Unit entered failed state. déc. 11 12:07:44 AMBE-server systemd[1]: ambeserver@...: Triggering OnFailure= dependencies. déc. 11 12:07:44 AMBE-server systemd[1]: ambeserver@...: Failed with result 'exit-code'.
|
|
Re: Change port on Ambe Server
Marco,
The file is owned by the system, so you'll need to use an account with root privileges. Then any text editor should be able to open and edit the file, just remember that you can do a lot of damage when editing system files as root. I'd recommend using the nano editor if your not familiar with linux, here is the command to edit the file as root. $ sudo /usr/bin/nano /etc/init.d/AMBEserver 73, Kenny
|
|
Re: Change port on Ambe Server
Tahnk you for answeare Kenny, i have found the file /etc/init.d/AMBEserver but i cannot open it for change the port.
What software should I use to open an executable file? 73 Marco - IK6IOQ
|
|
Re: Change port on Ambe Server
Marco,
I don't run the version of AMBEserver installed via the Compass install, but I know you change the port used by AMBEserver with the -p option when starting it. I'd take a look in the startup script in /etc/init.d which launches it at boot time. You can probably add the -p PORT# there and take care of moving it from 2460 to what you want. For reference, there is a section in my start up script (/etc/init.d/AMBEserver) which looks like this: case "$1" in start)
/usr/bin/AMBEserver -i /dev/ttyUSB0
echo "Starting AMBEserver" >&2
exit 0
;;Change it to this for Port 9999 case "$1" in start)
/usr/bin/AMBEserver -i /dev/ttyUSB0 -p 9999
echo "Starting AMBEserver" >&2
exit 0
;;73, Kenny, KU7M
|
|
Change port on Ambe Server
Hallo,
i try to change port on my AMBEServer running on Compass Linux under Rasp PI, so in the directory /etc/opendv i change the file ambeserver-ttyUSB0.conf The problem is that every time i reboot the server the port is again 2460 and not the number i edit. Obviously I'm editing as root and with nano editor and before changing the port, i stop the server. What i wrong ? How can i fix the problem ? Thank you and 73 Marco - IK6IOQ
|
|