LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-17-2003, 05:10 AM   #1
sg3
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
serial communication - null modem cable




I want to know how to establish serial port communication between two linux systems using null modem cable

Thanks
 
Old 07-17-2003, 05:25 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
What type of connection. If you just want to send character from on box to another then you just plug in the cable and use minicom as a terminal emulator. If you want to run IP over the cable then you'll want to look into SLIP. Although if you are going to use IP over the cable then it'll be a damn site easier and a whole world faster just to get two old network cards and network the boxes.

cheers

Jamie...

Last edited by jharris; 07-17-2003 at 05:27 AM.
 
Old 07-17-2003, 05:49 AM   #3
sg3
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I want to login to another system inorder to retrieve data from it.I am using Null modem cable(2 & 3 crossed). I tried using minicom but i didnt get login prompt.
getty is running on one system and i tried to connect using minicom from other system. but I didnt suceed in doing so
 
Old 07-17-2003, 06:08 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Ah, right now I follow. You need to edit /etc/inittab to run a suitable getty on the serial device so you get the login prompt. Have a look at /etc/inittab. Most of them have some example serial options that are commented out which will probably do what you want. You'll need to tell init to reread the config file after you'ved edited it. To do this you'll want to run
Code:
telinit q
.

HTH

Jamie...
 
  


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
Null modem cable question msills Linux - Hardware 1 11-09-2005 06:15 PM
null modem cable connection PC-PC Boiler_Mafiot Linux - Software 2 04-12-2005 01:51 AM
how to connect null-modem-cable jiawj Red Hat 1 11-25-2004 04:00 PM
A laptop, a pc, a serial null cable modem, ppp, and perl tomascebrian Linux - Networking 0 11-25-2003 04:40 AM
this work as a null modem cable ? Pres Linux - Hardware 2 08-27-2003 12:12 PM


All times are GMT -5. The time now is 08:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration