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
1 answer

Implementing 802.1x Authenticator in software?

Our device is a router running Linux 2.6.19 and we require 802.1x authentication for clients connecting to the built-in switch on the LAN side. The switch does not provide any support for 802.1x. I have installed hostapd on the router which uses a…
Tom Salmon
  • 31
  • 1
  • 2
3
votes
4 answers

What can make a .NET app freeze the computer?

I know this is probably the canonical "It depends..." question but I'd appreciate any pointers as to where to start looking. I have a client/server app talking over ethernet. In one computer I run the server and a client and on another just the…
Niklas Winde
  • 1,761
  • 3
  • 23
  • 33
3
votes
0 answers

How to block specific internet connections using react-native

How I can block specific Ethernet connections using react-native? My idea is to build an app that will get a whitelist of sites, and the app blocks the rest of the connections.
3
votes
0 answers

print pdf/ image file with Thermal printer android

I am trying to print the image with a thermal printer which is stored in phone local storage. But it is printing a very small image. can anyone suggest me how to print the image via a thermal printer( Ethernet) code: MainActivity.java: public class…
3
votes
2 answers

Difference between MPEG-TS and RTP for H.264 (.mp4) video streaming?

So I am trying to stream a H.264 (.mp4) video over ETHERNET using the ffmpeg tool. I have read a little about transport of H.264 video over ethernet and have learnt that there are two methods; mpeg-ts and RTP (both over UDP). I have been able to…
Candy
  • 133
  • 1
  • 10
3
votes
0 answers

Profinet Communication with Python

I am trying to write python code for Profinet communication (send - receive data) but I don't have much information. I'm looking for something to guide me. Where should I start? What should I look for ? Please help me thank you so much.
CKocar
  • 566
  • 9
  • 25
3
votes
2 answers

Linux hostname resolution on a machine with multiple running interfaces

I have 4 running eth ports on my Linux machine (eth0 through eth3). So if i give the command host , which eth port's ipaddress will be returned? how does linux decide which eth port's ip address to be returned? Thanks, LinuxPenseur
nitin_cherian
  • 6,405
  • 21
  • 76
  • 127
3
votes
1 answer

What happens when ethernet reception buffer is full

I have a quite newbie question : assume that I have two devices communication via Ethernet (TCP/IP) at 100Mbps. In one side, I will be feeding the device with data to transmit. At the other side, I will be consuming the received data. I have the…
geniant
  • 117
  • 2
  • 10
3
votes
1 answer

How do I get a specific byte or bytes from a streambuf?

For receiving a raw protocol with custom headers Ethernet frame , I am reading in the bytes from Ethernet using a streambuf buffer. The payload gets copied successfully for the most part, but I need to check a specific byte of the frame header in…
J. Doe
  • 43
  • 6
3
votes
0 answers

libpcap: check if captured frame is received or sent

I'm developing a C application using libpcap. I can capture frames using this code that I developed: void ethernetCaptureHandler( u_char *args, const struct pcap_pkthdr *packet_header, const u_char *packet_body) { struct ether_header *eptr; …
Kallel Omar
  • 1,208
  • 2
  • 17
  • 51
3
votes
2 answers

Set static ip to ethernet in android

I have ethernet connected to my android board. I want to manually set IP from code. I was able to set IP address for WIFI. I have looked into following links for ethernet Assign static IP to ethernet card from OTG So far I have not found how to…
Tushar Thakur
  • 956
  • 3
  • 15
  • 32
3
votes
1 answer

Retransmitting large packets with raw sockets

Problem: On raw sockets, recvfrom can capture more bytes than sendto can send, preventing me from retransmitting packets larger than MTU. Background: I'm programming an application that will capture and retransmit packets. Basically host A sends…
Raven
  • 4,783
  • 8
  • 44
  • 75
3
votes
2 answers

Parallel Crc-32 calculation Ethernet 10GE MAC

I have generated an Ethernet 10GE MAC design in VHDL. Now I am trying to implement CRC. I have a 64-bit parallel CRC-32 generator in VHDL. Specification: - Data bus is of 64-bits - Control bus is of 8-bits (which validates the data bytes) …
Tushar
  • 415
  • 2
  • 16
3
votes
2 answers

Synchronization in Manchester coding

Lately I have been reading about Manchester encoding and I think I'm beginning to understand most of it now, but still I have got some whys that need addressing. Mainly 3 for the moment: 1) Most articles on Internet when introducing Manchester…
3
votes
0 answers

What happens if I write to eth0 or ath0?

Recently I encountered several questions on SO regarding working with sockets on a very low level. Here's an example. While looking for an answer, I realised that sockets have relatively low capabilities on OSI Level 2. On Linux, we can specify a…
u354356007
  • 3,205
  • 15
  • 25