LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-11-2005, 04:27 PM   #1
tur third
Member
 
Registered: Jun 2005
Location: Surrey, UK
Distribution: Ubuntu 10.04, 10.10
Posts: 187

Rep: Reputation: 24
Serial cable and pppd woes


I am trying to connect my linux pc with my window98 pc via null modem serial cable. I have had a go at a HOWTO document but am having little success. Can anyone suggest where I am going wrong, or what I can do to resolve the problem?

I am confident I have the right COM ports (COM2 on Win pc and ttyS0 (COM1) on linux.

I have created a file 'connect.chat' with:

TIMEOUT 3600
CLIENT CLIENTSERVER\c

I have also created an 'options.ttyS0' file. When I run pppd with 'dryrun' options I get:

[root@localhost ppp]# pppd /dev/ttyS0 nodetach dryrun
pppd options in effect:
nodetach # (from command line)
dryrun # (from command line)
noauth # (from /etc/ppp/options.ttyS0)
/dev/ttyS0 # (from command line)
115200 # (from /etc/ppp/options.ttyS0)
lock # (from /etc/ppp/options.ttyS0)
connect chat -v -f /etc/ppp/connect.chat # (from /etc/ppp/options.ttyS0)
crtscts # (from /etc/ppp/options.ttyS0)
local # (from /etc/ppp/options.ttyS0)
asyncmap 0 # (from /etc/ppp/options.ttyS0)
silent # (from /etc/ppp/options.ttyS0)
192.168.0.1:192.168.0.2 # (from /etc/ppp/options.ttyS0)
[root@localhost ppp]#

When I do it without 'dryrun' it seems to hang and the prompt does not come back, however a process does seem to be running. As you can expect the windows machine fails to connect to the linux one.

The HOWTO suggests using ping to see if the connection is there, but I don't understand what IP address to ping? Any ideas?
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sportster Flash 56000 Rev. 10.3.80 serial dial but can't connect (pppd error i think) nik*s Linux - Hardware 4 08-07-2005 08:58 AM
Serial/Console Cable nistelrooy Linux - Newbie 4 07-29-2005 01:21 AM
Serial Port Woes katlea Linux - Newbie 1 03-24-2005 04:59 PM
pppd and Airlink Pinpoint CDMA modem woes bbeers Linux - Networking 1 11-09-2004 12:39 PM
Cannot connect to ISP (cable modem+dhcp+pppd+pptp) iklinux Linux - Networking 0 05-11-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration