From owner-freebsd-questions@FreeBSD.ORG Wed Nov 16 20:15:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 489A41065674 for ; Wed, 16 Nov 2011 20:15:36 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id D45AC8FC16 for ; Wed, 16 Nov 2011 20:15:35 +0000 (UTC) Received: by eyd10 with SMTP id 10so1396635eyd.13 for ; Wed, 16 Nov 2011 12:15:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=8X1yhUcHVuaLcMAeaz3mFwgKT3tvTeu2P+JC0BHsG5g=; b=Sayz4JKTssATCbI3oFBxWVmhfiG7EHvm4NgZ6Ixvz4hIljZe87dMsMpep4vO1nnl0y 8+d6rugf92EnylRdh8d28pMxrspFTcD+rtpF5heSPXkCNQE31Q/yTnAOYql2aqE6yejR FuZedTEIIyDWA8SgRtUJ5knrS1SC49ae+88JU= MIME-Version: 1.0 Received: by 10.224.216.6 with SMTP id hg6mr21300597qab.95.1321473153369; Wed, 16 Nov 2011 11:52:33 -0800 (PST) Received: by 10.229.82.66 with HTTP; Wed, 16 Nov 2011 11:52:33 -0800 (PST) In-Reply-To: <64528a300d8fad2c15268e7cc0b48d4a.squirrel@webmail.bsdftw.org> References: <64528a300d8fad2c15268e7cc0b48d4a.squirrel@webmail.bsdftw.org> Date: Wed, 16 Nov 2011 20:52:33 +0100 Message-ID: From: J65nko To: James Edwards Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Serial console with incorrect terminal set X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2011 20:15:36 -0000 On Wed, Nov 16, 2011 at 3:52 PM, James Edwards wrote: > Hi All, > > I have two servers currently colocated, one running FreeBSD 8.2/amd64 , > and the other is a Sun Netra T1 that I am attempting to install FreeBSD > 8.2 on, over serial. > > When the system booted up, I was presented with a list of console options > and I chose the first option, I believe to be ANSI (I have a knack for > never picking the right one). =A0The keyboard mapping was a bit screwed u= p, > but somehow I managed to get to the Fixit shell. =A0In order to test that= I > had my secondary NIC setup correctly, I just ran 'ping 10.0.0.2' and now > it wont stop. > > If I hit 'Ctrl+C', it keeps going. =A0I tried 'Ctrl+Z' in order to attemp= t > to suspend it so I can kill the process, but that brings up the 'Abort, > Restart, Continue' screen, but it gets interrupted by ping. =A0I tried > sending a break command using '~#', but I can't get to the OpenFirmware t= o > restart in attempt to pick the correct terminal settings. =A0IIRC, the br= eak > is not supported without a kernel that supports it. > > It could be easier to call my ISP and have someone power down the machine > for me, as the Netra has LOM. =A0In a worse case scenario, I can swing by > and do it myself after work. > > My question is, is there another way to either 1) Stop ping or 2) Get to > the openfirmware console? You can stop ping with : $ pkill -TERM ping >From the ping man page: -c count Stop after sending (and receiving) count ECHO_RESPONSE packets. If this option is not specified, ping will operate until inter- rupted. So with something like "ping -c4 10.0.0.2" , it would stop after 4 pings. Good luck ;) Adriaan