restart network without shutdown

Eric Crist mnslinky at gmail.com
Tue Aug 7 08:42:15 PDT 2007


Install screen from ports, run it from within screen.

You'll still get disconnected, but you should be able to reconnect  
after it's done.  Screen will allow the script to complete, whereas  
your ssh session is killing it half/part way through...

HTH

Eric Crist


On Aug 7, 2007, at 10:19 AMAug 7, 2007, Narek Gharibyan wrote:

> I think the best way is
>
> /etc/netstart
>
> but when you try it via ssh connection it outputs an fatal error  
> and your
> ssh hangs up. You cannot connect again via ssh.
>
> But you can do it via console and everything will ok.
>
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Xihong Yin
> Sent: Tuesday, August 07, 2007 6:02 PM
> To: freebsd-questions at freebsd.org
> Subject: restart network without shutdown
>
> How can I restart my network card without shutdown/reboot? I use DHCP.
>
> Thanks,
>
> ----------------------------------------------------------------------
> Get a free email address with REAL anti-spam protection.
> http://www.bluebottle.com/tag/1
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list