From: Rick Knight <rick@rlknight.com>
To: Linux Kernel Org <linux-kernel@vger.kernel.org>
Subject: Dummy network device
Date: Tue, 09 Mar 2004 15:11:48 -0800 [thread overview]
Message-ID: <404E4F34.7000301@rlknight.com> (raw)
> 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)
next reply other threads:[~2004-03-09 23:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-09 23:11 Rick Knight [this message]
2004-03-09 23:18 ` Dummy network device 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
-- strict thread matches above, loose matches on Subject: below --
2004-03-09 22:02 Richard W. Knight
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=404E4F34.7000301@rlknight.com \
--to=rick@rlknight.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox