linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brad Hards <bhards@bigpond.net.au>
To: linux-hotplug@vger.kernel.org
Subject: Re: Network hotplug semantics
Date: Sat, 10 Feb 2001 03:46:32 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-98177639728868@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-98161573514987@msgid-missing>

Oliver Neukum wrote:
> 
> On Donnerstag,  8. Februar 2001 08:03, Brad Hards wrote:
> > Situation: USB ethernet adapter (in my case, a KLSI one).
> >
> > Should the interface (e.g. ethX) be signalled when the device is plugged
> > in to the USB port, or when the electrical connection of the 10BaseT
> > wire is made? What counts as "plugged" in this case?
> 
> Quite a lot of ethernet controllers can't tell you whether a wire is
> connected. For other things like wireless networking the destinction is hard
> to make. Thus to keep things unified, as soon as the card is up.
I am not sure that the device doesn't know - my wireless card (PrismII
based)
certainly has a visual indication (led goes from blinking to on solid). 

There is also a potential problem on the unplug side:

I go to my favourite linux conference, in the 'net room, and am quietly
working away reading my email. In comes a great hulking linux kernel
coder
(who for the purpose of this hypothetical story we'll call "davem").
davem
sees that I am using Netscape to read my email and immediately knows
that
I am a luser. So he grabs the back of my shirt, and throws me and my
netscape
running laptop out the door. He then takes over my port on the switch
and
gets down to a few CVS commits.

In the mean time, I recover from my copious injuries and eventually find 
a script kiddie in the corner trying to break into some site or another, 
and using IE38.92.beta.4crashme to download pr0n. A quick backhander to
the script kiddie, a little bit of crying (over the bruising to my
hand),
and I get to plug my laptop back in to the switch. But in the mean time,
the DHCP server has given my IP to someone else (who for the purposes
of this story we'll call "nina"). So when I plug my laptop in, it gets
messy. And when davem realises that it is me screwing up the switch,
it'll get really messy.

Fundamentally, what is the difference between disconnecting the 
cable on one side of the adapter (the USB socket) or the other (the
10BaseT socket)?

Brad

N.B. Any resemblence to actual people is purely for amusement value.
Please don't sue me or beat me up.

N.B. Any violence implied or expressed in this email is hypothetical.
Unless you are the script kiddie running nmap on my server.
side of my adapter (plugged into USB port) and 
back in, it works, but

_______________________________________________
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

      parent reply	other threads:[~2001-02-10  3:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-08  7:02 Network hotplug semantics Matthew Dharm
2001-02-08  7:03 ` Brad Hards
2001-02-08  8:32 ` Oliver Neukum
2001-02-09  0:28 ` David Brownell
2001-02-09  1:27 ` Andrew Morton
2001-02-10  3:46 ` Brad Hards [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-98177639728868@msgid-missing \
    --to=bhards@bigpond.net.au \
    --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).