Skip to content

How to get errno when epoll_wait returns EPOLLERR?

Is there a way to find out the errno when epoll_wait returns EPOLLERR for a particular fd? Is there any further information about the nature of the error? Edit: Adding more information to prevent ambiguity epoll_wait waits on a number of file descriptors. When you call epoll_wait you pass it an array of epoll…

How to install a Kerberos server on Debian

I’m trying to build up a Kerberos Server on a Debian computer but I’m kind of lost with all the configuration files. Can anyone tell me any good step by step tutorial of how to install and configure a kerberos Server? Or what’s the best distriburion where I can install Kerberos? Answer Debia…

How can I install xclip on an EC2 instance?

I’m following Github’s instructions for adding an SSH key. I’ve generated the id_rsa.pub file from my AWS EC2 instance, but I cannot complete the step that has me copy the contents of the file using xclip because I cannot install xclip onto the EC2 instance. I tried to install xclip on the E…

Can I wrap windows dll to use it in Python under Linux?

Is it possible to wrap Windows DLL (driver for specific hardware) to use it from Python under Linux. If yes, what would be the best approach? Answer Disclaimer: Depending on the context, the following is certainly NOT the best approach. It is just ONE possible approach that kind of fits the description. I wro…

Interacting with a .db file from Linux shell

I recently installed minidlna, a lightweight UPnP server, on my Raspberry Pi. Since this lacks the web interface of other programs such as Mediatomb, I thought it could be an interesting project for me to write one. I believe minidlna stores library information in a single file named “files.db”. E…