Hirdetés

Új hozzászólás Aktív témák

  • Tamy

    senior tag

    válasz bambano #18331 üzenetére

    Ezt válaszolja:

    root@OpenWrt:~# /etc/init.d/limit restart
    + insmod cls_fw
    + insmod cls_u32
    + insmod sch_htb
    + insmod sch_sfq
    + insmod sch_ingress
    + DEV=eth1
    + LIMIT_IPS=192.168.2.100
    + LIMIT_DOWN=200
    + LIMIT_DOWN_BURST=400
    + LIMIT_UP=400
    + case "$1" in
    + echo -n 'Restarting bandwidth shaping: '
    Restarting bandwidth shaping: + restart
    + stop
    + tc qdisc del dev eth1 root
    + iptables -F -t mangle
    + sleep 1
    + start
    + tc qdisc del dev eth1 root handle 77:
    RTNETLINK answers: Invalid argument
    + tc qdisc add dev eth1 root handle 77: htb
    + tc class add dev eth1 parent 77: classid 77:1 htb rate 20000kbit
    + tc class add dev eth1 parent 77:1 classid 77:10 htb rate 200kbit ceil 400kbit prio 2
    + tc qdisc add dev eth1 parent 77:10 handle 78: sfq perturb 10
    + tc qdisc add dev eth1 ingress
    RTNETLINK answers: File exists
    + tc filter add dev eth1 parent 77: protocol ip prio 2 handle 80 fw flowid 77:10
    + tc filter add dev eth1 parent ffff: protocol ip prio 1 handle 79 fw police rate 400kbit mtu 6k burst 6k drop
    RTNETLINK answers: No such file or directory
    We have an error talking to the kernel
    + for ip in '$LIMIT_IPS'
    + iptables -t mangle -I PREROUTING -s 192.168.2.100 -j MARK --set-mark 79
    + iptables -t mangle -I POSTROUTING -d 192.168.2.100 -j MARK --set-mark 80
    + echo done
    done
    + exit 0

    Egész életemben azon gondolkodtam, hogy kéne valamit dolgoznom. Ezért aztán a végén nem is maradt rá időm.

Új hozzászólás Aktív témák