WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Wondershaper  (Read 3726 times)

Offline thorald

  • Newbie
  • *
  • Posts: 20
Wondershaper
« on: June 16, 2017, 03:55:57 AM »
Hi!
Does anyone know how to compile or to get this working?
I seem not to be able to do it myself.

Wondershaper exists for the raspbian os, so it should be possible.

Well, maybe someone could ad it to the repo if you figure it out?
Thanks !

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14824
Re: Wondershaper
« Reply #1 on: June 16, 2017, 04:41:40 AM »
From the github site:
Quote
Installation

You can run wondershaper (as any user with sufficient permissions) without installation. However if you want to install the script onto your system you can simply run:

    sudo make install

Offline thorald

  • Newbie
  • *
  • Posts: 20
Re: Wondershaper
« Reply #2 on: June 16, 2017, 06:12:11 AM »
I tried both by making an tcz with "installed" files and just a container for the source.

When trying to run either of them it, it reports errors.

With just a copy it reports file not found.
sudo ./wondershare -h reports that it does not exist.

and with a tcz that is installed.
sudo wondershaper -h
sudo: unable to execute /usr/bin/wondershaper: No such file or directory

So, im not shure what im doing wrong

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14824
Re: Wondershaper
« Reply #3 on: June 16, 2017, 06:51:07 AM »
I'd guess that wondershaper is a script that is looking for bash, perl or python.

Open wondershare in a text editor and look at the first line to see what it needs in order to execute.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Wondershaper
« Reply #4 on: June 16, 2017, 07:02:11 AM »
...
With just a copy it reports file not found.
sudo ./wondershare -h reports that it does not exist.
...
sudo wondershaper -h
sudo: unable to execute /usr/bin/wondershaper: No such file or directory

Other problems are typo's

is it wondershare or wondershaper?

Offline thorald

  • Newbie
  • *
  • Posts: 20
Re: Wondershaper
« Reply #5 on: June 16, 2017, 07:33:25 AM »
Ah sorry, typo, wondershaper..

I noticed when looking at files on raspbian that it used a file called tc in /sbin
And looking in wondershaper with text editor I can see it uses tc filter..
So could this be the missing part that it needs?

So what is tc?
Googling directs me to believe this is somthing called Traffic Shaping.
So does this come in some package ready to install?

Cant really find the source code for compile..

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14824
Re: Wondershaper
« Reply #6 on: June 16, 2017, 07:41:01 AM »
wondershaper is a bash script, tc is part of the iproute2 extension

Offline thorald

  • Newbie
  • *
  • Posts: 20
Re: Wondershaper
« Reply #7 on: June 16, 2017, 07:58:39 AM »
Thanks!
Can any of you install iproute2?

I get this error:
md5sum: netfilter-4.9.22-piCore-v7.tcz.md5.txt: No such file or directory
Error on netfilter-4.9.22-piCore-v7.tcz

Rpi3 with picore9

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14824
Re: Wondershaper
« Reply #8 on: June 16, 2017, 08:23:19 AM »
That means that the netfilter-4.9.22-piCore-v7 extension is missing from the repo

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14824
Re: Wondershaper
« Reply #9 on: June 16, 2017, 10:02:54 AM »
netfilter-KERNEL posted to piCore-9.x armv7 repo