Koozali.org: home of the SME Server

Error with HTB.init script

Offline Appesteijn

  • ***
  • 62
  • +0/-0
Error with HTB.init script
« on: March 19, 2005, 02:45:25 PM »
When i run htb.init start it gives no errors. Then i would like to see which data is being filtered so i enter 'htb.init list', this gives no output. So when i manually run:
/sbin/tc qdisc add dev eth1 root handle 1 htb default 70 r2q 10

I get the following error:
Unknown qdisc "htb", hence option "default" is unparsable.

I'm running SMEServer 6.5RC1 and HTB is compiled into the kernel. What is going wrong here?
............

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Error with HTB.init script
« Reply #1 on: March 19, 2005, 06:13:51 PM »
because htb is not compiled in kernel

Offline Appesteijn

  • ***
  • 62
  • +0/-0
Error with HTB.init script
« Reply #2 on: March 19, 2005, 06:17:15 PM »
But when i try 'insmod sch_htb':
Using /lib/modules/2.4.20-37.7.legacysmp/kernel/net/sched/sch_htb.o
insmod: a module named sch_htb already exists
............

gavincowie

Hey Appesteijn (off this topic)
« Reply #3 on: March 24, 2005, 08:43:10 PM »
Sorry to add noise to this thread, but since PM is disabled on this board I can't just send a message to Appesteijn :(

Appesteijn, did you ever get a bridged OpenVPN server setup working right under SME?

G

Offline Appesteijn

  • ***
  • 62
  • +0/-0
Error with HTB.init script
« Reply #4 on: March 25, 2005, 04:15:22 AM »
Yes i did. Unfortunatly I recently migrated to a CC3.0 Box. So I don't have the config-files. I only had to download and install a bridge-RPM. And then whem my OpenVPN was connected I could run a script (maybe already on your SME-box. Run 'whereis bridge' or 'locate bridge') And that script created a br0 which consisted of eth1 and tap0. I only had to make sure they were in the same network. eg: 192.168.10.X
So I first started OpenVPN in the same subnet as my LAN.
Then I ran the script. It was a example script which came in the bridging-tools.rpm (rpmfind.net)
That was it. The only problemen was that the dns-server and thet dhcp didn't like the disapearance of the eth1 networkcard.
............