HFU HF Underground
Technical Topics => SDR - Software Defined Radio => Topic started by: IQ_imbalance on June 21, 2020, 0338 UTC
-
So if I’m connecting a device with a static IP directly to my RPi via Ethernet, any speculation why it wouldn’t be detected? I know the cable is good, I know the Ethernet is good (I can ssh into the RPi from my mac), and I know the device is fine (i can ping it from my macs Ethernet port). There’s something about the damn RPi configuration that’s just not meshing...I even checked that the device and the RPi have the same subnet mask.
Any ideas?
-
To be clear, you are connecting the RPi directly to the device...a single ethernet cable with no switch or hub in between? Is that correct?
Years ago it mattered if you had a normal ethernet cable vice a crossover cable for this situation, but it seems like most computers automatically sense and compensate for that today. I have no idea if the RPi does this....maybe the Mac does and the RPi doesn’t?
-
Yep...direct connection. The idea is to use an instance of icecast running on the RPi to stream the device’s (it’s a radio btw) audio wirelessly.
You being up a good point...while the Ethernet port on the RPi should autosense (they’ve done that for awhile) it’s possible something is wonky there. Wouldn’t matter on the Mac since it would take up the slack, don’t know about the device’s own port.
I should try plugging in my afedri to the RPi and see if those two can communicate....
-
Finally got it to work. After messing around with static IPs, etc. just had to set relative priorities for WiFi and ethernet and let DHCP do its thing.
Now...if i can get the rtsp/rtp stream into icecast2......
-
PiFinder is a handy bit of software.....
-
Years ago it mattered if you had a normal ethernet cable vice a crossover cable for this situation, but it seems like most computers automatically sense and compensate for that today. I have no idea if the RPi does this..
The RPi ethernet port fully supports Auto MDI-X (crossover), however the OP did discover that giving ethernet the priority and letting DHCP go at it was the solution
-
Leases, especially of the dhcp kind, are messy.