Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to notify gnome (network manager?) about network connection setup by my own script/tool?

Reply
Thread Tools Display Modes

How to notify gnome (network manager?) about network connection setup by my own script/tool?

 
 
wzab
Guest
Posts: n/a

 
      09-24-2011, 10:31 AM
Hi,

I had to integrate the e173-u2 modem working in NDIS mode with Linux.
(As this particular operator has blocked TS11 services in his SIM
cards,
this is the only way to obtain connection).

Unfortunately I was not able to do it in the framework of network
manager
and therefore I've written my own simple tool (sources available in
alt.sources
thread "Public domain sources for NDIS mode dialer for e173 modem",
direct
link in google archive: http://groups.google.com/group/alt.s...099db917b2c33#
)
This solution is currently used in a Debian/testing laptop.

Even though the above script works quite reliably, some programs (e.g.
telepathy)
refuse to connect to the server, probably because they rely on the
information
from network manager (or from Gnome itself?) that no network
connection
is available.

I don't want to deinstall network manager, as sometimes this laptop is
used
in an environment where other, well serviced by the NM connections are
available.

Therefore I think, that the best solution would be to allow my script
to notify the NM
or the Gnome about connection to the network and/or disconnection from
the network.
Could someone please provide me with any hints?
Probably I should use the python-notify package and send the
"network.connected" and/or
"network.disconnected" notifications, but are there any examples how
to do it correctly?
Thank in advance,
WZab
 
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
Gnome Network Manager J.B. Wood Linux Networking 2 11-29-2011 10:34 AM
need the network driver to notify when link up/down zix Linux Networking 5 12-12-2008 05:03 AM
Wireless Network Connection Tool Problems Simon Thulbourn Wireless Networks 2 11-26-2005 01:31 PM
Lost dial-up network connection after running home network setup wizard. Bruce Windows Networking 0 10-22-2003 04:05 PM
Auto setup and connect network printer using logon script. kinghew Windows Networking 1 07-31-2003 02:41 AM



1 2 3 4 5 6 7 8 9 10 11