开云体育

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

Re: new web-based dashboard for QnetGateway

 
Edited

Attched is a PDF that shows the errors I get with install dash

?

Oh and I tried sudo app update, trying it again, Seems to be working on something More in a few minutes



Re: new web-based dashboard for QnetGateway

Colby Ross W1BSB
 

开云体育

John

Please try "sudo apt update" and then try the installdash again. I think this should fix the issue.

Colby


On 3/12/2020 13:34, John F Davis wrote:

The post was a typo.. The errors are when I try to install the dash. The address is generated by the software and is http:// sonmething (several errors one for each file)

?

When I try to connect to the dashboard I'm normally using just the IP 192.168.x.y? and it matters not if I type just the numbers or ?where x and y are the last two octets.?

?

The errors I'm getting are basically 404 errors. You know. File not found? ?and as I said the files are not being found where ther install routine expects to find 'em. I'm not typing anything at all .



Re: new web-based dashboard for QnetGateway

Colby Ross W1BSB
 

开云体育

Try "sudo apt update" and see if you get the same errors. If you do, there is a problem with your /etc/apt/sources.list file that is causing this to occur, and is not actually a QnetGateway problem.

Colby

On 3/12/2020 13:34, John F Davis wrote:

The post was a typo.. The errors are when I try to install the dash. The address is generated by the software and is http:// sonmething (several errors one for each file)

?

When I try to connect to the dashboard I'm normally using just the IP 192.168.x.y? and it matters not if I type just the numbers or ?where x and y are the last two octets.?

?

The errors I'm getting are basically 404 errors. You know. File not found? ?and as I said the files are not being found where ther install routine expects to find 'em. I'm not typing anything at all .



Re: new web-based dashboard for QnetGateway

 

The post was a typo.. The errors are when I try to install the dash. The address is generated by the software and is http:// sonmething (several errors one for each file)

?

When I try to connect to the dashboard I'm normally using just the IP 192.168.x.y? and it matters not if I type just the numbers or ?where x and y are the last two octets.?

?

The errors I'm getting are basically 404 errors. You know. File not found? ?and as I said the files are not being found where ther install routine expects to find 'em. I'm not typing anything at all .


Re: new web-based dashboard for QnetGateway

Colby Ross W1BSB
 

开云体育

When you put the address in your browser, are you just putting your IP of your hotspot? Or are you typing out http , because in the error you listed below, the format is incorrect. It shows and it should be http://

Colby


On 3/12/2020 13:20, John F Davis wrote:

Thanks, not an option I can use as I'm using Icom Radio in Terminal/Access point mode.?

