N1PEB
New Member
Posts: 13
|
Post by N1PEB on Apr 23, 2016 7:16:19 GMT -7
There are times when it would be convenient to link to a reflector while I have a VNC connection open to the RasPi running G4KLX/D-Star Commander, is this possible? I have some reflectors programmed in the radio, but not all. The ircDDB iOS app is okay for this as along as ircDDB is running. It would just seem nice to be able to type a command at the terminal to perform the same function.
|
|
|
Post by W6KD on Apr 24, 2016 5:45:43 GMT -7
Not currently possible. That'd require someone to write a Linux version of something like the iOS/Android remote app. I don't plan on doing that...maybe someone else is.
Also, I don't believe that having ircDDB enabled is a requirement for either of the PA7LIM remote apps...you might want to check that again.
Regards
|
|
N1PEB
New Member
Posts: 13
|
Post by N1PEB on Apr 26, 2016 12:22:50 GMT -7
Thanks Bob. I can confirm you are correct, ircDDB does not need to be enabled, only the remote option needs to be enabled. I tried this out and it did work.
I contacted PA7LIM to see if an OS X app was forthcoming, but he stated the app is available for Android and iOS only.
|
|
N1PEB
New Member
Posts: 13
|
Post by N1PEB on May 15, 2016 9:18:34 GMT -7
After some digging around, I have determined this capability actually exists within ircDDB already. The details on the remote control functions are contained in this document: download.prgm.org/dl5di-soft/opendv/documentation/ircddbgateway/ircDDBGateway-ENG.pdfPage 16 details enabling Remote Control which is the same process one would go through if you are using the ircDDB app for iOS/Android by PA7LIM. Page 18-19 provide details on running the application in windows and Linux. Since I am running Linux on the Pi, I setup the Remote Control Preferences to point to my Pi's IP address and made sure the port and password matched what I setup on Page 16. After rebooting so the settings are applied and connecting to the Pi with VNC, typing the "remotecontrol" command in the terminal window brings up the Remote Control app window (shown below) where you can link to various repeaters. Scrolling the list is a bit cumbersome, but at east you can select a reflector that you may not have programmed in your radio. Also note the Maryland D-Star image lists a similar application built into their image, but I have not tried that.
|
|
|
Post by W6KD on May 16, 2016 10:21:19 GMT -7
Well now, that's a good find.
Regards
|
|
AA7US
New Member
Posts: 41
|
Post by AA7US on Jun 13, 2016 18:24:52 GMT -7
After some digging around, I have determined this capability actually exists within ircDDB already. ...typing the "remotecontrol" command in the terminal window... Can anyone please instruct me on how to get the "remotecontrol" command (mentioned above) to autolaunch after a boot up in the same way the D-StarRepeater and ircDDBGateway apps do with D-Star Commander? I'm brand new to Linux, Rasbian, and LDXE so I did a bunch of Googling for a possible answer. I found there's supposed to be an autostart text file but I couldn't find it in the normal locations suggested, so I suspect a different method is being used with D-Star Commander. Thanks in advance, John AA7US
|
|
N1PEB
New Member
Posts: 13
|
Post by N1PEB on Jun 15, 2016 5:14:28 GMT -7
This would be somewhat convenient for sure, although typing "remotecontrol" is not that difficult either. I’m new to Linux/Rasbian/Jessie as well, but I decided it was worth looking into this as a possibility. It looks like the programs that run on startup are located here: /home/pi/.config/autostart This is where apparently the ircddb Gateway and D-Star Repeater DVAP apps are started as there are two files that list their commands to run on the desktop. I decided to add another file to try and start the remotecontrol app. I created a file called start_remctrl_desktop which consisted of the following entries: [Desktop Entry] Type=Application Exec=remotecontrol As a reference, here is the start_modem_desktop file contents: [Desktop Entry] Type=Application Exec=sudo dstarrepeater -gui NOTE: I tried using "sudo remotecontrol -gui" in the file I created, but that did not make a difference. In addition to the above file, there are similar files located at the following location: /home/pi/Desktop These appear to position an icon on the Desktop for several apps. I decided to create another file here so that the remotecontrol app would have an icon on the desktop to at least make it a bit easier to run. All of the above was partially successful, with the icon being placed on the desktop. The app does indeed run when clicking on the icon, so that is a little easier. However, I have been unable to get the app to autostart after rebooting. I’m still digging to see if I do not have a setting correct or perhaps the app cannot run until after the ircddb gateway and d-star repeater apps are finished getting started. Maybe a delay of some type would work. I have been using the nano editor to create and edit the files I introduced. I did see a note online that indicated I should run sudo nano which I did to make subsequent edits, but I did not use that to create the file. Not sure if that would make a difference. Note2: just checked file permissions and the one I created for remotecontrol is different than the others. I will try to create another file and see if that works. Note3: recreated files so that root was owner, however this made no difference as the remote control app still does not start on boot
|
|
AA7US
New Member
Posts: 41
|
Post by AA7US on Jun 15, 2016 20:59:35 GMT -7
...I have been unable to get the app to autostart after rebooting. Hi Paul, Great info... thanks! I got the exact same results that you did... i.e.: the "remotecontrol" app wouldn't auto launch after boot despite an entry in the autostart directory. I also tried the same experiment for the "timercontrol" app with no luck. Thankfully I'd already figured out how to create desktop icons to quickly launch apps, but I'm hoping to have both the remotecontrol and the timercontrol apps autolaunch after boot without human intervention. I suspect you're right that the ircDDB Gateway app needs time to fully launch and stabilize before the remotecontrol and timercontrol apps can be run. I wonder if there's a command that could be added to the autolaunch files to get the apps too delay starting? 73, John AA7US
|
|
N1PEB
New Member
Posts: 13
|
Post by N1PEB on Jun 16, 2016 13:03:02 GMT -7
I suspect there is more to it than adding an entry to auto start. There a a couple of python files that look to control the startup process as well, but changing those is a bit beyond my level at this point. I'm happy to have the icon and I might leave it at that.
|
|
N7HHI
New Member
Posts: 4
|
Post by N7HHI on Mar 21, 2017 12:01:31 GMT -7
I tried all of the above before finding this thread. I was able to get the remotecontrol app to autostart, however when it autostarts it does not have a configuration. So you have to enter the IP, port, & password. Then you have to exit the remotecontrol app and restart it.
This happens everytime I boot the raspi. So that totally defeats the purpose of having it autostart. I found this thread when searching for a solution to the issue I am now experiencing with the configuration at every boot.
73,
Scott N7HHI
|
|