public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ethtool documentation
@ 2002-08-05 11:46 Abraham vd Merwe
  2002-08-05 15:42 ` Jeff Garzik
  0 siblings, 1 reply; 39+ messages in thread
From: Abraham vd Merwe @ 2002-08-05 11:46 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Linux Kernel Development

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

Hi!

Is there a document describing the ethtool ioctl's which need to be
implemented in each ethernet driver?

-- 

Regards
 Abraham

Superstition, idolatry, and hypocrisy have ample wages, but truth goes
a-begging.
		-- Martin Luther

__________________________________________________________
 Abraham vd Merwe - 2d3D, Inc.

 Device Driver Development, Outsourcing, Embedded Systems

  Cell: +27 82 565 4451         Snailmail:
   Tel: +27 21 761 7549            Block C, Aintree Park
   Fax: +27 21 761 7648            Doncaster Road
 Email: abraham@2d3d.co.za         Kenilworth, 7700
  Http: http://www.2d3d.com        South Africa


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread
* Re: ethtool documentation
@ 2002-08-06 15:41 Randy.Dunlap
  2002-08-06 19:24 ` Richard B. Johnson
  2002-08-07  8:02 ` Abraham vd Merwe
  0 siblings, 2 replies; 39+ messages in thread
From: Randy.Dunlap @ 2002-08-06 15:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: abraham


Abraham vd Merwe <abraham@2d3d.co.za> wrote:
| What is the difference between the supported and advertising fields?
| What is MII? (as in the SUPPORTED_MII feature?).

MII:  (is this a serious question ?):
[from a National Semi. ethernet repeater design Application Note]
The Medium Independent Interface, as specified in the IEEE 802.3u/D5.3
standard, is designed to support the PHY/MAC interface.

| > ETHTOOL_GEEPROM
| > ETHTOOL_SEEPROM
| >
| >   Get/set EEPROM data.  These commands expect a 'struct ethtool_eeprom
| >   *'
| >   argument.  This struct has a magic number, an offset and length
| >   pair, and a
| >   data field.  If the offset+length are longer than the maximum size,
| >   the extra is silently ignored.
|
| Wouldn't it have been better to make this 'n character device which can
| be read from / written to just like a normal file (/dev/nvram-like
| interface) -
| that way applications can actually use unused eeprom space.

I wouldn't care for this.  There's nothing 'normal' about this
EEPROM space, and apps generally won't know where there might be
some 'unused eeprom space'.

-- 
~Randy


^ permalink raw reply	[flat|nested] 39+ messages in thread
* RE: ethtool documentation
@ 2002-08-06 20:57 Leif Sawyer
  2002-08-07  1:51 ` Richard B. Johnson
  0 siblings, 1 reply; 39+ messages in thread
From: Leif Sawyer @ 2002-08-06 20:57 UTC (permalink / raw)
  To: Ben Greear, Richard B. Johnson
  Cc: abraham, Randy.Dunlap, Chris Friesen, linux-kernel

Ben Greear responded to:
> "Richard B. Johnson" who wrote:
>> Because of this, there is no such thing as 'unused eeprom space'
>> in the Ethernet Controllers. Be careful about putting this weapon
>> in the hands of the 'public'. All you need is for one Linux Machine
>> on a LAN to end up with the same IEEE Station Address as another
>> on that LAN and connectivity to everything on that segment will
>> stop. You do this once at an important site and Linux will get a
>> very black eye.
> 
> Actually, any important site has some kind of failover in 
> place, and they could very well be using this feature to provide
> seamless MAC/IP takeover in the case of a server outtage.
> 
> This feature also allows bridging to work, and anyone with 
> root priviledges can send any ethernet packet they want using
> a raw packet socket anyway.

Absolutely.  Remember this is all about Freedoms.  Why try to take
away the ability to do something?  Especially when it already exists
and is very usefull.

I recently replaced a firewall "live"  by using mac-address spoofing.
Nobody noticed anything, except for a 30-sec 'hiccup' when traffic
"slowed down."

And really, Richard, If you want to take that argument, why would you
want anybody to change IP's?  Because if one Linux Machine on a LAN
ended up with the same IP of another machine on that LAN, then connectivity
to those two machines is flakey at best.  Or if it took over the IP of
the default GW, then all communication outside of the LAN will stop.
And this _never happens_ in real life?  Yet we still can change IP
addresses freely.  ( e.g., VLANs, Frame Relay DLCIs, ATM, AX.25, DecNet
nodes, etc...)


