From: David Brownell <david-b@pacbell.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: hotplug & PCMCIA schemes
Date: Mon, 29 Oct 2001 22:01:48 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-100439303326544@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-100439129320870@msgid-missing>
From: <shivers@cc.gatech.edu>
> This all works fine under Hinds' standard pcmcia system -- I just use
> different "schemes" -- "home," "GT," "boston," "GT-static," etc. -- to
> determine DHCP or the static IP address, the proper encryption key, any
> funky-nonstandard options and so forth. But I see no way to do this under the
> hotplug system.
Not the standard distro, but I believe all the necessary ingredients
are there.
> The /etc/hotplug/net.agent script will invoke
> /etc/pcmcia/wireless if I use a wireless card, but it *won't* invoke
> /etc/pcmcia/network with a wireline network card. So it's scheme-insensitive
> in the wireline case.
>
> The short summary here is that notebook users hook up to lots of different
> networks, depending (among other things) on location, as they cart their
> machines around. All the hotplug agent sees is "eth0". That's not enough.
The hotplug agent sees the whole filesystem, too. Whatever tells
PCMCIA that the current "scheme" is "GT", for example, should
be accessible to hotplug agents too.
> Hind's system handles this by providing an extra user-configurable key
> in the form of the "scheme." How does one do this in hotplug?
Well, one could always submit a patch to teach hotplug that such
different schemes exist. That facility isn't restricted to networking,
is it? Seems to me that different kinds of docking setup would need
it for more than just network devices.
Alternatively, I think the RedHat scripts used by "ifup" are also
places that such behaviors can be hooked.
- Dave
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2001-10-29 22:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-29 21:34 hotplug & PCMCIA schemes shivers
2001-10-29 22:01 ` David Brownell [this message]
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=marc-linux-hotplug-100439303326544@msgid-missing \
--to=david-b@pacbell.net \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).