¿ªÔÆÌåÓý

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

Script & Icon creation

 

I thought I would ask this question here to see if anyone would be able to help me learn a bit of

scripting for our beloved Pi.....

Two items :

1) I have created a script (Get Mail from CALL) and would now like to have in Icon on the Desktop or create Menu location for it (Main > Mail
Get Mail from CALL)
2) I need help getting script to run mheard udr1 command, display the call signs only in a tabbed format 5 wide by rows needed to show all results

Prompt me for call sign from above display then execute wl2kax25 -c %CALL% -V where %CALL% is the entered value for the keyboard.

I would greatly appreciate any help you can provide.

73s, Ed, KD9FRQ


Re: GPIO pin control, simple applet exists?

 

¿ªÔÆÌåÓý

Interesting thought - it¡¯s a push-button switch. ?I¡¯ve got a spare board so I can certainly try it. ?I¡¯m a noob when it comes to that kind of stuff however.

On Jun 3, 2020, at 2:29 PM, Randon Loeb <randonloeb18@...> wrote:

The relay I use needs not just a gpio pin, but also 5v power to function. So the pi can cut its power, but it cannot turn it on (I'm going to use a separate esp module and relay to do that in my project).

That board seems to have everything exposed, can you not just bypass/jumper the switch so it is always closed?

On Wed, Jun 3, 2020 at 2:20 PM Grant Greenwell <grant.d.greenwell@...> wrote:
So right now the pi won't turn on if the 12V plug is energized (no
power --> power) like if you were using the 5V port on the actual Pi
board.? You have to use the button or a IR remote.? I was wondering if
your GPIO endeavors were able to find a solution to this.

On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
> What exactly are you trying to accomplish and what do you mean by "hot
> plug?"
>
> On Wed, Jun 3, 2020 at 1:26 PM Grant Greenwell
> <grant.d.greenwell@...>
> wrote:
>
>>
>>
>>
>>
>>
>> On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
>> > I'm not familiar with that hat (in full disclosure, more a
>> microcontroller
>> > guy than rpi).
>> >
>> > What does it do, or where are its specs online?
>> >
>> > On Wed, Jun 3, 2020 at 10:16 AM Grant Greenwell
>> > <grant.d.greenwell@...>
>> > wrote:
>> >
>> >> That sounds amazing - would it enable "hot plug" for the 12V makerpi
>> >> hat as well I presume?
>> >>
>> >> On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
>> >> > Well to answer my own question, the raspbian OS comes with command
>> line
>> >> > "gpio" utility that is pretty cool, except for some weird pin
>> >> > mapping
>> >> > convention.
>> >> >
>> >> > Was able to easily use webmin (great admin tool I put on every linux
>> >> > machine) to add simple startup and shutdown script so now the pi can
>> >> > control the relay that controls its own 2x12v 40mm fans I put on for
>> >> > cooling (going to use this outside or in a hot vehicle in florida
>> >> > for
>> >> > remote rig control).
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> G.D. Greenwell
>> >> C: +1.240.472.3941
>> >> grant.d.greenwell@...
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >
>>
>>
>> --
>> G.D. Greenwell
>> C: +1.240.472.3941
>> grant.d.greenwell@...
>>
>>
>>
>>
>
>
>
>


--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...





ARDOP Follow Up

 

In my testing of using ARDOP, I am still strugglign to find a station with which I can connect.

I have run through the list available in the Pat Menu Gateway look up for my Grid. I have testing 40m.

The PC based version via WinLink shows a list of stations and some signal strength/quality chart to show a list of stations try.

Is there a list like this available in Pat system to aid users?

Ed, KD9FRQ


Re: Problem with rsnapshot

 

Good to know, Bill.


Re: Problem with rsnapshot

 

I had formatted the USB drive on Windows.? I reformatted on my Pi (that was a challenge) and had to change permissions to allow all write (another challenge), then it seems to be working.
--
--Bill AA6BD


Re: Problem with rsnapshot

 

Bill

Had the same experience last weekend: first snapshot successful, all others fail.

Not pasting it all, but here's my error:
/bin/cp: cannot create hard link '/media/pi/D9BF-6C99/alpha.1/localhost/home/pi/telem-volts.conf' to '/media/pi/D9BF-6C99/alpha.0/localhost/home/pi/telem-volts.conf': Operation not permitted
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot alpha?
----------------------------------------------------------------------------
ERROR: /bin/cp -al /media/pi/D9BF-6C99/alpha.0 /media/pi/D9BF-6C99/alpha.1 failed (result 256, exit status 1).
/bin/cp: cannot create hard link '/media/pi/D9BF-6C99/cp_al2/cp_al1/tt1' to '/media/pi/D9BF-6C99/cp_al1/tt1': Operation not permitted
ERROR: Perhaps your cp does not support -al options?
ERROR: Error! cp_al("/media/pi/D9BF-6C99/alpha.0/", "/media/pi/D9BF-6C99/alpha.1/")

