Re: ethernet-to-serial support
Just picked up one of these: http://www.blackbox.com/Store/Detail.aspx/10-100-Terminal-Server-1-Port-RS-232-422-485-DB9-Male/LES4011A Using it to interconnect an IP camera (ethernet-to-serial) to a uController. It has a simple web interface for configuration and serves telnet and some other daemons by default. It also supports several config profiles, one of which establishes a bidirectional tunnel once there is an incoming TCP connection to the terminal server. Using nc(1) on one machine I open a tcp connection to the terminal server; nc $terminal_addr $port Using cu(1) on a separate machine I open a line using the call-out device. When a character string is terminated with CR into nc(1), the packet is sent to the terminal server and exists out the serial port. When any character is entered into cu(1) it is instantly sent over IP through the open TCP connection. Hope this helps. On Sat, Feb 25, 2012, at 07:45 PM, Nico Kadel-Garcia wrote: On Fri, Feb 24, 2012 at 12:01 PM, Dewey Hylton dewey.hyl...@gmail.comwrote: - Original Message - From: Henning Brauer lists-open...@bsws.de To: misc@openbsd.org Sent: Thursday, February 23, 2012 10:45:52 AM Subject: Re: ethernet-to-serial support * Dewey Hylton dewey.hyl...@gmail.com [2012-02-23 15:21]: i used the digi equipment over a decade ago with both hpux and aix with success. i'd really like to access these from my openbsd workstation and laptop, though the documentation mentions support for just about everything other than bsd. are any of these usable with bsd? and by that i mean can openbsd connect to the serial ports via ethernet with cu or something similar? i dunno the digi stuff, but console servers usually provide access to the serial ports via telnet or ssh. in general you don't wanna expose these to the 'net, but it's good enough for a seperate vlan or the like to an openbsd box that you either run conserver on or just use to jump through. ahhh, and now it is clear to me how much 'smarter' these devices have become since i used them before. i'm relatively certain the ethernet connectivity was limited to 10Mbps, and i certainly don't remember any ssh options. that tidbit right there fixes all my worries. thanks! From personal experience, every schmuck and his brother thinks they can whip such devices up out of el cheapo microcomputer cards, but after you add up all the connectors and cabling and especially design time to get it *right*, it's usally worth the investment to just buy a commercial box with cables. Figure roughly $50/port with cabling, and you'll be in the right price range. These are *invaluable* when testing kernel configurations. Byron Klippert byronklipp...@ml1.net (867) 332-4184
Re: ethernet-to-serial support
On Fri, Feb 24, 2012 at 12:01 PM, Dewey Hylton dewey.hyl...@gmail.comwrote: - Original Message - From: Henning Brauer lists-open...@bsws.de To: misc@openbsd.org Sent: Thursday, February 23, 2012 10:45:52 AM Subject: Re: ethernet-to-serial support * Dewey Hylton dewey.hyl...@gmail.com [2012-02-23 15:21]: i used the digi equipment over a decade ago with both hpux and aix with success. i'd really like to access these from my openbsd workstation and laptop, though the documentation mentions support for just about everything other than bsd. are any of these usable with bsd? and by that i mean can openbsd connect to the serial ports via ethernet with cu or something similar? i dunno the digi stuff, but console servers usually provide access to the serial ports via telnet or ssh. in general you don't wanna expose these to the 'net, but it's good enough for a seperate vlan or the like to an openbsd box that you either run conserver on or just use to jump through. ahhh, and now it is clear to me how much 'smarter' these devices have become since i used them before. i'm relatively certain the ethernet connectivity was limited to 10Mbps, and i certainly don't remember any ssh options. that tidbit right there fixes all my worries. thanks! From personal experience, every schmuck and his brother thinks they can whip such devices up out of el cheapo microcomputer cards, but after you add up all the connectors and cabling and especially design time to get it *right*, it's usally worth the investment to just buy a commercial box with cables. Figure roughly $50/port with cabling, and you'll be in the right price range. These are *invaluable* when testing kernel configurations.
Re: ethernet-to-serial support
On Feb 23, 2012, at 7:45 AM, Henning Brauer wrote: * Dewey Hylton dewey.hyl...@gmail.com [2012-02-23 15:21]: i used the digi equipment over a decade ago with both hpux and aix with success. i'd really like to access these from my openbsd workstation and laptop, though the documentation mentions support for just about everything other than bsd. are any of these usable with bsd? and by that i mean can openbsd connect to the serial ports via ethernet with cu or something similar? i dunno the digi stuff, but console servers usually provide access to the serial ports via telnet or ssh. in general you don't wanna expose these to the 'net, but it's good enough for a seperate vlan or the like to an openbsd box that you either run conserver on or just use to jump through. I just hooked up a Digi TS4 to my Alix 2D13 so I can do some upgrades (in case I pooch it and need a console; they're pretty cheap on ebay (I actually bought a TS2 but got a TS4)). Have another one hooked up to a Sun as well. But that's incoming, not outgoing. If you want the device's serial port to appear as a serial port on an OpenBSD box (i.e., /dev/...) you'll need some sort of driver. Probably not THAT hard, but. . . why? You can just SSH or Telnet to a port on the server, and you're talking to the serial port. Unless you have an app that expects a serial port device, there's no issue. Sean [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
Re: ethernet-to-serial support
- Original Message - From: Henning Brauer lists-open...@bsws.de To: misc@openbsd.org Sent: Thursday, February 23, 2012 10:45:52 AM Subject: Re: ethernet-to-serial support * Dewey Hylton dewey.hyl...@gmail.com [2012-02-23 15:21]: i used the digi equipment over a decade ago with both hpux and aix with success. i'd really like to access these from my openbsd workstation and laptop, though the documentation mentions support for just about everything other than bsd. are any of these usable with bsd? and by that i mean can openbsd connect to the serial ports via ethernet with cu or something similar? i dunno the digi stuff, but console servers usually provide access to the serial ports via telnet or ssh. in general you don't wanna expose these to the 'net, but it's good enough for a seperate vlan or the like to an openbsd box that you either run conserver on or just use to jump through. ahhh, and now it is clear to me how much 'smarter' these devices have become since i used them before. i'm relatively certain the ethernet connectivity was limited to 10Mbps, and i certainly don't remember any ssh options. that tidbit right there fixes all my worries. thanks!
ethernet-to-serial support
i've been using usb-to-serial adapters to deal with equipment such as serial-console openbsd boxes and cisco devices. i'd like to move toward something like the digi or perle console servers. i used the digi equipment over a decade ago with both hpux and aix with success. i'd really like to access these from my openbsd workstation and laptop, though the documentation mentions support for just about everything other than bsd. are any of these usable with bsd? and by that i mean can openbsd connect to the serial ports via ethernet with cu or something similar?
Re: ethernet-to-serial support
* Dewey Hylton dewey.hyl...@gmail.com [2012-02-23 15:21]: i used the digi equipment over a decade ago with both hpux and aix with success. i'd really like to access these from my openbsd workstation and laptop, though the documentation mentions support for just about everything other than bsd. are any of these usable with bsd? and by that i mean can openbsd connect to the serial ports via ethernet with cu or something similar? i dunno the digi stuff, but console servers usually provide access to the serial ports via telnet or ssh. in general you don't wanna expose these to the 'net, but it's good enough for a seperate vlan or the like to an openbsd box that you either run conserver on or just use to jump through. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de, Full-Service ISP Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed Henning Brauer Consulting, http://henningbrauer.com/