Hi all,
I tried to use tun/tap interface in gem5's disk image in FS mode. I did the
following steps to create tun interface:

1) There is not any device node. So I have created it by using "mkdir
/dev/net"  (because it doesn't exist already) and "mknod /dev/net/tun c 10
200"

2) I inserted the module by hand by using "modprobe tun"
In this step I got this error:
  " FATAL: Could not load /lib/modules/2.6.22.9/modules.dep: No such file
or     directory"

My first question is : How could I create tun/tap interface in gem5 disk
image for FS mode? Did I miss something? Did I spoil any config?


After create tun/tap interface, I need to bind ip address to inteface. So I
used following command line.:

ip link set tun2 up
ip addr add 10.0.0.12 dev tun2

but  I got this error : "bash: ip: command not found".

The second question is: How could I bind an ip address to created interface?

Any help would be really appreciated...
Thanks
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to