Install software on Vocore?

GinDiamond
 
Posts: 31
Joined: Thu Mar 31, 2016 11:02 pm

Install software on Vocore?

Thu Mar 31, 2016 11:05 pm

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!

ArkEngr
 
Posts: 10
Joined: Tue Oct 20, 2015 1:58 pm

Re: Install software on Vocore?

Thu Apr 07, 2016 2:01 pm

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: 31
Joined: Thu Mar 31, 2016 11:02 pm

Re: Install software on Vocore?

Thu Apr 07, 2016 10:44 pm

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:~#

Vonger
 
Posts: 568
Joined: Sun Oct 19, 2014 6:00 am

Re: Install software on Vocore?

Sun May 01, 2016 6:52 am

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: 10
Joined: Tue Oct 20, 2015 1:58 pm

Re: Install software on Vocore?

Mon May 02, 2016 1:50 am

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.

noblepepper
 
Posts: 239
Joined: Sat Nov 29, 2014 3:22 pm

Re: Install software on Vocore?

Wed May 11, 2016 10:57 pm

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.

GinDiamond
 
Posts: 31
Joined: Thu Mar 31, 2016 11:02 pm

Re: Install software on Vocore?

Wed May 25, 2016 6:57 pm

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?

GinDiamond
 
Posts: 31
Joined: Thu Mar 31, 2016 11:02 pm

Re: Install software on Vocore?

Mon Jun 13, 2016 3:34 pm

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:

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: 31
Joined: Thu Mar 31, 2016 11:02 pm

Re: Install software on Vocore?

Tue Nov 01, 2016 7:04 pm

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?

Vonger
 
Posts: 568
Joined: Sun Oct 19, 2014 6:00 am

Re: Install software on Vocore?

Wed Nov 02, 2016 5:25 am

It is python-mini, better to use VoCore2 run python, VoCore memory is too small.

Next
Return to VoCore & VoCore+dock

Who is online

Users browsing this forum: No registered users and 1 guest