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
3
votes
0 answers

Is there anyone who has ever implemented Ethernet MDIO(Clause 22 or 45) function through GPIO driver?

I'm using TI DSP Keystone II device for 10G Ethernet service. The 10G interface is connected to Marvell 10G PHY device. What I'm going to try is to use GPIO on the DSP device to access 10G PHY clause 45 management port, instead of using 10G MDIO on…
3
votes
2 answers

How do I send an ARP packet through python on windows without needing winpcap?

Is there any way to send ARP packet on Windows without the use of another library such as winpcap? I have heard that Windows XP SP2 blocks raw ethernet sockets, but I have also heard that raw sockets are only blocked for administrators. Any…
Collin Anderson
3
votes
0 answers

Is there any maximum limit to create tun/tap interfaces on a linux machine? Also, what are the parameters that put constraints to the limit?

I have been working on the ns-3 (communication network simulator) communication simulator, where there is a provision called TapBridge mechanism to interface external data sources to the communication nodes. But, for each data source a tap device…
3
votes
1 answer

How to monitor Ethernet connection status

How can I monitor if Ethernet cables are plugged in or not from .NET for a given Ethernet connection? I would like to enumerate all Ethernet connections and subscribe to any connection status changes. I am not interested in detecting Internet…
Petrus Theron
  • 27,855
  • 36
  • 153
  • 287
3
votes
2 answers

Alternative to Wireshark for raw Ethernet capture over USB-Ethernet adapter

(Apologies: I uninstalled and reinstalled WinPcap and now I can see the extra interface! Suggestion found in Wireshark FAQ. I leave the original question below.) I use WireShark to examine ethernet packet contents at the byte level (in/out of custom…
afewscoops
  • 165
  • 1
  • 3
  • 9
3
votes
1 answer

ethernet driver - without using DMA?

I am writing an Ethernet driver. I would like to do it in 2 steps: write it without DMA (simple memcpy) rewrite it using DMA. I would like to ask if it is possible to do it first without using DMA (or is it that the kernel Ethernet framework…
ransh
  • 1,589
  • 4
  • 30
  • 56
3
votes
2 answers

Is there a way to access android.net.EthernetManager in an Android app?

Is there a way to access android.net.EthernetManager in an Android app? Both Class.forName("android.net.ethernet.EthernetManager") and Class.forName("android.net.EthernetManager") generate a ClassNotFoundException.
Hong
  • 17,643
  • 21
  • 81
  • 142
3
votes
2 answers

Ethernet adapter clock sync when capturing with tcpdump

Setup and observation I have a PC equipped with an Intel i350 T2 NIC where I would like to capture on both interfaces simultaneously using tcpdump. Both interfaces are connected to a 100mbit HUB (sic!) which forwards various traffic from an external…
Valentin
  • 31
  • 4
3
votes
1 answer

Sending PublicKey within packet payload

For an academic network application, I'd like to set up an RSA key exchange between 2 virtual machines. I am using Crypto++ to generate the RSA::PublicKey, and I must now send it within a custom layer-2 frame (the packet will be crafted with…
3isenHeim
  • 243
  • 5
  • 22
3
votes
3 answers

Check if Windows Computer on Ethernet Via C++

So I have tried looking at a couple of different answers for this. One that I thought may have promise was this one: How to check network interface type is Ethernet or Wireless on Windows using Qt? However, I don't really know too much about…
shovel_coder
  • 49
  • 1
  • 8
3
votes
1 answer

How to read weight from scale using ethernet connection

I have a Mettler Toledo XS32000L scale and I am simply trying to read the weight via an Ethernet connection and a VB.net (2010) application. I have found plenty of information/code for a serial(COM) connection but nothing for an Ethernet connection.…
Dallas
  • 197
  • 1
  • 3
  • 14
3
votes
1 answer

Device Tree for PHY-less connection to a DSA switch

We have a little problem with creating a device tree for our configuration of a Marvell DSA switch and a Xilinx Zynq processor. They are connected like this: |——————————————| |——————————————————————————————| | e000b000—|———— SGMII…
3
votes
1 answer

IBM i (as400) CIM and ethernet interfaces

I'm trying to check Ethernet cards status on a remote IBM i (as400) machine with the wbemcli command : wbemcli -nl ei ".../root/cimv2:IBMOS400_EthernetPort" Tons of fields seem to describe the card's status, most of them empty…
3
votes
1 answer

Raw socket multicasting

I have a raw socket I have bound to eth2. #define DEVICE_NAME "eth2" // open a socket int Socket = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); if (Socket < 0) { perror("socket() error"); return -1; } // create a interface request…
Megan B
  • 117
  • 1
  • 8
3
votes
2 answers

How can I detect the ethernet cable is connected with Java on Windows

I need to know how to detect if the ethernet cable is plugged or unplugged using Java, I use NetworkInterface to check the interfaces, but I need to do an alert when the cable is unplugged and plugged again. ArrayList interfaces =…
Sirious Mouth
  • 87
  • 1
  • 9