^ permalink raw reply	[flat|nested] 39+ messages in thread
* RE: ethtool documentation
@ 2002-08-07 18:16 Leif Sawyer
  0 siblings, 0 replies; 39+ messages in thread
From: Leif Sawyer @ 2002-08-07 18:16 UTC (permalink / raw)
  To: root; +Cc: linux-kernel

Richard B. Johnson writes:
>
> Also, if you want to destroy Ethernet, mucking with the MAC address
> is an easy way to do it.

Yeah, I remember the time that I set all the prefixes in my lab for the
stations I had running WinX to BE:DE:AD, and Linux to FE:ED:B0,
and the station addresses from 1-24. 

That way a quick arp on the router would tell me which of my stations were
booted into Windows, and which were booted into Linux.

<sarcasm>
Gosh, that wasn't helpful at all to me, and sure b0rked up "Ethernet"
</sarcasm>

If you don't like it, don't use it.  Please don't try to take that
functionality away from the rest of the world, because we find it
useful.  And sometimes it's required.


Leif



^ permalink raw reply	[flat|nested] 39+ messages in thread
* Re: ethtool documentation
@ 2002-08-08  9:18 Helge Hafting
  0 siblings, 0 replies; 39+ messages in thread
From: Helge Hafting @ 2002-08-08  9:18 UTC (permalink / raw)
  To: linux-kernel

Alan Cox wrote: 
>Jonathan Lundell wrote:
>> Ha! Just wait until the jack-booted IEEE enforcers kick down *your* 
>> door in the middle of the night to nab you for MAC-address trespass. 
>> THEN we'll see who' protesting too much.
>
> Just don't use it to go around proprietary software license managers,
> because if so the fbi might just do that...

I wouldn't worry aboyt that.  A licence manager depending on
MAC addresses simply isn't doing its job.  
Moving a ethernet card from one computer to another is
perfectly legal if you own both of them.  So it is the
licence manager that is broken.  

I know no law that require IEEE conformant networks either.
If I want to run a net with crazy MAC addresses then I
can do so -  and deal with interoperability problems myself.

Piracy is still illegal of course, but nobody can force
me to keep a broken licence manager in working order. :-)

Helge Hafting

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2002-08-19 18:56 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-05 11:46 ethtool documentation Abraham vd Merwe
2002-08-05 15:42 ` Jeff Garzik
2002-08-05 19:06   ` Tim Hockin
2002-08-05 19:16     ` Jeff Garzik
2002-08-05 19:30       ` Jonathan Lundell
2002-08-05 20:20         ` Jeff Garzik
2002-08-06 10:17     ` Abraham vd Merwe
2002-08-06 10:07       ` David S. Miller
  -- strict thread matches above, loose matches on Subject: below --
2002-08-06 15:41 Randy.Dunlap
2002-08-06 19:24 ` Richard B. Johnson
2002-08-06 19:40   ` Chris Friesen
2002-08-06 19:44     ` Randy.Dunlap
2002-08-06 20:03     ` Richard B. Johnson
2002-08-06 20:04       ` Randy.Dunlap
2002-08-06 20:36         ` Ben Greear
2002-08-06 21:15       ` Tim Hockin
2002-08-07  1:42         ` Richard B. Johnson
2002-08-07  3:33           ` Tim Hockin
2002-08-06 21:58       ` Alan Cox
2002-08-06 20:42         ` Randy.Dunlap
2002-08-06 22:27           ` Alan Cox
2002-08-19 19:00             ` Mark H. Wood
2002-08-07  1:57         ` Richard B. Johnson
2002-08-07 11:47           ` Alan Cox
2002-08-07  2:54   ` Ryan Anderson
2002-08-07  5:32   ` Dax Kelson
2002-08-07  6:30     ` Jonathan Lundell
2002-08-07 11:47       ` Alan Cox
2002-08-08  1:07         ` Peter Samuelson
2002-08-07 11:18     ` Richard B. Johnson
2002-08-07 12:05       ` Abraham vd Merwe
2002-08-07 18:44       ` Bernd Eckenfels
2002-08-07 20:16       ` erik
2002-08-07  8:02 ` Abraham vd Merwe
2002-08-06 20:57 Leif Sawyer
2002-08-07  1:51 ` Richard B. Johnson
2002-08-07 10:53   ` Jamie Lokier
2002-08-07 18:16 Leif Sawyer
2002-08-08  9:18 Helge Hafting

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox