can't install python
@davidsi Did you edit /etc/opkg/distfeeds.conf and uncomment lines 2 and 5, then you can run opkg update. Then try opkg list | grep python to see a list of available python packages
@crispyoz Not needed to edit the /etc/opkg/distfeeds.conf file to install python-light, python or python3-light, python3 - the default distfeeds.conf is perfect.
# for example Omega2 with FW v0.3.2 b239 # the default src/gz omega2_packages http://repo.onioniot.com/omega2/packages/packages contains these packages too # python-light - 2.7.17-1 - This package is essentially the python-base package plus a few of the rarely used (and big) libraries stripped out into separate packages. # python - 2.7.17-1 - This package contains the (almost) full Python install. It's python-light + all other packages. # python3-light - 3.6.10-1 - This package is essentially the python3-base package plus a few of the rarely used (and big) libraries stripped out into separate packages. # python3 - 3.6.10-1 - This package contains the (almost) full Python install. It's python3-light + all other packages.
@György-Farkas or if you are having an issue with the onion repositories you can uncomment lines 2 and 5 and find the openwrt packages.
@György-Farkas yes and yes
@crispyoz Hmm, I already changed it for some other issue... right now I have
#src/gz openwrt_core http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages
#src/gz openwrt_base http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base
#src/gz openwrt_luci http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci
#src/gz openwrt_onion http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/onion
#src/gz openwrt_packages http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages
#src/gz openwrt_routing http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing
#src/gz openwrt_telephony http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony
src/gz omega2_core http://repo.onioniot.com/omega2/packages/core
src/gz omega2_base http://repo.onioniot.com/omega2/packages/base
src/gz omega2_packages http://repo.onioniot.com/omega2/packages/packages
src/gz omega2_routing http://repo.onioniot.com/omega2/packages/routing
src/gz omega2_onion http://repo.onioniot.com/omega2/packages/onion
@davidsi what is the output if you type:
I wonder if you have either a DNS issue or a firewall issue.
@davidsi Let's suppose I have some problem to install python3-light - so I need your help.
First of all I'd give you a few details about my system.
# Omega2+, FW v0.3.2 b239, Arduino Dock 2, Serial Console root@Omega-5BE1:~# opkg update Downloading http://repo.onioniot.com/omega2/packages/core/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_core Downloading http://repo.onioniot.com/omega2/packages/core/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/base/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_base Downloading http://repo.onioniot.com/omega2/packages/base/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/packages/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_packages Downloading http://repo.onioniot.com/omega2/packages/packages/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/routing/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_routing Downloading http://repo.onioniot.com/omega2/packages/routing/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/onion/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_onion Downloading http://repo.onioniot.com/omega2/packages/onion/Packages.sig Signature check passed. root@Omega-5BE1:~# df -hT Filesystem Type Size Used Available Use% Mounted on /dev/root squashfs 7.8M 7.8M 0 100% /rom tmpfs tmpfs 60.9M 228.0K 60.7M 0% /tmp /dev/mtdblock6 jffs2 22.1M 736.0K 21.3M 3% /overlay overlayfs:/overlay overlay 22.1M 736.0K 21.3M 3% / tmpfs tmpfs 512.0K 0 512.0K 0% /dev /dev/mtdblock7 jffs2 512.0K 196.0K 316.0K 38% /mnt/mtdblock7 /dev/mmcblk0p1 ext4 7.1G 445.0M 6.3G 6% /mnt/mmcblk0p1
It seems I can reach the Onion Omega2 repos and I have enough room - so I try to install python3-light.
root@Omega-5BE1:~# opkg install python3-light Installing python3-light (3.6.10-1) to root... Downloading http://repo.onioniot.com/omega2/packages/packages/python3-light_3.6.10-1_mipsel_24kc.ipk Installing python3-base (3.6.10-1) to root... Downloading http://repo.onioniot.com/omega2/packages/packages/python3-base_3.6.10-1_mipsel_24kc.ipk Installing libffi (3.2.1-3) to root... Downloading http://repo.onioniot.com/omega2/packages/packages/libffi_3.2.1-3_mipsel_24kc.ipk Configuring python3-base. Configuring libffi. Configuring python3-light. root@Omega-5BE1:~# opkg list-installed | grep -i ^python3 python3-base - 3.6.10-1 python3-light - 3.6.10-1 root@Omega-5BE1:~# python3 Python 3.6.10 (default, Apr 09 2020, 14:46:56) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
Success! On the Serial Console I can see everything.
@György-Farkas Sadly the same command did not work for me.
thanks, but no that was not it. I can see them both
@davidsi can you post the output of your commands so we can see what is happening
@davidsi Please let us know what is your device, what firmware are you using and the outputs of your commands.
Sadly the same command did not work for me.
(I think your post is too informative - but only for you. Sadly. )
@crispyoz sadly no. I broke it last night. Apparently it does NOT like a 24V input ... sigh