Help settting up Serial Terminal

Philip Hallstrom philip at adhesivemedia.com
Wed May 14 14:24:11 PDT 2003


I haven't done it with FreeBSD 5, but on my 4.x machines...

/etc/ttys:
ttyd0   "/usr/libexec/getty std.9600"   dialup  on  secure

then "kill -HUP 1" to restart init.

Also, add "-P" to /boot.config to tell FreeBSD to use the serial console
for input/output if there isn't a monitor/keyboard hooked up upon
bootup...

Can't imagine Zterm wouldn't work, but I know I've connected with
HyperTerminal that comes with windows...

good luck.

-philip

On Wed, 14 May 2003, Paul Gobble wrote:

> I could really use some help.  I have "headless" FreeBSD 5 web server
> that I'd like to be able to log on to via a serial link to my lap top.
> I've been using the FreeBSD Handbook as my guide, but its just not
> getting me there.
>
> Without getting too far into it, does anyone have any suggestion as to
> how I might trouble shoot the system?  What test can I preform to
> isolate the trouble spot?  If you're willing, please read on to get
> more details about what I have done so far.
>
> Thanks for your time + help
> Paul Gobble
>
>
> So far I've installed a couple of terminal emulators on the test PCs
> (one is a Mac OsX TiBook and one is a win2k box). For emulation
> software I've tried (Mac) Zterm and MacWise, (win2k) KoalaTerm.
>
> For the serial cable I'm using a Manhattan LapLink female to female
> null modem serial cable.  When attaching to the TiBook, I add a KeySpan
> PDA Adapter (pn# USA-19). I followed that recommendations I found
> here...
> http://www.tertial.org/projects/mac-console/
>
> On the FreeBSD box I've edited the etc/ttys as below
> root# vim /etc/ttys
> .
> .
> .
> # Serial terminals
> # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
> ttyd0   "/usr/libexec/getty std.19200"  vt100   on  insecure
> ttyd1   "/usr/libexec/getty std.19200"  vt100   on  insecure
> ttyd2   "/usr/libexec/getty std.9600"   dialup  off secure
> ttyd3   "/usr/libexec/getty std.9600"   dialup  off secure
> .
> .
> .
>
>
>
> The I checked a few things ...
> root# /sbin/dmesg | grep sio
> usb0: USB revision 1.0
> usb1: USB revision 1.0
> sio0 port 0x3f8-0x3ff irq 4 on acpi0
> sio0: type 16550A
> sio1 port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
>
>
>
>
> [sbox.net:~] root# ps -axww | grep getty
>    471  ??  I      0:00.00 /usr/libexec/getty std.19200 ttyd0
>    472  ??  I      0:00.00 /usr/libexec/getty std.19200 ttyd1
>    463  v0  Is+    0:00.00 /usr/libexec/getty Pc ttyv0
>    464  v1  Is+    0:00.00 /usr/libexec/getty Pc ttyv1
>    465  v2  Is+    0:00.00 /usr/libexec/getty Pc ttyv2
>    466  v3  Is+    0:00.00 /usr/libexec/getty Pc ttyv3
>    467  v4  Is+    0:00.00 /usr/libexec/getty Pc ttyv4
>    468  v5  Is+    0:00.00 /usr/libexec/getty Pc ttyv5
>    469  v6  Is+    0:00.00 /usr/libexec/getty Pc ttyv6
>    470  v7  Is+    0:00.00 /usr/libexec/getty Pc ttyv7
>
>
>
> But in the end, I get nothing when I connect it all up.  None of the
> emulators on either platform give me a login prompt, or anything at all
> for that matter.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list