LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-23-2006, 10:16 AM   #1
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Rep: Reputation: 1
Windows to Linux connection via Serial Port


How do i setup a linux box to offer a console via serial cable to a windows box running hyperterm? I'm using Debian and Suse.
 
Old 02-23-2006, 11:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ahh i love the smell of google in the morning. http://users.skynet.be/langewouters/serialgetty.html
 
Old 02-23-2006, 11:21 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
btw, try tuTTY ( a puTTY fork) instead of crappy hypertrm.
 
Old 02-23-2006, 11:38 AM   #4
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Original Poster
Rep: Reputation: 1
serial port

is this what it is supposed to look like?


root 9338 0.0 0.0 120 4 pts/0 D+ 11:37 0:00 grep ttyS0 LESSKEY=/etc/lesskey.bin MANPATH=/usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/gnome/share/man INFODIR=/usr/local/info:/usr/share/info:/usr/info NNTPSERVER=news HOSTNAME=chaos XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB GNOME2_PATH=/usr/local:/opt/gnome:/usr SHELL=/bin/bash TERM=xterm HOST=chaos HISTSIZE=1000 PROFILEREAD=true SSH_CLIENT=192.168.1.72 35274 22 GNOME_PATH=:/opt/gnome:/usr QTDIR=/usr/lib/qt3 SSH_TTY=/dev/pts/0 USER=andrew JRE_HOME=/usr/lib/java/jre LS_COLORS=no=00:fi=00:di=01;34:ln=00;36i=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=40;31: ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=0 0;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31 :*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=0 1;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;3 5:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*. dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00 ;32: XNLSPATH=/usr/X11R6/lib/X11/nls HOSTTYPE=i386 PAGER=less MINICOM=-c on PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin MAIL=/var/mail/andrew GNOMEDIR=/opt/gnome CPU=i686 JAVA_BINDIR=/usr/lib/java/bin PWD=/boot/grub INPUTRC=/etc/inputrc JAVA_HOME=/usr/lib/java LANG=en_US.UTF-8 SDK_HOME=/usr/lib/java TEXINPUTS=:/home/andrew/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX HOME=/root SHLVL=2 JDK_HOME=/usr/lib/java OSTYPE=linux LESS_ADVANCED_PREPROCESSOR=no XCURSOR_THEME=crystalwhite no_proxy=localhost LS_OPTIONS=-a -N --color=tty -T 0 WINDOWMANAGER=/usr/X11R6/bin/kde GTK_PATH=/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0 LOGNAME=andrew MACHTYPE=i686-suse-linux LESS=-M -I SSH_CONNECTION=192.168.1.72 35274 192.168.1.50 22 LESSOPEN=lessopen.sh %s PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig INFOPATH=/usr/local/info:/usr/share/info:/usr/info:/opt/gnome/share/info ACLOCAL_PATH=/opt/gnome/share/aclocal DISPLAY=localhost:10.0 XAUTHLOCALHOSTNAME=chaos LESSCLOSE=lessclose.sh %s %s G_BROKEN_FILENAMES=1 COLORTERM=1 JAVA_ROOT=/usr/lib/java _=/bin/grep OLDPWD=/boot /bin/grep
 
Old 02-23-2006, 11:42 AM   #5
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Original Poster
Rep: Reputation: 1
Also how do tel Putty to go to the Serial Port?
 
Old 02-23-2006, 12:39 PM   #6
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Original Poster
Rep: Reputation: 1
serial ports

It keeps killing off the process. How can i find out why?
 
Old 02-23-2006, 01:40 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
check dmesg. also try jsut running the getty command in the foreground and see if there are any verbose flags available for whichever getty comman you use. and like i said, it's tuTTY, not puTTY. serial port access has been on the puTTY wishlist for years, hence someone's fork.
 
Old 02-23-2006, 02:31 PM   #8
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Original Poster
Rep: Reputation: 1
serial ports

where can i find this, i've looked on the putty website and on google? is it on freshmeat?
 
Old 02-23-2006, 02:39 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
how could you have googled when it's the third result?? http://www.google.com/search?q=tutty Anyway, this is quite irrelevant, i was just recommending a hyperterminal replacement...
 
Old 02-23-2006, 02:52 PM   #10
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Original Poster
Rep: Reputation: 1
serial ports

ok i'm trying this now. i hope this works.
 
Old 02-23-2006, 02:59 PM   #11
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Original Poster
Rep: Reputation: 1
this is my line in the /etc/inittab on suse 9.1 what am i doing wrong here?

S12:2345:respawn:/sbin/agetty -L -n -i -l /etc/issue /bin/bash ttyS0 19200 dumb
 
Old 02-23-2006, 03:57 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you're use /etc/issue as your login shell? why? did you not read the link i gave, or the manpage for getty or agetty?
 
  


Reply



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
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 09:32 PM
Windows to Linux via serial port longnam Linux - Networking 1 05-01-2005 06:50 AM
Windows to linux via serial port longnam Linux - Hardware 2 04-30-2005 02:07 PM
Detecting connection break on serial port listener on linux neelc20 Programming 6 12-04-2003 01:08 AM
Detecting connection break on serial port listener on linux neelc20 Linux - Newbie 3 11-29-2003 03:29 PM

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

All times are GMT -5. The time now is 09:58 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