Show Posts
Pages: [1] 2 3 ... 76
1  Products / Arduino Yún / Re: Communication between 2 Arduino Yunv over WiFi on: July 18, 2014, 10:40:16 am
ATM, the easiest thing to do is to write on each yun's /etc/hosts file the IP address of the other one
This way, your sketches/programs will use the name instead of the IP and, if and when you'll have to change it, you'll change it in only one place

More articulated solutions implies using a local DNS server
2  Products / Arduino Yún / Re: upgrade yun when Filesystem is on SD card on: July 18, 2014, 03:42:35 am
Frederico, if I understand correctly, if I run the upgrade with the -n flag (e.g. via webpanel) I dont have to care that I moved the filesystem. The Yun will be configured "completely fresh", right? This works fine for me. I guess all I need to do is to move the filesystem again, which is not a big deal. I rather start from scratch than dragging along old stuff.

yes correct. as a consequence, you'll also have to re-run the yun disk space expander or (if you know which file to modify, which I assume you know, given your posts) modify the right config file

In general, kernel upgrade a part (which has just occurred but that should NOT occur often), once you've expanded the yun using the sd card, you only need to run script  "upgrade-all". That will upgrade everything upgradable and leave all the rest untouched
3  Products / Arduino Yún / Re: yun mega: reset the mega in reset-mcu (code needed) on: July 18, 2014, 03:08:47 am
arbor, can you explain this? It looks like magic to me
4  Products / Arduino Yún / Re: upgrade yun when Filesystem is on SD card on: July 18, 2014, 03:06:56 am
Let's discuss about that: the issue is with how we run sysupgrade.
When using the arduino webpanel, sysupgrade is run with "-n" flag that means "I don't care about the config files the user edited or anything else she did, I will make this thing look as it came out of the box for the first time"
The arrogance of this behaviour serves a good purpose: after an upgrade, the yun is always in a known and documented state. You don't need to remember the customizations you made in order to explain behaviours that we didn't document and that may therefore seem unexpected.

There is an alternative approach in the advanced configuration panel: you may upgrade the board and check the "keep configuration files" as shown here http://wiki.openwrt.org/_detail/doc/howto/luci.sysupgrade.png?id=doc%3Ahowto%3Ageneric.sysupgrade

Any comments are more than welcome
5  Products / Arduino Yún / Re: Arduino Yun Linino side dead on: July 18, 2014, 02:57:36 am
Have you uploaded YunSerialTerminal example?
Does the usb led light up with a bright white after 2 minutes or so, does it immediately light up with a weak white or does it stay off?
6  Products / Arduino Yún / Re: How to expand the storage memory on the Yún on: July 18, 2014, 02:54:08 am
AFAIK, SDHC are supported http://forum.arduino.cc/index.php?topic=214467.0
7  Products / Arduino Yún / Re: Please upgrade your Yún - latest is 1.3 on: July 16, 2014, 03:57:30 pm
Two smiley
8  Products / Arduino Yún / Re: Get error in Python bridgeclient put on: July 16, 2014, 07:47:04 am
You can edit first post title smiley Thank you
9  Products / Arduino Yún / Re: Write to XML file on: July 16, 2014, 07:44:39 am
I would delegate the task to the linux side. Wrap the XML composition is a script (python, bash, you name it) and call the script with proper parameters (waterTmp, airTMP)

For example, you can use python Template. The template string would be your xml, with $waterTmp variables. You then call substitute(waterTmp=17) and your xml is done

10  Products / Arduino Yún / Re: How to expand the storage memory on the Yún on: July 16, 2014, 07:37:41 am
I'd say the sd card is broken
11  Products / Arduino Yún / Re: How to expand the storage memory on the Yún on: July 16, 2014, 03:31:41 am
Can you change
Code:
#define DEBUG 0

to

Code:
#define DEBUG 1

and paste the output?
12  Products / Arduino Yún / Re: Write to XML file on: July 16, 2014, 03:25:41 am
Could it be a avr memory issue? Too many strings?
13  Products / Arduino Yún / Re: Yun WiFi Problem on: July 16, 2014, 03:23:48 am
Indeed.
When having this kind of issues, it's always good to try one of the examples. They work, they have been used and ran by many, it's easy to get support about them, they are a good starting point for making your own sketches.
14  Products / Arduino Yún / Re: runShellCommand on Arduino Yun on: July 16, 2014, 03:13:43 am
Code:
chmod 755 /usr/bin/test.lua

As sonnyyu pointed out, your script must be executable. Otherwise, you need to call the interpreter and then the script, like

 p.runShellCommand("lua /usr/bin/test.lua");
15  Products / Arduino Yún / Re: Get error in Python bridgeclient put on: July 16, 2014, 03:10:37 am
Does your sketch uses the Bridge library or some of its components? (Process, Console...) It must use the Bridge for the python side of it to work.
Pages: [1] 2 3 ... 76