[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to restart network without rebooting
> In some mail from Philipp Buehler, sie said:
> >
> > On 27/02/2002, Darren Reed <avalon@coombs.anu.edu.au> wrote Cc
misc@openbsd.org:
> > > Uh, that's not a good idea.
> > > Just re-running /etc/netstart will not undo the previous
configuration.
> >
> > Basically yes..
> >
> > > Unless you want to undo everything that netstart did in the first
place,
> > > by hand, you are better of just rebooting the box.
> >
> > Why by hand? :}
> >
> > Quick hack:
> > for if in `ifconfig -a | awk -F: '/UP/ {print $1}'` ; do
> > ifconfig $if down
> > ifconfig $if delete
> > done
> > route -n flush
> > arp -ad
>
> What about stopping dhclient ?
>
> What about bridging?
>
> Just reboot and be sure.
>
> Darren
what about his uptime =)