Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
02-23-2006, 10:16 AM
#1
LQ Newbie
Registered: Oct 2004
Distribution: Debian/SuSe
Posts: 17
Rep:
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.
02-23-2006, 11:21 AM
#2
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853
02-23-2006, 11:21 AM
#3
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853
btw, try tuTTY ( a puTTY fork) instead of crappy hypertrm.
02-23-2006, 11:38 AM
#4
LQ Newbie
Registered: Oct 2004
Distribution: Debian/SuSe
Posts: 17
Original Poster
Rep:
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;36
i=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01
r=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
02-23-2006, 11:42 AM
#5
LQ Newbie
Registered: Oct 2004
Distribution: Debian/SuSe
Posts: 17
Original Poster
Rep:
Also how do tel Putty to go to the Serial Port?
02-23-2006, 12:39 PM
#6
LQ Newbie
Registered: Oct 2004
Distribution: Debian/SuSe
Posts: 17
Original Poster
Rep:
serial ports
It keeps killing off the process. How can i find out why?
02-23-2006, 01:40 PM
#7
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853
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.
02-23-2006, 02:31 PM
#8
LQ Newbie
Registered: Oct 2004
Distribution: Debian/SuSe
Posts: 17
Original Poster
Rep:
serial ports
where can i find this, i've looked on the putty website and on google? is it on freshmeat?
02-23-2006, 02:39 PM
#9
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853
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...
02-23-2006, 02:52 PM
#10
LQ Newbie
Registered: Oct 2004
Distribution: Debian/SuSe
Posts: 17
Original Poster
Rep:
serial ports
ok i'm trying this now. i hope this works.
02-23-2006, 02:59 PM
#11
LQ Newbie
Registered: Oct 2004
Distribution: Debian/SuSe
Posts: 17
Original Poster
Rep:
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
02-23-2006, 03:57 PM
#12
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853
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?
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 09:04 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News