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

Connection to RS485 device via ethernet converter

I have device (electric meter) with unspecified protocol with RS-485. I have some documentation about what messages I can send to get some readings. Goal is to write some Java app to get readings via RS-485 <=> Ethernet converter. For example here…
Alexey Bugerya
  • 461
  • 1
  • 4
  • 11
2
votes
1 answer

Why is client.available() returning a 0? (Arduino)

I'm working on an Arduino-based RFID user access logger, but I'm having some issues while reading server responses. My setup is the following: -An Arduino Mega connected to an MFRC522 card reader and a ENC28J60 ethernet module (SS and RST pins of…
Nedo
  • 121
  • 1
  • 11
2
votes
1 answer

Using iperf3 for measuring UDP throughput on STM32 board

I have STM3220G-Eval board with STM32F207 MCU. I've loaded UDP Echo Server lwIP based sample application (from CubeMX archive). This app used port #7. I've tried to use iperf3 in client mode (Windows OS), but it failed to work with the board (though…
ilya
  • 1,103
  • 14
  • 36
2
votes
0 answers

(non-touch) iPhone gesture recognition

I am about to start on a huge new project which will rely on the use of an Arduino connected to third party electronics (in this case an electromyography board I have already built). I have a good idea of how to transmit data between the Arduino and…
Bob-ob
  • 1,560
  • 4
  • 18
  • 34
2
votes
2 answers

How to enable or disable Ethernet programmatically?

I want to enable and disable Ethernet in android programatically. I have used following commands which are working on terminal but not on Java code. ifconfig eth0 down ifconfig eth0 up and my code public String executeCommand() { StringBuffer…
D.J
  • 1,439
  • 1
  • 12
  • 23
2
votes
2 answers

Port no.s in TCP/IP packets

I am learning TCP/IP basics. I made a server-client chat application in which server opens a port 1024 and client can send message to it. I am a bit confused about the contents of TCP/IP packets exchanged by server and client. If client sends a…
Meenie Leis
  • 191
  • 8
2
votes
1 answer

Device Ethernet connected status

ConnectivityManager cm = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo activeNetwork = cm.getActiveNetworkInfo(); result in…
Kasup Sri
  • 159
  • 6
2
votes
0 answers

Using dpkt to obtain a protocol trace corpus given a pcap file

Info: Python 3.6.3 via Anaconda Distribution I am using dpkt to parse through a pcap file and I cycle through it collecting the ethernet, ip and tcp. Python Code: import dpkt file = open('file10','rb') pcapFile = dpkt.pcap.Reader(file) for ts, buf…
2
votes
1 answer

FEC and Gianfar deriver

What is the difference between fec and gianfar driver? It does not seems to be chip drivers. I have to integrate the functionality of DP83849 PhyChip for MPC8313E. I have one fec driver ported for coldfire architecture and uses DP83849 phy. Can I…
iSegFault
  • 947
  • 2
  • 9
  • 18
2
votes
3 answers

Arduino Ethernet Byte size problem

I'm using an Arduino (duemilanove) with the official Ethernet shield to send data to the controller for controlling an LED matrix. I am trying to send some raw 32-bit unsigned int values (unix timestamps) to the controller by taking the 4 bytes in…
Adam Haile
  • 30,705
  • 58
  • 191
  • 286
2
votes
1 answer

How to send SOCK_DGRAM packet using packet_mmap without being concerned about MAC address?

I want to send packets using packet_mmap for getting high packet transmission rate. I managed to send packets using packet socket in raw mode, which for that purpose I created L2, L3, and etc in buffer and send it using sendto(fd_socket, NULL, 0, 0,…
Mass
  • 123
  • 11
2
votes
2 answers

Genicam transport Layer

I am new to Genicam standard, i having issue on understanding the transport layer for gigE camera. I couldnt find any detail information or guideline on writing a gigE camera transport layer as mostly it is provided by the camera vendor directly.…
WenJuan
  • 624
  • 1
  • 8
  • 21
2
votes
1 answer

Can I Create a VPN application without Virtual miniport driver?

I want to create a simple VPN like with User application. I went though different VPN application software. I can see most of them uses a Miniport Virtual adapter for example: OpenVPN use Windows TAP driver. Another VPN software uses both miniport…
tech_123
  • 90
  • 1
  • 10
2
votes
1 answer

Ethernet frame source address instead of ARP cache for IPV4 reply?

I'm writing a TCP/IP stack on an extremely resource limited embedded device. I would like to know if it is safe to use the source mac address of an ethernet frame to reply to an IPV4 packet. The normal procedure when you want to reply to the source…
Rick
  • 1,240
  • 14
  • 21
2
votes
0 answers

How does vlan driver pass vlan info to the h/w ethernet driver

I'm trying to implement vlans on a target programmatically. But first I wanted to set up vlans manually to help get a better understanding of vlan setup. So I setup a vlan manually on my development system (ubuntu) using the vconfig/ifconfig…
carlh
  • 31
  • 4