?
Solved

setup serial device to talk to router

Posted on 2000-02-21
8
Medium Priority
?
314 Views
Last Modified: 2010-03-18
im very clueless here.. I want to setup up my linux box via serial cable to connect to my router..
I know that data rate and flow control I just dont have a clue where to start on my linux box....

1: how do i set up a serial cable through liunx?
2: where will the dispaly  go?

(this is about the only reason i have M$ installed on my laptop so once i get this i can blow it away)
Thanks for any and all help.
0
Comment
Question by:tgreaser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 3

Expert Comment

by:jyu_88
ID: 2544118
You can run kermit on your Linux box to access the router via serial cable.
You don't need to do special things to setup the serial unless you are using multi-port serial device, which certainly needs to compile in support into the kernel.

your/Linux/prompt> kermit
kermit/promt>set port /dev/ttyS1
kermit/promt> connect

you may need to hit enter once or two to get the prompt.

0
 
LVL 40

Accepted Solution

by:
jlevie earned 150 total points
ID: 2544174
I do this all the time with my laptop (ThinkPad 1472 running RH 6.1) and kermit is way overkill. First pick which com port you want to use, I don't have a choice as all I've got is com1, and set it's tty (/dev/ttyS0 for me) to be rw-rw-rw so that anyone can open it.
Then just go into a terminal window (an xterm is fine) and do "cu -l/dev/ttyS0 -s9600". End the sessoion by hitting a carriage return and then "~." (see man cu)
0
 

Author Comment

by:tgreaser
ID: 2546470
Thanks for your help.. jevie ;jyu_88
one last question if you dont mind.

I cant seem to chmod rw-rw-rw my ttyS?

i even droped my box into single usermode. Im running 6.0 redhat

thanks again all
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 40

Expert Comment

by:jlevie
ID: 2546757
If you are using com1 (that should be /dev/ttyS0 and you can tell in the boot up dialog), do, as root, "chmod 666 /dev/ttyS0"
0
 

Author Comment

by:tgreaser
ID: 2546863
duhh.. sorry had a super brain cramp there..

kinda starange that  
root#>chmod +w /dev/ttyS0 didnt work

oh well

Thanks a million....
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2547045
That will only change the modes with respect to the umask. If the umask is 002, it'll change "ug" and leave "o" alone. A umask of 022 chamges only the "u" field.
0
 

Author Comment

by:tgreaser
ID: 2547122
Brain cramp two for today...

thanks a million again.. Im messing with my configs right now thanks to your help.
0
 

Author Comment

by:tgreaser
ID: 2547680
Brain cramp two for today...

thanks a million again.. Im messing with my configs right now thanks to your help.
0

Featured Post

Python: Series & Data Frames With Pandas

Learn the basics of Python’s pandas library of series & data frames and how we can use these tools for data manipulation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question