Maybe it got stuck in the uboot phase after reboot. Try uploading YunSerialTerminal and rebooting the yun
before you reply i unplugged the micro usb and plugged in again...
yun start & its wifi become avaiable ! ![]()
trought my phone i surf to arduino.local (192.168.240.1) and i change arduino psw and wifi configuration to connect it with my router's wifi...the yun restart but got stuck...
i unplugged and plugged in again micro usb and it start but now:
- no arduino's wifi
- it doesn't connect to my router's wifi
- USB led is ALWAYS on (no usb stick or sd card are in) !
EDIT:
after about 5 minutes (why so much?), yun connect itself to my router's wifi with "UNKNOWN" hostname... now i can work with it...
5a2v0:
- USB led is ALWAYS on (no usb stick or sd card are in) !
From Please upgrade your Yún - latest is 1.3 - Arduino Yún - Arduino Forum
ok sorry !
i didn't read this..
one more question:
via ssh i did:
opkg update
opkg install php5 php5-cgi
opkg update
opkg install php5-mod-json
opkg install php5-mod-curl
then in /etc/php.ini i uncomment the json & curl extension
then in /etc/config/uhttpd i uncomment php interpeter
once restarted uhttpd server, i can see that my php webpage that with previous open-wrt version was much quick, become slow...4-5 sec to display the page !!
this is my php page:
<html><body>
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://localhost/data/get");
curl_setopt($ch, CURLOPT_USERPWD, "PASSWORD");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
echo $output;
$result = json_decode($output, true);
echo '
';
print_r($result);
echo '
';
echo $result[value]['totale'];
echo '
';
echo $result[value]['cucina'];
echo '
';
echo $result[value]['bagni'];
echo '
';
echo $result[value]['stanze'];
echo '
';
echo $result[value]['rele Bagni'];
echo '
';
echo $result[value]['rele Stanze'];
?>
</body></html>
I can't talk about the speed of php, but I would suggest you to use the embedded php bridge client: it's in /usr/lib/python2.7/bridge/php IIRC
Hello all
hmmm am i the only one having problems with the new image? I have two Yun's , placed new image on sd cards, a lot of
blinking ~ 3minutes so all seems ok. Then goto edit configuration, click to save changes and get site not found.
http://192.168.240.1/cgi-bin/luci/;stok=54b67fb3ae59751d9aea025bc24869a0/webpanel/config#
New config/changes are not saved. Never had this issue with previous image. (opsys XP, ie8, no network)
TIA for help
vince
Try this Please upgrade your Yún - latest is 1.3 - #41 by federicofissore - Arduino Yún - Arduino Forum
Hi Federico
I can run everything as before upgradinging the image. But i can't change my password etc, nothing get saved because it cant
find the site http://192.168.240.1/cgi-bin/luci/;stok=54b67fb3ae59751d9aea025bc24869a0/webpanel/config#. and aborts
the operation.
TIA
vince
Doesn't http://192.168.240.1/ work?
Fedrico
http://192.168.240.1/ does work. It's when you click on 'Configure and Restart' i get HTTP 500 Internal server error. Changes are not save and Yun doesn't restart, it stays running and the Wifi is also still running. For some reason it doesn't like this page
http://192.168.240.1/cgi-bin/luci/;stok=54b67fb3ae59751d9aea025bc24869a0/webpanel/config#.
Also tried LUCI with no sucess saving changes.
Regards
vince
Do BeagleBones have these problems?
...R
vmdg:
Fedricohttp://192.168.240.1/ does work. It's when you click on 'Configure and Restart' i get HTTP 500 Internal server error. Changes are not save and Yun doesn't restart, it stays running and the Wifi is also still running. For some reason it doesn't like this page
http://192.168.240.1/cgi-bin/luci/;stok=54b67fb3ae59751d9aea025bc24869a0/webpanel/config#.
Also tried LUCI with no sucess saving changes.Regards
vince
and what if you try to change your password via ssh ?
storing new password will done or not ?
Changing passwd with Putty does work.
Once you have changed the password via ssh, if you now try to change any option via web-panel, still it doesn't work ?
%a2v0
No, still doesn't work. Tried changing time zone and wireless name, then pressed configure and restart, immediately boots me
out to 'website cannot display the page'
TIA
vince
Attempting to compile the new firmware results in a failure on v8m-rb:
Building on Ubuntu 14.04, using the instructions on the github readme.
mips-openwrt-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... make[5]: Entering directory `/home/tjbenne/working_code/linino_yun/OpenWrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/v8m-rb-3.14.5-git/out'
g++ '-DENABLE_DEBUGGER_SUPPORT' '-DENABLE_EXTRA_CHECKS' '-DV8_TARGET_ARCH_MIPS' '-D__mips_soft_float=1' '-D_MIPS_ARCH_MIPS32R2' '-DBUILDING_V8_SHARED' '-DV8_SHARED' -I../src -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pthread -fno-rtti -fno-exceptions -pedantic -ansi -fvisibility=hidden -fPIC -m32 -fdata-sections -ffunction-sections -O3 -MMD -MF /home/tjbenne/working_code/linino_yun/OpenWrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/v8m-rb-3.14.5-git/out/mips.release/.deps//home/tjbenne/working_code/linino_yun/OpenWrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/v8m-rb-3.14.5-git/out/mips.release/obj.host/v8_base/src/accessors.o.d.raw -c -o /home/tjbenne/working_code/linino_yun/OpenWrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/v8m-rb-3.14.5-git/out/mips.release/obj.host/v8_base/src/accessors.o ../src/accessors.cc
In file included from /usr/include/stdio.h:27:0,
from ../src/../include/v8stdint.h:34,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/accessors.cc:28:
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
# include <sys/cdefs.h>
^
compilation terminated.
It seems that the v8m-rb package expects sys/cdefs.h which is not supplied in this system.
I shall clean and rebuild once more but is there a pressing need to have v8m-rb in the system? Is it used by any core items on the AR9331 side?
Anything that is marked as a module in make menuconfig can be left out without impact on the base image. These are things that are available to install with opkg but not included in the image that is flashed to the Yun.
I don't know why you are running into that problem, you may want to double check that you didn't miss a step in the instructions. The directory v8m-rb-3.14.5-git isn't in my build tree anywhere after I built the image.
Thanks for the response -
I had no problem in another build I had done two days ago. In this new (last night git clone) I found I could not unselect v8m-rb in "make menuconfig". I had done an update this morning, and have decided to run another complete clean git clone and build to see if I find the same problem.
One quick note - the latest github arduino/openwrt-packages-yun contains the arduino packages which in turn contains the ability to build node.js for the latest Yun firmware.
That is where the v8m-rb.3.14.5-git directory comes from:
openwrt-packages-yun / arduino / v8m-rb/Makefile
....
PKG_NAME:=v8m-rb
PKG_VERSION:=3.14.5-git
PKG_RELEASE:=1
Googled for the error message and it looks like you're missing package libc6-dev-i386
See [SOLVED] Missing predefs.h
Short version foot note: do you want to avoid wasting time? Set up a Debian VM. It's the only way we can be sure everyone has a successful experience with openwrt-yun.
Longer version foot note: compiling openwrt-yun is not difficult but takes patience. It's highly suggested that you strictly follow the instructions (use a debian wheezy, real or running inside virtualbox or kvm, not your own distro) as many different distributions may need specific tweaks that we are unlikely to document since they will be unsupported.