[ SlackList ] [ WkikiSlack ]




PROBLEMIK z shaperem

From: Piotr <niszczyciel_malpka_o2.pl>
Date: Tue Mar 23 2004 - 14:43:02 CET

Mianowicei jak jest uzstwiony tlyko shaper0 to dzila normalnie:

modprobe shaper
/sbin/shapecfg attach shaper0 eth1

# 1 kb = 8192
# 5 kb = 40960
# 8 kb = 65536
# 10 kb = 81920
# 20 kb = 163840
#
#


/sbin/shapecfg speed shaper0 40960
ifconfig shaper0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
up


#route add -host 192.168.1.6 dev shaper0
#route add -host 192.168.1.7 dev shaper0
route add -host 192.168.1.9 dev shaper0
#route add -host 192.168.1.3 dev shaper0
#route add -host 192.168.1.5 dev shaper0
#route add -host 192.168.1.2 dev shaper0


a jak chcialem ustawic shaper1 dla eth1 to juz nie chcial odzialac ;-(( nie
wiem czemu :

root@slackware:/home# ./shaperup
shaper: No such device
shaper: No such device
SIOCSIFADDR: No such device
shaper1: unknown interface: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
shaper1: unknown interface: No such device
shaper1: unknown interface: No such device
root@slackware:/home# ./shaperup
shaper: Device or resource busy
SIOCADDRT: File exists
root@slackware:/home# ./shaperup
shaper: Device or resource busy
SIOCADDRT: File exists
root@slackware:/home# ./shaperdo
root@slackware:/home# ./shaperup

root@slackware:/home# ~


MA KTOS JAKIS POMYSL ??????


Received on Fri Mar 26 18:30:35 2004

This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014