Mailinglist Archive: opensuse (878 mails)

< Previous Next >
[opensuse] network dummy devices
Anyone familiar with the network dummy driver?

With "yast2 lan" you can create dummy interfaces and assign addresses to
it but it seems there is quite a history of problems whit it.

Upto OS_11.3, you had to edit /etc/modprobe.conf and add/uncomment
install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy
install dummy2 /sbin/modprobe -o dummy2 --ignore-install dummy
.....

This way you could add quite some additional devices, and simulate a
rather complex network, without real hardware.


However, in 12.1 that does not work any more.
Google presents a number of messages about a "-o" and dummy-nil options.

Last july, big-shots like Dave Miller and Kreg K-H have shown there
light over it, and signed-off some patches regarding it.

Now, with 12.3 creating a dummy device with yast2 still seems not to
work: I had to do a "modprobe dummy" manually and only then _one_ dummy
device came up.

However, i'm not able to create more than one dummy device.
"modprobe dummy1 --ignore-install dummy" replies with:
FATAL: Module dummy1 not found.

I tried in the directory:
lib/modules/3.4.47-2.38-desktop/kernel/drivers/net
to hack around it, by: "# ln -s dummy.ko dummy1.ko"

So, are there any other tricks to get this working in 12.x, (what was
perfectly working in 11.3)

Hans.




--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups