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

GetAdaptersInfo Get Media Status and Detect WiFi Type

I am using code similar to this one: Link How do I get media status (connected or disconnected)? How do I know if adapter is wireless type? Prashant
Prashant
  • 21
  • 2
2
votes
1 answer

Is it possible to activate a thread every 1us with python?

For my application, a need a function that records an Ethernet Frame every 1us. Is it possible to do it with python/threading ? The maximum delay I got with threading.Timer is close to 10ms.
2
votes
1 answer

How can I connect to database from Arduino?

I want to transfer the data from the database to Arduino. For this, I am using MYSQL_Connector library in Arduino. But I'm getting error like this: "Connection Failed". I cannot connect to database. Also, I'm using XAMPP server. I checked MYSQL…
engineer
  • 93
  • 2
  • 9
2
votes
1 answer

Launch the Android x86 image on the target using ethernet

I want to launch android image to my x86 based target device by using Ethernet in eclipse. Presently i can boot android using USB or CD-ROM. So is it possible this directly over ethernet?? so i can debug my kernel and driver using ethernet.
Newbee
  • 21
  • 2
2
votes
0 answers

Android device Ethernet and Wi-Fi network bridge

I have an Android smart home device that has both ethernet connection and Wi-Fi. The ethernet is connected to the SIP Intercom network (10.0.1.100) and the Wi-Fi is connected to my home router (192.168.1.x). Is it possible to create a bridge so…
Adem Tas
  • 323
  • 1
  • 9
2
votes
1 answer

How to turn OFF and ON ethernet connection on windows 10?

Good morning ! I am using win10 on LG computer. I would like to turn off and On ethernet in windows 10. I check airplane mode on the setting tab but there is not any airplane option Do you know any sofware or alternative to turn on/off ethernet…
Nzui Manto
  • 349
  • 5
  • 12
2
votes
1 answer

How to use the MODBUS TCP with STM32F3?

As a result of large research, I found this source code for STM32f1 this link and I changed it for STM32f3. And the build and install to my STM32. My ethernet cable connect between my computer and enc28j60 module. If I debugging this code my code…
CKocar
  • 566
  • 9
  • 25
2
votes
0 answers

socket is appending data to my ethernet frames

I'm trying to send raw Ethernet frames over wifi using Python 2.7 (under Ubuntu). My code looks like this from socket import * data = [0x24, 0x95, 0x04, 0x8a, 0x6c, 0xd0, 0x00, 0x21, 0x6a, 0x72, 0xd4, 0x80, 0x08, 0x00, 0x45, 0x00, 0x00, 0x54, 0xe3,…
Jack M
  • 4,769
  • 6
  • 43
  • 67
2
votes
2 answers

Find the next hop MAC address for ethernet header

I want to send a packet to another machine but with a different MAC address in the ethernet header. For this I am using raw sockets in C and creating my own ethernet header so that I can set the source MAC as desired. The trouble is that I am not…
yeniv
  • 1,589
  • 11
  • 25
2
votes
1 answer

How does a computer know where to send the packet to, only with an IP not MAC

With a normal Ethernet cable (patch cable) you use Ethernet Frames (https://en.wikipedia.org/wiki/Ethernet_frame) to send data to other computers/devices in my LAN network. In the Ethernet frame, there is a source mac address and a destination mac…
SmileDeveloper
  • 366
  • 3
  • 10
2
votes
1 answer

Is there a way to detect that a USB Ethernet Adapter is connected to an iPhone/iPad programatically?

I want to detect if the adapter is connected to the iPhone even if no IP has been given to the iPhone. I can detect that the interface is connected when the iPhone has been given an IP address, but how can I detect the adapter when not? I can see…
fabianz66
  • 101
  • 8
2
votes
1 answer

What is the difference between `ether_header` and `ethhdr`?

I'm currently trying to parse the packets from the raw buffer. I find there seems to be two structures for ethernet header: ether_header and ethhdr. I'm kind of confused what's the difference and relationship for them? Could I use them…
zzy
  • 751
  • 1
  • 13
  • 25
2
votes
2 answers

Why when sniffing wifi frames using sockets in python I get ethernet frames (not 802.11)

I am trying to write a program that will display all wifi networks and their clients. The code looks as follows: import os import socket import struct def unpack_ethernet_frame(data): dest_mac, src_mac, proto = struct.unpack('! 6s 6s H',…
Alicja Głowacka
  • 401
  • 5
  • 11
2
votes
1 answer

Read raw ethernet packet using python on Raspberry

I have a device which is sending packet with its own specific construction (header, data, crc) through its ethernet port. What I would like to do is to communicate with this device using a Raspberry and Python 3.x. I am already able to send Raw…
2
votes
1 answer

Connectex: Error connecting to a physical device

I am trying to communicate with a device (connected using ethernet) using TCP/IP connection. When a connection request is sent, I am getting an error: dial tcp 192.168.137.10:502: connectex: A connection attempt failed because the connected party…
Bhavana
  • 1,014
  • 4
  • 17
  • 26