NetworkManager applet: force connection list refresh

Pedro Francisco pedrogfrancisco at gmail.com
Mon Sep 12 17:05:19 UTC 2011


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 at gmail.com>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 at fedoraproject.org> wrote:
>
>> On 7 September 2011 11:10, Pedro Francisco <pedrogfrancisco at gmail.com>
>> 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 at gmail.com>
>> > 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 at lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110912/ba6038a5/attachment.html 


More information about the users mailing list