Jack
NG2E
?


Re: ARDOP Connections

 

KM4ACK,

I am using the Pat Menu to find stations. I do have FLRIG running. When I use Pat to try to send, I enter the Call in the require box and the
Dial Freq noted from the Pat Menu Gateway Look up in it's box.

Pat or FLRIG is changing the freq on the rig appropriately to the Dial freq.

I will keep trying 40m.? I do not have an 80m antenna up (yet....).

Ed Bloom, KD9FRQ
ewbloom@...
Sent from Webmail access


-----Original Message-----
From: km4ack <jason.oleham@...>
To: [email protected]
Sent: Wed, Jun 3, 2020 1:39 pm
Subject: Re: [KM4ACK-Pi] ARDOP Connections

Ed,

You can use Pat Menu 2 to locate ARDOP stations (Find Winlink Gateways) on each band/grid combo. There is also a column in the search results that indicates the distance from you. Personally, I have better luck on 40 & 80M. Time of day dictates which of the two I use.

Also, if you are using rig control, you might want to take a look at pat auto connect built into Pat Menu.
--
73, de KM4ACK
|
|


Re: ARDOP Connections

 

Ed,

You can use Pat Menu 2 to locate ARDOP stations (Find Winlink Gateways) on each band/grid combo. There is also a column in the search results that indicates the distance from you. Personally, I have better luck on 40 & 80M. Time of day dictates which of the two I use.

Also, if you are using rig control, you might want to take a look at pat auto connect built into Pat Menu.
--
73, de KM4ACK
|
|


Re: Problem with rsnapshot

 

More than likely you have a permissions problem with the usb drive or the format of the drive is giving errors. Try formatting the external drive in ext4 format and it should resolve the errors.
--
73, de KM4ACK
|
|


Problem with rsnapshot

 

I just tried to do this based on the video, but ran into a problem. I set it up, and ran it the first time to a USB stick. Fine. I ran it again to test, fine. I added a file and ran it again. I got pages of errors. Here is the end of the listing: /bin/cp: cannot create hard link '/media/pi/PIBACK/alpha.1/localhost/home/pi/.xsession-errors.old' to '/media/pi/PIBACK/alpha.0/localhost/home/pi/.xsession-errors.old': Operation not permitted /bin/cp: cannot create hard link '/media/pi/PIBACK/alpha.1/localhost/home/pi/ESPHamClock.zip' to '/media/pi/PIBACK/alpha.0/localhost/home/pi/ESPHamClock.zip': Operation not permitted ---------------------------------------------------------------------------- rsnapshot encountered an error! The program was invoked with these options: /usr/bin/rsnapshot alpha ---------------------------------------------------------------------------- ERROR: /bin/cp -al /media/pi/PIBACK/alpha.0 /media/pi/PIBACK/alpha.1 failed (result 256, exit status 1). /bin/cp: cannot create hard link '/media/pi/PIBACK/cp_al2/cp_al1/tt1' to '/media/pi/PIBACK/cp_al1/tt1': Operation not permitted ERROR: Perhaps your cp does not support -al options? ERROR: Error! cp_al("/media/pi/PIBACK/alpha.0/", "/media/pi/PIBACK/alpha.1/") Has this worked OK for others? Any idea of what went wrong and what to do about it?
--
--Bill AA6BD


Re: GPIO pin control, simple applet exists?

 

The relay I use needs not just a gpio pin, but also 5v power to function. So the pi can cut its power, but it cannot turn it on (I'm going to use a separate esp module and relay to do that in my project).

That board seems to have everything exposed, can you not just bypass/jumper the switch so it is always closed?

On Wed, Jun 3, 2020 at 2:20 PM Grant Greenwell <grant.d.greenwell@...> wrote:
So right now the pi won't turn on if the 12V plug is energized (no
power --> power) like if you were using the 5V port on the actual Pi
board.? You have to use the button or a IR remote.? I was wondering if
your GPIO endeavors were able to find a solution to this.

