Skip to content

Heartbeat issue #10

Open
Open
@jibanes

Description

@jibanes

Since I use centurylink, I often (several times a month) lose my internet connection, because I often work remotely, I wrote a little script that reboots the cable modem when this happens (which runs linux 2.0+busybox) using a little expect script to log in (the cable modem allows login as root without password).

When this happened, 2 days ago, and irclogger was running (for 5 days), the irclogger bot dropped of the irc channels being watched and when the connection was re-established (maybe a few minutes later), the bot never made it back to the channel, and irclogger was still running; on the other end, my irssi session was still running.

My current workaround is to send a sigint signal to irclogger when I run the expect script to reset the cable modem.

Quite possibly, irclogger needs some heartbeat monitor that makes sure that a connection to the irc server is still ongoing, but perhaps also change nick as the irc server might have the other nick in a timeout state (I've noticed that sometimes my nick changes on irssi when this happens). I use irc.freenode.net.

Thank you for looking into it; you might use tcpkill to terminate an ongoing connection to make testing easier; it's a debian/ubuntu package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions