Saturday, April 11, 2009

Missing Ingress Qdisc

If you're trying to set up shaping on your Linux box (either manually through "tc qdisc add dev ppp0 handle ffff: ingress", or with The Wonder Shaper), you may run into this error:
RTNETLINK answers: No such file or directory

It means that you haven't compiled the "ingress" queueing discipline in your kernel (either built-in or module). Here's where to find it:

  • Option name: CONFIG_NET_SCH_INGRESS
  • menuconfig: Networking support ---> Networking options ---> QoS and/or fair queueing ---> Ingress Qdisc
  • Module location: net/sched/sch_ingress.ko

That is all.