On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
> What exactly are you trying to accomplish and what do you mean by "hot
> plug?"
>
> On Wed, Jun 3, 2020 at 1:26 PM Grant Greenwell
> <grant.d.greenwell@...>
> wrote:
>
>>
>>
>>
>>
>>
>> On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
>> > I'm not familiar with that hat (in full disclosure, more a
>> microcontroller
>> > guy than rpi).
>> >
>> > What does it do, or where are its specs online?
>> >
>> > On Wed, Jun 3, 2020 at 10:16 AM Grant Greenwell
>> > <grant.d.greenwell@...>
>> > wrote:
>> >
>> >> That sounds amazing - would it enable "hot plug" for the 12V makerpi
>> >> hat as well I presume?
>> >>
>> >> On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
>> >> > Well to answer my own question, the raspbian OS comes with command
>> line
>> >> > "gpio" utility that is pretty cool, except for some weird pin
>> >> > mapping
>> >> > convention.
>> >> >
>> >> > Was able to easily use webmin (great admin tool I put on every linux
>> >> > machine) to add simple startup and shutdown script so now the pi can
>> >> > control the relay that controls its own 2x12v 40mm fans I put on for
>> >> > cooling (going to use this outside or in a hot vehicle in florida
>> >> > for
>> >> > remote rig control).
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> G.D. Greenwell
>> >> C: +1.240.472.3941
>> >> grant.d.greenwell@...
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >
>>
>>
>> --
>> G.D. Greenwell
>> C: +1.240.472.3941
>> grant.d.greenwell@...
>>
>>
>>
>>
>
>
>
>


--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...




Re: GPIO pin control, simple applet exists?

 

So right now the pi won't turn on if the 12V plug is energized (no
power --> power) like if you were using the 5V port on the actual Pi
board. You have to use the button or a IR remote. I was wondering if
your GPIO endeavors were able to find a solution to this.

On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
What exactly are you trying to accomplish and what do you mean by "hot
plug?"

On Wed, Jun 3, 2020 at 1:26 PM Grant Greenwell
<grant.d.greenwell@...>
wrote:






On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
I'm not familiar with that hat (in full disclosure, more a
microcontroller
guy than rpi).

What does it do, or where are its specs online?

On Wed, Jun 3, 2020 at 10:16 AM Grant Greenwell
<grant.d.greenwell@...>
wrote:

That sounds amazing - would it enable "hot plug" for the 12V makerpi
hat as well I presume?

On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
Well to answer my own question, the raspbian OS comes with command
line
"gpio" utility that is pretty cool, except for some weird pin
mapping
convention.

Was able to easily use webmin (great admin tool I put on every linux
machine) to add simple startup and shutdown script so now the pi can
control the relay that controls its own 2x12v 40mm fans I put on for
cooling (going to use this outside or in a hot vehicle in florida
for
remote rig control).




--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...






--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...





--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...


Re: GPIO pin control, simple applet exists?

 

What exactly are you trying to accomplish and what do you mean by "hot plug?"


On Wed, Jun 3, 2020 at 1:26 PM Grant Greenwell <grant.d.greenwell@...> wrote:




On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
> I'm not familiar with that hat (in full disclosure, more a microcontroller
> guy than rpi).
>
> What does it do, or where are its specs online?
>
> On Wed, Jun 3, 2020 at 10:16 AM Grant Greenwell
> <grant.d.greenwell@...>
> wrote:
>
>> That sounds amazing - would it enable "hot plug" for the 12V makerpi
>> hat as well I presume?
>>
>> On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
>> > Well to answer my own question, the raspbian OS comes with command line
>> > "gpio" utility that is pretty cool, except for some weird pin mapping
>> > convention.
>> >
>> > Was able to easily use webmin (great admin tool I put on every linux
>> > machine) to add simple startup and shutdown script so now the pi can
>> > control the relay that controls its own 2x12v 40mm fans I put on for
>> > cooling (going to use this outside or in a hot vehicle in florida for
>> > remote rig control).
>> >
>> >
>> >
>> >
>>
>>
>> --
>> G.D. Greenwell
>> C: +1.240.472.3941
>> grant.d.greenwell@...
>>
>>
>>
>>
>
>
>
>


--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...




Re: GPIO pin control, simple applet exists?

 

On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
I'm not familiar with that hat (in full disclosure, more a microcontroller
guy than rpi).

What does it do, or where are its specs online?

On Wed, Jun 3, 2020 at 10:16 AM Grant Greenwell
<grant.d.greenwell@...>
wrote:

That sounds amazing - would it enable "hot plug" for the 12V makerpi
hat as well I presume?

