Show Posts
Pages: 1 2 [3] 4 5 ... 118
31  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
...


 
32  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
33  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.
34  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)
35  Products / Arduino Yún / Re: Deleted Network Config on: July 21, 2014, 07:36:48 pm
Backup your own file before do it.
36  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.
37  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.

38  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

39  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.





40  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/
41  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
42  Products / Arduino Yún / Re: YUN SD writing and ftp on: July 21, 2014, 02:32:54 pm
Code:
opkg update
opkg install python-openssl #adds ssl support to python
opkg install distribute #it contains the easy_install command line tool (this can take some time)
easy_install pip #installs pip  (this can take some time)
pip install ftplib

Code:
import ftplib
ftp = ftplib.FTP('server.address.com','USERNAME','PASSWORD')
file = open('/mnt/sda1/data.dat','rb')                  # file to send
session.storbinary('STOR data.dat', file)     # send the file
file.close()                                    # close file and FTP
ftp.quit()
43  Products / Arduino Yún / Re: Repetitive Yun system log: LABEL="Fedora-14-i686-Live-Desktop" TYPE="iso9660" on: July 21, 2014, 01:19:57 pm
quick  reset-to-factory-default

Code:
/usr/bin/reset-to-factory-anyway
44  Products / Arduino Yún / Re: Repetitive Yun system log: LABEL="Fedora-14-i686-Live-Desktop" TYPE="iso9660" on: July 21, 2014, 12:37:18 pm
Code:
Jul 20 23:59:33 YUN user.info sysinit: /dev/sda: UUID="c06c818c-591f-47df-a421-5081d568b8c6" TYPE="ext4"

TYPE="ext4" is a little better than before.

Reinstall the OpenWrt-Yun image on your Yún

http://arduino.cc/en/Tutorial/YunSysupgrade

45  Products / Arduino Yún / Re: Repetitive Yun system log: LABEL="Fedora-14-i686-Live-Desktop" TYPE="iso9660" on: July 21, 2014, 12:19:39 am
From:

http://forum.arduino.cc/index.php?topic=222069.msg1614584#msg1614584

http://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/

Code:
fdisk /dev/sda

Deleting a Partition /Creating a Partition/System ID/Writing Changes/Formatting a Partition

Or:

Format it at windows machine.
Pages: 1 2 [3] 4 5 ... 118