Connecting Windows XP to Linux via SERIAL NULL MODEM

klompen
klompen used Ask the Experts™
on
Hi,

I want to connect a Win XP box to Linux (RedHat 7.3) using SERIAL NULL MODEM CABLE.

I tried this link : http://www.linuxgazette.com/issue41/smyth.html 
But it did not work, I used agetty instead of getty.
And from Win XP, I used "Communications cable between two computers (COM1)" and "PPP" of course.

When I tried, it said "The connection attempt failed because the modem (or other connecting device) on the remote computer is out of order"

I tested the cable by using HyperTerminal from Win XP (I added "S0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt100" in /etc/inittab), and it worked well, so I assume that the null modem cable is OK.

But now, I need a ppp connection to that Linux box.

Please if you have experienced with this before, please inform me.

I also tested like this :
http://www.tldp.org/HOWTO/Serial-Laplink-HOWTO/index.html

It did not work either :(

Thanks.




Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Do not use getty: use pppd only (one step less, many possible mistakes avoided). Install someting like 'generig 56000 modem' driver in XP (are you sure that your connection does not allow more than 9600?). When you modem is installed, it's time to make Windows belive, that it's talking to modem, not to antother PC. To to that, locate your modem logfile under XP. Inside this file you should find what strings does it send to modem and what data it expects. Use it to write a connect script for pppd. For example, if Windows sends 'ATH0' modem should respond 'OK'. Generally, respond 'OK' to all AT comands, except ATDT or ATDP (requires 'CONNECT' response). I 've set up a connection between win98 and Linux in this way: I can give you my chatscript if you're interested, but you have to write your own chatscript anyway. It's not likely that XP's modem driver chats to modem in exactly same way 98's one does.

The first link gives you almost all you need, but you should put more effort in experimets :-)
klompen:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
Commented:
I think I should get those points :)
Take care,

Robson.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial