A VoCore Repository

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

Re: A VoCore Repository

Fri Jan 30, 2015 11:02 pm

nfs-kernel-server compiled nicely, I think some of the other network filesystem packages caused the build to fail and I just disabled all of them.

I am uploading a new repository and need to do some testing (I have been messing with mjpg-streamer) and hopefully will have the repository ready for use tomorrow.

darksoul
 
Posts: 45
Joined: Fri Nov 14, 2014 2:29 am

Re: A VoCore Repository

Sat Jan 31, 2015 5:40 am

Code: Select all
root@OpenWrt:/etc# opkg install nfs-kernel-server -force-depends
Installing nfs-kernel-server (1.3.1-1) to root...
Downloading http://noblepepper.com/wp/wp-content/vocore-1.0b/packages//nfs-kernel-server_1.3.1-1_ramips_24kec.ipk.
Installing kmod-fs-nfsd (3.10.49-1) to root...
Downloading http://noblepepper.com/wp/wp-content/vocore-1.0b/packages//kmod-fs-nfsd_3.10.49-1_ramips_24kec.ipk.
Installing kmod-fs-nfs-common (3.10.49-1) to root...
Downloading http://noblepepper.com/wp/wp-content/vocore-1.0b/packages//kmod-fs-nfs-common_3.10.49-1_ramips_24kec.ipk.
Installing kmod-fs-exportfs (3.10.49-1) to root...
Downloading http://noblepepper.com/wp/wp-content/vocore-1.0b/packages//kmod-fs-exportfs_3.10.49-1_ramips_24kec.ipk.
Installing kmod-fs-nfs (3.10.49-1) to root...
Downloading http://noblepepper.com/wp/wp-content/vocore-1.0b/packages//kmod-fs-nfs_3.10.49-1_ramips_24kec.ipk.
Installing kmod-dnsresolver (3.10.49-1) to root...
Downloading http://noblepepper.com/wp/wp-content/vocore-1.0b/packages//kmod-dnsresolver_3.10.49-1_ramips_24kec.ipk.
Installing portmap (6.0-4) to root...
Downloading http://noblepepper.com/wp/wp-content/vocore-1.0b/packages//portmap_6.0-4_ramips_24kec.ipk.
Configuring kmod-fs-nfs-common.
[ 1861.210000] RPC: Registered named UNIX socket transport module.
[ 1861.220000] RPC: Registered udp transport module.
[ 1861.230000] RPC: Registered tcp transport module.
[ 1861.240000] RPC: Registered tcp NFSv4.1 backchannel transport module.
Configuring kmod-fs-exportfs.
Configuring kmod-fs-nfsd.
[ 1861.420000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Configuring portmap.
Configuring kmod-dnsresolver.
Configuring kmod-fs-nfs.
Configuring nfs-kernel-server.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for nfs-kernel-server:
 *      kernel (= 3.10.49-1-128af75d414258ed7add7723fddb4c60) *         kernel (= 3.10.49-1-128af75d414258ed7add7723fddb4c60) *    kernel (= 3.10.49-1-128af75d414258ed7add7723fddb4c60) *         kernel (= 3.10.49-1-128af75d414258ed7add7723fddb4c60) *    kernel (= 3.10.49-1-128af75d414258ed7add7723fddb4c60) *



while trying to install nfs-kernel-server i'm getting next errors.
please how this can be fixed?

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

Re: A VoCore Repository

Sat Jan 31, 2015 2:49 pm

The 1.0b repository isn't quite ready for general use yet, I'll post here when I get some more testing done. Actually I am writing this post while I wait on the next iteration to upload. Patience, grasshopper...

BUT, I believe you actually have everything installed. The collected errors message is misleading, you overrode the error with --force-depends and opkg installed the package anyway.

This can lead to problems in some cases if the module doesn't match the kernel version (say kernel version 3.14), in this case it shouldn't since they do match they were just built at different times. OpenWrt puts a identifier on the modules and kernel (128af75d414258ed7add7723fddb4c60 in this case), every build will have a different identifier even if the sources are identical and you will see this error message.

You can avoid the error message by flashing the openwrt-ramips-rt305x-vocore-squashfs-sysupgrade.bin image in the repository since everything matches. This is a pain in the a** since I need to set up a repository every time I add kernel modules and you need to flash the base image when you switch repositories. I need to learn how to set the permissions on the server so you can't use a repository until it is ready ;-).

darksoul
 
Posts: 45
Joined: Fri Nov 14, 2014 2:29 am

Re: A VoCore Repository

Sat Jan 31, 2015 4:58 pm

feel free to ask if you will need any of my help.
permissions, - depends what OS you are using.

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

Re: A VoCore Repository

Sat Jan 31, 2015 7:08 pm

Okay, I am satisfied with the latest upload and I will stop messing with the contents in the 1.0b repository. Testing the is much appreciated!. I'll be publishing some usage example soon.

Some notes:
To use it you need this in your /etc/opkg.conf:
Code: Select all
src/gz chaos_calmer_packages http://noblepepper.com/wp/wp-content/vocore-1.0b/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay


If you are going to use kernel modules from this repository or get version mismatches or md5 checksum errors you can avoid problems by flashing the image in the repository. I do this by:
Code: Select all
cd /tmp
wget http://noblepepper.com/wp/wp-content/vocore-1.0b/openwrt-ramips-rt305x-vocore-squashfs-sysupgrade.bin
sysupgrade openwrt-ramips-rt305x-vocore-squashfs-sysupgrade.bin

This image is very similar to the image at http://vonger.cn/upload/vocore.v1.0.bin but there are some minor differences,.

The repository does include nfs-kernel-server and many packages related to openvpn and strongswan.

The mjpg-streamer package is patched to restore the -c --command option which is missing from the official openWrt package. These options were also set, they are disabled in the standard package.
"Compile input_uvc with libv4l2 (camera controls)"
"Install input file plugin"
"Install input testpicture plugin"
"Install output file plugin"
"Install complete Web UI files (includes cambozola)"

There is also a mjpg-streamer-old package (r148) which will accept the -y option without segfaulting. It doesn't work with my old logitech sphere AF which has given me problems before but it may work with other webcams needing the -y option.

A full list of package is here:
latestpackages.zip
(12.94 KiB) Downloaded 197 times

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

Re: A VoCore Repository

Sat Jan 31, 2015 7:18 pm

darksoul wrote:feel free to ask if you will need any of my help.
permissions, - depends what OS you are using.


The permissions I need to figure out are on the server at my hosting provider, the trick is to set them so no one else can access the repository while I still can from my VoCore. To the server opkg on my VoCore is just another user, no different from opkg on your VoCore.

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

Re: A VoCore Repository

Sun Feb 01, 2015 3:12 pm

Here are a couple of links of how I like to set up my VoCore:

Connecting to local router

Setting up ssh key authentication and zeroconf resolution

More to come, usb storage and video streaming next.

darksoul
 
Posts: 45
Joined: Fri Nov 14, 2014 2:29 am

Re: A VoCore Repository

Sun Feb 01, 2015 11:22 pm

did you had a chance to test download speed on the wifi?
i'm getting very silly speed.
1 - 8 mbit.
don't think that i should be like this)

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

Re: A VoCore Repository

Mon Feb 02, 2015 8:15 pm

I don't think I understand, are you saying the image from my repository affected the wifi speed?

darksoul
 
Posts: 45
Joined: Fri Nov 14, 2014 2:29 am

Re: A VoCore Repository

Wed Feb 04, 2015 4:06 am

i'm saying that i don't have wifi speed.

try out wget or something.
the maximum that i get is 1 mb/s
but my linux computer gets 6-8 mb/s for the same file.

PreviousNext
Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: Google [Bot] and 3 guests