Freesco, NND, CDN, EOS
http://forum.freesco.pl/

Problem z niceshaperem i siecią radiową proszę o pomoc
http://forum.freesco.pl/viewtopic.php?f=22&t=7195
Strona 1 z 1

Autor:  Anonymous [ czwartek, 24 marca 2005, 19:08 ]
Tytuł:  Problem z niceshaperem i siecią radiową proszę o pomoc

Witam mam problem z niceshaperem poprostu działa nie działa, a teraz wszystko od początku mam sieć radiową i lokalną niceshaper lokalnie działa wprawdzie ale osoby które łączą się z serwerem poprzez sieć radiową nie mają ograniczenia a przy uruchomieniu niceshapera wyskakują mi błędy takie jak poniżej prosze o pomoc linux jest moją piętą ahillesową i prosiłbym o wytłumaczenie łopatologiczne.

[root@server niceshaper]# niceshaper start
Bad argument `RETURN'
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `MARK'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.11: host/network `zej' not found
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.11: host/network `zej' not found
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `RETURN'
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `MARK'
Try `iptables -h' or 'iptables --help' for more information.

Niceshaper version:0.5 20.05.2004
http://www.niceshaper.mikule.net

Autor:  Dayson [ piątek, 25 marca 2005, 09:25 ]
Tytuł: 

Pokaż twój config niceshapera oraz wynik komendy ifconfig i iwconfig.

Autor:  Anonymous [ piątek, 25 marca 2005, 10:07 ]
Tytuł:  To są moje ustawienia

ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:4F:38:53:7E
inet addr:83.17.121.150 Bcast:83.17.121.151 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1028600 errors:0 dropped:0 overruns:0 frame:0
TX packets:1251674 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:571317323 (544.8 Mb) TX bytes:728083812 (694.3 Mb)
Interrupt:12 Base address:0xdf00

eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2336487 errors:0 dropped:0 overruns:0 frame:0
TX packets:1611970 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1624548115 (1549.2 Mb) TX bytes:610326196 (582.0 Mb)
Interrupt:5 Base address:0xdc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1332 errors:0 dropped:0 overruns:0 frame:0
TX packets:1332 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:72816 (71.1 Kb) TX bytes:72816 (71.1 Kb)
ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:4F:38:53:7E
inet addr:83.17.121.150 Bcast:83.17.121.151 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1028600 errors:0 dropped:0 overruns:0 frame:0
TX packets:1251674 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:571317323 (544.8 Mb) TX bytes:728083812 (694.3 Mb)
Interrupt:12 Base address:0xdf00

eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2336487 errors:0 dropped:0 overruns:0 frame:0
TX packets:1611970 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1624548115 (1549.2 Mb) TX bytes:610326196 (582.0 Mb)
Interrupt:5 Base address:0xdc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1332 errors:0 dropped:0 overruns:0 frame:0
TX packets:1332 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:72816 (71.1 Kb) TX bytes:72816 (71.1 Kb)



config:



<global>
iface inet eth0 83.17.121.150
iface local eth1 10.0.0.1/24
do not shape local 83.17.121.150 with 10.0.0.0/24
do not shape local 10.0.0.1 with 10.0.0.0/24
shape router true low 14kbit ceil 128kbit prio 2
stats unit kbit dump 5c file /var/www/stats/nsstats.txt
resolve hostname true
method mark
reload 2s
</global>

<download>
link speed 1024kbit shape 800kbit
user low 10kbit ceil 80kbit strict 50% prio 5
# interactive rate 0kbit ceil 0kbit
# interactive srcport 27960,22 dstport 27960,22
# interactive srcip 208.231.90.235
# interactive u32 match ip protocol 1 0xff
# interactive u32 match ip tos 0x10 0xff
policy dynamic
</download>

<upload>
link speed 256kbit shape 64kbit
user low 5kbit ceil 50kbit strict 50% prio 5
# interactive rate 0kbit ceil 0kbit
# interactive srcport 22,27960 dstport 22,27960
# interactive dstip 208.231.90.235
policy dynamic
</upload>

Autor:  Dayson [ piątek, 25 marca 2005, 10:11 ]
Tytuł: 

Do sieci masz podłączonego AP który dzieli radiówkę czy karta radiowa wpieta do serwera??[/b]

Autor:  Piotr_21 [ piątek, 25 marca 2005, 10:29 ]
Tytuł: 

sprawdz czy nie masz długich nazw userów w /etc/hosts u mnie to było problemem
http://www.niceshaper.mikule.net/forum/ ... c.php?t=73

Autor:  Anonymous [ piątek, 25 marca 2005, 14:41 ]
Tytuł: 

dzieki za pomoc to był problem w pliku hosts zbyt dlugie nazwy userow ciekawe czy teraz bedzie obcinal transfer jak powinien

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/