• Bug#265446: knutclient: Reconnect after disconnect

    From Philipp Matthias Hahn@1:229/2 to All on Fri Aug 13 11:00:31 2004
    From: [email protected]

    Package: knutclient
    Version: 0.8.1-1
    Severity: wishlist

    After a forceful disconnect (server crash) from upsd, it's hard to
    reestablish the connection. At the moment I've to do the following steps:
    1. Menu->Configure
    2. Goto "UPS" tab
    3. Select disconnected UPS in list
    4. Click Edit button
    5. Do a null-change to a setting
    6. Click OK
    7. Click OK

    A 'reconnect'-button would be nice.
    Trying to reconnect automatically on some configurable intervals would
    also help.

    -- System Information:
    Debian Release: 3.1
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.8-rc4-plxtsch
    Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8

    Versions of packages knutclient depends on:
    ii kdelibs4 4:3.2.3-2 KDE core libraries
    ii libart-2.0-2 2.3.16-6 Library of functions for 2D graphi ii libaudio2 1.6d-1 The Network Audio System (NAS). (s ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libfontconfig1 2.2.3-1 generic font configuration library ii libfreetype6 2.1.7-2.1 FreeType 2 font engine, shared lib ii libgcc1 1:3.4.1-4sarge1 GCC support library
    ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
    ii libpng12-0 1.2.5.0-6 PNG library - runtime
    ii libqt3c102-mt 3:3.2.3-4 Qt GUI Library (Threaded runtime v ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management ii libstdc++5 1:3.3.4-6sarge1 The GNU Standard C++ Library v3
    ii libx11-6 4.3.0.dfsg.1-4 X Window System protocol client li ii libxcursor1 1.1.3-1 X cursor management library
    ii libxext6 4.3.0.dfsg.1-4 X Window System miscellaneous exte ii libxft2 2.1.2-6 FreeType-based font drawing librar ii libxmu6 4.3.0.dfsg.1-4 X Window System miscellaneous util ii libxrender1 0.8.3-7 X Rendering Extension client libra ii libxt6 4.3.0.dfsg.1-4 X Toolkit Intrinsics
    ii xlibmesa-gl [libgl1] 4.3.0.dfsg.1-4 Mesa 3D graphics library [XFree86] ii xlibs 4.3.0.dfsg.1-4 X Window System client libraries m ii zlib1g 1:1.2.1.1-5 compression library - runtime

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Arnaud Quette@1:229/2 to All on Fri Aug 13 21:40:06 2004
    From: [email protected]

    Philipp Matthias Hahn a �crit :

    Package: knutclient
    Version: 0.8.1-1
    Severity: wishlist

    After a forceful disconnect (server crash) from upsd, it's hard to >reestablish the connection. At the moment I've to do the following steps:
    1. Menu->Configure
    2. Goto "UPS" tab
    3. Select disconnected UPS in list
    4. Click Edit button
    5. Do a null-change to a setting
    6. Click OK
    7. Click OK



    I personnaly have a quicker method, which
    only works if you monitor several UPSs:
    1. switch to another UPS
    2. switch back

    this should work with a dummy UPS
    while waiting for a proper solution...

    A 'reconnect'-button would be nice.
    Trying to reconnect automatically on some configurable intervals would
    also help.


    @Daniel: I can't remember if we've already
    talked about it, but I totaly agree about the
    above.

    I've not looked at the code (I'm still reluctant
    as most (still all Dan?) code is commented
    in Czech).

    Here is what I propose:
    - short term: try reconnexion every 10-15
    sec when upsd com lost. Maybe increase
    this interval when it lasts too long. I wouldn't
    vote for a button, but using F5 key to 'refresh'
    (adding a menu: Display/Refresh) seems
    more standard

    - long run: NUT will one day fully support
    async client connexion (ie avoid polling
    by sending to clients only data that changes).
    I'll talk with Russell about a feature such as
    ping the previously connected clients to
    tell these upsd is back.

    Arnaud

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)