Mailing List Archive

connecting macs to criscos
Hi,

I'm trying to figure out how to connect my Mac Titanium to a cisco via
console cable, and of course it's not nearly primitive enough for such
useful tasks. I've discarded the idea of carrying a VT220 around on my
back, and googled around and found this:

http://macosx.forked.net/bbarchive/forum3/000029.html

So I got me a Keyspan USB to serial converter, and followed the
instructions, and I get the following:

[console:/etc] brni# /usr/local/bin/console routera
console: console: access from your host refused

When I run conserver with the -D flag, I get this as the apparently
relevant messages:

[Tue Mar 11 21:07:51 2003] conserver (541): DEBUG: AccType():
hostname=localhost, ip=127.0.0.1
[Tue Mar 11 21:07:51 2003] conserver (541): DEBUG: AccType():
who=192.168.1.100, trust=a
[Tue Mar 11 21:07:51 2003] conserver (541): DEBUG: AccType(): who=local.,
trust=a
[Tue Mar 11 21:07:51 2003] conserver (541): DEBUG: AccType():
name=localhost


and the "routera" log says:

[console:/etc] brni# more /usr/local/sbin/routera
[-- Console up -- Tue Mar 11 21:05:23 2003]

*Mar 1 12:28:59: %QUICC_ETHER-1-LOSTCARR: Unit 0, lost carrier.
Transceiver pro
blem?
*Mar 1 12:29:59: %QUICC_ETHER-1-LOSTCARR: Unit 0, lost carrier.
Transceiver pro
blem?
*Mar 1 12:30:59: %QUICC_ETHER-1-LOSTCARR: Unit 0, lost carrier.
Transceiver pro
blem?
[and so on]


Anyone have any clues on how to make it run happily?



- brni
------

"The large print giveth
and the small print taketh away."
Tom Waits
Re: connecting macs to criscos [ In reply to ]
On Tue, Mar 11, 2003 at 09:36:25PM -0500, Bernie Mojzes wrote:
> So I got me a Keyspan USB to serial converter, and followed the
> instructions, and I get the following:
>
> [console:/etc] brni# /usr/local/bin/console routera
> console: console: access from your host refused

from the debug output, it looks like your hostname is 'local.' and your
ip address is '192.168.1.100' but your client is connecting to
'localhost' at '127.0.0.1'. what you should do is add an 'allowed:
127.0.0.1' to your conserver.cf file to get the client to connect to
the server. so, now that i've looked at the instructions you followed,
you'll need a conserver.cf file that looks like:

routera:/dev/tty.KeyUSA19191.1:9600p:&:
%%
allowed: 127.0.0.1

then start conserver and you should be able to connect. looks like the
logfile for 'routera' is already being filled with info, so that should
be good.

Bryan
Re: connecting macs to criscos [ In reply to ]
Is the keyspan adapter in OS X? I've had much trouble out of them in
Linux. Seems like the real uart guts are not coded totally in the
driver. Could be the same on OS x.


On Wed, 2003-03-12 at 11:10, Bryan Stansell wrote:
> On Tue, Mar 11, 2003 at 09:36:25PM -0500, Bernie Mojzes wrote:
> > So I got me a Keyspan USB to serial converter, and followed the
> > instructions, and I get the following:
> >
> > [console:/etc] brni# /usr/local/bin/console routera
> > console: console: access from your host refused
>
> from the debug output, it looks like your hostname is 'local.' and your
> ip address is '192.168.1.100' but your client is connecting to
> 'localhost' at '127.0.0.1'. what you should do is add an 'allowed:
> 127.0.0.1' to your conserver.cf file to get the client to connect to
> the server. so, now that i've looked at the instructions you followed,
> you'll need a conserver.cf file that looks like:
>
> routera:/dev/tty.KeyUSA19191.1:9600p:&:
> %%
> allowed: 127.0.0.1
>
> then start conserver and you should be able to connect. looks like the
> logfile for 'routera' is already being filled with info, so that should
> be good.
>
> Bryan
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users
Re: connecting macs to criscos [ In reply to ]
On Wed, 12 Mar 2003, Bryan Stansell wrote:

> On Tue, Mar 11, 2003 at 09:36:25PM -0500, Bernie Mojzes wrote:
> from the debug output, it looks like your hostname is 'local.' and your
> ip address is '192.168.1.100' but your client is connecting to
> 'localhost' at '127.0.0.1'. what you should do is add an 'allowed:
> 127.0.0.1' to your conserver.cf file to get the client to connect to
> the server. so, now that i've looked at the instructions you followed,
> you'll need a conserver.cf file that looks like:
>
> routera:/dev/tty.KeyUSA19191.1:9600p:&:
> %%
> allowed: 127.0.0.1

Cool, that gets me farther (since the laptop changes IPs depending on
location, it's difficult to hardcore that in).

It's now connecting...

ah... keyspan has to be plugged in *BEFORE* you run conserver.rc start.
d'oh!

Thanks, all is well.

Bernie

>
> then start conserver and you should be able to connect. looks like the
> logfile for 'routera' is already being filled with info, so that should
> be good.
>
> Bryan
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users
>


- brni
------

"The large print giveth
and the small print taketh away."
Tom Waits