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

"Requiring Wifi permissions limits app availability on TVs that support only Ethernet" warning in Android Studio - can anything be done about this?

I'm developing an Android app (a game) that supports phones and TVs too, and can play multiplayer via LAN (WiFi or Ethernet) or WiFi Direct. Android Studio warns me with a Lint warning in the manifest that says that if I "require Wifi permissions",…
Attila Tanyi
  • 4,904
  • 5
  • 27
  • 34
2
votes
1 answer

Network is unreachable after reboot

This is the output of ifconfig on my Yocto embedded Linux board (I am using eth0.2 interface): eth0 Link encap:Ethernet HWaddr f8:dc:7a:3b:e9:f8 inet6 addr: fe80::fadc:7aff:fe3b:e9f8/64 Scope:Link inet6 addr:…
godo
  • 195
  • 1
  • 11
2
votes
1 answer

Where does Android actually invoke "ip link" or "ifconfig" to bring an interface up?

I've spent a few hours reading the AOSP source to try to find how and where "ip link" or "ifconfig" is invoked when eth0 needs to be brought up. Does Android 10 use "ip link" or "ifconfig" to set the address and bring up eth0? Or does it manipulate…
fadedbee
  • 42,671
  • 44
  • 178
  • 308
2
votes
1 answer

ESP32: Is it possible to make a bridge ETH-WIFI

i m using olimex esp32-poe-iso and i m trying to achieve the following: HOME ROUTER ====== (WIFI) ====== (STA):esp32-poe-iso:(ETH) ====== (ETH cable)===== Jetson Nano im not trying to find a piece of code here. I m just trying to be sure that it's…
Aymen
  • 422
  • 5
  • 10
2
votes
0 answers

Cannot set device ring parameters: Operation not supported

I am using a Yocto Linux System ID="poky" NAME="Poky (Yocto Project Reference Distro)" VERSION="3.0.4 (zeus)" VERSION_ID="3.0.4" PRETTY_NAME="Poky (Yocto Project Reference Distro) 3.0.4 (zeus)" With this kernel 5.4.47-rt28 I am using a TQ…
rass92
  • 45
  • 1
  • 8
2
votes
1 answer

trying to read and write to a specific register of ethernet switch using uboot

I am a new to linux/u-boot and just generally reading and writing to specific registers. I have a KSZ9897 Ethernet switch, and my goal is to use u-boot i2c commands to set bits [15:13] to 001 to put the switch in the proper test mode. The following…
nomar123
  • 21
  • 2
2
votes
1 answer

Python - Not Expecting Data by Unpacking Ethernet Frame Getting 0xc0a8 on Type Expecting 0x800

I have this Python function which unpacks ethernet frame: def ethernet_frame(data): ipheader = struct.unpack('!6s6sH', data[0:14]) dest_mac = binascii.hexlify(ipheader[0]) src_mac = binascii.hexlify(ipheader[1]) …
Muath
  • 4,351
  • 12
  • 42
  • 69
2
votes
1 answer

Raw ethernet broadcasting

I downloaded WinDDK and am using ndisprot 5x to broadcast raw ethernet packets from my user app, specifying destination MAC all 0xff's, on large and repetitive data sets it doesn't seem to be very productive. What currently works great is a loopback…
Ulterior
  • 2,786
  • 3
  • 30
  • 58
2
votes
1 answer

Netmask, CIDR, Network and Broadcat IP address

I would like read netmask, network and broadcast address from an IP address. Basically I’m confused with netmask, CIDR, network and Broadcat terms, could anyone please help me to understand these terms. Thanks, Thomman
Isabel Jinson
  • 8,541
  • 16
  • 59
  • 75
2
votes
0 answers

Ethernet cable disconnection detection in C#

I need to detect the Ethernet cable disconnection in the system, for the same I'm using the following code to detect the changes in all the networks available in the system. using System; using System.Net; using…
impulse101
  • 99
  • 1
  • 10
2
votes
3 answers

How do I access header and data information within a mBlk ethernet package? specifically I want to extract a sender IP

So far my understanding of achieveing this is using NET_FUNCS: typedef struct net_funcs{ STATUS (*start) (void*); /* driver’s start func */ STATUS (*stop) (void*); /* driver’s stop func */ STATUS (*unload) (void*); …
Trist
  • 41
  • 4
2
votes
2 answers

Capturing PTP packets with Linux raw socket

I want to implement a C program that captures all the Precision-Time-Protocol (PTP) frames on the Ethernet, so I created a raw socket and attached a filter for PTP, I use recvmsg() to read data from the socket. The first issue is that I wasn't…
2
votes
1 answer

How to expose server/website/service running from WSL on local WiFi?

In a project I'm using Storybook and when running the development server of Storybook it's available on the local network. I run the code on WSL2 on Windows 10, and I can reach the site on the stated local network fine from my desktop browser, but…
2
votes
2 answers

How to determine if a ARXML file is of CAN network or Ethernet network in AUTOSAR standards

So I am totally new to this automotive field so please correct me if I am wrong in any terminologies. So I have this ARXML file of AUTOSAR standard and I want to determine it is of what network type> is it of CAN network or Ethernet or FLexRay or…
2
votes
0 answers

Ping test for STM32F767ZI is failed after debugging mode

I've made a project to send sensor data from STM32F767ZI nucleo board (Client) to a desktop computer (Server), using ethernet and lwip with FreeRTOS on STM32CubeIDE. The nucleo board is connected with ethernet cable to a wired broadband router, to…