From owner-freebsd-questions Wed Jun 7 12:37:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ngo.org.uk (ngo.org.uk [193.62.43.28]) by hub.freebsd.org (Postfix) with ESMTP id 42A3D37B650 for ; Wed, 7 Jun 2000 12:37:37 -0700 (PDT) (envelope-from mac@ngo.org.uk) Received: (from mac@localhost) by ngo.org.uk (8.9.3/8.9.3) id UAA04025 for freebsd-questions@freebsd.org; Wed, 7 Jun 2000 20:37:13 +0100 (BST) From: Mac Message-Id: <200006071937.UAA04025@ngo.org.uk> Subject: Re: Boot via Serial In-Reply-To: <008101bfd0b2$6c515990$3e42d9c8@pchome> from Joao Carlos at "Jun 7, 0 03:58:51 pm" To: jc_rr@bol.com.br (Joao Carlos) Date: Wed, 7 Jun 2000 20:36:36 +0100 (BST) X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > i'm creating a project based on freebsd, and i would > like to know if it is possible to boot freebsd via a > serial. > I mean... like cisco routers, etc... send all console > stuff to a serial port instead of a tty and how to do > that. > I thought about linking /dev/ttyv1 to /dev/cuaa0 :P > I do this all the time, and it's dead easy. Just add '-h' to your /boot.config file. (and make sure you've got a working terminal onthe serial port!) (Note, this is on 2.2.5, but I'm guessing it won't have changed that much). Oh, if you want to test this before making it permanent, you can just type it in ar the 'boot:' prompt instead. And finally, if you have a real keyboard attached, then note that -Ctrl-Alt-Del- will still work. And really finally, don't forget to put a 'getty' onto the serial port you boot from, or else you won't be able to login to the box! (see /etc/ttys) Mac To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message