Skip to content
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

Lost connection after unplug-plug #164

Open
iw2nke opened this issue Aug 23, 2018 · 3 comments
Open

Lost connection after unplug-plug #164

iw2nke opened this issue Aug 23, 2018 · 3 comments

Comments

@iw2nke
Copy link

iw2nke commented Aug 23, 2018

After RJ45's unplug - plug on Kiwi then the server dosen't restart. In some case also the Ethernet will remain down. It is a great issue for remote locations in case of power faults.
Thank you,

Gian Leonardo

@jks-prv
Copy link
Owner

jks-prv commented Aug 23, 2018

So, this is not correct.

First of all, are you using the BeagleBone Green supplied with the KiwiSDR kit or your own Beagle, possibly an older BeagleBone Black? Older BeagleBone Blacks have a known hardware problem where the Ethernet interface does not recover if Linux is running and the cable is disconnected then reconnected. But this is not a problem with the currently shipping Kiwi hardware/software.

I have just tried this again myself to verify. I can disconnect and reconnect the Ethernet and everything works fine. The server keeps running. It doesn't need to restart. An active admin connection continues to function after the reconnection. A user connection will recover if the disconnection is for a short period of time, like under 10 seconds. Then the waterfall will "catch up" by quickly displaying the data that has been buffered. If the disconnection is longer than that the Linux networking code will close the connection. But you can simply refresh the browser to get a new connection as the server continues to run.

Something that is an issue with power failures (and remote sites) are power supplies that don't meet the power-up specifications of the Beagle. The power supply ramp-up time (0 to 5V) must be under 50 milliseconds otherwise the Beagle may not turn-on.

@iw2nke
Copy link
Author

iw2nke commented Aug 24, 2018 via email

@jks-prv
Copy link
Owner

jks-prv commented Aug 24, 2018

Yes. After a restart ssh or PuTTY into the Beagle and use the command aliases "cdp" and then "msl" to look at the Kiwi log over the last few restarts. The usual "ms" command only shows log messages from the current run.

There is another possibility. Last year Seeed had problems with the Ethernet PHY chips on the BBG. Early in the BBG's life the PHYs would being overheating and fail. The symptoms were no LEDs on the RJ45 connector or the LEDs were on all the time. I personally had two BBGs fail in this way. But there were never any failures in the manner you describe: failure to reconnect after a re-plug.

But it is possible this is a symptom of a partial PHY failure. You could only rule this out by swapping out the BBG and seeing if the problem stopped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants