problem while compiling bandwidth management software

Asked by linuxlover.chaitanya

i am trying to install the bandwidth management tools from the source.
the ./configure--with-rrdtool-source command goes all well.
but when i try to use make i get this error.
=====================================================
/usr/bin/ld: cannot find -lpanel
collect2: ld returned 1 exit status
make[2]: *** [bwm_firewall] Error 1
make[2]: Leaving directory `/home/inspire/bwm/bwm_tools-0.3.0/bwm_firewall'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/inspire/bwm/bwm_tools-0.3.0'
make: *** [all] Error 2
inspire@inspiresrv:~/bwm/bwm_tools-0.3.0$

=====================================================================
can anyone please suggest what exactly the problem could be?
i checked all the dependencies and it seems alright.
i am unable to find out anything about the lpanel as it is in /usr/bin/ld and this file is binary so not human readable. and i tried man ld but i could not understand anything.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-panel Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Hello Chaitanya,

If its installing from sources first I would install build-essential package

sudo aptitude update
sudo aptitude install build-essential

Then if its a tar.gz file:

tar -xvzf bwm_tools-0.30.tar.gz
cd bwm_tools-0.30
./configure
make
sudo make install

Here is a detailed description on compiling software in ubuntu:

https://help.ubuntu.com/community/CompilingSoftware
https://help.ubuntu.com/community/CompilingEasyHowTo

Hope it helps

Bhavani Shankar.

Revision history for this message
linuxlover.chaitanya (linuxlover-chaitanya) said :
#2

i have done that and it does not solve the problem.
the problem seems to be with lpanel in /usr/bin/ld

Revision history for this message
Bhavani Shankar (bhavi) said :
#3

Did you install rrdtool?

you need to have extra repositories enabled..
To enable all the software repositories do ref this link..

http://www.arsgeek.com/?p=2794

after getting all the required repositories enabled

Type the following command in a terminal (applications -> accessories -> terminal)

sudo aptitude install rrdtool

Bhavani Shankar.

Revision history for this message
linuxlover.chaitanya (linuxlover-chaitanya) said :
#4

everything is ok with rrdtool.
i have already installed the rrdtool and it is fine.
the problem seems to be with the lpanel and ld.
i tried to man ld but could not understand it as i am not a programmer and so never used ld.
i have tried to eliminate all the dependencies as possible.

Revision history for this message
Bhavani Shankar (bhavi) said :
#5

same thing is happenning to me now... What is your sole purpose of installing this software? Please give us some info as we can look for an easier alternative....

Revision history for this message
linuxlover.chaitanya (linuxlover-chaitanya) said :
#6

well i have departments that would be using internet connection.
i am doing it for a college
i want that out of the total bw available the staff should get max out of it and students should not get much
i want to restrict the students from misusing it to download movies and videos
so there will be a vlan made out of it.
i am planning that nothing works out i will use squid for it
but i want some gui for that so that admin can administer in my absence.
i wont be responsible for its administration. i just have to set it up.

Revision history for this message
Bhavani Shankar (bhavi) said :
#7

Ok..

What is the total summary is you want a firewall first..

You can have a look at firestarter.. More on firestarter and setting it up automatically:

https://help.ubuntu.com/community/Firestarter

http://www.howtoadvice.com/AutoFirestarter

You can also have a look at IPtables..

https://help.ubuntu.com/community/IptablesHowTo

Then there are various bandwidth management tools in ubuntu...

Refer this link:

http://www.ubuntugeek.com/bandwidth-monitoring-tools-for-linux.html

Hope it helps

Bhavani Shankar.

Revision history for this message
linuxlover.chaitanya (linuxlover-chaitanya) said :
#8

firewall is also a need but i am not concerned about that issue.
i have a lot of options for firewalling.
i need a bw management system so that at any given point the bw usage is like what i need.
the usage of bw should be as configured
the students should not get more than 56kbps
where as the admin staff should get the max
but if the admin is not using the bw then that traffic should be diverted to the other systems that need it.
i should be able to prioritize the usage as to who need the bw and who does not.

Revision history for this message
Bhavani Shankar (bhavi) said :
#9

You can try out a traffic shaper like wondershaper

http://packages.ubuntu.com/gutsy/net/wondershaper

to install wondershaper you need to have universe repos enabled Ref this to do the same

http://psychocats.net/ubuntu/sources

Then give the following command in a terminal

sudo apt-get install wondershaper

to install it...

An usage example:

sudo wondershaper eth0 56000 127000

For limting 56000 kbps download and 127000 kbps upload (kbps here means kilo BITS per second)

for more info on usage see the manual

[Quote]

After installing this package, read highly the detailed instructions: /usr/share/doc/wondershaper/README.Debian

[Quote]

Hope it helps

Bhavani Shankar.

Revision history for this message
linuxlover.chaitanya (linuxlover-chaitanya) said :
#10

well thanks for the suggestion but that would not work for me
i need something that is more efficient and flexible.
i just dont need to limit the bandwidth on a card but i need to do it using the IP addresses of the client systems.
those with bw usage of 128kBps should get that and those with 56 should get only 56.
but both of the the ip ranges will use the same ethernet card.
i.e. if i have a admin section with some range i should be able to give the internet access to admin the amount of bw they need while if i have a section called students then i should be ale to limit the bw usage to 56kbps only.
this way i can give priority to the IPs rather than the card they are connected to.
i will need a very flexible tool like squid using web min interface or BWM tools.

Revision history for this message
subliminalfix (na1tr2lp-deactivatedaccount) said :
#11

hi sorry your still having trouble maybe this will help shankar or u to get it

several attemts

lspci

lsusb

lshal

lshw

lsb_release -a
sudo fdisk -l

ls -al

sudo chmod a+w usblink

cd/media

su -

su-

su -i

# exit

sudo dhclient

sudo mount

-iconfig & ping ip

peace there shankar

=]

Can you help with this problem?

Provide an answer of your own, or ask linuxlover.chaitanya for more information if necessary.

To post a message you must log in.