Thursday, February 3, 2011

Connecting a USB laptop to a RJ45 serial port

We are about to get our first managed switch at work (Procurve 2520G-24-PoE), and this lowly programmer gets to put on his admin hat and try to configure it. The switch has an RJ45 serial port for console access. My laptop has USB ports but no serial port. In fact, there isn't a single computer in the office with a serial port.

I've seen USB-to-DB9 adapters, but I need to go from USB to RJ45 (serial). How would I go about accomplishing this? Do I need two adapters? Will USB-to-DB9 and then DB9-to-RJ45 work?

Thanks in advance.

  • The manual is published on the Internet. Two methods are suitable for connecting to the switch.

    The switch should come with a RJ45 to DB9 connector, which you can use any standard DB9 to USB adapter if you only have USB. This is the preferred method.

    Also, the switch will acquire an IP address from DHCP or Bootp servers by default. Once a lease is acquired, you can connect to the switch's IP via either telnet or a Web browser.

    Mitch Miller : You can also make sure that your PC is that DHCP server, by plugging in your PC directly to the switch and running a DHCP server (I use Tftpd32 Service Edition; it supports TFTP for firmware upgrades, as well as DHCP, Syslog, DNS - very handy for troubleshooting).
    From Warner
  • My laptop doesn't have any serial ports either, so I frequently use a USB->Serial dongle in combination with a DB9->RJ45 adaptor. Works just fine.

    Jon : That clarifies things perfectly. Thanks for the help!
    From ErikA
  • The USB to DB9 serial and DB9 to RJ-45 works perfectly fine. I use just that combination (with a standard Cisco DB9->RJ-45 serial cable) all the time.

    Mitch Miller : Same here - I use a USB-to-DB9 cable, and then use the black DB9-to-RJ45 that comes in the Procurve box.
    Jon : That clarifies things perfectly. Thanks for the help!
    From Helvick

0 comments:

Post a Comment