-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[debian] bladerf-fpga-hostedx40 leaves bad rbf file around if the download fails #454
Comments
My response: Oh that's weird... looks like, for whatever reason, wget was trying to I'll make sure it cleans up after itself and will advise. -rt |
If wget fails, it's clobbering the FPGA/firmware storage in /usr/share/Nuand/bladeRF, leading to terrible results. Download to a temp file, then copy that if wget was successful. An MITM where a trusted proxy is frobulating HTTPS is still possible; checking the md5sum again is probably a great idea.
Pull request #455 created for a fix on this issue |
Dockerfile to reproduce issue: https://gist.github.com/rtucker/3d3f07b79afba9da10a8 |
Couldn't reproduce the "Connecting to 127.0.0.1:8080... failed: Connection refused." issue with a stock Linux Mint 17.3 KDE install. |
debian: gracefully handle failed wget when downloading FPGA/firmware images (#454)
Third party report:
Hi Ryan,
Went through the process of getting the BladeRF running again today,
and ran into a funky issue with the PPA.
TL;DR:
I'm using Linux Mint 17.3 - KDE Spin. I setup the PPA and installed
all the things:
The install of the bladerf-fpga-hostedx40 package failed with an error
complaining about being unable to connect to localhost port 8080. In
the output of that failure it told me to run dpkg-reconfigure, so I
did that, with the same result:
The main problem with this is that a broken fpga image is left in
/usr/share/Nuand/bladeRF/hostedx40.rbf. The way this manifests in the
system is like so:
That is what made me think something was up with the FPGA image. The
hostedx40.rbf file it's opening there is just a symlink to the one in
/usr/share/Nuand/bladeRF/hostedx40.rb. To fix this, I simply did this:
That did it:
The text was updated successfully, but these errors were encountered: