netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Koon Wah Yick <kyick@alcatel-lucent.com>
Cc: Koon Wah Yick <kyick@alcatel-lucent.com>,
	netdev@vger.kernel.org, "Yick,
	Koon Wah (Koon)" <kyick@homail.ho.lucent.com>
Subject: Re: Enable netem in my Linux box
Date: Thu, 10 May 2007 09:57:38 -0700	[thread overview]
Message-ID: <20070510095738.563a23bf@localhost> (raw)
In-Reply-To: <464343CA.6090500@lucent.com>

On Thu, 10 May 2007 12:09:46 -0400
Koon Wah Yick <kyick@alcatel-lucent.com> wrote:

> Stephen:
> 
> Thank you for your response, I type in modinfo sch_netem
> 
> Here is what I got:
> 
> filename: /lib/modules/2.6.11-1.1369_FC4/kernel/net/sched/sch_netem.ko
> license: GPL
> vermagic: 2.6.11-1.l369_FC 686 REGPARM 4KSTACKS gcc-4.0
> depends:
> srcversion: BD4563861423428FF0D5918
> 
> when I try the following "tc" command with netem
> 
> > tc qdisc change dev eth0 root netem loss 0.1%
> 
> I got the error message
> RTNETLINK answers: No such file or directory.
> 

You want to use 'add' not 'change'.
The examples on the linux-net page are sequential, so the first one uses 'add'.
Later examples, then use change to alter parameters

  reply	other threads:[~2007-05-10 16:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09 15:31 Enable netem in my Linux box Koon Wah Yick
2007-05-10 15:42 ` Stephen Hemminger
2007-05-10 16:09   ` Koon Wah Yick
2007-05-10 16:57     ` Stephen Hemminger [this message]
2007-05-10 18:00       ` Koon Wah Yick
2007-05-10 18:23         ` Stephen Hemminger
2007-05-10 18:36           ` Koon Wah Yick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070510095738.563a23bf@localhost \
    --to=shemminger@linux-foundation.org \
    --cc=kyick@alcatel-lucent.com \
    --cc=kyick@homail.ho.lucent.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).