November 22, 2024, 08:21:55 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: serial port communication through modem less cable  (Read 8665 times)

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
serial port communication through modem less cable
« on: February 06, 2006, 06:26:36 AM »
Hi friends
 I want to do  
 Two computer communication using modem less cable on serial port
 I have one cable with two linux machine that cable is serial port connection
 So how can i do this
 Regards
 Linux User

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
serial port communication through modem less cable
« Reply #1 on: February 06, 2006, 04:35:53 PM »

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
Device ttyS0 locked by pid 3475
« Reply #2 on: February 07, 2006, 04:10:43 AM »
Hi Ricky
 Thanks for your help
 After completing whole configuration I had given the command
 pppd /dev/ttyS0 nodetach
 I got the followinf
 Device ttyS0 is locked by pid 3475

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
slattach
« Reply #3 on: February 07, 2006, 03:57:33 PM »
I want to communicate the two pc from serial port
 for that i configured my kernel to support serial port
 but still it given following error
 first one
 modprobe slip
 When i was given the above command it shows me following error
 FATAL: Module slip not found.
 when i was given following command
 slattach -p cslip -s 19200 /dev/ttyS0 &
 It gives me following error
 SLIP_set_disc(1): Invalid argument
 Can anybudy help me regarding to this
 Regards
 Linux user

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
serial port communication through modem less cable
« Reply #4 on: February 10, 2006, 12:10:34 PM »
deven.. .. I had written that tutorial with a help of friend but now no contact with him..

But to diagnose you can give a quick look to :
tldp.org/HOWTO/Serial-HOWTO.html

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
Thanks for your help
« Reply #5 on: February 13, 2006, 07:02:19 AM »
Dear friend
 Thanks for your help
 i will try for this
 I had done the kernel configurtation using make menuconfig
 i make * entry infront of SLIP (Module from kernel configuration)
 After that I had tried but not getting success
 Regards
 Linux User