Re: detecting wireless-ness?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 18, 2002 at 09:39:35AM +0900, Jonathan Khoo wrote:
> Is there anyway I can detect or differentiate between a wired and
> wireless connections??

I fear there is no difference above the transport layer. For wireless
cards, you can tell the difference by inspecting the card itself. For
devices, that are connected to normal ethernet card via TP, the computer
has no way to tell, because the device behaves like a repeating HUB or
switch. Some devices use a different link layer (eg. X.25 or may be
PPP), so you can tell from te device configuration. But the IP layer
never makes any difference, so you can't tell from remote machine unless
one endpoint of the connection is willing to tell you.

Why do you need to make such a distinction?

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux