LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2018, 01:24 PM   #1
mrequalsmc
LQ Newbie
 
Registered: Dec 2018
Posts: 3

Rep: Reputation: Disabled
ethtool rx-all off help


Hello,

I am attempting to receive corrupted Ethernet frames. I am using ethtool disable rx FCS checking(ethtool -K eth0 rx-all on).

Unfortuantly, my Ethernet card does not support this operation, when I display all my eth0 info (ethtool -k eth0) I see that:

rx-all off [fixed]

I believe this means I need a ethenet card that support modification of this variable, Does anyone know of a USB/Ethernet dongle that supports this operation? I believe the RealTek R111 card supports the operation but I would rather not start messing with the computer internals. Furthermore does the OS you are running have any effect on these configurations? I have seen in a wireshark forum that running FreeBSD may enable these features?

Thanks in advance!
 
Old 12-11-2018, 02:30 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Most NIC card support the feature, sending corrupted frame to CPU. Some driver drop these frame.
 
Old 12-11-2018, 03:27 PM   #3
mrequalsmc
LQ Newbie
 
Registered: Dec 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
Most NIC card support the feature, sending corrupted frame to CPU. Some driver drop these frame.
I must be the unluckiest man alive then because I have tried 3 different PC's, a raspberry pi, and 3 UBS/Ethernet dongles with different Ethernet Cards and none of them support the option. generally you can ignore the IP CRC fairly easily but the layer 2 FCS seems to be fixed on everything I have tried. Do you know which Ethernet cards/ Ethernet dongles support this operation?

Thank you for the help.
 
Old 12-12-2018, 02:45 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
For layer 2 FCS error, it is complicated. I forget which one support it, not all.
But I am interested of why do know to see these frame's content. Isn't the drop counter good enough?
 
Old 12-13-2018, 12:56 PM   #5
mrequalsmc
LQ Newbie
 
Registered: Dec 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
I need to characterize the corruption of the data due to specific events. To do this i need to compare known sent data to corrupted received data, thus I need to view Ethernet frames that do not pass the FCS check.
 
Old 12-20-2018, 03:31 PM   #6
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
You could receive frame of FCS error. But most NIC doesn't support to pass other type of corrupted frame, just providing counter only.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I force checksum off for a specific NIC since ethtool can't do it? Lo Sfrek Linux - Networking 3 03-15-2012 04:20 PM
ethtool help ottomatic Linux - Networking 3 04-05-2011 02:48 AM
Change ethernet card to 10Mbps (ethtool doesn’t work for FC1) pwangee Linux - Networking 0 07-07-2004 09:45 AM
ethtool wont recognise my pcmcia card baby_bandit Linux - Networking 0 03-06-2004 01:02 PM
ethtool command question simquest Linux - General 1 12-16-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration