From owner-freebsd-questions Wed Jul 3 9:55:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64DAE37B400 for ; Wed, 3 Jul 2002 09:55:49 -0700 (PDT) Received: from fw1.wamnet.com (efw1.wamnet.com [67.98.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8625E43E09 for ; Wed, 3 Jul 2002 09:55:48 -0700 (PDT) (envelope-from lcarmich@wamnet.com) Received: from ndm.wamnet.com ([172.17.38.2]) by fw1.wamnet.com (8.12.2/8.12.2) with ESMTP id g63GtlKG020016; Wed, 3 Jul 2002 11:55:47 -0500 (CDT) Received: from ds.cops.wamnet.com (ds.cops.wamnet.com [172.17.31.2]) by ndm.wamnet.com (8.9.1a/8.9.1) with ESMTP id LAA2025312; Wed, 3 Jul 2002 11:55:47 -0500 (CDT) Received: from y.dev.wamnet.com (y.dev.wamnet.com [172.17.27.37]) by ds.cops.wamnet.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id LAA92198; Wed, 3 Jul 2002 11:55:46 -0500 (CDT) Date: Wed, 3 Jul 2002 11:55:46 -0500 (CDT) From: Lee J Carmichael X-Sender: lcarmich@y.dev.wamnet.com Reply-To: Lee J Carmichael To: "Dan Mahoney, System Admin" Cc: questions@FreeBSD.ORG Subject: Re: 2-way serial console In-Reply-To: <20020702112137.V66871-100000@prime.gushi.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Dan, ** Cisco --> Freebsd console ** I'm not sure which flavor of cisco you have but you can connect the aux port (in 25xx/26xx/45xx) to the unix box and use the following configuration bits to setup the aux port (with IOS commands): conf t line aux 0 session-timeout 30 exec-timeout 30 0 login modem DTR-active transport input all stopbits 1 no exec ctrl-z write I'm assume you are familier with IOS command (conf t --> configure from terminal, ctrl-z to exit edit mode etc...), note your mileage may vary (on some boxes it may be line aux 1). The connection from the aux --> com0 needs to be a RJ-45 (in the 25/26/45) to 9pin. At this point telnet to the router on port 2001 (for 25xx, port 2065 for 26xx and port 2129 for 36xx, I'm not sure for the >45xx series.). Example: telnet myrouter 2001 At this point you should see the console displayed. ** Freebsd --> Cisco console ** This direction requires an another Cisco cable, connect from the second com port on the your freebsd to Cisco console port. com2 (9-pin) --> console (RJ-45) For the freebsd box I would use cu (you could use kermit, tip or your favorite serial term program). You will need to set up the serial program to baud 9600, with 8-none-1 settings. (this varies depending on term program). It looks like with tip you can do: tip cuaa0c. Since the settings in the remote file are setup correctly. I hope this helps. Note, I haven't tried this with freebsd and Cisco but it works with Irix and Linux to Cisco routers. I've had good luck connecting between Irix to Freebsd with cu/tip in similar ways. -------- Lee Carmichael Service Architect - WorkSpace WAM!NET Inc. 655 Lone Oak Rd Building A Eagan, MN 55121 ph# 651-256-5292 email: lcarmich@wamnet.com On Tue, 2 Jul 2002, Dan Mahoney, System Admin wrote: > Hi, > > I have a core router running FreeBSD, and a Cisco. I'd like to be able to > serial cable them together in such a way that either the router or the BSD > box could open a connection to the other via the serial line. Does anyone > know if this is possible? > > -Dan > > -- > > "It doesn't matter where I live, because I live in dataspace. That's my > hometown." > > -Steve Roberts, Builder of BEHEMOTH > > --------Dan Mahoney-------- > Techie, Sysadmin, WebGeek > Gushi on efnet/undernet IRC > ICQ: 13735144 AIM: LarpGM > Web: http://prime.gushi.org > finger danm@prime.gushi.org > for pgp public key and tel# > --------------------------- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message