Messages in this thread | | | Date | Tue, 09 Mar 2004 15:11:48 -0800 | From | Rick Knight <> | Subject | Dummy network device |
| |
> 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@rlknight.com)
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@rlknight.com)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |