Sau tc qdisc del dev eth0 root On Sat, 24 Jul 2004 15:12:07 +0300, KobrAs <[EMAIL PROTECTED]> wrote: > da intai stop > > > On Sat, 2004-07-24 at 14:44, cosmin dumitru wrote: > > > nu's expert in bash dar la mine a mers asa: > > > in loc de: > > > > > > if [ $Q_CHECKCFG $CONF_DIR/$1-qos.cfg 1>/dev/null 2>&1 ]; then > > > > > > am pus: > > > > > > $Q_CHECKCFG $CONF_DIR/$1-qos.cfg 1>/dev/null 2>&1 > > > if [ $? = 0 ]; then > > > > > > La fel si la urmatorul test (cateva linii mai jos) > > > in loc de: > > > if [ $TC qdisc add dev $1 root handle 1: htb default 10 1>/dev/null 2>&1 > > > ]; then > > > > > > am pus: > > > > > > $TC qdisc add dev $1 root handle 1: htb default 10 1>/dev/null 2>&1 > > > if [ $? = 0 ]; then > > > > > > Iar la finalul scriptului, pe ramura start pui: > > > apply_rules $1 (in loc de apply_rules) > > > iar pe ramura stats: > > > display_statistics $1 > > > > > > Emil Sirbu > > iata e apare dupa modificarile de mai sus > > ./rc.htb start_eth0 > > Q_SHOW is /sbin/q_show \/ Q_PARSER is /sbin/q_parser \/ Q_CHECKCFG is > > /sbin/q_checkcfg \/ > > PAGER is /usr/bin/less \/ CONF_DIR is /etc/htb \/ REMOVE is > > /usr/bin/rm \/ TC is /sbin/tcApplying traffic rules for device eth0. > > Checking the config file....OKChecking kernel support for HTB: not > > present.Your kernel lacks support for HTB. Aborting... > > lucru total neadevarat. folosesc htb-init cu succes pe aceeasi masina . > > > > --- > > Detalii despre listele noastre de mail: http://www.lug.ro/ > -- > KobrAs <[EMAIL PROTECTED]> > -- Attached file included as plaintext by Ecartis -- > -- File: signature.asc > -- Desc: This is a digitally signed message part > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > > iD8DBQBBAlIXrhUF4+f2+rARAoVhAJ9tI69Q2xWExHq1dOdHfJs8r3cTBACeIlNf > /8UBVPwmY0qXNxqdvY+p+UY= > =YG6e > -----END PGP SIGNATURE----- > > > > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ > >
--- Detalii despre listele noastre de mail: http://www.lug.ro/
