Date: Wed, 16 Nov 2011 20:52:33 +0100 From: J65nko <j65nko@gmail.com> To: James Edwards <jedwards@bsdftw.org> Cc: freebsd-questions@freebsd.org Subject: Re: Serial console with incorrect terminal set Message-ID: <CAHoY4sje2H2Q0Wq=r0NKYiAAsHsoNCGnjsZU3fK73Adra_VhYA@mail.gmail.com> In-Reply-To: <64528a300d8fad2c15268e7cc0b48d4a.squirrel@webmail.bsdftw.org> References: <64528a300d8fad2c15268e7cc0b48d4a.squirrel@webmail.bsdftw.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 16, 2011 at 3:52 PM, James Edwards <jedwards@bsdftw.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHoY4sje2H2Q0Wq=r0NKYiAAsHsoNCGnjsZU3fK73Adra_VhYA>