Go Down

Topic: OpenWrt Chaos Calmer is final (Read 17928 times) previous topic - next topic

sonnyyu

Sep 12, 2015, 05:15 pm Last Edit: Sep 12, 2015, 05:20 pm by sonnyyu
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.



RedSnake64

#1
Sep 30, 2015, 06:23 pm Last Edit: Sep 30, 2015, 06:23 pm by RedSnake64
Hi sonnyyu,

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

https://github.com/RedSnake64/openwrt-yun/releases


Have fun :-)


Snake

sonnyyu

Hi sonnyyu,

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

https://github.com/RedSnake64/openwrt-yun/releases


Have fun :-)


Snake
Thank you so much, definitely have fun :)



zerox12

#3
Oct 05, 2015, 10:28 pm Last Edit: Oct 05, 2015, 11:43 pm by zerox12
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?

RedSnake64

#4
Oct 08, 2015, 09:31 pm Last Edit: Oct 08, 2015, 10:27 pm by RedSnake64
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

zerox12

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

zerox12

#6
Oct 10, 2015, 08:41 pm Last Edit: Oct 10, 2015, 09:20 pm by zerox12
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:
Code: [Select]
opkg install wget
wget --no-check-certificate  https://bootstrap.pypa.io/get-pip.py

zerox12

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)

RedSnake64

Thanks for your feedback!

I'm working on a solution for your problems.

mart256

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

LeoTimmermans

Hey,

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

Thanks
Leo

zerox12

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.

mart256

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?

zerox12

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.

zerox12

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.

Go Up