Re: NetworkManager applet: force connection list refresh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux