Restart Wireless Without Rebooting

Derek Broughton news at pointerstop.ca
Wed Dec 5 16:00:24 UTC 2007


Chris wrote:

> On Wed, 05 Dec 2007 09:05:25 -0600
> Preston Boyington <preston.lists at gmail.com> wrote:
> 
>> Kenneth Loafman wrote:
>> > Periodically my wireless connection dies and nothing seems to
>> > restart it except the brain-dead Windows way of rebooting the whole
>> > system.  In a UNIX system, you should be able to restart anything
>> > except the kernel without a reboot.  I can't seem to figure out how.
>> > 
>> 
>> try going to a terminal and typing:
>> 
>> sudo ifdown wifi0
>> 
>> to take down the wifi interface and then:
>> 
>> sudo ifup wifi0
>> 
>> to bring it back up again.  just be sure to insert your correct
>> network device after the "ifup" or "ifdown" (eth0, wifi0, ath0)
>> 
> 
> While the above works, I myself have used a more encompassing way.
> 
> /etc/init.d/networking stop
> /etc/init.d/networking start

Neither method should do a thing for an interface controlled by
NetworkManager...
-- 
derek





More information about the ubuntu-users mailing list