NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please help - dialin-server?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 18 Nov 2008, Wouter Klouwen wrote:

> Nino on NetBSD 4.0(nbsdold%gmx.net@localhost) said 2008.11.18 16:41:02 +0000:
> > So far I am actually trying something on a far lower level... I want to 
> > establish a console connection between these computers. X comes afterwards, 
> > and possibly also some games with my cellphone (there appear to exist java 
> > applets like mutelnet or midpssh to command the computer from the 
> > cellphone).
> 
> Surely you just want to enable getty on your /dev/ucom0 (or whatever it was)
> in /etc/ttys?

yup, just copy the tty00 line and change it to ttyU0 (whuch is the device 
node in /dev that coresponds to ucom0).

if ttyU0 dosn't exist (and i'm guessing it does if you've got minicom and 
cu running) then you can create it with:

# cd /dev
# ./MAKEDEV ttyU0

after you've changed /etc/ttys you restart init with:

# kill -HUP 1

then when you connect to the machine with the modem you should get the 
NetBSD banner and login prompt (If the modem on the server side auto 
answers etc.)

P.S. you might want to look at comms/mgetty+sendfax in pkgsrc which 
handles this kind of thing as well

- -- 
[http://pointless.net/]                                   [0x2ECA0975]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)

iQEVAwUBSSLu0QCB+Qwuygl1AQI/pgf/bj/xC4toWvyfMhcLGTquY0lRQ1MA01g6
GZllhE9Ghtj9cmbE5T8n3m3FH1qdBJT8u66Ec5/4oTvM+JsX9Sn929wqMGvxmpyJ
h2UO5FmoqkvJN9xjbeAewFLrLkb8uU2v+DS8N/RZz/OHrDBBEG+/HPyJXMVzvnrn
xaWI/c+j0NOIL1YuBo0IZuCtvytgQoB+oU7nUDVK1mEi+tv4tl2etlyQQoWIXWAR
QMVAvkwzaGHlawBP4mpdHuOXwQIxHjYzfFd2+XU1mR2EabgLTr/M+DZ8OlwvcKy1
I8KiqUttoGz4xawKjZaqZlGtTR8qyR9yQCUd4i1r1nRSPLH/HcLWEQ==
=bMre
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index