Keyboard Shortcuts
Likes
- RaspberryPi-4-HamRadio
- Messages
Search
Do the following
|
Your Pi doesn't have .exe files. That's a Windows peculiarity.
On 07/07/2021 16:27 John <radio@...> wrote:Nigel A. Gunn, ///shoulders.outwards.resolutions tel +1-937-971-0366 Amateur Radio G8IFF W8IFF and GMRS WRBV701, e-mail nigel@... www |
I'm trying to set up a subMenu item to launch WSJT-X on the Pi4b PiOS.? ?When WSJT-X was installed, its icon appeared under the subMenu for Internet.? I made an additional subMenu "Ham Digital" and was able to run FLrig and FLdigi trom icons there, but setting up the subMenu item for WSJT-X escapes me.? As it is, WSJT-X icon works, but it is in the Sound and Video sub menu on my Pi.
I've searched my Pi in vain for the .exe to link to the menu.? Can someone tell me where to find it, or suggest what I should do to?? The Memu Editor won't take the same command that works under the Internet subMenu. John,? W0GN |
Mark Griffith
There are lots and lots of articles and examples on this you can find via a Google search.? Try that for more detailed info. Mark KD0QYN On Wed, Jul 7, 2021 at 8:47 AM John <radio@...> wrote: Using a Pi4b with PiOS (Raspbian).? I want to add additional icons on the drop down Menu and be able to click on those icons to launch programs. |
Hello John,
toggle quoted message
Show quoted text
Clicking the Raspberry Pi icon in the upper left hand corner of the display reveals the drop-down menu. Click the Preferences icon (third from bottom), and chose Main Menu Editor from the fly-out menu. The user interface is pretty intuitive. I'm sure you can take it from there. Best regards, Larry WB6BBB On Wed, 07 Jul 2021 06:38:43 -0700, "John" <radio@...> wrote:
Using a Pi4b with PiOS (Raspbian).? I want to add additional icons on the drop down Menu and be able to click on those icons to launch programs. |
Re: SSH Disconnects
¿ªÔÆÌåÓýSo if your going across a router it is rewriting the ip packets, changing the addresses to allow local traffic to appear to come from the router, and then rewriting the responses to go back to the original device. To do this it is notes what it did in a table, many routers will drop this info if there is no traffic for five to ten minutes, so you really need to lower the client alive interval to five to ten minutes, a high retry count / interval can be used to help the connection survive a momentary connection drop in the path as long as it isn't the router losing its table. Good luck! -------- Original message -------- From: Tom McKee K4ZAD <tom.m@...> Date: 7/5/21 11:20 PM (GMT-07:00) Subject: Re: [RaspberryPi-4-HamRadio] SSH Disconnects Thanks guys for the responses. They set me on the way toward a possible resolution, which I haven¡¯t yet achieved. SOME CLARIFICATIONS: 1.?????? The Putty error message is - Network Error: Software caused connection to abort. I believe these indicate that the problem must be with the RPi¡¯s SSHD implementation. ACTIONS TAKEN: 1.?????? root/usr/share/openssh/sshd_config was edited to enable ClientAliveInterval and set its value to 14400 (4 hours) and to enable ClientAliveCountMax and set its value to 3. This provides 12 hours of daylight operation, but does not stop the abort at 01:30 UTC. There are probably about 30 possible settings in my sshd_config, but only 3 (5 with my changes) are enabled. I guess the defaults are generally OK, or should others be enabled? ?? So the problem remains, and any further suggestions would be appreciate. Thanks, Tom???? K4ZAD |
Re: [EXTERNAL] Re: [RaspberryPi-4-HamRadio] SSH Disconnects
"
Network Error: Software caused connection to abort." is the error you get if the wifi disconnects from the Pi, then comes back, but the ssh connection isn't automatically restarted.? if you reboot the pi while you are ssh'd in you get the same message On Tue, Jul 6, 2021 at 8:20 PM Tom McKee K4ZAD <tom.m@...> wrote: Gosh, let's try this again. The first attempt was a mess. |
Re: [EXTERNAL] Re: [RaspberryPi-4-HamRadio] SSH Disconnects
Tom McKee K4ZAD
Gosh, let's try this again. The first attempt was a mess.
Thanks guys for the responses. They set me on the way toward a possible resolution, which I haven¡¯t yet achieved. SOME CLARIFICATIONS: 1.??? The Putty error message is - Network Error: Software caused connection to abort. 2.??? Several different Putty ¡°keep alive¡± time setting failed to prevent the problem. 3.??? The problem is not router based. Putty stays connected to the RPi, only the login to RPi is broken. Also the router log shows no activity at the time of the problem. 4.??? If the RPi WSPR TX is run directly on the RPi (no SSH), the login does not break even after hours of activity and also does not break at 01:30 to 02:30 UTC as it does when run via SSH. I believe this indicates that the problem must be with the RPi¡¯s SSHD implementation. ACTIONS TAKEN: 1.??? root/usr/share/openssh/sshd_config was edited to enable ClientAliveInterval and set its value to 14400 (4 hours) and to enable ClientAliveCountMax and set its value to 3. This provides 12 hours of daylight operation, but does not stop the abort at 01:30 UTC. There are probably about 30 possible settings in my sshd_config, but only 3 (5 with my changes) are enabled. I guess the defaults are generally OK, or should others be enabled? 2.??? As suggested, I have viewed dmesg. but all I see there seems to relate to boot up, not loss of login. Most of the other Internet advice about sshd logs is generic Linux and references files that I don¡¯t find on my RPi. 3.??? I have looked at the log files in root/var/log. The applicable files all carry a time stamp consistent with my logging back into Pi again after the abort. The only one that I can read is debug and there is nothing in it with a time stamp consistent with the abort ¨C all times are for my re-logging into Pi. So the problem remains, and any further suggestions would be appreciate. Thanks, Tom???? K4ZAD |
Re: SSH Disconnects
¿ªÔÆÌåÓýHello Tom, Are you sure your Rpi isn't loosing it's wifi connection during this 0130 to 0230 UTC?? Try running this command on your Rpi and as you can see from my example, one of my Rpi looses it's link often.? Once it looses the link, all SSH sessions will be automatically disconnected. sudo grep -e "wlan0: carrier" /var/log/syslog -- Jul? 6 00:02:26 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 00:40:10 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 00:40:11 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 01:07:34 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 01:07:55 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 01:08:01 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 01:08:40 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 01:50:26 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 01:51:39 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 02:12:24 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 02:12:28 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 02:12:34 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 02:44:34 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 02:44:40 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 03:21:36 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 03:21:42 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 03:26:31 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 04:02:53 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 04:16:37 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 04:54:59 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 04:55:01 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 05:21:12 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 05:21:26 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 05:21:32 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 05:21:48 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 05:55:40 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 05:55:55 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 06:43:52 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 06:43:54 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired Jul? 6 07:22:05 rpi0w-2 dhcpcd[515]: wlan0: carrier lost Jul? 6 07:22:05 rpi0w-2 dhcpcd[515]: wlan0: carrier acquired -- If you're seeing a similar issue on your side, you need to improve your Wifi connection's reliability.? To get a signal strength report, you can run this script: /usr/local/bin/get-wifi-stats.sh -- #!/bin/bash # 05/25/21 - dranch - minor fixes # 04/19/21 - dranch - original version echo -en "\nWifi Signal strength: " iw wlan0 station dump | grep signal | awk '{print $2}'? echo -e "?? -70 dbm or less? : is a weak signal and the link will drop if it gets much weaker" echo -e "?? -60 dbm to -50?? : is a good signal" echo -e "?? -40 dbm or better: is a great signal" echo -en "\nWifi RX speed: " iw wlan0 station dump | grep 'rx bitrate' | awk '{print $3}' echo -en "Wifi TX speed: " iw wlan0 station dump | grep 'tx bitrate' | awk '{print $3}' echo -en "Wifi session reconnects since last reboot: " iw wlan0 station dump | grep failed | awk '{print $3}' echo " " -- If you cannot fix this link drop issue, you need to change your approach to deal with this.? Running sessions within a re-attachable screen / tmux / etc might be important. --David KI6ZHD On 07/05/2021 12:59 PM, Tom McKee K4ZAD
wrote:
|
Re: SSH Disconnects
My 2 cents worth
If you are using an Apple IOS device version 14.xx (Iphone and Ipad) its necessary to go into the IOS settings and change the privacy setting. ? On Windows 7 my putty.exe was pretty old so it was updated and that fixed the connection problem. The very very latest IOS 14.nn+1 update kills a lot of our favorite programs for remote control and I¡¯ve not yet found the solution however WEB based apps like Astroberry and the CSN Satellite controller work fine because we use a web browser to access them. ? |
Re: SSH Disconnects
Tom McKee K4ZAD
¿ªÔÆÌåÓýThanks guys for the responses. They set me on the way toward a possible resolution, which I haven¡¯t yet achieved. SOME CLARIFICATIONS: 1.?????? The Putty error message is - Network Error: Software caused connection to abort. I believe these indicate that the problem must be with the RPi¡¯s SSHD implementation. ACTIONS TAKEN: 1.?????? root/usr/share/openssh/sshd_config was edited to enable ClientAliveInterval and set its value to 14400 (4 hours) and to enable ClientAliveCountMax and set its value to 3. This provides 12 hours of daylight operation, but does not stop the abort at 01:30 UTC. There are probably about 30 possible settings in my sshd_config, but only 3 (5 with my changes) are enabled. I guess the defaults are generally OK, or should others be enabled? ?? So the problem remains, and any further suggestions would be appreciate. Thanks, Tom???? K4ZAD |
Re: [EXTERNAL] Re: [RaspberryPi-4-HamRadio] SSH Disconnects
Also, consider setting up the TCP Keep-alive feature in your PuTTY configuration (you've already saved it, so you can just double-click to restart the session, yes?).
toggle quoted message
Show quoted text
Select your session from the list, then click the Load button... Under the "Connection" menu item, select the checkbox for TCP keep-alive, and then go back to the session tab, and save your configuration again. This may also be enough traffic to trigger DHCP to renew your lease again... Best regards, -Z- -----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Ray Wells via groups.io Sent: Tuesday, June 29, 2021 3:01 PM To: [email protected] Subject: [EXTERNAL] Re: [RaspberryPi-4-HamRadio] SSH Disconnects Just a couple of thoughts off the top of my head: is the DHCP lease in the router expiring in the time frame stated? have you looked at dmesg to see if anything is reported?? Use (sudo) dmesg -T? to time stamp the entries. Ray vk2tv On 30/6/21 7:21 am, Tom McKee K4ZAD wrote:
|
Re: SSH Disconnects
Just a couple of thoughts off the top of my head:
toggle quoted message
Show quoted text
is the DHCP lease in the router expiring in the time frame stated? have you looked at dmesg to see if anything is reported?? Use (sudo) dmesg -T? to time stamp the entries. Ray vk2tv On 30/6/21 7:21 am, Tom McKee K4ZAD wrote:
|
Re: SSH Disconnects
Mark Griffith
There is a thing called ssh timeout.? Lots of web sites on that, you should do a search. Mark KD0QYN
On Tuesday, June 29, 2021, 4:50:47 PM CDT, Tom McKee K4ZAD <tom.m@...> wrote:
I am running a WSPR TX using a Pi V1. It's WiFi controlled via my router and Putty SSH on my main PC. Putty is set to send frequent "keep alive" requests, and this gives me continuous control and operation during the day. |
SSH Disconnects
Tom McKee K4ZAD
I am running a WSPR TX using a Pi V1. It's WiFi controlled via my router and Putty SSH on my main PC. Putty is set to send frequent "keep alive" requests, and this gives me continuous control and operation during the day. |
Re: Which Pi ?
This solution is not plug-n-play and it's not a Pi, however, I know of many that have used them for years and at very remote sites. One ham I know has three of these on mountain tops where winter conditions are extreme and they just keep working. The beauty of this unit is that it is all contained in one package that you connect to the radio.
|
HamPi 1.4 (June 2021) "Father's Day Edition" Released
Fellow Hams, I am pleased to announce that??is now available for public download! Please use the attached BitTorrent file to make it easier for everyone to get the image.?And after you have completed downloading, please continue to seed for at least a week so other hams can benefit. If you cannot or will not use BitTorrent, you may download HamPi from SourceForge: Direct Download Link:? If you run into issues, please post to the forum on?/g/Ham-Pi/?first. If you see a bug (defect), please report it on the GitHub issues page at:? Version 1.4 (June 2021) ReleaseDid you know that HamPi has a wiki? Find it at? UPGRADING: In order to transition smoothly from HamPi 1.X to HamPi 1.4 and preserve your configuration settings, please follow the instructions in the attached file, "UPGRADING_FROM_PRIOR_VERSION.TXT" (This is still a work in progress.) CHANGELOG: ==================================== Base image: Raspbery Pi OS Buster 2021-05-07 (Full release) Added DUDE-Star (D-Star, DMR, Fusion, etc.) Added wfview (control modern Icom ham radios) Added QDMR (DMR radio programming software) Added Reverse Beacon Network client Added Orca (screen reading software for blind hams) Updated WSJT-X Fixed WSJT-X locale issue Fixed one missing Help Menu in Desktop GUI Fixed Ansible templating Removed SDRAngel (temporarily) Many other applications updated from Internet Good luck and 73! -- - Dave ?? |
Re: Which Pi ?
To answer the question "Which PI?"
Assuming you are speaking of a Packet TNC 1200 baud.. any Raspberry pi has plenty of Horse power. A RPI4 is actually overkill... I use and have used for at least 8-10 years a RPI2 with a Coastal Chipsworks TNC-PI kit, that I have had no problems using for APRS and Packet. It just keeps playing... You can find RPI2's and 3's for less than $35 retail price. Ebay is a source.? I bought a few RPI3B+ for $27 at Microcenter about January. I also recommend VILROS.COM for a mail order source. I have used them 4-5 times. They are in NJ and sometimes have free shipping options. NJ to KS where I am located has been 2 says all 4-5 times.. So people on the east coast can probably get 1 day service. Standard shipping is USPS. Larry W8LM |
Re: Which Pi ?
I like MFJ. 73 rip On Sat, Jun 19, 2021, 09:35 N5XMT <dacooley@...> wrote:
|