If you didn't notice, there is already a tiny webserver : uhttpd.
Depending on your needs, it could be enough.
Best posts made by Joris Mulliez
-
RE: Is Apache no longer available for Omega2+?posted in Omega Talk
-
RE: [Resolved] Omega 2+ // php change DOCUMENT_ROOT ? No input file specified.posted in Omega Talk
Ok,
I found the problem.
You don't have to inform only uhttpd for the new "home/doc_root".
You have to modify "/etc/php.ini" at the "doc_root" entry.Restart uhttpd and that worked !
Problem solved,
-
RE: Omega2+ // Wifi shut down ? Apcli link down.posted in Omega Talk
Ok I reply to myself, I found this : https://wiki.openwrt.org/doc/howto/log.essentials
So a
logreadGive me my logs !
-
RE: Omega2+ won't connect to wifi (in France)posted in Omega Talk
Hi,
I tried several tips before it works.
First you can check if change the omega IP can help : https://docs.onion.io/omega2-docs/fix-ip-addr-collisions.html#fix-ip-addr-collisions
If not, you can try to fix the wifi channel : example in this thread.but for me the problem was the gateway. My provider is "ovh telecom" and the router of ovh has a particular IP : 192.168.1.254
I realize that when I try "ifconfig" on my omega and see the gateway to 192.168.1.255.I don't know how the omega try to guess at which address will be the router...
So the only change for me was :
uci set network.wlan.gateway=192.168.1.254 uci commit network /etc/init.d/network restartThe other default configuration are fine in my case.
For your problem try to analyse ifconfig result, and compare with "all" your router configurations (not only key, pass, encryption method).
I hope that it will help,
-
RE: Pulling info from my Personal Weather Station via Wundergroundposted in Projects
Hi,
It's a good project, but your use of php is useless... You can just generate a simple index.html file with your system. No need of php.
If you really want to use php you can move your logic from python to php.
These two languages are server side languages and for your example are equivalent.
Good luck !