I have an i686 mono core system configured as a CentOS-5.2 server. It has one DB9P RS-232 serial connector and six USB connectors. The DB9p is configuered as STTY0 for the attached MultiTec MT5638ZBA fax modem. I would very much like to connect my MS WindowsXPpro laptop, which only has USB connectors, to this server via telnet or ssh over a direct connection. Is there a way to connect / configure a comm port to a raw USB port in windows / centos and to use a direct cable connection between the two? Or, is a usb to serial converter device required at both ends? I expect to use either puTTY or hyperterm as the windows client. What I need to know is: Is this is even possible? How do you configure the tty ports on CentOS for this to work? How do you configure the comm port on MS-WinXPpro? What cable does one require? I have never had this problem before since all our hosts have previously come equipped with two serial ports. However, the next generation machines apparently have no RS-232 serial ports at all, just six usb ports. So, this problem might as well be faced now as later, when it is unavoidable. Regards, -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
on 7-30-2008 12:14 PM James B. Byrne spake the following:> I have an i686 mono core system configured as a CentOS-5.2 server. It has > one DB9P RS-232 serial connector and six USB connectors. The DB9p is > configuered as STTY0 for the attached MultiTec MT5638ZBA fax modem. I > would very much like to connect my MS WindowsXPpro laptop, which only has > USB connectors, to this server via telnet or ssh over a direct connection. > > Is there a way to connect / configure a comm port to a raw USB port in > windows / centos and to use a direct cable connection between the two? Or, > is a usb to serial converter device required at both ends? > > I expect to use either puTTY or hyperterm as the windows client. What I > need to know is: > > Is this is even possible?I think you will need 2 usb to serial convertors, one on the server and one on the laptop. The server will have to be set to redirect over the serial port, as it will not be telnet or ssh. Not all servers will redirect their early screens over a serial port, but grub, lilo, and the kernel can send their output over a serial port.> > How do you configure the tty ports on CentOS for this to work?The usb to serial adapter should be seen by the server and will be given a ttyS of its own.> > How do you configure the comm port on MS-WinXPpro?The adapter will get a virtual com port assigned by windows plug and play. This is how my laptop is. No serial ports, just a serial to usb adapter that I keep attached to the null-modem cable in my bag.> > What cable does one require?A serial crossover or "null-modem" cable.> > I have never had this problem before since all our hosts have previously > come equipped with two serial ports. However, the next generation > machines apparently have no RS-232 serial ports at all, just six usb > ports. So, this problem might as well be faced now as later, when it is > unavoidable. >It must not be a true server system, as all good servers have some sort of out-of-band management available for headless systems. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080730/142dca99/attachment-0001.sig>
James B. Byrne wrote:> I have an i686 mono core system configured as a CentOS-5.2 server. It has > one DB9P RS-232 serial connector and six USB connectors. The DB9p is > configuered as STTY0 for the attached MultiTec MT5638ZBA fax modem. I > would very much like to connect my MS WindowsXPpro laptop, which only has > USB connectors, to this server via telnet or ssh over a direct connection. > > Is there a way to connect / configure a comm port to a raw USB port in > windows / centos and to use a direct cable connection between the two? Or, > is a usb to serial converter device required at both ends? > > I expect to use either puTTY or hyperterm as the windows client. What I > need to know is: > > Is this is even possible? > > How do you configure the tty ports on CentOS for this to work? > > How do you configure the comm port on MS-WinXPpro? > > What cable does one require? > > I have never had this problem before since all our hosts have previously > come equipped with two serial ports. However, the next generation > machines apparently have no RS-232 serial ports at all, just six usb > ports. So, this problem might as well be faced now as later, when it is > unavoidable.I can't imagine why anyone would want to do this on any system capable of using a network connection instead. You can get usb cables that are really back-to-back usb<->100BaseT adapters and they are popular now because Windows/Vista knows how to migrate things from an XP box with them but it is still a fairly dumb concept if a real NIC is a possibility on at least one of the ends. The reason you don't see much about this kind of scenario any more is that most people would have a cheap home inernet router that would provide the network interconnect and act as a DHCP server to take care of the setup automatically. If you don't have/want one of those, a crossover ethernet cable will work with one, both, or neither NIC being a USB adapter and you can easily hand-configure the addresses. -- Les Mikesell lesmikesell at gmail.com
On Wed, July 30, 2008 15:14, James B. Byrne wrote:>> I have an i686 mono core system configured as a CentOS-5.2 server. >> It has one DB9P RS-232 serial connector and six USB connectors. >> The DB9p is configured as STTY0 for the attached MultiTec MT5638ZBA >> fax modem. I would very much like to connect my MS WindowsXPpro >> laptop, which only has USB connectors, to this server via telnet >> or ssh over a direct connection.On Wed Jul 30 20:19:44 UTC 2008, Les Mikesell lesmikesell at gmail.com wrote:> I can't imagine why anyone would want to do this on any system > capable of using a network connection instead.The availability of the nic cannot be guaranteed since the machine is being configured on one netblock and then being physically transferred to a distant location. It is entirely possible that whatever IP address is assigned to the eth0 connection here as being the one that will be used there may not actually work on the target network. The purpose of the serial connection is to permit a laptop to substitute for a monitor/kb/mouse on site in that eventuality. If it proves too cumbersome to enable direct host to host communications via usb then we will simply ship a 15" flat screen, kb and mouse with the unit and have them returned afterwards. We could, I suppose, reconfigure the available serial port as a tty and then connect that way, establish network connectivity, detach, and reconfigure the DB9p as an STTY for the fax service. Thank you for the cable suggestion. I will look into that. Regards, -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3