Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » General Discussion   » Minicom and a DB9 to USB cable

UBBFriend: Email this page to someone!    
Author Topic: Minicom and a DB9 to USB cable
janderson
Member
Member # 87

posted October 10, 2001 10:17 PM      Profile for janderson   Email janderson   Send New Private Message      Edit/Delete Post  Reply With Quote 
Does anyone know If a solution exists for consoling into routers and switches with a powerbook... On my PC laptop I use the DB9 serial port and either Tera term or Minicom (depending if I'm booted in Win2k or Linux), however the powerbook doesn't have a DB9 serial port. I was wondering if a port of minicom and a USB-->DB9 cable (like the one available from IOGear or Keyspan) would make this possible. Anyone Know? -Thanks, Joe
Posts: 21 | From: Dallas | Registered: Sep 2001  |  IP: Logged
Dan
Member
Member # 106

posted October 11, 2001 04:33 AM      Profile for Dan     Send New Private Message      Edit/Delete Post  Reply With Quote 
I don't know. However, I would post this on the discussion board over at apple support or on macosx.org if you haven't already. This board here isn't that active yet.
Posts: 27 | Registered: Sep 2001  |  IP: Logged
janderson
Member
Member # 87

posted October 15, 2001 04:39 PM      Profile for janderson   Email janderson   Send New Private Message      Edit/Delete Post  Reply With Quote 
Although I haven't tried this solution yet, some folks on the apple.com discussion board claim this solution will work like a champ. Download a copy of Zterm (www.download.com) and purchase a USB-->DB9 serial cable from Keyspan or IOGear. This will only work under OS9. Zterm has already been carbonized, but currently there are no drivers for either serial port on OSX. If anyone out there does a lot of work with Cisco, Nortel, Lucent, Nokia, and other networking equipment. I would recomend sending an email to IOGear and Keyspan begging them to continue support for this application of their product.

support@iogear.com, support@keyspan.com

-Joe


Posts: 21 | From: Dallas | Registered: Sep 2001  |  IP: Logged
redwoodtree
Junior Member
Member # 224

posted November 15, 2001 04:49 PM      Profile for redwoodtree     Send New Private Message      Edit/Delete Post  Reply With Quote 
Well, I got this working after a lot of hassle but it works just fine. The Zterm solution I have tried but I was done with zterm as soon as OS X PB was released.

1) Do not download Zterm, just use the terminal application which comes with OS X (under the Applications folder)
2) Purchase the keyspan adapter (USA-19 or the dual if you want)
3) Download the drivers for OS X and install them
4) Make sure you have the developer tools installed (gives you GCC, etc)
5) Download consolse server software from http://www.conserver.com
6) Compile and install conserver on OS X (./configure ; make ; sudo make install You may need to tweak compiler settings)
7) Then create a configuration file that maps the name of the device to your console
a) default install for the configuration is /usr/local/etc/conserver.cf
b) Put a line in conserver.cf like this (on a line by itself):
routera:/dev/tty.KeyUSA19191.1:9600p:&:
if there is more than one keyspan device add another entry:
routerb:/dev/tty.KeyUSA1813.1:9600p:&:
The OS X will dynamical create a device in /dev everytime you plug in the keyspan device so as long as you always plug it in the same port you should have the same device number. It's actually really cool to setup you conserver.cf just plug in the keyspan (after the drivers are installed) and type cd /dev ; ls -l and you'll see the tty.KeyUSA*** device
8) After you conserver.cf is setup start console server using the script that's also in /usr/local/etc, the conserver.rc:
conserver.rc start or
rc.conserver start (depending on what you call the type.
9) Then after conserver is started, simply run the console program (make sure it's in your path) from the command line:
a) /usr/local/bin/console routera
b) for me it asks the root password for some reason, haven't figured out why. It might ask you for your own password
c) There are other options to 'console' as well, like console -u (show users) or console -x (examine ports and baud) or console -h for help

10) Remember that everytime you reboot your Mac the consoleserver needs to be restarted!


Posts: 1 | From: seattle, wa | Registered: Nov 2001  |  IP: Logged
evilangel78
Junior Member
Member # 337

posted February 24, 2002 08:22 PM      Profile for evilangel78   Email evilangel78   Send New Private Message      Edit/Delete Post  Reply With Quote 
I guess I'm wondering what is wrong with zterm. I purchased the keyspan usb to pda adapter and tried conserver and it did not want to work. My boyfriend (who is really good with unix) and I spent 2 hours trying to get conserver to work and it just kept giving errors. We downloaded and installed zterm and within 1.5 minutes I was able to console into my cisco router. If anyone is going to do this I would recommend staying away from conserver and minicom. We had also tried downloading the source for minicom and couldnt even get it to compile without giving errors (yes I do have developer tools installed.) So I guess Im wondering why you are saying not to use zterm? It works great in OSX
Posts: 1 | From: California | Registered: Feb 2002  |  IP: Logged
janderson
Member
Member # 87

posted February 25, 2002 06:58 PM      Profile for janderson   Email janderson   Send New Private Message      Edit/Delete Post  Reply With Quote 
I have to agree with you. I've been using Zterm for about 4+ months now and Its great. It's simple easy and does everything I could want.
Posts: 21 | From: Dallas | Registered: Sep 2001  |  IP: Logged
<ignaciot>
unregistered

posted May 07, 2002 02:42 PM           Edit/Delete Post  Reply With Quote 
Did any of you guys try with minicom? Did any of you compiled minicom on MacOSX 10.1.4?
IP: Logged
<wavegroom>
unregistered

posted May 28, 2002 09:23 AM           Edit/Delete Post  Reply With Quote 
I'm looking too for a Terminal program for rs232
At this time I'm using Zterm, but I would prefer minicom....

minicom ist listed on fink.sf.net
but it doesn't worked....
so I hope that it will work in the near future...

greetings wavegroom


IP: Logged
<Joy>
unregistered

posted July 01, 2003 11:21 AM           Edit/Delete Post  Reply With Quote 
Zterm now runs native in osx so it should be no problem.
Grab the latest off of version tracker, I am using it
with a USA-19QW Keyspan usb to db9 adapter.

Only gotcha is that you should always use the same
port as when you first configure it.


IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2