¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Time/ID cron command will not execute

 

¿ªÔÆÌåÓý

To follow up on this, you¡¯re trying to execute 2 commands with any separator. You want

00 0-23 (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 > /dev/null ; $HOME/speaktext.sh "VE3JMR" $NODE1 > /dev/null)

Or?

00 0-23 (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 > /dev/null && $HOME/speaktext.sh "VE3JMR" $NODE1 > /dev/null)

A couple comments:
  • The first version will always execute both commands
  • The second will only execute speaktext.sh?in the case that say24time executes correctly.?
  • I¡¯m unsure offhand where speaktext.sh lives, and I¡¯ve assumed it lives in the home directory. You can¡¯t use immediate paths (./) in a cron script unless you move there as part of the cronjob.?
Hope that helps!
Kevin
AD7KM

On Jul 6, 2022, at 16:35, Teton Amateur Radio Repeater Association (TARRA) via groups.io <tarra@...> wrote:

?

[This email originated from outside of OSU. Use caution with links and attachments.]

Hello Mark,

I'm a long ways from being a Linux expert, but comparing to what I have that works, give this a try:

00 0-23 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 $NODE1 > /dev/null)

Mick - W7CAT


----- Original Message -----
From: "Mark VE3JMR"
To: [email protected]
Sent: Tuesday, July 05, 2022 10:11:27 PM
Subject: [SHARI] Time/ID cron command will not execute

> I'm having an issue with the cron table failing to execute a command. I have two functions that I want to execute hourly. Function 1 plays the time and weather, Function 2 plays a text string. I have tested for one function (ie time + wx or text string) and they work as they should. The moment I combine two functions in one command, nothing happens. The command line I use is:
>
> 00 0-23 (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 /usr/local/sbin/speaktext.sh "VE3JMR" $NODE1 > /dev/null)
>
> I've also used a slight variation - removing the second file path -
>
> 00 0-23 (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 ./speaktext.sh "VE3JMR" $NODE1 > /dev/null)
>
> I'm sure it's a syntax error, however, I cannot find it. I've had this working before.
>
> 73 75 de VE3JMR
> Mark
> Port Colborne, Ontario,?CANADA
>
>
> Allstar Node# 53132 ( ) | Echolink Node# 736666
>
>
>
>
>
>
--


Re: Time/ID cron command will not execute

 

¿ªÔÆÌåÓý

Hello Mark,

I'm a long ways from being a Linux expert, but comparing to what I have that works, give this a try:

00 0-23 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 $NODE1 > /dev/null)

Mick - W7CAT


----- Original Message -----
From: "Mark VE3JMR"
To: [email protected]
Sent: Tuesday, July 05, 2022 10:11:27 PM
Subject: [SHARI] Time/ID cron command will not execute

> I'm having an issue with the cron table failing to execute a command. I have two functions that I want to execute hourly. Function 1 plays the time and weather, Function 2 plays a text string. I have tested for one function (ie time + wx or text string) and they work as they should. The moment I combine two functions in one command, nothing happens. The command line I use is:
>
> 00 0-23 (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 /usr/local/sbin/speaktext.sh "VE3JMR" $NODE1 > /dev/null)
>
> I've also used a slight variation - removing the second file path -
>
> 00 0-23 (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 ./speaktext.sh "VE3JMR" $NODE1 > /dev/null)
>
> I'm sure it's a syntax error, however, I cannot find it. I've had this working before.
>
> 73 75 de VE3JMR
> Mark
> Port Colborne, Ontario,?CANADA
>
>
> Allstar Node# 53132 ( ) | Echolink Node# 736666
>
>
>
>
>
>
--


Re: DVSwitch

 

Steve,

