Questions tagged [ethernet]

Ethernet is a set of networking technologies widely used to interconnect computers.

Ethernet is a set of networking technologies widely used to interconnect computers at the physical (layer 1) and link (layer 2) levels. The capability of Ethernet has matured to the point where it is used for both basic desktop computer networking and for carrier-grade networks where operators must guarantee quality of service.

More information at http://en.wikipedia.org/wiki/Ethernet

1632 questions
4
votes
2 answers

Getting Notified on "Ethernet cable plugged in" events in linux

I am writing a Python Application running on linux. I want to be able to register and be notified by the system if a network cable is plugged in/ out. I am already using pyUdev (python bindings for libUdev) in order to get notified for USB plug in…
TanB
  • 511
  • 4
  • 7
  • 18
4
votes
1 answer

Book suggestions for Low-level ethernet/networking (e.g. MII)

I had a colleague who is using Xilinx's LocalLink TEMAC While I find the DS interesting, I would like to learn more about the basics of it. Does anyone have any recommendations for a good low-level intro to networking/ethernet book? I don't need to…
4
votes
0 answers

How to detect an Ethernet device in the network (UDP)

Hello everyone I need to establish a communication between my PC and a climate chamber. It requires Modbus TCP, but first I have to detect my chamber in the network with UDP datagrams. In the manufacturer documentation, they say that for the chamber…
gautudp
  • 41
  • 1
4
votes
0 answers

In order to write PCI ethernet driver. How to implement MMAP in the PCI Ethernet driver

In Ethernet PCI device driver if the driver allows applications to map user-space buffer to Driver virtual memory and allow the user to call MMAP on device driver file after opening it. Then how do implement MMAP in the PCI ETHERNET Network device…
user786
  • 3,902
  • 4
  • 40
  • 72
4
votes
1 answer

What are the Hardware Rx/Tx Queue in Ethernet controller

I have very basic question regarding Rx/Tx Hardware Queues in Ethernet Controller, what its used for ? While looking at the following driver in Linux kernel, its seems like it is used to carry DMA descriptors…
Milan
  • 1,447
  • 5
  • 19
  • 27
4
votes
0 answers

Modbus python script

I want to try MODBUS with Python, I am using the below code with sudo python3 modbus_master.py code. But I have these errors: Traceback (most recent call last): File "modbus_master.py", line 22, in sock.send(req) BrokenPipeError:…
CKocar
  • 566
  • 9
  • 25
4
votes
0 answers

PN-RT packet malformed

I tried with that codes to comunicate with Ethernet/Profinet protocol.I found that type of codes. But when I run to the program with that line-1 And i did not get any error. My program running but when i watching the wireshark side my connection…
CKocar
  • 566
  • 9
  • 25
4
votes
0 answers

Only one CPU core handling network interrupts

I developed a video streaming server in golang which receives multiple streams via a regular TCP connection and broadcasts them over HTTP. This is working on my raspberryPi cluster which I am running in docker swarm. The server is horizontally…
4
votes
1 answer

Create new ethernet usb network interface on Linux

I'm trying to create a usb based ethernet device on my computer, basically I want to tell my computer (linux based) that one of its usb ports is actually an ethernet port. I have done extensive research and while it's supposed to be possible, I…
joel
  • 117
  • 1
  • 2
  • 8
4
votes
1 answer

wireshark display filter on specific byte in a raw ethernet packet

I am trying to filter packets where the 15th byte (i.e. the 1st payload byte after the 14 byte header) is a specific value, either 0x00 or 0x01. The packets I am interested in are raw ethernet, i.e. at the logical-link control layer so I also filter…
bph
  • 10,728
  • 15
  • 60
  • 135
4
votes
1 answer

How to combine CRC-32 results?

Let's say I have two numbers X = 0xABC; Y = 0xDE. I want to calculate CRC-32 over Z, which is X concatenated to Y i.e. Z = 0xABCDE. I have CRC(X) and CRC(Y) available. How can I compute CRC(Z) ?
Tushar
  • 415
  • 2
  • 16
4
votes
5 answers

Sniffing data from a switch

I have 2 network devices that talk to each other over Ethernet. I would like to sniff the traffic using Wireshark. But the devices are going through a switch. The switch routes the traffic to only the ports that need the data. At another location…
Robert Deml
  • 12,390
  • 20
  • 65
  • 92
4
votes
1 answer

How to test linux NAPI feature?

I am trying to test the NAPI functionalities on embedded linux environment. I used 'pktgen' to generate the large number of packets and tried to verify the interrupt count of my network interface at /proc/interrupts. I found out that interrupt count…
4
votes
2 answers

EtherNet/IP (Industrial Protocol) .NET Library

I have a I/O remote device (EIP-2017) with 8 analog inputs and it implements EtherNet/IP protocol for reading I/O values. I found on codeplex (https://eipnet.codeplex.com/) a library written in .net c# but it does not have documentation or example…
serban.b
  • 109
  • 1
  • 2
  • 10
4
votes
1 answer

Java library for Raw Ethernet

I'm looking for a Java library that will give me access to raw Ethernet frames, both for reading and sending them. My end goal is to create a BACnet Ethernet network scanner. Please, Note, I'm not looking for TCP\IP. Anyone know of a good library…
Rick
  • 648
  • 1
  • 11
  • 25