OpenWrt Forum Archive

Topic: Plowshare on OpenWrt

The content of this topic has been archived on 31 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Has anyone tried to run plowshare (http://code.google.com/p/plowshare/) on openwrt?

I am trying to make it run on a wrt160nl with 10.3.1 RC6

Or any other software simillar to plowshare? I am trying to automatically download from rapidshare, megaupload & the rest.

In trunk there is pyLoad.

I cannot just opkg install pyload.

Could you please instruct me?

First configure a router with Rootfs on External Storage (extroot). pyLoad and all it's dependencies are too big for the internal flash.

Once you have configured extroot you can just use opkg to install it. Of course, you have to build trunk by yourself first.

written_direcon wrote:

Of course, you have to build trunk by yourself first.

How do I do that?

I already have extroot.

Thanks!

Building trunk with pyload & LuCI:

cd ~/
svn checkout svn://svn.openwrt.org/openwrt/packages/ ~/wrt160nl/
cd ~/wrt160nl/
cp -fpR feeds.conf.default feeds.conf
sed -i '/\(^#\|xwrt\)/d' feeds.conf
./scripts/feeds update
./scripts/feeds install -a -p luci
./scripts/feeds install pyload
make menuconfig

In menuconfig select at least:
- Target System: Atheros AR71xx/AR7240/AR913x/AR934x
- Target Profile: Linksys WRT160NL
- Target Images: [ ] jffs2
- Network: <M> pyload
- LuCI / Collections: <*> luci

make

(Last edited by written_direcon on 18 Dec 2011, 19:04)

This line:

svn checkout svn://svn.openwrt.org/openwrt/packages/ ~/wrt160nl/

Returns:

-ash: svn: not found


Sorry, I am more than a noob...

Not sure if I get this right. I have to build them outside the router?

Of course. On a Linux box (VM or real).

Great.

However (Ubuntu 11.10), after
"svn checkout svn://svn.openwrt.org/openwrt/packages/ ~/wrt160nl/"
I go to wrt160nl and run the next commands, all fial because:

- feeds.conf.default does not exist
- "scripts" directory is also missing

Shouldn't these  be copied from the SVN?

$ sudo apt-get install build-essential subversion git libncurses5-dev zlib1g-dev gawk flex quilt

(Last edited by written_direcon on 18 Dec 2011, 18:48)

Ok, thanks. I installed the packages, however:
- after "svn checkout..." command, a bunch of files are being downloaded (final message is: Checked out revision 29561"
- then the cp command returns the following error:
cp: cannot stat `feeds.conf.default': No such file or directory

I checked - there is no feeds.conf.default file. Also, I checked there is no scripts directory among the downloaded files, Is there anything I am missing?

Thank you for guiding me through the process.

You have to change into the ~/wrt160nl/ folder after checkout.

I am inside the folder. Here's a ls output for the folder:

chip@hironakamura:~/wrt160nl$ ls
admin  devel  ipv6  lang  libs  mail  multimedia  net  skels  sound  utils
chip@hironakamura:~/wrt160nl$

The discussion might have continued from here.