OpenWrt Chaos Calmer is final

The OpenWrt developers are proud to announce the final release of OpenWrt Chaos Calmer (15.05).

https://forum.openwrt.org/viewtopic.php?pid=291233

Yun OS is base on OpenWrt Attitude Adjustment (12.09), one version behind Barrier Breaker (14.07).

The new trunk (Bleeding Edge) is Designated Driver.

Hi sonnyyu,

here is my OpenWrt port for Arduino Yún (14.07 / 15.05):

Have fun :slight_smile:

Snake

RedSnake64:
Hi sonnyyu,

here is my OpenWrt port for Arduino Yún (14.07 / 15.05):

Releases · RedSnake64/openwrt-yun · GitHub

Have fun :slight_smile:

Snake

Thank you so much, definitely have fun :slight_smile:

Does this image include Python 3.4?

Edit: So I tried to flash my Yun with your kernel and rfs via TFTP. Everything went ok. Then I watched it boot from the Serial Console.

However after it boots nothing seems to work. I can connect to the Yun wifi, but I can't reach the setup webpage, I can't ping it on hard wired connection, etc.

Maybe I'm misunderstanding what this image is, but does it have any of the "Yun" stuff on it? Or is it just a headless OpenWRT image that works on the Yun?

This image includes Python 3.4 and all Yun required packages. (& more)
Which IP did you tried?
The IP should be 192.168.1.1 (subnet 255.255.255.0)

Edit: Please let me know if it's working

I tried 192.168.240.1 like the normal Yun.

I went back to the standard installation. If I get time I will try it again because I really need Python 3.4.

Thanks

So i loaded your image back up via uboot.

A few things.

  1. The image has the wifi and eth ports bridged (I wouldn't call this a default setup). This makes Luci unreachable if the Yun is plugged into a local network because connecting a laptop to the Yun via wifi just causes the laptop to get an IP from the main network. In my case my home router is 192.168.1.1, so trying to reach the Yun just caused me to reach my local router. I had to disconnect my laptop from my home network, disconnect the Yun from the home network, then connect to the Yun directly over wifi so I could disable the bridge.

  2. Not sure why, but the hard wired ethernet refuses connections. I can't reach Luci or connect via SSH on the hardwired port. Only wifi is working at the moment.

  3. This image does not have Python 3.4, it has Python 2.7.9. You need to do opkg install python3 to get python 3.4.

  4. opkg update gets some errors. Not a big deal, but it makes it so you can't use the YunDiskSpaceExpander sketch without remove this address in Luci (src/gz barrier_breaker_oldpackages http://rsdev.16mb.com/download/OpenWrt/ChaosCalmer_15.05/ArduinoYun/packages/oldpackages).

  5. There is no root password. Therefore you can't just SSH in with the default "arduino" password. You have to get to Luci first and set the password.

  6. I don't know why, but the "distribute" package is missing. So I can't easy_install pip. Instead you have to:

opkg install wget
wget --no-check-certificate  https://bootstrap.pypa.io/get-pip.py

Any idea why I get this error when trying to install a python module?

error: invalid Python installation: unable to open /usr/lib/python3.4/config-3.4/Makefile (No such file or directory)

Thanks for your feedback!

I'm working on a solution for your problems.

Python 3.4 would be very good, Im awaiting the fixes to the version

Hey,

How do you install this on the Yun ? Any instructions to follow ?

Thanks
Leo

LeoTimmermans:
Hey,

How do you install this on the Yun ? Any instructions to follow ?

Thanks
Leo

You need to get the images from RedSnake's repository. Then follow this guide:
https://www.arduino.cc/en/Tutorial/YunUBootReflash

Only flash the Kernel and System image. Keep in mind you can't follow the guide exactly, because RedSnake's images have a different file name than what is in the guide.

zerox12:
You need to get the images from RedSnake's repository. Then follow this guide:
https://www.arduino.cc/en/Tutorial/YunUBootReflash

Only flash the Kernel and System image. Keep in mind you can't follow the guide exactly, because RedSnake's images have a different file name than what is in the guide.

Can you burn the image without using UBoot? I mean, can you burn it using Yun's webpanel?

mart256:
Python 3.4 would be very good, Im awaiting the fixes to the version

I will warn you that Python 3.4 seems to have a few problems in OpenWRT. If you need external libraries for your program Python 3.4 will probably not work for you.

I couldn't install ANY external modules for Python 3.4. Even pip would not install. All setup.py files crash because there is a config/Makefile directory missing. I tried to create the directory manually but it did not help.

This is most likely a problem with OpenWRT, not RedSnake's image. I posted the problem on OpenWRT forums but no one responded.

mart256:
Can you burn the image without using UBoot? I mean, can you burn it using Yun's webpanel?

You can certainly try that. Worse case you have to reflash it with uboot lol.

@zerox12
Short info about the issues.

  1. fixed
  2. fixed
  3. You have to install python 3.4 via opkg :slight_smile:
  4. fixed
  5. fixed
  6. I'm testing python 3.5 in the next days

New images coming soon! (Take some time to build :smiley: )

@mart256
If you install the image via webpanel (sysupgrade) make sure you don't use the "Keep settings" function! (untick it! - This is important)
In the current config you reach the webpanel at 192.168.1.1 - This will be changed in the next image to the default Arduino Yun IP.

Have fun! :slight_smile:

Hey, good to know you fixed all that. Does python3.4 fit in yun's flash? Ive got like 4mb free, I know i can use sd to expand, but I like having the packages on board.

New images are online! :wink:
(Release ChaosCalmer_v1.1 · RedSnake64/openwrt-yun · GitHub)

@mart256
The python3 packages have a size of 5mb.
You can try to install only required packages.

Have fun! :slight_smile:

Version 1.2 is online! :wink:
(Release ChaosCalmer_v1.2 · RedSnake64/openwrt-yun · GitHub)

@zerox12
I've written a small script to install pip:
(Expand your memory first)

cd /tmp
wget http://download.rsdev.16mb.com/OpenWrt/Scripts/installPIP.sh
chmod +x ./installPIP.sh
./installPIP.sh

Suggestions are welcome!

Have fun! :slight_smile:

I was wondering if with this update, the Yun supports the 802.11r protocol to enable the Fast BSS Transition which requires the latest version of OpenWrt.