• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

TeensyNet Project Interest?

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Ok, just downloaded the new version and placed the new code as shown below, but still get an error as shown in attached file, still not finding same code as previous although it is there as shown in the file contents.....thanks Jim for you help

View attachment TeensyNetErrorLogpdf.pdf
 
Hey Jim, that gave me a clean compile....few warnings flashed by but that seemed to be the problem....don't have the hardware completed to upload but that issue is resolved.....looking forward to the new release....thanks again man, you're awesome !!!
 
What software can I use if I don't want a "headless" front end to my system? That's a layer of complexity I'm not ready to master at this time, so what are my options? Thanks again
 
What software can I use if I don't want a "headless" front end to my system? That's a layer of complexity I'm not ready to master at this time, so what are my options? Thanks again

The TeensyNet board and TeensyNet software use UDP packets to find, display and control the thermometers, switches and displays that the TeensyNet board is capable of utilizing.

I have a relatively simple PHP command line program that I use to interrogate and to some degree modify the TeensyNet software when I'm doing testing, but it's not something I would try to use to set up a system from scratch.

The front end does not have to be headless. If you have an old laptop or desktop system that has outlived its usefulness, a lightweight Linux desktop could be installed on it, along with a LAMP stack and my TeensyNet PHP files. Then you would run the TeensyNet front end locally. It could also be done on an old WinXP or MAC with WAMP or MAMP, it would just take a little more effort.
 
How do I resolve this issue...i'm doing "the hard way" on Teensynet and about done but cant get this to work...."Now open phpMyadmin in a browser window," but that doesnt work for me.....what do I do?
 
Hey day_trippr, yeah it is installed, latest version, but that didn't work either so looked at the instructions again and didn't see anywhere that I should have done something else that I just possibly overlooked...any other suggestions very welcome...also thanks for the reply
 
Is this on a computer on your intranet? What's your computer's hostname? Can you see the hostname with a Zeroconf browser? You could try:

hostname.local/phpmyadmin

A little more info as to the computer type, OS, network would be helpful.
 
Nothing much to reveal.....just a latest version of Wheezy on a new SD card and then followed your instructions on "The Hard Way". Seems like everything went well in following your instructions and don't recall any errors, so I'm at a loss as to where to look. I can do it all over again if you think that might resolve the problem....if I try and do “http://localhost/” it starts to load but since I don't have the data in MySQL, doesn't get very far.
 
Simply checking in to let you guys know I haven't forgotten about the project. I intend to pick it back up in a few weeks, this time with more focus on implementation of the existing code rather than reverse engineering it. For now, all of my gear is still packed up!
 
Simply checking in to let you guys know I haven't forgotten about the project. I intend to pick it back up in a few weeks, this time with more focus on implementation of the existing code rather than reverse engineering it. For now, all of my gear is still packed up!

Good to have you back, Yuri!! :rockin:
 
Sorry been away for a few days......Yes it's connected to a monitor and keyboard...Have run 'raspi-config' and update and install...when I try to reinstall phpmyadmin says it's the latest.....don't know how to delete current before doing a ...reinstall....... if I know how to delete everything, I'd just do it all over again....guess I can start from scratch and redo the SD card with a fresh copy and start over....thanks
 
You can delete the current install with "sudo apt-get remove phpmyadmin" or "sudo apt-get purge phpmyadmin", but I don't think that that's the problem. Which browser (iceweasel, firefox, chrome,etc) are you trying to use when you call phpmyadmin?
 
Well I've tried several things to no avail.....I've used iceweasel, epiphany with all sorts of combination of:

127.0.0.1/phpmyadmin
127.0.0.1/phpmyadmin/index.php
localhost/phpmyadmin
localhost/phpmyadmin/index.php

sort of at a stand still....thanks Jim for your help
 
Somewhere there's a log file that would tell you what's going on.
I'd look at the logs in /var/log to start.

eg: when I access phpMyAdmin from another system I can see all the file requests in /var/log/apache2/access.log, along with the requesting IP address, browser, etc...

Cheers!
 
Somewhere there's a log file that would tell you what's going on.
I'd look at the logs in /var/log to start.

eg: when I access phpMyAdmin from another system I can see all the file requests in /var/log/apache2/access.log, along with the requesting IP address, browser, etc...

Cheers!

I've been racking my brain, and I also think this is where you need to look.

Open a terminal, and run "tail -f /var/log/apache2/error.log", then try to access phpmyadmin on your browser, and see if any errors or warnings are produced.
 
/var/www/htdocs?

I don't have folder like that on any of my RPi systems and they're all running phpMyAdmin.
I also don't have any errors like that, probably because nobody is trying to get to that folder in the first place.

Something ain't right...

Cheers!
 
Yeah, get this:
File does not exist: /var/www/htdocs/phpmyadmin

OK, execute this command:

Code:
less /etc/apache2/apache2.conf

and look for the following (most likely at the end of the file):

Code:
# include phpmyadmin
Include /etc/phpmyadmin/apache.conf

followed by

Code:
sudo apachectl restart

If that's not there, it's probably the problem, since the call to phpmyadmin is not being properly re-directed.
 
Hmm...my version of /etc/apache2/apache2.conf doesn't have that include.

This for sure should fix the problem: create a symlink.

Code:
$ cd /var/www
$ ln -s /usr/share/phpmyadmin

Then the url should be something like localhost/phpmyadmin or ipaddress/phpmyadmin


Cheers!
 
Hmm...my version of /etc/apache2/apache2.conf doesn't have that include.

This for sure should fix the problem: create a symlink.

Code:
$ cd /var/www
$ ln -s /usr/share/phpmyadmin

Then the url should be something like localhost/phpmyadmin or ipaddress/phpmyadmin


Cheers!

A symlink won't work, it's a configuration file that has to be read by apache on startup. Your conf file may be in /etc/apache2/conf.d or elsewhere (each linux derivative does it just a little differently)
 
Don't have that include.....the bottom of file has ServerName teensynet
 
Don't have that include.....the bottom of file has ServerName teensynet

Use
Code:
ls -la /etc/phpmyadmin/apache.conf
to verify that you have the config file on your system.

If so, open /etc/apache2/apache2.conf with:
Code:
sudo nano /etc/apache2/apache2.conf
and add the lines
Code:
# include phpmyadmin
Include /etc/phpmyadmin/apache.conf
at the bottom of the file and save it, then restart apache with
Code:
sudo apachectl restart

Then try running phpmyadmin in your browser.
 
Last edited:
Back
Top