I think your message above (#1823) may help me solve an issue!? I currently have Hamvoip running on a Raspi 3b and DVSwitch running on a 3b+.? Hamvoip is set up to access Echolink, and all is accessible to my Yaesu FT-65 analog transceiver and my Androld network radios, and can be contolled through Supermon.? USRP is being used to facilitate access by DVSM to the Shari node.? All works fine.

I have been exploring options to access DMR from my analog transceiver using Analog_Bridge.? The issue is that USRP is already being used to allow my network radios to access the node.? Options considered include setting up another node and linking them, but that would make access to Echolink a bit clumsy.? Also wondered if I could set up another stanza [USRP2] to point to the DVSwitch server?

At the end of this adventure, I would like to be able to access Allstar, Echolink and DMR with both my handheld analog radio and by Android devices using Supermon, or DVSM functionality to control the Android devices, and DTMF macros to control the node from the analog radio. ?

Suggestions on how to set this up?? I have an additional Raspi 3b available if needed, and would prefer to keep nodes and servers on separate hardware to keep maintenance simpler.

Thanks for your ideas!

Regards,

Doug VE3XDB

Hope it's clear what I am trying to do, a?


Time/ID cron command will not execute

 

I'm having an issue with the cron table failing to execute a command. I have two functions that I want to execute hourly. Function 1 plays the time and weather, Function 2 plays a text string. I have tested for one function (ie time + wx or text string) and they work as they should. The moment I combine two functions in one command, nothing happens. The command line I use is:

00 0-23 (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 /usr/local/sbin/speaktext.sh "VE3JMR" $NODE1 > /dev/null)

I've also used a slight variation - removing the second file path -?

00 0-23 (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/say24time.pl L3K5V5 ./speaktext.sh "VE3JMR" $NODE1 > /dev/null)

I'm sure it's a syntax error, however, I cannot find it. I've had this working before.

73 75 de VE3JMR
Mark
Port Colborne, Ontario,?CANADA
? |??Echolink Node# 736666


Re: SHARI Pi Hat config

 

The SHARI PiHats use the UART serial port of the Raspberry Pi to program the SA818.? Changes are required to /boot/config.txt and /boot/cmdline.txt in order to use the UART for this purpose.? The procedure is applicable to both the Pi3 and Pi4.
?
The latest HamVOIP image () has all of the changes required as well as the latest version of SA818-prog.
?
Steve - N8AR
?


SHARI Pi Hat config

 

I am working?throught?the instructions to configure my SHARI Pi Hat (SHARI PiHat Allstar Node Setup Procedure-Version 1.04.pdf) and I've come to some confusion in the " Configuring the SHARI PiHat Serial Port" section.? First the section repeatedly references the Pi4, but I am working with?an old Pi3.? Does this section apply to me?

Also, the first paragraph in this section says that the SA818-prog file is "not part of the HamVOIP image" and must be downloaded and copied over.? However, a note half way down the page says "Also, the SA818-prog program should already be installed in your image as it is included in the HamVOIP updates."? Do I need to install this file or not?

Adam "Thor" Butt PE, KE5MMK
--
Quidquid latine dictum sit, altum viditur -- That which is said in Latin sounds profound.


Re: Set Up Mobile Operation Using Phone WiFi Hotspot

 

¿ªÔÆÌåÓý

Its only auto-hotspot when its powered an not connected.? Security on a momentary hotspot is the least of my worries.?

?

From: [email protected] [mailto:[email protected]] On Behalf Of Scott, KB3JQQ via groups.io
Sent: Sunday, July 3, 2022 11:58 AM
To: [email protected]
Subject: Re: [SHARI] Set Up Mobile Operation Using Phone WiFi Hotspot

?

My Pi-Star has that, and I was able to access it without a password.
I turned off the WiFi when it was still on PS. The 3B+ is now SHARI.

If an autospot is enabled, you have a serious security hole.

On 2022-07-02 22:38, Michael Champion wrote:

Wpa_supplicant also supports multiple access points.

?

A feature I have been pushing for is auto-hotspot in the hamvoip image.? That way it starts up a hot spot that you connect to with your phone and then the ¡°sign-in¡± page would be a wifi setup screen.

?

-Michael N5ZR

?


Re: Set Up Mobile Operation Using Phone WiFi Hotspot

 

¿ªÔÆÌåÓý

Yeah, I'd definitely love to see auto? hotspot mode on HamVoIP such that you can still access your node to make changes if you are not near an available network, have no access to Ethernet (Pi Zero 2 W, anyone?) and some other situations.

This being said, at least wpa_supplicant supports priority. The highest numbered priority access point will be tried first, going down the line. I have a portable node set up to prefer my hotspot over my home internet connection even if both are available. This way, I can easily switch to mobile data if my internet goes down without having to take my home wifi offline.


On 7/3/2022 12:57 PM, Scott, KB3JQQ via groups.io wrote:

My Pi-Star has that, and I was able to access it without a password.
I turned off the WiFi when it was still on PS. The 3B+ is now SHARI.

If an autospot is enabled, you have a serious security hole.

On 2022-07-02 22:38, Michael Champion wrote:

Wpa_supplicant also supports multiple access points.

?

A feature I have been pushing for is auto-hotspot in the hamvoip image.? That way it starts up a hot spot that you connect to with your phone and then the ¡°sign-in¡± page would be a wifi setup screen.

?

-Michael N5ZR



Re: Set Up Mobile Operation Using Phone WiFi Hotspot

 

¿ªÔÆÌåÓý

Michael, N5ZR,
Why would you push anything on someone who volunteers their own time and gives you something that you can download for free? ? Pretty rude if you ask me. ?
It's not that hard to put multiple WIFI SSIDs in the WPA Supplicant file. ? Have one in there for my home and the other for my mobile. ? Works great. ??

Fred
W5MGM

On Sun, 2022-07-03 at 02:38 +0000, Michael Champion wrote:

Wpa_supplicant also supports multiple access points.

?

A feature I have been pushing for is auto-hotspot in the hamvoip image.? That way it starts up a hot spot that you connect to with your phone and then the ¡°sign-in¡± page would be a wifi setup screen.

?

-Michael N5ZR

?

From: [email protected] [mailto:[email protected]]On Behalf Of Bill, K5LK
Sent: Friday, July 1, 2022 12:28 PM
To: [email protected]
Subject: [SHARI] Set Up Mobile Operation Using Phone WiFi Hotspot

?

Hi all. I have a Shari Pi3U node.?It works great on my home WiFi.
I also want to operate mobile occasionally using my phone's hotspot WiFi.
Unfortunately I can't locate any instructions or videos on how to do?this that are straightforward.?
Any help would be most appreciated.
73 de K5LK






Re: Set Up Mobile Operation Using Phone WiFi Hotspot

 

¿ªÔÆÌåÓý

My Pi-Star has that, and I was able to access it without a password.
I turned off the WiFi when it was still on PS. The 3B+ is now SHARI.

If an autospot is enabled, you have a serious security hole.

On 2022-07-02 22:38, Michael Champion wrote:

Wpa_supplicant also supports multiple access points.

?

A feature I have been pushing for is auto-hotspot in the hamvoip image.? That way it starts up a hot spot that you connect to with your phone and then the ¡°sign-in¡± page would be a wifi setup screen.

?

-Michael N5ZR



Re: Set Up Mobile Operation Using Phone WiFi Hotspot

 

¿ªÔÆÌåÓý

Wpa_supplicant also supports multiple access points.

?

A feature I have been pushing for is auto-hotspot in the hamvoip image.? That way it starts up a hot spot that you connect to with your phone and then the ¡°sign-in¡± page would be a wifi setup screen.

?

-Michael N5ZR

?

From: [email protected] [mailto:[email protected]] On Behalf Of Bill, K5LK
Sent: Friday, July 1, 2022 12:28 PM
To: [email protected]
Subject: [SHARI] Set Up Mobile Operation Using Phone WiFi Hotspot

?

Hi all. I have a Shari Pi3U node.?It works great on my home WiFi.
I also want to operate mobile occasionally using my phone's hotspot WiFi.
Unfortunately I can't locate any instructions or videos on how to do?this that are straightforward. ?
Any help would be most appreciated.
73 de K5LK





Re: Set Up Mobile Operation Using Phone WiFi Hotspot

 

Tnx Dan. Got it working mobile per your advice.
73


Re: Set Up Mobile Operation Using Phone WiFi Hotspot

 

Easy. Setup your phones hotspot using the same SSID and key as your home wifi.
When you turn it on away from home your shari will not know the difference.
The hotspotted phone looks like your home wifi.
73
Dan
W7OH


Get
On Jul 1, 2022, at 10:28, "Bill, K5LK" <k5lk@...> wrote:

Hi all. I have a Shari Pi3U node.?It works great on my home WiFi.
I also want to operate mobile occasionally using my phone's hotspot WiFi.
Unfortunately I can't locate any instructions or videos on how to do?this that are straightforward. ?
Any help would be most appreciated.
73 de K5LK





Set Up Mobile Operation Using Phone WiFi Hotspot

 

Hi all. I have a Shari Pi3U node.?It works great on my home WiFi.
I also want to operate mobile occasionally using my phone's hotspot WiFi.
Unfortunately I can't locate any instructions or videos on how to do?this that are straightforward. ?
Any help would be most appreciated.
73 de K5LK





Re: shari node all setup BUT not hearing anything else

 

when i look at? my? node it? does NOT? look like that.

i am? NOT? sure? my? register worked

also? i have a? ?UHF? and? a? VHF node

i have? them? both using the? same? nodename? but? different? node numbers
and? i have? them both in the? same? iax.conf? file


Re: shari node all setup BUT not hearing anything else

 

LARRY
THANX? for? THE? TIP but

how to? i connect? to that? node? ?#506315? ?i am? using a? ?baofeng? right now
my node? is? up? ? i think i key n? ?*3 and? the node number? but not? sure
help me? out


Re: shari node all setup BUT not hearing anything else

 

A good node to squat on and squawk on is Blind Hams ALLSTAR node #506315.. there are other nodes just change the last number, but 5 in Dallas has the lowest latency. Plenty of nets, ? Check-ins from all over the world. You do not need to be blind to participate. but you will learn a lot about audio quality, those guys have lab quality hearing.

Larry W8LM


Re: shari node all setup BUT not hearing anything else

 

This is a live feed of nodes, select a "Node" on the left column that shows multiple "Connected Nodes" in the right column.?
There is plenty of activity to listen to.?

Thanks, Dan?



Re: shari node all setup BUT not hearing anything else

 

I believe you need to connect to multiple nodes that are active.? That seemed to work for me. But I am also new to this.? Thx


Re: shari node all setup BUT not hearing anything else

 

Hi Niece,

Look up some nodes and connect to them.? Connect to a repeater or a hub just about anywhere.