public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Dummy network device
@ 2004-03-09 22:02 Richard W. Knight
  0 siblings, 0 replies; 7+ messages in thread
From: Richard W. Knight @ 2004-03-09 22:02 UTC (permalink / raw)
  To: linux-kernel

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)


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Dummy network device
@ 2004-03-09 23:11 Rick Knight
  2004-03-09 23:18 ` Randy.Dunlap
  2004-03-09 23:21 ` David S. Miller
  0 siblings, 2 replies; 7+ messages in thread
From: Rick Knight @ 2004-03-09 23:11 UTC (permalink / raw)
  To: Linux Kernel Org

> 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)


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <20040309162552.0d7f1ca0.rddunlap@osdl.org>]

end of thread, other threads:[~2004-03-10 16:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-09 22:02 Dummy network device Richard W. Knight
  -- strict thread matches above, loose matches on Subject: below --
2004-03-09 23:11 Rick Knight
2004-03-09 23:18 ` Randy.Dunlap
2004-03-09 23:21 ` David S. Miller
2004-03-09 23:37   ` Rick Knight
     [not found] <20040309162552.0d7f1ca0.rddunlap@osdl.org>
2004-03-10  5:22 ` Randy.Dunlap
2004-03-10 16:53   ` Rick Knight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox