<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Thank you Csaba for the contribution.<br>
<br>
Detailed instructions for the compilation can also be found in the
kernel README file: <a class="moz-txt-link-freetext" href="http://wiki.netkit.org/download/netkit-kernel/README">http://wiki.netkit.org/download/netkit-kernel/README</a><br>
<br>
Regards,<br>
Massimo.<br>
<br>
</tt><br>
Csaba Kiraly wrote:
<blockquote cite="mid:4B7A8E09.7060108@disi.unitn.it" type="cite">
  <pre wrap="">it is also quite easy to compile your own kernel for netkit. I don't 
know whether it is in the faq or not, but basically what you need is to
compile a kernel for the "um" architecture with the configiuration file 
mentioned below.

make "ARCH=um"

don't forget  to add ARCH=um for all your make commands, even 
configuration ones, otherwise you will mix up architectures.

Then, you just have to redirect netkit links to the exexutable and to 
the modules folder, and there you go!

Csaba


Massimo Rimondini wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Dear Giovambattista,

try using the same command but replacing the tc executable with "orig-tc".
Netem is actually compiled in the current Netkit kernel. You can check
it in the configuration file available online
(<a class="moz-txt-link-freetext" href="http://wiki.netkit.org/download/netkit-kernel/netkit-kernel-config-i386-K2.8">http://wiki.netkit.org/download/netkit-kernel/netkit-kernel-config-i386-K2.8</a>)
or inside a virtual machine:

  
    </pre>
    <blockquote type="cite">
      <pre wrap="">pc1:~# zgrep NETEM /proc/config.gz
CONFIG_NET_SCH_NETEM=y
    
      </pre>
    </blockquote>
    <pre wrap="">However, there seem to be problems with some iproute commands that are
imported from the MPLS Linux project. That is why we also provide their
original releases from Debian packages, with their name prefixed by "orig-".

Hope this helps.

Regards,
Massimo.


Giovambattista Ianni wrote:
  
    </pre>
    <blockquote type="cite">
      <pre wrap="">Dear all,

I had in mind to do some delay+packet loss simulation using netkit, so I started 
issuing some netem command in virtual machines, like:

tc qdisc add dev eth0 root netem delay 100ms

but, what I get is:

Unknown qdisc "netem", hence option "delay" is unparsable

Apparently netem is not compiled in the netkit kernel: I'm using a freshly 
downloaded netkit copy with a "2.6.26.5-netkit-K2.8 (max@brunello) (gcc version 
4.3.3 (Debian 4.3.3-13)" kernel on it.

Massimo reports that netem should be available in netkit:
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/pipermail/netkit.users/2008-May/000353.html">http://list.dia.uniroma3.it/pipermail/netkit.users/2008-May/000353.html</a>

but there is something wrong: is netem actually in? is there a way to enable it?
should I modprobe some additional module? has netem perhaps a different qdisc 
name? (it was 'delay' in old kernels but this doesn't work)

regards, gb

_______________________________________________
Netkit.users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a>
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>

  
    
      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
Netkit.users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a>
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
  
    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Netkit.users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a>
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>

  </pre>
</blockquote>
</body>
</html>