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

How to communicate between Network card and the Ethernet driver?

I am trying to build an unikernel in Rust,which will boot and start a web server. I am using Qemu for testing purposes. So far, I have managed to write an OS with segmentation, paging and interrupts enabled by following various blogs online and…
natcomp256
  • 706
  • 7
  • 13
2
votes
3 answers

Synchronizing time between two PCs via TCP/IP, no server

I've got two PCs connected by LAN. When the user alters the time (via my application) on one, I'd like the time on the second to be updated too (or the second machine could poll the first). There's no server, no internet. What's the best way to do…
Benjol
  • 63,995
  • 54
  • 186
  • 268
2
votes
0 answers

DTLS support over Arduino Ethernet UDP or WIfi UDP

I have implemented COAP protocol over EthernetUDP and WIFIUDP as well. I now need to add Datagram level transport layer security (DTLS). Does EthernetUdp or WifiUdp support DTLS ?? Thanks, Jyoti Raj Sharma
Jyoti Raj Sharma
  • 91
  • 1
  • 3
  • 10
2
votes
1 answer

Is there an easy way to route IP packets from a user space Windows app to the network?

I am working on a project that involves a usb device, through which we will receive ip packets from a remote pc. We assign the remote pc its IP Address. I have been experimenting with sending raw ip packets via several methods: 1 - raw sockets: ping…
Marinara54uc3
  • 73
  • 1
  • 7
2
votes
3 answers

Get ipconfig result with python in windows

I am new here and just learning python. I need help to get the right mac-address of my network card in windows using python. I tried to search, and found these : Python - Get mac address Getting MAC Address Command output parsing in Python Parsing…
thomasberg
  • 21
  • 1
  • 3
2
votes
2 answers

Difference between ethernet and TCP/IP protocol in programming?

Say ff a socket is open for Ethernet then is it same as socket in TCP/IP ? In some existing code i have found that, it supports Ethernet protocol, does that mean i can connect to this Ethernet socket using TCP socket client. I am in confusion,…
Sagar
  • 1,115
  • 2
  • 13
  • 22
2
votes
2 answers

check FCS ethernet frame CRC-32 online tools

I'm trying to check the FCS of an ethernet frame thanks to tools on different website. I first used this website: http://depa.usst.edu.cn/chenjq/www2/software/crc/CRC_Javascript/CRCcalculation.htm and find the next FCS : 0xD4C3C62F (the frame…
guillaume
  • 31
  • 1
  • 2
  • 3
2
votes
2 answers

Manchester Encoding and the Ethernet protocol

Theoretical question here -- the [general] Ethernet protocol uses an 8 byte preamble with an (almost) all 10101010 bit pattern, save for the very last byte. One purpose of this is for sender/receiver synchronization. Since Manchester Encoding can…
Brian D
  • 9,863
  • 18
  • 61
  • 96
2
votes
0 answers

Getting Ethernet error in Android

I am running Android 5.1.1 on a OTT Box. WiFi works fine but when I turn off WiFi and plug in my Ethernet cable I get no internet connection. I ran a log cat and found some issues arising. It looks as though Ethernet tries to initiate but can't. If…
NateA
  • 31
  • 8
2
votes
1 answer

Ethernet port on Apple TV

What ways is the Ethernet port accessible to apps in tvOS? I can't find any documentation or mention of being able to use/access anything directly coming into the ethernet port in an app on tvOS. EDIT: Additional INFO: An Apple guy on their forums…
SKOOP
  • 364
  • 2
  • 14
2
votes
0 answers

How to bind IPV6 socket to interface(ethernet) in Windows using scope_id?

I tried to bind IPV6 socket in windows, here bind is successful. But I want to bind it to particular interface (like ethernet0 or ethernet1). I tried to use functions like if_nametoindex() and if_indextoname() but in this case I don't know that how…
2
votes
1 answer

is there any way to get ether/ip headers via gen_tcp?

is there any way to get not only body of incoming message. but also ether/IP headers of it? Now i'm using gen_tcp and receive messages by active controlling process. for now socket is opened via 'of_driver' in such way: gen_tcp:connect(IpAddr, Port,…
2
votes
0 answers

Ethernet communication Infineon Aurix TC29x Starter Kit

I am trying to enable ethernet communication on an Infineon Aurix Tricore, specifically TC29x. To this end I am using the Aurix SW_framework_tools and the ILLD supplied by Infineon on their Aurix workspace page (if you ask for access). In the ILLD…
JTIM
  • 2,774
  • 1
  • 34
  • 74
2
votes
1 answer

Software to Generate False ARP Requests?

Edit: Answered on serverfault. Thanks! A product I'm testing appears to freak out when it receives an ARP request with a Sender IP Address of 0.0.0.0. This is not an ARP probe, as the request is addressed to my module, and the customer's system…
Sam Skuce
  • 1,666
  • 14
  • 20
2
votes
1 answer

Request MAC address from Raspberry Pi

I have a Linux machine that is connected directly to a Raspberry Pi via an Ethernet cable. Is there a way to programmatically in C get the Raspberry Pi's MAC address based on which Ethernet port on my computer it is connected to (eth0, eth1…
Nicolas
  • 331
  • 4
  • 13