On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
Well to answer my own question, the raspbian OS comes with command line
"gpio" utility that is pretty cool, except for some weird pin mapping
convention.

Was able to easily use webmin (great admin tool I put on every linux
machine) to add simple startup and shutdown script so now the pi can
control the relay that controls its own 2x12v 40mm fans I put on for
cooling (going to use this outside or in a hot vehicle in florida for
remote rig control).




--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...





--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...


Re: GPIO pin control, simple applet exists?

 

I'm not familiar with that hat (in full disclosure, more a microcontroller guy than rpi).?

What does it do, or where are its specs online?

On Wed, Jun 3, 2020 at 10:16 AM Grant Greenwell <grant.d.greenwell@...> wrote:
That sounds amazing - would it enable "hot plug" for the 12V makerpi
hat as well I presume?

On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
> Well to answer my own question, the raspbian OS comes with command line
> "gpio" utility that is pretty cool, except for some weird pin mapping
> convention.
>
> Was able to easily use webmin (great admin tool I put on every linux
> machine) to add simple startup and shutdown script so now the pi can
> control the relay that controls its own 2x12v 40mm fans I put on for
> cooling (going to use this outside or in a hot vehicle in florida for
> remote rig control).
>
>
>
>


--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...




Re: GPIO pin control, simple applet exists?

 

That sounds amazing - would it enable "hot plug" for the 12V makerpi
hat as well I presume?

On 6/3/20, Randon Loeb <randonloeb18@...> wrote:
Well to answer my own question, the raspbian OS comes with command line
"gpio" utility that is pretty cool, except for some weird pin mapping
convention.

Was able to easily use webmin (great admin tool I put on every linux
machine) to add simple startup and shutdown script so now the pi can
control the relay that controls its own 2x12v 40mm fans I put on for
cooling (going to use this outside or in a hot vehicle in florida for
remote rig control).



--
G.D. Greenwell
C: +1.240.472.3941
grant.d.greenwell@...


Re: GPIO pin control, simple applet exists?

 

Well to answer my own question, the raspbian OS comes with command line "gpio" utility that is pretty cool, except for some weird pin mapping convention.

Was able to easily use webmin (great admin tool I put on every linux machine) to add simple startup and shutdown script so now the pi can control the relay that controls its own 2x12v 40mm fans I put on for cooling (going to use this outside or in a hot vehicle in florida for remote rig control).


Re: ARDOP Connections

 

¿ªÔÆÌåÓý

I do not understand your reply.

Are you saying that ARDOP does not work when the configured for an RMS Gateway?

Or are you talking about the new Buster OS that is enumerating the Sound Card differently?

73s, Ed, KD9FRQ

On 6/2/2020 11:40 PM, Don Poaps wrote:

There's an issue that was found with getting a Winlink Gateway. At least for Packet.?

73
Don Poaps
New Westminster, BC
VA7DGP DATA
VA7QU ? VOICE


Winlink: va7qu@...
Subject://wl2k ? ? ? ? ??



? ? ? ? ? ? ? ? ? ??
??




?


On Tue, Jun 2, 2020 at 4:07 PM Ed Bloom, KD9FRQ via <ewbloom=[email protected]> wrote:
Greeting One and All,

When sending via ARDOP, how do you select a gateway / station based on
your QTH for 20m and for 40m?

I am not having any success connecting to any stations listed for 20m in
my grid.

I am trying to learn how best to use the Pat system.

Thanks in advance for your replies.

73s, Ed, KD9FRQ






Re: ARDOP Connections

 

There's an issue that was found with getting a Winlink Gateway. At least for Packet.?

73
Don Poaps
New Westminster, BC
VA7DGP DATA
VA7QU ? VOICE


Winlink: va7qu@...
Subject://wl2k ? ? ? ? ??



? ? ? ? ? ? ? ? ? ??
??




?


On Tue, Jun 2, 2020 at 4:07 PM Ed Bloom, KD9FRQ via <ewbloom=[email protected]> wrote:
Greeting One and All,

When sending via ARDOP, how do you select a gateway / station based on
your QTH for 20m and for 40m?

I am not having any success connecting to any stations listed for 20m in
my grid.

I am trying to learn how best to use the Pat system.

Thanks in advance for your replies.

73s, Ed, KD9FRQ





ARDOP Connections

 

Greeting One and All,

When sending via ARDOP, how do you select a gateway / station based on your QTH for 20m and for 40m?

I am not having any success connecting to any stations listed for 20m in my grid.

I am trying to learn how best to use the Pat system.

Thanks in advance for your replies.

73s, Ed, KD9FRQ