hello list :)
Sorry for posting, but i spent many hours reading leaf-mailuser archive, 
shorewall and htb faq to find whats wrong in my config. :(

so you are my last chance to configure my chaping config.

I am using Bering-uClibc with the Two interface shorewall template.

i have access to internet through my bering pc.

At the end of the boot process , i have this message :
Processing /etc/shorewall/tcstart ...
RTNETLINK answers  : No such file or directory
Processing /etc/shorewall/stop ...
Terminated

Before , all the boot process are OK

All the config are defaut exept those :

this is my lrp packages loaded in syslinux.cfg
 
LRP=root,etc,local,modules,iptables,keyboard,shorwall,ulogd,dnscache,weblet,tc,q
os-htb

In Shorewall CONFIG i have :
 
MANGLE_ENABLED=Yes
TC_ENABLED=Yes14:12 30/05/2003
CLEAR_TC=No
MARK_IN_FORWARD_CHAIN=Yes
 
(because i am using SNAT : 192.168.1.230 ---->62.251.XXX.XXX) i have 32 IP 
SNATed in 
NAT pannel config. 


TCRULES in shorewall panel config.
##############################################################################
#MARK           SOURCE          DEST            PROTO   PORT(S) CLIENT PORT(S)
1               eth1            0.0.0.0         all
2               fw              0.0.0.0         all
4               fw              0.0.0.0         tcp     1214    -
4               fw              0.0.0.0         tcp     4329
4               fw              0.0.0.0         tcp     4661:4665
4               fw              0.0.0.0         tcp     412
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

Modules loaded for HTB:

# HTB modules
sch_prio
sch_htb
sch_cbq
sch_sfq
# ingress modules sch_ingress (renamed through cp sch_ingress.o /lib/modules)
sch_in~1
cls_fw
cls_u32

and this is my tcstart files copied in \etc\shorewall

run_tc qdisc del dev eth0 root

run_tc qdisc add dev eth0 root handle 1: htb default 10

run_tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbit

run_tc class add dev eth0 parent 1:1 classid 1:10 htb rate 60kbit ceil 100kbit 
prio 0
run_tc class add dev eth0 parent 1:1 classid 1:20 htb rate 20kbit ceil 30kbit 
prio 1
run_tc class add dev eth0 parent 1:1 classid 1:30 htb rate 20kbit ceil 50kbit 
prio 2

run_tc filter add dev eth0 protocol ip parent 1:0 prio 0 handle 1 fw classid 
1:10
run_tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 2 fw classid 
1:20
run_tc filter add dev eth0 protocol ip parent 1:0 prio 2 handle 4 fw classid 
1:30


thanks for any help
Regards everyone.

Mehdi Tazi
cybercafe admin


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
------------------------------------------------------------------------
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

Reply via email to