From owner-freebsd-questions@FreeBSD.ORG Sat Feb 8 08:09:22 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 251F58F3 for ; Sat, 8 Feb 2014 08:09:22 +0000 (UTC) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B02DE150E for ; Sat, 8 Feb 2014 08:09:21 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id e4so1430040wiv.4 for ; Sat, 08 Feb 2014 00:09:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/rKeO/QYgRrJe57P0jQAK4ZUcQYsLR4c9FGRqHIvtpw=; b=micR6yJxVwwBlapyAoi9YKnua9uSg+julD2A6x15Qf8CK75at90frwVCprST+l3PnE dnP3xOWOQ+QdVnyxYndlOhgAKGqS0OeLNlXRC0TtywlcaHt17dqN2kZRrwreoIbBHbJW eKRkNhmbl4B14hZpCf9lpNT2uosoWxU2EBTS3+V2VLoSKDH09Garq5xardjGeb7TqRZn Mgl42Dz/izbvQWWxlZdmKFqfD0Ak1EW4N/Ch7z80jc8vcLIbvVVwbiObM0ZF1yQxPWAR hFdpxtmyQhytH9GKkjEYSBbql9mA9v/kokeAkrqHL8Vb5bE9Tue+u/2V82cGcXpPGgfm IM1w== MIME-Version: 1.0 X-Received: by 10.180.164.229 with SMTP id yt5mr2794364wib.49.1391846960171; Sat, 08 Feb 2014 00:09:20 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.79.136 with HTTP; Sat, 8 Feb 2014 00:09:20 -0800 (PST) In-Reply-To: <1391822758.499117562.qad9aups@frv35.fwdcdn.com> References: <1391822758.499117562.qad9aups@frv35.fwdcdn.com> Date: Sat, 8 Feb 2014 09:09:20 +0100 X-Google-Sender-Auth: WMfvMVGwHJQiqHQJZZ-J-Qr3doM Message-ID: Subject: Re: Restart network without reboot ? From: Luca Ferrari To: Vladislav Prodan Content-Type: text/plain; charset=ISO-8859-1 Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 08:09:22 -0000 On Sat, Feb 8, 2014 at 2:31 AM, Vladislav Prodan wrote: > # cat /etc/rc.conf > zfs_enable="YES" > hostname="vm-10-1.domain.com" > ifconfig_em0="DHCP" > ifconfig_em1="DHCP" > sshd_enable="YES" > As other have already pointed out you can connect to the other interface, if possibile, or manually restart only one of them (e.g. dhclient em0). Also learn to use a tmux or similar and send more commands thru a nohup to avoid that being disconnected keeps your commands unfinished. Hope this helps. Luca