Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    link down/up notification event

    Hello. I am on debian lenny and I am trying to make a script that will run in the background and checks the ethernet connection. If the ethernet connection goes down it will connect to wlan. I have found 2 ways of checking ethernet connection, via proc/net/dev and via ifconfig eth0. But if possible I want to avoid polling. So is there any event that is triggered when the table gets disconnect or at least the connection goes down and up?

  2. #2
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Take a look at wicd. It does exactly what you need.

Posting Permissions

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