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:
Sorry for late jumping into the thread.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?
>
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