Networking Forums

Networking Forums > Computer Networking > Linux Networking > Notification when network becomes available?

Reply
Thread Tools Display Modes

Notification when network becomes available?

 
 
Urs Thuermann
Guest
Posts: n/a

 
      01-11-2005, 12:26 PM
Is it possible to get some notification into user space when a
network connection (Ethernet or WLAN) becomes available? I see
messages from the kernel via printk() when I insert or unplug the
patch cable from my NIC telling the link state has changed. Is this
notification also available i user space?

And is there something similar for WLAN, i.e. some notification when I
move into some hot spot? AFAIK, iwconfig can show I an AP is
reachable but I have to poll regulary with iwconfig to detect new
APs. Can this be done without polling?

urs
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      01-11-2005, 12:43 PM
On 2005-01-11, Urs Thuermann <(E-Mail Removed)> wrote:
> patch cable from my NIC telling the link state has changed. Is this
> notification also available i user space?


There are many 'widgets' to show the status of network connections on
various desktops (Kde, Gnome...) just pick the one you like.

Davide

--
More systems have been wiped out by admins than any hacker could do
in a lifetime. - Rick Furniss
 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      01-11-2005, 06:37 PM
Urs Thuermann wrote:
> Is it possible to get some notification into user space when a
> network connection (Ethernet or WLAN) becomes available? I see
> messages from the kernel via printk() when I insert or unplug the
> patch cable from my NIC telling the link state has changed. Is this
> notification also available i user space?
>
> And is there something similar for WLAN, i.e. some notification when I
> move into some hot spot? AFAIK, iwconfig can show I an AP is
> reachable but I have to poll regulary with iwconfig to detect new
> APs. Can this be done without polling?
>


Have a look at ifplugd
<http://www.stud.uni-hamburg.de/users/lennart/projects/ifplugd/>.

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Notification of new router/network connections Daniel Wireless Internet 3 01-17-2008 04:26 PM
Remove Wireless Network Connection from Notification Area Tech109 Wireless Networks 3 07-28-2006 10:02 PM
notification Tim Wireless Networks 1 03-08-2006 04:13 PM
Turn off notification of connection to wireless network Michael Wireless Networks 1 04-17-2005 11:51 PM
Notification dave Windows Networking 1 12-18-2003 12:26 AM



1 2 3 4 5 6 7 8 9 10 11