* [BUG] hotplug network agent / apmd bug...
@ 2001-07-25 5:15 Ryan Mack
2001-07-25 14:39 ` David Brownell
2001-07-25 20:23 ` Ryan Mack
0 siblings, 2 replies; 3+ messages in thread
From: Ryan Mack @ 2001-07-25 5:15 UTC (permalink / raw)
To: linux-hotplug
The apm-script included in apmd-3.0final does the following on resume:
cardctl resume/insert
service networking start
Unfortunately, if one of your pcmcia cards is a PCI-merged networking card
such as the 3c575_cb, hotplug does the following upon seeing the card
resumed...
if networking is started, configure the new interface
Thus, because apmd reenables pcmcia before networking, a pcmcia network
adapter won't be configured by hotplug.
One easy sollution, is that if the pcmcia network adapter is always in the
system, you can enable ONBOOT for the interface, and thus the networking
script will enable it for you. In my case (frequently switching between
LAN and WAN cards), that isn't an option.
Anyhow, if one of the two projects could fix this it would be much
appreciated. I'd submit a patch, but I'm not sure which project should be
patched.
Thanks, Ryan Mack
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] hotplug network agent / apmd bug...
2001-07-25 5:15 [BUG] hotplug network agent / apmd bug Ryan Mack
@ 2001-07-25 14:39 ` David Brownell
2001-07-25 20:23 ` Ryan Mack
1 sibling, 0 replies; 3+ messages in thread
From: David Brownell @ 2001-07-25 14:39 UTC (permalink / raw)
To: linux-hotplug
Hmm, I've not hacked apmd stuff in ages, but as I recall
it didn't ship with any configuration-specific support in
its scripts -- stuff like "cardctl" and "service" commands.
Are you positive those aren't distro bugs?
In general it'd make more sense to start networking
first, I suspect..
- Dave
----- Original Message -----
From: "Ryan Mack" <rmack@mackman.net>
To: <linux-hotplug-devel@lists.sourceforge.net>; <apenwarr@worldvisions.ca>
Sent: Tuesday, July 24, 2001 10:15 PM
Subject: [BUG] hotplug network agent / apmd bug...
> The apm-script included in apmd-3.0final does the following on resume:
>
> cardctl resume/insert
> service networking start
>
> Unfortunately, if one of your pcmcia cards is a PCI-merged networking card
> such as the 3c575_cb, hotplug does the following upon seeing the card
> resumed...
>
> if networking is started, configure the new interface
>
> Thus, because apmd reenables pcmcia before networking, a pcmcia network
> adapter won't be configured by hotplug.
>
> One easy sollution, is that if the pcmcia network adapter is always in the
> system, you can enable ONBOOT for the interface, and thus the networking
> script will enable it for you. In my case (frequently switching between
> LAN and WAN cards), that isn't an option.
>
> Anyhow, if one of the two projects could fix this it would be much
> appreciated. I'd submit a patch, but I'm not sure which project should be
> patched.
>
> Thanks, Ryan Mack
>
>
> _______________________________________________
> Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
> Linux-hotplug-devel@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] hotplug network agent / apmd bug...
2001-07-25 5:15 [BUG] hotplug network agent / apmd bug Ryan Mack
2001-07-25 14:39 ` David Brownell
@ 2001-07-25 20:23 ` Ryan Mack
1 sibling, 0 replies; 3+ messages in thread
From: Ryan Mack @ 2001-07-25 20:23 UTC (permalink / raw)
To: linux-hotplug
It's probably a distro bug then, in which case I've already submitted it
to RH.
-Ryan
On Wed, 25 Jul 2001, David Brownell wrote:
> Hmm, I've not hacked apmd stuff in ages, but as I recall
> it didn't ship with any configuration-specific support in
> its scripts -- stuff like "cardctl" and "service" commands.
> Are you positive those aren't distro bugs?
>
> In general it'd make more sense to start networking
> first, I suspect..
>
> - Dave
>
> ----- Original Message -----
> From: "Ryan Mack" <rmack@mackman.net>
> To: <linux-hotplug-devel@lists.sourceforge.net>; <apenwarr@worldvisions.ca>
> Sent: Tuesday, July 24, 2001 10:15 PM
> Subject: [BUG] hotplug network agent / apmd bug...
>
>
> > The apm-script included in apmd-3.0final does the following on resume:
> >
> > cardctl resume/insert
> > service networking start
> >
> > Unfortunately, if one of your pcmcia cards is a PCI-merged networking card
> > such as the 3c575_cb, hotplug does the following upon seeing the card
> > resumed...
> >
> > if networking is started, configure the new interface
> >
> > Thus, because apmd reenables pcmcia before networking, a pcmcia network
> > adapter won't be configured by hotplug.
> >
> > One easy sollution, is that if the pcmcia network adapter is always in the
> > system, you can enable ONBOOT for the interface, and thus the networking
> > script will enable it for you. In my case (frequently switching between
> > LAN and WAN cards), that isn't an option.
> >
> > Anyhow, if one of the two projects could fix this it would be much
> > appreciated. I'd submit a patch, but I'm not sure which project should be
> > patched.
> >
> > Thanks, Ryan Mack
> >
> >
> > _______________________________________________
> > Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
> > Linux-hotplug-devel@lists.sourceforge.net
> > http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
>
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-07-25 20:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-25 5:15 [BUG] hotplug network agent / apmd bug Ryan Mack
2001-07-25 14:39 ` David Brownell
2001-07-25 20:23 ` Ryan Mack
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).