Show Posts
Pages: 1 2 [3] 4 5 ... 118
31  Products / Arduino Yún / Re: YUN SD writing and ftp on: July 22, 2014, 10:55:26 am
Code:
File dataFile = FileSystem.open("/mnt/sda1/datalog.txt", FILE_APPEND);

FILE_APPEND

need create it first

Code:
touch /mnt/sda1/datalog.txt
at console
32  Products / Arduino Yún / Re: usb host id on: July 22, 2014, 08:37:07 am
http://arduino.cc/en/Tutorial/Process

Process
33  Products / Arduino Yún / Re: Yun "create interface" on: July 22, 2014, 08:34:19 am
The eth0 is first interface at Lan, and Yun's lan has only wifi  interface  for public accessible.
34  Products / Arduino Yún / Re: yun selected ip interface on: July 22, 2014, 08:30:38 am
differential  by ip address of  the wifi or the ethernt.
35  Products / Arduino Yún / Re: usb host id on: July 22, 2014, 08:16:07 am
Code:
nano test.sh

Code:
#!/bin/sh
if (lsusb |grep -q "18a5:0302")
then
    # code if found
    echo "Found"
else
    # code if not found
    echo "N/A"
fi

Code:
grep --help

Code:
...
-q      Quiet. Return 0 if PATTERN is found, 1 otherwisels
...


 
36  Products / Arduino Yún / Re: opkg update completely broken on: July 22, 2014, 07:46:25 am
What is content of

Code:
cat /etc/opkg.conf
37  Products / Arduino Yún / Re: Deleted Network Config on: July 22, 2014, 07:42:19 am
http://arduino.cc/en/Reference/YunBridgeLibrary
Bridge Library for Arduino Yún/Examples

Use Arduino IDE go through all the examples.
38  Products / Arduino Yún / Re: Yun not working on: July 22, 2014, 07:38:36 am
...
 ( My USB ports don't work really well, but well enough to at least detect the board i think)
...

Connect Yun with with an other computer for testing since Yun has hardware bug which has less  power supply voltage (~4.5 V)
39  Products / Arduino Yún / Re: Deleted Network Config on: July 21, 2014, 07:36:48 pm
Backup your own file before do it.
40  Products / Arduino Yún / Re: Qualcomm, Oracle, Imagination team up to optimize Java, OpenWRT. on: July 21, 2014, 07:34:50 pm
Although blueprints are still being drawn-up, for now it’s expected that
the initial port will be Java SE Embedded 8 for 32-bit MIPS R2 embedded SoCs.
This is tentatively slated for release in 2015

http://jaxenter.com/java-on-the-iot-new-mips-deal-dreamed-up-50350.html

AR9331 at Yun is 32-bit MIPS R2 embedded SoCs.
41  Products / Arduino Yún / Re: How to reduce non-Bridge data trafic on the inter-processors serial line ... ? on: July 21, 2014, 03:43:45 pm
...
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)

http://wiki.openwrt.org/doc/howto/extroot

http://forum.arduino.cc/index.php?topic=228204.msg1651254#msg1651254

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

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

Whenever you need access serial port again, just remove microSD card and reboot.

Now you have 2 copy of "/etc/inittaba".

One at flash is impact, one at MicroSD is comment out.

42  Products / Arduino Yún / Re: Communication between 2 Arduino Yunv over WiFi on: July 21, 2014, 03:29:14 pm
Set one Yun as Access Point

http://forum.arduino.cc/index.php?topic=256234.msg1813025#msg1813025

leave an other one as Client

43  Products / Arduino Yún / Re: Connecting Arduino Yun to Cell phone wifi on: July 21, 2014, 03:24:55 pm
Plan B:

Setup Yun as Access Point.





44  Products / Arduino Yún / Re: view all pin states from webpage on: July 21, 2014, 02:51:23 pm
http://www.open-electronics.org/interact-and-remotely-control-arduino-yun-with-ajax/
45  Products / Arduino Yún / Re: Deleted Network Config on: July 21, 2014, 02:39:08 pm
reset-to-factory-default

Code:
/usr/bin/reset-to-factory-anyway

run it either at console or Yún Serial Terminal

http://arduino.cc/en/Tutorial/YunSerialTerminal
Pages: 1 2 [3] 4 5 ... 118