When I do the sudo make installdash command (Note I copy it out of the read me file so I know I type it right.

?

I get? along list of "Can not find file -----? (mostly Raspberien sites) and the dash does not show up trying to connect to the IP address yeilds "Connection refused"? so I'm not sure what the issue is.



Re: new web-based dashboard for QnetGateway

 

Thanks, not an option I can use as I'm using Icom Radio in Terminal/Access point mode.?

When I do the sudo make installdash command (Note I copy it out of the read me file so I know I type it right.

?

I get? along list of "Can not find file http:.// -----? (mostly Raspberien sites) and the dash does not show up trying to connect to the IP address yeilds "Connection refused"? so I'm not sure what the issue is.


Re: new web-based dashboard for QnetGateway

Colby Ross W1BSB
 

开云体育

Its built into QNetGateway. When you configure the module with qnconfig, select MMDVM Modem instead of MMDVMHost-based System.

Colby


On 3/12/2020 08:02, John F Davis wrote:

Now have the dashboard installed...... Tom you mentioned your MMDVMHosts replacement. can not find it.?


Re: new web-based dashboard for QnetGateway

 

Now have the dashboard installed...... Tom you mentioned your MMDVMHosts replacement. can not find it.?


Re: new web-based dashboard for QnetGateway

 

I got it up and running no dashboard but back online..will do more Thursday.? At least I go back before DOS so a command line does not scare me
.


On Tue, Mar 10, 2020 at 18:24, Tom Early
<n7tae@...> wrote:

Remember that Linux is case-sensitive a Defaults file is different that a defaults file. I assume you mean "defaults", but if git pull was complaining about the defaults file, it means you edited it, which you should never do. There is no reason to edit any file that comes from the repo, unless you are a serious hacker that know's what your doing. If you accidentally changed a file you shouldn't have, you can do a "git checkout <filename>" and it will overwrite the offending file with the one from the repo.

In general, the only files you will be creating or editing are qn.cfg, gwys.txt and possibly a file for DTMF (see the dtmf readme). All of these files are not in the repo, so there should never be any problems with a git pull.

If you've done a git pull and you don't have the DASHBOARD.README file, something has gone horribly wrong. I suggest you delete you build directory and start over wilth git clone ...

Not sure if it's clear, but the "sudo make installdash" doesn't install any files in the build directory, it just makes sure you have the necessary Linux packages and then installs the php mini server with sqlite3 support. Once that's up and running you should be able to surf to <name of computer>.local and see the php web-page installed at /usr/local/www/index.php, and as long as gateway is running and you are linked or subscribed, the last heard should be active.

Also, you generally want to uninstall software before installing it. If you try to install the base or your modem software and it's already install, you'll get errors. The ./qnadmin will enforce this uninstall-before-install paradigm, but I like to use my bash alises, because their faster. How do you find out if you've already installed software and you don't want to use ./qnadmin? Do a "ls /usr/local/bin" and see if the qn* programs are there, or "ls /usr/local/etc" and you'll see the QnetGateway support files. Also do a "ps -aux | grep qn | grep -v grep and you should see 3 or 4 processes running, depending on what you installed: qngateway, qnlink, some sort of a qn* modem program and possible a dtmf process.

Finally, consider installing my mmdvm modem software instead of MMDVMhost. It's D-Star only, but a lot easier to administer. In any event, my dashboard doesn't display anything about the MMDVMhost installation.

Finally finally, QnetGateway is for hams that enjoy Linux and learning Linux. If you want a turn-key card image that is nearly fool-proof, PiStar is the way to go. Having said that, I wouldn't argue with anybody that wanted to generate a QnetGateway disk iso image. It's just that I am pushing up new release fairly regularly, so keeping up is a full time job.

On 3/10/20 2:24 PM, John F Davis wrote:

Fun day in the QnetGateway.? First I did a GP and got an error message about the Defaults file

Got around that (cp defaults defaults.bak? unlink defaults and GP worked? now I have the Dashboard readme file and other files

But Install system did not workjng

Deleted everything right down the the default directory Deleted QnetGateway and MMDVMHost files and diretories and re-did the Git-s? ?Back up and running but no Dashboard files.. and now GP says "Up to date"..? and does nothing.

?

I assume if I wait a few days for something, anything to change (new reflector/repeater or one goes away) GP will work and I'll get it but is there a faster way?

?

At least I'm A: back where I would be without the Dash, and B: up to date :)

?

Still learning linux? Oh the joy

?

The reconfigure took about 2 minutes since I did it once already.

?

?

-- 
___________________________
73
n7tae (at) tearly (dot) net


Re: new web-based dashboard for QnetGateway

 

开云体育

I just updated QnetGateway on one of my two hotspots just an hour or so ago, and it went smoothly. Tested working afterwards with REF-001C and then DSTAR1.

I'm now inspired to try my hand at some CSS and JavaScript to update the raw interface to make it more usable via the browser on my phone, for mobile (vehicle) operation. Bigger text and buttons, etc., and some shortcuts to common reflectors and smart groups.

This is great software! Thanks for all the good work!

73, de K7AJG . .

--

??-- AL --


On Mar 10, 2020, at 6:24 PM, Tom Early <n7tae@...> wrote:

?

Remember that Linux is case-sensitive a Defaults file is different that a defaults file. I assume you mean "defaults", but if git pull was complaining about the defaults file, it means you edited it, which you should never do. There is no reason to edit any file that comes from the repo, unless you are a serious hacker that know's what your doing. If you accidentally changed a file you shouldn't have, you can do a "git checkout <filename>" and it will overwrite the offending file with the one from the repo.

In general, the only files you will be creating or editing are qn.cfg, gwys.txt and possibly a file for DTMF (see the dtmf readme). All of these files are not in the repo, so there should never be any problems with a git pull.

If you've done a git pull and you don't have the DASHBOARD.README file, something has gone horribly wrong. I suggest you delete you build directory and start over wilth git clone ...

Not sure if it's clear, but the "sudo make installdash" doesn't install any files in the build directory, it just makes sure you have the necessary Linux packages and then installs the php mini server with sqlite3 support. Once that's up and running you should be able to surf to <name of computer>.local and see the php web-page installed at /usr/local/www/index.php, and as long as gateway is running and you are linked or subscribed, the last heard should be active.

Also, you generally want to uninstall software before installing it. If you try to install the base or your modem software and it's already install, you'll get errors. The ./qnadmin will enforce this uninstall-before-install paradigm, but I like to use my bash alises, because their faster. How do you find out if you've already installed software and you don't want to use ./qnadmin? Do a "ls /usr/local/bin" and see if the qn* programs are there, or "ls /usr/local/etc" and you'll see the QnetGateway support files. Also do a "ps -aux | grep qn | grep -v grep and you should see 3 or 4 processes running, depending on what you installed: qngateway, qnlink, some sort of a qn* modem program and possible a dtmf process.

Finally, consider installing my mmdvm modem software instead of MMDVMhost. It's D-Star only, but a lot easier to administer. In any event, my dashboard doesn't display anything about the MMDVMhost installation.

Finally finally, QnetGateway is for hams that enjoy Linux and learning Linux. If you want a turn-key card image that is nearly fool-proof, PiStar is the way to go. Having said that, I wouldn't argue with anybody that wanted to generate a QnetGateway disk iso image. It's just that I am pushing up new release fairly regularly, so keeping up is a full time job.

On 3/10/20 2:24 PM, John F Davis wrote:

Fun day in the QnetGateway.? First I did a GP and got an error message about the Defaults file

Got around that (cp defaults defaults.bak? unlink defaults and GP worked? now I have the Dashboard readme file and other files

But Install system did not workjng

Deleted everything right down the the default directory Deleted QnetGateway and MMDVMHost files and diretories and re-did the Git-s? ?Back up and running but no Dashboard files.. and now GP says "Up to date"..? and does nothing.

?

I assume if I wait a few days for something, anything to change (new reflector/repeater or one goes away) GP will work and I'll get it but is there a faster way?

?

At least I'm A: back where I would be without the Dash, and B: up to date :)

?

Still learning linux? Oh the joy

?

The reconfigure took about 2 minutes since I did it once already.

?

?

-- 
___________________________
73
n7tae (at) tearly (dot) net


Re: new web-based dashboard for QnetGateway

 

开云体育

Remember that Linux is case-sensitive a Defaults file is different that a defaults file. I assume you mean "defaults", but if git pull was complaining about the defaults file, it means you edited it, which you should never do. There is no reason to edit any file that comes from the repo, unless you are a serious hacker that know's what your doing. If you accidentally changed a file you shouldn't have, you can do a "git checkout <filename>" and it will overwrite the offending file with the one from the repo.

In general, the only files you will be creating or editing are qn.cfg, gwys.txt and possibly a file for DTMF (see the dtmf readme). All of these files are not in the repo, so there should never be any problems with a git pull.

If you've done a git pull and you don't have the DASHBOARD.README file, something has gone horribly wrong. I suggest you delete you build directory and start over wilth git clone ...

Not sure if it's clear, but the "sudo make installdash" doesn't install any files in the build directory, it just makes sure you have the necessary Linux packages and then installs the php mini server with sqlite3 support. Once that's up and running you should be able to surf to <name of computer>.local and see the php web-page installed at /usr/local/www/index.php, and as long as gateway is running and you are linked or subscribed, the last heard should be active.

Also, you generally want to uninstall software before installing it. If you try to install the base or your modem software and it's already install, you'll get errors. The ./qnadmin will enforce this uninstall-before-install paradigm, but I like to use my bash alises, because their faster. How do you find out if you've already installed software and you don't want to use ./qnadmin? Do a "ls /usr/local/bin" and see if the qn* programs are there, or "ls /usr/local/etc" and you'll see the QnetGateway support files. Also do a "ps -aux | grep qn | grep -v grep and you should see 3 or 4 processes running, depending on what you installed: qngateway, qnlink, some sort of a qn* modem program and possible a dtmf process.

Finally, consider installing my mmdvm modem software instead of MMDVMhost. It's D-Star only, but a lot easier to administer. In any event, my dashboard doesn't display anything about the MMDVMhost installation.

Finally finally, QnetGateway is for hams that enjoy Linux and learning Linux. If you want a turn-key card image that is nearly fool-proof, PiStar is the way to go. Having said that, I wouldn't argue with anybody that wanted to generate a QnetGateway disk iso image. It's just that I am pushing up new release fairly regularly, so keeping up is a full time job.

On 3/10/20 2:24 PM, John F Davis wrote:

Fun day in the QnetGateway.? First I did a GP and got an error message about the Defaults file

Got around that (cp defaults defaults.bak? unlink defaults and GP worked? now I have the Dashboard readme file and other files

But Install system did not workjng

Deleted everything right down the the default directory Deleted QnetGateway and MMDVMHost files and diretories and re-did the Git-s? ?Back up and running but no Dashboard files.. and now GP says "Up to date"..? and does nothing.

?

I assume if I wait a few days for something, anything to change (new reflector/repeater or one goes away) GP will work and I'll get it but is there a faster way?

?

At least I'm A: back where I would be without the Dash, and B: up to date :)

?

Still learning linux? Oh the joy

?

The reconfigure took about 2 minutes since I did it once already.

?

?

-- 
___________________________
73
n7tae (at) tearly (dot) net


Re: new web-based dashboard for QnetGateway

 

Fun day in the QnetGateway.? First I did a GP and got an error message about the Defaults file

Got around that (cp defaults defaults.bak? unlink defaults and GP worked? now I have the Dashboard readme file and other files

But Install system did not workjng

Deleted everything right down the the default directory Deleted QnetGateway and MMDVMHost files and diretories and re-did the Git-s? ?Back up and running but no Dashboard files.. and now GP says "Up to date"..? and does nothing.

?

I assume if I wait a few days for something, anything to change (new reflector/repeater or one goes away) GP will work and I'll get it but is there a faster way?

?

At least I'm A: back where I would be without the Dash, and B: up to date :)

?

Still learning linux? Oh the joy

?

The reconfigure took about 2 minutes since I did it once already.

?

?


Re: new web-based dashboard for QnetGateway

Elmer Delgado
 

开云体育

Think I might give this a shot now that you have a dashboard Tom?

Elmer
[W5SLG]

On Mar 9, 2020, at 9:00 AM, Elden W7LDN <w7ldn@...> wrote:

?On Sun, Mar 8, 2020 at 10:21 AM, Tom Early wrote:
Thanks Elden. When you posted this message, I had already been working on that feature, and it's done and pushed up into the master branch, ready for you to pull down.

This is awesome! Thanks a ton Tom. Very nice.


Re: new web-based dashboard for QnetGateway

 

On Sun, Mar 8, 2020 at 10:21 AM, Tom Early wrote:
Thanks Elden. When you posted this message, I had already been working on that feature, and it's done and pushed up into the master branch, ready for you to pull down.

This is awesome! Thanks a ton Tom. Very nice.


Re: new web-based dashboard for QnetGateway

 

开云体育

Hi Tom,
Thanks for your efforts. Another cool feature would be, to have some buttons next to the yourcall entry field which then could be configured as quick access buttons for the most frequent used yourcalls.


73 & 55 de Stephan 9V1LH / DG1BGS

Am 09/03/2020 um 06:36 schrieb Tom Early:

Not yet. I have one more section I want to add and then I will add it QnetIcomGateway.

On 3/8/20 3:16 PM, Dan Ozment wrote:
Tom, will this work with QnetIcomGateway?

Dan
--
___________________________
73
n7tae (at) tearly (dot) net


Re: new web-based dashboard for QnetGateway

 

开云体育

Not yet. I have one more section I want to add and then I will add it QnetIcomGateway.

On 3/8/20 3:16 PM, Dan Ozment wrote:
Tom, will this work with QnetIcomGateway?

Dan
-- 
___________________________
73
n7tae (at) tearly (dot) net


Re: new web-based dashboard for QnetGateway

 

Tom, will this work with QnetIcomGateway?

Dan


Re: new web-based dashboard for QnetGateway

 

Thanks Elden. When you posted this message, I had already been working on that feature, and it's done and pushed up into the master branch, ready for you to pull down.

An intelligent last heard list requires a database and based on QnetGatway's modest needs, I chose Sqlite3. Before you make the new programs, you'll need an Sqlite3 development package:

sudo apt install libsqlite3-dev

You can use the qnadmin script to rebuild your code, or do it with make commands and the start and stop aliases, if you installed those. Also uninstall the php server (sudo make uninstalldash) and reinstall it (sudo make installdash) as you will also need some php-sqlite3 packages and this will get them installed.

Be sure to look at the DASHBOARD.README file as well. You can turn off any section of the dashboard you want. You do this in qnconfig and these changes should be seen on your dashboard as soon as you write out the qn.cfg file.

Callsigns in the Last Heard are linked to the QRZ database. Here is what the dashboard looks like with the Last Heard section (hiding the IP Addresses section):


Re: new web-based dashboard for QnetGateway

 
Edited

I noticed this last night when I pulled the changes. My main interest in a dashboard would be to see a history of key-ups that were received with callsigns and timestamps. Of course such a thing would need to be more or less real-time. Not sure if one could just add some PHP code to do that. At the moment, I'm just tailing one of the logs in a terminal window to get this. Ideally having a dashboard would mean not needing to have a terminal window open all the time just to see what's going on.


new web-based dashboard for QnetGateway

 

A functional, rudimentary web-based dashboard had been added to QnetGateway. It's uses the Linux php mini web server. If you're interested in using it, do a "git pull" in your build directory. Then, take a look at the DASHBOARD.README file for installation instructions. The first time you install the dashboard several php packages and dependencies will be installed. Don't worry, the mini php server is not a resource hog and can easily run alongside your QnetGateway, even on a Pi Zero. In any event, it's easy to shut off if you end up not using it.

The stock dashboard contains an entry field and a button to send any URCALL to your gateway, using qnremote.

The dashboard uses an index.php file that contains both html and php code and can be modified by anyone that knows html and/or php. There is a good available and W3schools has a . Putting the html together with php is a powerful combination. I'm already thinking about several new features I would like to add to the dashboard.

There have been a few minor changes in the QnetGateway cpp sources, so be sure to rebuild and reinstall the QnetGateway programs as well.

Below is a screen shot of the stock dashboard (with my IP addresses obscured) running on my ZUMspot. Thanks go to Colby W1BSB for helping me understand how to setup, use and install the php server.