jks-prv / Beagle_SDR_GPS

KiwiSDR: BeagleBone web-accessible shortwave receiver and software-defined GPS
http://kiwisdr.com
469 stars 158 forks source link

SDRAngel websocket connection doesn't work in LAN #257

Closed RipperFox closed 5 years ago

RipperFox commented 5 years ago

SDRAngel (https://github.com/f4exb/sdrangel) supports a connection to KiwiSDR via websocket in it's newest release.

It works quite well when connecting to different hosts from e.g. the sdr.hu list. It doesn't connect however to my KiwiSDR in my LAN - there's a established websocket, but it get's disconnected somehow (had a look with Wireshark & tcpdump). When connecting from outside the LAN from a host on the internet to my Kiwi it works fine. So I suspect some code in kiwid is the reason for this behavior.

Could you please have a look?

And btw: Thank you very much for this really awesome project! :) Got my Kiwi connected via a Wifi dongle - I could write a how-to for advanced users if interested..

jks-prv commented 5 years ago

It may be a while before I can look at this. There doesn’t seem to be an easy build procedure for Mac which is about all I use. I am currently buried in fixing the fallout of bugs from the v1.290 release.

On Jun 15, 2019, at 4:41 AM, RipperFox notifications@github.com wrote:

SDRAngel (https://github.com/f4exb/sdrangel https://github.com/f4exb/sdrangel) supports a connection to KiwiSDR via websocket in it's newest release.

It works quite well when connecting to different hosts from e.g. the sdr.hu list. It doesn't connect however to my KiwiSDR in my LAN - there's a established websocket, but it get's disconnected somehow (had a look with Wireshark & tcpdump). When connecting from outside the LAN from a host on the internet to my Kiwi it works fine. So I suspect some code in kiwid is the reason for this behavior.

Could you please have a look?

And btw: Thank you very much for this really awesome project! :) Got my Kiwi connected via a Wifi dongle - I could write a how-to for advanced users if interested..

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jks-prv/Beagle_SDR_GPS/issues/257?email_source=notifications&email_token=ABMD6GYQJWYJJOW56Y67AA3P2PC2JA5CNFSM4HYJ2YX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZTGE4A, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMD6G57NCRX7TK6R7OVRC3P2PC2JANCNFSM4HYJ2YXQ.

dish-eme-sdr commented 5 years ago

OFF TOPIC COMMENT:

RipperFox: "Got my Kiwi connected via a Wifi dongle - I could write a how-to for advanced users if interested.."

I now have a '-SPARE-' kiwi (for experimentation) and have needed to do this more than once when doing portable direction finding. I ended up using my RedPitaya which I do have set up to connect via USB WIFI dongle. I can also configure it to act as an access point which greatly simplifies connecting to things like Android tablets, etc. without having to drag along a router and other network equipment! I've been thinking of trying to do the same with the kiwi. Maybe I can speed this along by taking a look at what you have.

I've found a wireless connection is also a great way to eliminate noise from network cables & equipment.

I can contact you directly via your DL6 callsign if you prefer as I don't want to tie up #257 with off topic posts :-^)...

jks-prv: Sorry for the off topic bandwidth.

and

A great big THANK - YOU for your devotion to this project. I wish I could help more but my coding skills aren't up to the task. I'm more of a patch / hacker / experimenter than anything else...

73 for now...

RipperFox commented 5 years ago

@dish-eme-sdr Little guide here: https://gist.github.com/RipperFox/b08f7fb54709f139be756368d37d5de1 Call is dk9sas - got a club mail address, too :)

dish-eme-sdr commented 5 years ago

Ripperfox:

THANK YOU !!!

VERY similar to config for RedPitaya...

Now to see if I can make it work as an access point as well.

This would allow me to take a loop antenna, kiwi and Android tablet out into the field without having to drag along a router and other network equipment. Also reduces noise and battery drain :-^)...

I now return control of #257 to it's owner.

Thanks for the OFF-TOPIC bandwidth...

RipperFox commented 5 years ago

Seems latest SDRAngel can now connect to my Kiwi in LAN - problem was on SDRAngels side I guess..