Show Posts
Pages: [1] 2 3 ... 93
1  Products / Arduino Yún / Re: Tty for serial port to Arduino from Linino on: April 14, 2014, 08:39:00 am
If anyone knows of any better solution, I'd very much appreciate if you share the info.

Not better solution but work around.

Rootfs on External Storage microSD card (extroot)

Edit /etc/inittab at Rootfs on microSD card, comment out or delete:

#ttyATH0::askfirst:/bin/ash --login

Whenever you need access serial port again, just remove microSD card and reboot.
2  Products / Arduino Yún / Re: linino upgrade 27-03-2014 on: April 14, 2014, 08:13:25 am
Post here:
3  Products / Arduino Yún / Re: Enable REST commands from shell command line on: April 13, 2014, 10:27:51 pm
uci show arduino

opkg install coreutils-sha256sum
echo -n arduino | sha256sum

/sbin/uci set arduino.@arduino[0]=arduino
/sbin/uci set arduino.@arduino[0].password=775e9f944188a7bcb36e9ca5dc51672b44bcceeb7d56d89dfb914eb3a1ff2d69
/sbin/uci set arduino.@arduino[0].secure_rest_api=true
/sbin/uci set arduino.radio0=wifi-device
/sbin/uci set arduino.@wifi-iface[0]=wifi-iface
/sbin/uci set arduino.lan=interface
/sbin/uci commit arduino
4  Products / Arduino Yún / Re: How to install udp2serial library on Yun ? on: April 13, 2014, 10:00:37 pm
Setup procedure:
on linino the serial port is attached the the console and the kernel messages are also sent to the serial. For proper functioning the console must be disabled editing /etc/inittab
commenting this line #ttyATH0::askfirst:/bin/ash --login effect of this requires a reboot

read through  this thread for pro and con.
5  Products / Arduino Yún / Re: How to access REST API **with** password on: April 13, 2014, 09:54:34 pm
Embed the user id and password into the URL. For example:

Access REST API **with** password

6  Products / Arduino Yún / Re: LM35 trouble with YUN on: April 13, 2014, 09:22:11 pm

Arduino Yun 5v pin doesn't give me 5v, the analog sensor might be suffered.

LM35HigherResolution, might be work around.
7  Products / Arduino Yún / Re: Linino Locks up after ~12-24 hours Running php Script every minute on: April 13, 2014, 09:13:37 pm
Forcing stdin, stdout and stderr to be unbuffered and binary

python -u
8  Products / Arduino Yún / Re: Linino Locks up after ~12-24 hours Running php Script every minute on: April 08, 2014, 09:04:17 am
After modify uhttp or web file:

/etc/init.d/uhttpd  restart
clear browser cache! restart browser.

Test Yun in network:

At computer:
ping arduino.local

Test Yun in internet:

At Yun console:
9  Products / Arduino Yún / Re: Visit my Yún-hosted page from other networks on: April 07, 2014, 06:06:12 pm
Setup DMZ used for in a wifi router:

Configure  router to allow port forwarding:
10  Products / Arduino Yún / Re: "Could not connect to YunServer 146 Connection refused" error message on: April 07, 2014, 05:58:29 pm
11  Products / Arduino Yún / Re: Arduino Yun: Storing Data in Mysql installed on Linino on: April 07, 2014, 05:38:12 pm
If i change the delay time to 1, it should store the values every millisecond.

The bottleneck is bridge speed, try to use 500 ms first, then test speed up?
12  Products / Arduino Yún / Re: How do I find the Yun IP address in a Python script on: April 07, 2014, 05:32:50 pm
Is there an easy way to programmatically change the Yun WiFi settings?
13  Products / Arduino Yún / Re: Yún write and read from MySQL database on: April 06, 2014, 01:32:17 pm
Missing  one parameter C;-
time=> A

14  Products / Arduino Yún / Re: Yún write and read from MySQL database on: April 06, 2014, 01:23:55 pm
Your own code:

String paramstring3 ="'insert into testdata (\"time\",\"pin1\",\"pin2\") Values (\""+time+"\","+pin1+","+pin2+");'";
15  Products / Arduino Yún / Re: YunWebUI and LuCI on: April 06, 2014, 10:23:09 am
LuCI is based on MVC (Model–view–controller). The '/usr/lib/lua/luci/controller/arduino/index.lua' is the controller file and byte compile.

Linino/Openwrt/LuCI are all open source, and you could easily replace it with source file.

opkg update
opkg  install wget
cd /usr/lib/lua/luci/controller/arduino/
mv  index.lua index.lua.bk
wget --no-check-certificate
/etc/init.d/uhttpd  restart

Pages: [1] 2 3 ... 93