Dummy network device

From: Rick Knight
Date: Tue Mar 09 2004 - 18:14:05 EST


Hello,

After I upgraded to 2.6.3 from 2.4.20 I discovered that I can only get 1 dummy device. I need to be able to load 3 dummy network devices. Scouring the kernel archives, it looks like this can be accomplished through MODULE_PARAMS, but I can find no information on the module_params are or how to use them. I have dummy built as a module and it does load at startup as dummy0. How do I get dummy1 and dummy2?

In answering this message, please CC me.

Thanks for your help,
Rick Knight
(rick@xxxxxxxxxxxx)


Never mind,

I found the answer. From the archive. Decided to look at dummy.c and numdummies=1, changed it to numdummies=3 and rebuilt that module. Works like a charm.

Question/Suggestion, couldn't this be made an option at configuration? Kind of like number_of_ptys=256.

Please CC me with any response.

Thanks,
Rick Knight
(rick@xxxxxxxxxxxx)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/