Results 1 to 4 of 4

Thread: want to create a small application or script

  1. #1
    Join Date
    Sep 2008
    Beans
    103

    Angry want to create a small application or script

    hi
    my network often disconnects(line problem will be fixed soon)
    but now i want to create an application like the one in Xp a small pop up in taskbar that tells when the network was connected and the duration of it
    can any one help me in this?
    thanks in advance

  2. #2
    Join Date
    Jul 2008
    Beans
    788
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: want to create a small application or script

    Do you mean your LAN or your internet connection?

    You could set up some sort of script that pings the DNS or LAN gateway and only returns something for you when "host unreachable" occurs or when packets are dropped.

    Perhaps a cronjob or something, I'm not sure how they work, but people often create a cronjob when they want something to run every so often.

    Just a thought for what it is worth.

    EDIT: I'm not aware of a way to make a script bring up a taskbar notification though, for that you'd need something more sophisticated.
    Last edited by porchrat; March 2nd, 2009 at 05:37 PM.
    Any sufficiently advanced bug is indistinguishable from a feature.
    "Ubuntu" - an African word meaning "Gentoo is too hard for me"
    unexpected token <EOF> expected "WITTY ONE-LINER"

  3. #3
    Join Date
    Sep 2008
    Beans
    103

    Angry Re: want to create a small application or script

    Quote Originally Posted by porchrat View Post
    Do you mean your LAN or your internet connection?

    You could set up some sort of script that pings the DNS or LAN gateway and only returns something for you when "host unreachable" occurs or when packets are dropped.

    Perhaps a cronjob or something, I'm not sure how they work, but people often create a cronjob when they want something to run every so often.

    Just a thought for what it is worth.
    it is not my lan it is my internet that often disconnects
    so can you tell me briefly what i ahve to do

  4. #4
    Join Date
    Sep 2006
    Location
    Central NC USA
    Beans
    236
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: want to create a small application or script

    Google search for Linux Monitor network traffic:

    http://www.google.com/search?q=linux...S266US280&aq=t

    One of those may do what you want

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •