Restart Wireless Without Rebooting

Bazooka Joe fastfish at gmail.com
Wed Dec 5 19:48:40 UTC 2007


I am a network guy and I am always having to restart dbus. I am always
setting ip addrs on wired and wireless then to dhcp and back again -
ubuntu never picks up the changes. And sometimes not even after
restarting dbus.

I hope this gets smoothed out in the future or they give us an easier
way to restart network than the command line.

On Dec 5, 2007 10:36 AM, Derek Broughton <news at pointerstop.ca> wrote:
> 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
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list