• [^] # Re: packages

    Posté par . En réponse au message installation Bandwidthd. Évalué à 1.

    Un réflexe utile sous debian : lorsque j'installe un nouveau package qui nécessite une configuration à la main, je vais voir la doc du package dans /usr/share/doc/<nom du package>.
    Je te renvoie donc au fichier : /usr/share/doc/bandwidthd/README.Debian.gz
    Il dit deux choses importantes :
    Configuring bandwidthd:
    -----------------------------------------------------------------------------
    Bandwidthd needs to be configured manually. This is done in
    /etc/bandwidthd/bandwidthd.conf which is pretty self-explaning and also has
    helpful comments. Theres always "man bandwidthd.conf" too.
    You should have atleast one "subnet" declaration and "dev".

    A toi de configurer les champs subnet et dev. Par exemple :
    subnet 192.168.0.0 255.255.255.0
    dev eth0


    Et, vers la fin :
    webpages: /var/lib/bandwidthd/htdocs/
    (you need to "ln -s /var/lib/bandwidthd/htdocs/ /var/www/bandwithd"
    if you want to make the webpages reachable via the web.)

    Cela signifie que tu peux accéder aux graphes générés via l'URL suivant : file:///var/lib/bandwidthd/htdocs/index.html