Coder Social home page Coder Social logo

patmenu's Introduction

Pat-Menu

As of 19May2020 this code will no longer supported. End of life. See the replacement, Pat Menu 2. https://github.com/km4ack/patmenu2

Videos

IMAGE ALT TEXT

IMAGE ALT TEXT

Issues

Please report any bugs/issues with the menu https://github.com/km4ack/Pat-Menu/issues

Install

git clone https://github.com/km4ack/patmenu.git $HOME/patmenu && bash $HOME/patmenu/setup

Be sure to update the config file before launching the menu for the first time.

Once setup is finished, start the menu using the new icon on the desktop. Double click and then choose "Execute in Terminal"

patmenu's People

Contributors

km4ack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

patmenu's Issues

typo in auto pat

#check rig is in USB
MODE=$($RIG m | grep MODEHF) #THIS IS THE TYPO SHOULD BE $MODEHF
sleep 1
MODECHECK() {
#check rig is in correct mode
MODE=$($RIG m | grep $MODEHF)
}
sleep 1
if [ -z $MODE ]
then
$RIGUSB
MODECHECK
fi
}

ardop-gui

add ardop-gui to ardop start script

Gateway list request error

Pi3 running Buster. When I run it I get this error message:

`Gateway List Request

  1. ARDOP List
  2. Packet List
  3. Main Menu
    Please enter your choice: 1
    touch: cannot touch '/home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f': No such file or directory
    /home/pi/patmenu/catalog: line 43: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 44: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 45: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 46: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 47: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 48: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 49: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 50: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 51: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 52: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 53: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    /home/pi/patmenu/catalog: line 54: /home/pi/.wl2k/mailbox/kf4mot/out/GUTZ7GLWM2QZ.b2f: No such file or directory
    Your request has been posted to the outbox of Pat Winlink
    Please go to Pat and initiate a connection to send the request
    Press any key to continue`

Looking for these locations on my system I can see that they don't exist.

Patmenu download locks up the file viewer

Downloaded the github pat menu and let it run. When trying to go to the next step of viewing config file the file browser flashes open and immediately closes. Same results after rebooting and doing update/upgrade seperately.

Mike Ring
KE0LCK

Multiple packet alias updates

If multiple packet stations are returned in the find alias, it will corrupt the pat config file if you attempt to load.

rigctl PTT

I've installed, which went very smooth. My rig uses CAT PTT not VOX. It appears that the script does not send the rigctl T 1 or T 0 commands to the rig. This is my rigctl statement in Patmenu Config: RIG="/usr/local/bin/rigctl -m 120 -r /dev/ttyUSB0 -s 38400 -p /dev/ttyUSB0 -P RIG". Tested from the command line it works. I tried to locate the area of the code where rigctl is called to see if I could add the commands but I have been unable to.

Uncomment Evince

Uncomment evince install in patsetup after testing is complete.

add azimuth option to auto pat

comment from patron

I am located out in the Western Pacific on the island of Okinawa, Japan. Digital stations of any kind are few and far between here. When I use option 5 I need to use 20 or 40 meters and a distance range out to 7,500 km to find stations. At that distance propagation (time of day, frequency, direction, and distance) is a major factor. Normally I have to reach all the way to Australia to find a station. At a radius of 7,500 km there are stations in many parts of the world that have no propagation. It would be extremely useful to have DIRECTION as an additional choice in the station selection. For example: 20M, 7,500km, 3,000 km and a direction S (N, NE, E, SE, S, SW, W, NW, All). The minimum distance is helpful because I'm not allowed to communicate with other Japanese stations in certain parts of the bands.

Integer Error Loop - Add Packet alias

If you are in the menu adding a packet station to PAT alias and you hit just the enter key when it asks for the distance to look for stations, it goes into an integer error loop. per Dave

wrong notepad

Buster uses mousepad while Stretch uses leafpad. Need to identify which version so the right editor can be called.

Fix start-pat2m for buster

As of 20191230 a work around is being used to get the correct port number (/dev/pts/?) when direwolf starts in Buster. This port number is required to pass to kissattach for use with Pat Winlink. The workaround involves writing data to a temp file and reading that file for the port number. This produces extras read/write cycles to the SD card that are unnecessary. Correct way to read the port number is with the command
ls -l /tmp/kisstnc | awk '{print $NF}'
after direwolf has started. The original workaround was used because the symlink created by direwolf on start (/tmp/kisstnc) doesn't work and we get a permission denied. This was tested (v0.59) and reminiscence of the test are commented out in the start-pat2m script. The test was unsuccessful so I reverted back to the workaround (v0.60) until the correct solution can be implemented.

Uncomment cron job

In patsetup the cron section for downloading ardop-list is commented out during testing. Need to uncomment.

Packet Connections/mode

Did not find a way to switch between the Signal Link USB/Direwolf to MobiLink TNC BlueTooth to Draws/direwolf?
Did not find a way to switch between 1200/9600 APRS or maybe a VARA FM modem instead of Direwolf modem.

./mobi-connect and Patmenu2

Seems this Mobi connect scripted mess up Patmenu2 starting of Pat Winlink.

Xastir found
Please Wait
Scanning for device....this takes ~20 seconds
Scan complete
Mobilinkd TNC 3 detected
Creating the connection
Connected /dev/rfcomm0 to 34:81:F4:33:A9:7A on channel 6
Press CTRL-C for hangup

If you choose to not start a Winlink Session
Then APRS will be started instead
Would you like to run a Winlink Session? y/n y
starting kissattach for winlink
AX.25 port wl2k bound to device ax0
2020/05/28 17:00:42 Unable to get frequency from rig my-rig: dial tcp 127.0.0.1:4532: connect: connection refused.
2020/05/28 17:00:42 Starting HTTP service (0.0.0.0:5000)...
2020/05/28 17:00:42 listen tcp 0.0.0.0:5000: bind: address already in use

Both services started and ready
pi@va7dgp:~/patmenu2 $ 192192+

I turned off CRLT C Mobil-connect. The Patmenu2 Packet modem disconnects. I think the Bluetooth pair needs to be disconnected for Deirwolf to run properly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.