Hi
I have installed the script, but before i could figure it out,
I had to write my own howto.
HowTo for htbwondershaper, QoS for VoIP
Connect to SME Server with PuTTy
1. Handle(or execute? or ??) module:
[root@e-smith]# modprobe sch_htb
2. Check module with the command:
[root@e-smith]# lsmod
3 Collect data for VoIP:
ADSL: Up/down: 512/2048 kbit/s
Ip-Adapter: Sipura 2002
TCP:
Line1. Mapped SIP Port: 5060
Line2. Mapped SIP Port: 5061
UDP:
RTP Port Min:16384 RTP Port Max: 16482
4. Get Script
[root@e-smith]# mkdir /root/scripts
[root@e-smith]# cd /root/scripts
[root@server scripts]# wget
http://web.inter.nl.net/users/hanscees/sme7/HTBWondershaper5. Change the file tc i \sbin
Get the file htb3.6-020525.tgz
Get it here:
http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz Extract the file tc and copy it to /sbin to replace it with the existing tc-file
6. Edit Script
Change CHMOD to 755.
Use MC or the command:
[root@server scripts]# chmod +x HTBWondershaper
Edit the file.
First You should adjust the liner-speed to your speed,
Then adjust "CEIL" "DOWNLINK" and "EXTDEV" and "LANDEV" if needed
Liner speed
Downlink is set to 1950 in the file, is that liner-speed? -
If so, what speed is it? 2mb?, why is it set to 1950?
Ceil is set to 950 in the file. Is that 75% of upstream bandwih? ~ 1266
I have 2048 down, so I set Downlink to 1950 - is that correct?
I have 512 up, so I set ceil to 384 ~ 75% af 512 - is that correct?
My EXDEV is eth1 (i'm pretty sure, but how do I check?)
7. Execute the script.
[root@server scripts]# /root/scripts/HTBWondershaper
Check status:
[root@server scripts]# /root/scripts/HTBWondershaper status
I have done no other changes to the script. My primery reason for trying htbwondershaper, is because I have set up at Ip-telefony-adapter, a Sipura 2002.
With that I can(have) connected a standard telefone to the LAN, and with that (and a provider) I can telefone to and from normal telefones.
When I first stress-tested it, with lots of download and filesharing, it was not possible to hear/understand the conversation.
After installing the script, I tested with huge filedownload and filesharing with Azureus
There is still studdering in the sound from the IP-phone The sound to the IP-phone is okay.
It did however help with browsing. It used to be imposible to browse the internet while Azureus was online.
My server is at home, it is ver 6.01.
I have only little experince with LINUX, but have had a sme-server for some years
(and I love it
Is /root the right place to put the script?
If I have to restart the server, how do I make sure the script is loaded automatic?
I dont use the server as a web-server, and would like to know how to optimize the script for my purpose, and would also like to know, if the information given above, is enough.
Thanx in advance
Petur