vezi pe arny.ro/htb ca e o varianta *alternativa* a scriptului asta
[EMAIL PROTECTED] wrote:
>Ok am reusit sa instalez HTB dar ghinionul se tine lant de mine si nu reusesc
>sa il fac sa accepte cfgul, situatia actuala
>
>Am in /etc/rc.d rc.htb ( scriptul de pe arny.ro/htb), binary-le q in sbin si
>configul eth1-qos.cfg in /etc/htb
>
>si am eroarea asta :
>[EMAIL PROTECTED]:/etc/htb# ./htb eth1 start
>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 .
>Checking the config file...../htb: line 81: [: /sbin/q_checkcfg: unary
>operator expected
>FAILEDThe configuration file contains errors.
>[EMAIL PROTECTED]:/etc/htb#
>
>Configul :
>class class_1 {
> bandwidth 192;
> limit 256;
> burst 2;
> priority 1;
>
> client client_1 {
> bandwidth 48;
> limit 64;
> burst 2;
> priority 1;
> dst {
> 192.168.1.0/24;
> };
> };
>
>
>
> client client_2 {
> bandwidth 48;
> limit 64;
> burst 2;
> priority 1;
> dst {
> 192.168.2.0/24;
> };
> };
>
>
>
> client client_3 {
> bandwidth 48;
> limit 64;
> burst 2;
> priority 1;
> dst {
> 192.168.3.0/24;
> };
> };
>
>
>
> client client_4 {
> bandwidth 48;
> limit 64;
> burst 2;
> priority 1;
> dst {
> 192.168.4.0/24;
> };
> };
> };
>
>
>What to do now ?
>
>---
>Detalii despre listele noastre de mail: http://www.lug.ro/
>
>
>
>
>
>
>
>
---
Detalii despre listele noastre de mail: http://www.lug.ro/