Restart Wireless Without Rebooting

Derek Broughton news at pointerstop.ca
Wed Dec 5 18:36:52 UTC 2007


Kenneth Loafman wrote:

> Derek Broughton wrote:

>> "/etc/init.d/dbus restart" should do the job - but it's only slightly
>> less sledge-hammerish than rebooting (and after that, I find I have to
>> restart kde-guidance-powermanager, as it's lost any idea that my laptop
>> has a battery).
>> 
>> Does your system hibernate?  I find that hibernate/resume often
>> kickstarts
>> my wlan (same hardware as yours).  One of these days I'll check out
>> exactly what it's doing and see if I can write a script...or maybe you
>> will and send it to me :-)
> 
> Hmmm, that's more of a sledgehammer than my previous post
> sudo /etc/dbus-1/event.d/25NetworkManager restart

Absolutely - but I know that, unless it's an odd side-effect of the
hibernation process itself, there really isn't much that happens in the
network unload/reload scripts, so it should be possible to script the part
that actually resets my network.  otoh, if your dbus method does the same
thing, I don't need to script anything :-)
> 
> I wonder what it will do to Gnome stuff.  

It really shouldn't matter whether it's Gnome or KDE.
-- 
derek





More information about the ubuntu-users mailing list