Sample Header Ad - 728x90

Turning ethernet on/off

1 vote
0 answers
70 views
I am porting a DOS application to linux and don't know a hell of a lot about linux. The application is a machine controller which uses ethernet as a high-speed serial port. Networking has nothing to do with it, the computer and machine just broadcast raw packets at each other over a crossover ethernet cable. No TCP or anything like it, they're both in promiscuous mode sending plain ethernet packets. I'm using Ubuntu 20.04, and I haven't found a way to enable the ethernet port without the damn thing trying to establish a network connection. Surely this must be doable- can anybody help me out? I'm thinking I can use pcap to send and receive the packets, but I'm stuck at the starting gate here.
Asked by mikesixes (11 rep)
Aug 10, 2021, 10:32 PM