Hello,
I'm fairly new to the Vocore, and I want to know how to install software packages onto the Vocore, specifically python and all its glory.
I looked on the web gui, and I found a bit where you can add repositories and update the lists and install packages that way, but whenever I try to do this, it always says "404 page not found" or "Package is not a file or directory"
How can I install python on a vocore?
I'm using Windows 10, but I do also have Ubuntu if I need it
Thanks!
Install software on Vocore?
- GinDiamond
- Posts: 48
- Joined: Thu Mar 31, 2016 11:02 pm
- ArkEngr
- Posts: 38
- Joined: Tue Oct 20, 2015 1:58 pm
Re: Install software on Vocore?
Have you used OPKG ? That is the standard way of installing software on OpenWrt where you have multiple files that need installing in multiple directories. If you have only a single file you can copy it over with the SCP command.
- GinDiamond
- Posts: 48
- Joined: Thu Mar 31, 2016 11:02 pm
Re: Install software on Vocore?
Yes, I have tried opkg via ssh many times.
Here's what I get as of now (no core files changed):
Here's what I get as of now (no core files changed):
- Code: Select all
login as: root
root@192.168.61.1's password:
BusyBox v1.22.1 (2015-10-31 11:03:49 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Barrier Breaker, r47068)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/base/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/luci/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/management/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/oldpackages/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/packages/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/routing/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/telephony/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/base/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/luci/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/management/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/oldpackages/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/packages/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/routing/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/telephony/Packages.gz, wget returned 1.
root@OpenWrt:~#
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: Install software on Vocore?
GinDiamond wrote:Yes, I have tried opkg via ssh many times.
Here's what I get as of now (no core files changed):
- Code: Select all
login as: root
root@192.168.61.1's password:
BusyBox v1.22.1 (2015-10-31 11:03:49 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Barrier Breaker, r47068)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/base/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/luci/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/management/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/oldpackages/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/packages/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/routing/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/telephony/Packages.gz.
wget: bad address 'downloads.openwrt.org'
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/base/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/luci/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/management/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/oldpackages/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/packages/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/routing/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/packages/telephony/Packages.gz, wget returned 1.
root@OpenWrt:~#
Looks like the URL of the opkg download is not valid anymore, please use the latest firmware from downloads.openwrt.org.
- ArkEngr
- Posts: 38
- Joined: Tue Oct 20, 2015 1:58 pm
Re: Install software on Vocore?
Maybe you don't have a nameserver set up. The URL looks valid but if you don't have a name server in the /etc/resolv.conf
that could be a problem. Use 8.8.8.8 or 8.8.4.4 for google and that will work.
that could be a problem. Use 8.8.8.8 or 8.8.4.4 for google and that will work.
- noblepepper
- Posts: 240
- Joined: Sat Nov 29, 2014 3:22 pm
Re: Install software on Vocore?
Barrier Breaker ?!?!? That is a very old release, I would use Chaos Calmer.
Opkg should be set up to fetch packages out of the box in Chaos Calmer (should be on barrier breaker too though)
This package will not have WiFi enabled when you first load it you need to enable WiFi either on the UART connection in /etc/config/wireless or the ethernet port should have a web config at 192.168.1.1.
If I remember correctly the version from Openwrt only uses 8M of the 16M flash, it limits your space (disk) available you may want to use these instructions to complile your own version with all the vocore customizations added.
Warning - Python is a RAM hog, I think it will push the VoCore's 32M pretty hard.
Opkg should be set up to fetch packages out of the box in Chaos Calmer (should be on barrier breaker too though)
This package will not have WiFi enabled when you first load it you need to enable WiFi either on the UART connection in /etc/config/wireless or the ethernet port should have a web config at 192.168.1.1.
If I remember correctly the version from Openwrt only uses 8M of the 16M flash, it limits your space (disk) available you may want to use these instructions to complile your own version with all the vocore customizations added.
Warning - Python is a RAM hog, I think it will push the VoCore's 32M pretty hard.
- GinDiamond
- Posts: 48
- Joined: Thu Mar 31, 2016 11:02 pm
Re: Install software on Vocore?
Also, this is the hardware setup:
My VoCore is connected to the router via ethernet cable, and I am ssh'ing to the VoCore over wifi on the VoCore network (the host PC is also attatched to the router via ethernet)
Is this the right setup?
My VoCore is connected to the router via ethernet cable, and I am ssh'ing to the VoCore over wifi on the VoCore network (the host PC is also attatched to the router via ethernet)
Is this the right setup?
- GinDiamond
- Posts: 48
- Joined: Thu Mar 31, 2016 11:02 pm
Re: Install software on Vocore?
I really really want to get software installed on the VoCore. I can't get opkg to work, even when changing the resolv.conf to:
or to
How do I make it so I can type in "opkg update" into the vocore while I'm ssh'd into it and have it work?
Again, my hardware setup is as the post above.
- Code: Select all
search lan
nameserver 8.8.8.8
or to
- Code: Select all
search lan
nameserver 8.8.4.4
How do I make it so I can type in "opkg update" into the vocore while I'm ssh'd into it and have it work?
Again, my hardware setup is as the post above.
- GinDiamond
- Posts: 48
- Joined: Thu Mar 31, 2016 11:02 pm
Re: Install software on Vocore?
I think I fixed it!
And it only took a year!
I found that I needed to disable the dhcp server (I need to add the wifi one back in, but thats not happening right now). Now, I ssh/Luci into the vocore as if its a device attatched to my main router.
I did opkg update and it works now, with no errors!
However, I'm now trying to install python on this.
When I do "opkg install python" I get "No package python".
What can I do to fix this?
And it only took a year!
I found that I needed to disable the dhcp server (I need to add the wifi one back in, but thats not happening right now). Now, I ssh/Luci into the vocore as if its a device attatched to my main router.
I did opkg update and it works now, with no errors!
However, I'm now trying to install python on this.
When I do "opkg install python" I get "No package python".
What can I do to fix this?
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: Install software on Vocore?
It is python-mini, better to use VoCore2 run python, VoCore memory is too small.
Who is online
Users browsing this forum: No registered users and 2 guests