Re: NetworkManager applet: force connection list refresh



Actually I spoke to early, upon reboot things started not working again.

I'm back to killall modem-manager, nm-connection-editor, change something in
the connection, save and then it appears on network dropdown.

On Mon, Sep 12, 2011 at 5:27 PM, Pedro Francisco
<pedrogfrancisco@xxxxxxxxx>wrote:

Killing nm-applet won't work as Gnome-Shell doesn't use (though it is
loaded it doesn't do anything)

But «service NetworkManager restart» does work.

I now have the following lines and seems to be working (sleep time is still
under test :p)

Thank you!

# cat /etc/udev/rules.d/10-vodafone-fix.rules
KERNEL=="usb0", RUN+="vodafone-fix.sh"


# cat /lib/udev/vodafone-fix.sh
#!/bin/sh

eject /dev/sr1
/sbin/ifconfig usb0 -arp

sleep 10
service NetworkManager restart



On Sun, Sep 11, 2011 at 5:10 AM, Hiisi <hiisi@xxxxxxxxxxxxxxxxx> wrote:

On 7 September 2011 11:10, Pedro Francisco <pedrogfrancisco@xxxxxxxxx>
wrote:
Ok I give up (see below). Next attempt: Is there anyway to get the
old-but-functional nm-applet working on Gnome-Shell instead of the
built-in
'n buggy one?

On Fri, Sep 2, 2011 at 10:28 AM, Pedro Francisco <
pedrogfrancisco@xxxxxxxxx>
wrote:

Is there anyway to force the NetworkManager applet to refresh its list?
Everytime I plug-in my 3G dongle (k3805-z) I have to either go to
nm-connection-editor and toggle the option "Connection available for
every
user" or restart gnome-shell (ALT+F2, r) so the connection for the 3G
dongle
appears...
Any ideas?


Sorry for late jumping into the thread.
Prior to F15 there was NetworkManager service. In case of troubles
with nm I used to restart it:
service NetworkManager restart
Perhaps you could write udev-rule to trigger nm-applet restarting when
3G dongle plugged-in.
Just my 2 kopecks.
--
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Relevant Pages

  • Re: NetworkManager applet: force connection list refresh
    ... Killing nm-applet won't work as Gnome-Shell doesn't use (though it is loaded ... But «service NetworkManager restart» does work. ... service NetworkManager restart ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Re: restarting mobile broadband
    ... I'm a newbie to NetworkManager and have a few ... connection drops from time to time and doesn't ... But is doesn't reconnect automatically ... and a file called rx_bytes which may or may not run boot to boot rather than ...
    (Fedora)
  • Re: NetworkManager Is Driving Me Crazy!
    ... when I'm using a wired connection via eth0. ... about what it means to have wireless "on". ... you when you stop the NetworkManager. ... DNS info every time I use a wired connection at the office. ...
    (Fedora)
  • Re: NetworkManager Is Driving Me Crazy!
    ... when I'm using a wired connection via eth0. ... about what it means to have wireless "on". ... you when you stop the NetworkManager. ... DNS info every time I use a wired connection at the office. ...
    (Fedora)
  • Re: [SPAM] Re: [opensuse] How do I make a Wifi connection
    ... Jonathan R from open-slx is starting to write some upstream docu though. ... In popup screen Wireless 802.11b/g invited me to configure a connection ... Is it only once possible to realise a connection with NetworkManager? ... If you can configure some command line ...
    (SuSE)