RE: [leaf-user] qos-htb.lrp error

2003-08-15 Thread S Mohan
htb.init was modified to run on ash. Steve - I has sent my copy of qos-htb.
Did it not work?

Mohan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steve Wright
Sent: Friday, August 15, 2003 1:33 PM
To: bino-psn
Cc: LEAF-USER
Subject: Re: [leaf-user] qos-htb.lrp error


On Fri, 2003-08-15 at 18:11, bino-psn wrote:
 Dear All.
 I just download qos-htb.lrp
 Try to load it on my bering box.

 when i try to start it ...
 it give error msg :

 ./htb.init: 636: Syntax error: Bad substitution

 I look into that Line and it only contain blank-string variable assignment
 as :

 RNAME=;CNAME=


 Any Clue please ..

htb.init was designed for the bash shell.  It won't work on ash as in
LEAF.

I tried it on WISP-DIST and it does not work.. same problem as you have.

I am now examining tcng
http://tldp.org/HOWTO/Traffic-Control-tcng-HTB-HOWTO/

tcng is a very powerful config generator for tc, and it fits well with
my desire to backend the routers entirely.


regards,
Steve




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] qos-htb.lrp error

2003-08-15 Thread Steve Wright
On Fri, 2003-08-15 at 18:11, bino-psn wrote:
 Dear All.
 I just download qos-htb.lrp
 Try to load it on my bering box.
 
 when i try to start it ...
 it give error msg :
 
 ./htb.init: 636: Syntax error: Bad substitution
 
 I look into that Line and it only contain blank-string variable assignment
 as :
 
 RNAME=;CNAME=
 
 
 Any Clue please ..

htb.init was designed for the bash shell.  It won't work on ash as in
LEAF.

I tried it on WISP-DIST and it does not work.. same problem as you have.

I am now examining tcng 
http://tldp.org/HOWTO/Traffic-Control-tcng-HTB-HOWTO/

tcng is a very powerful config generator for tc, and it fits well with
my desire to backend the routers entirely.


regards,
Steve




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] qos-htb.lrp error

2003-08-15 Thread Tom Eastep
On Thu, 2003-08-14 at 23:11, bino-psn wrote:
 Dear All.
 I just download qos-htb.lrp
 Try to load it on my bering box.
 
 when i try to start it ...
 it give error msg :
 
 ./htb.init: 636: Syntax error: Bad substitution
 
 I look into that Line and it only contain blank-string variable assignment
 as :
 
 RNAME=;CNAME=
 
 
 Any Clue please ..

This is becoming a FAQ.

htb.init uses the Bash expression syntax $[...]. Ash doesn't support
that syntax so you must replace all occurrences of those expressions
with $((...))

-Tom
-- 
Tom Eastep\ Shorewall - iptables made easy
Shoreline, \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] qos-htb.lrp error

2003-08-15 Thread Steve Wright
On Sat, 2003-08-16 at 00:55, S Mohan wrote:
 htb.init was modified to run on ash. Steve - I has sent my copy of qos-htb.
 Did it not work?
 

Yes it worked.  It was not htb.init but something different.

None of these scripts provide the functions I need - that is, for the
Server to specify and dynamically load policy for the routers, and
therefore I am looking at tc-ng + tcc.


/steve

p.s. this reply-all thing is really bugging me.  duplicate bloody
messages everywhere.  Is it really important to run the listserver in
this mode ?



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html