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 Mon, 17 Nov 2008, Nino on NetBSD 4.0 wrote:
> Thank you, I just had a quick look at it... looks promising... but can I only
> transmit characters with it, or really log in? I would like to log in.
I guess by 'log in' you mean 'use X windows' (the graphical user
interface).
In which case you'll need to set up ppp and tcp/ip and then use vnc or X
for remote screen access.
To get ppp working i think you need to:
edit /etc/ttys, add the right device name for your serial port
(/dev/ttyU0 for ucom0, umodem will also end up as a /dev/ttyU<something>
device, but i'm not sure which one), replace the "/usr/libexec/getty
std.9600" with "/usr/sbin/pppd /dev/ttyU<whatever> 115200 passive auth"
(and probably a some more options, i'm not sure what the minimal set is).
(you may want a better baud rate than 115200).
You'll need to use private ip's for the link, e.g. 10.11.12.1:10.11.12.2
For remote access to an X session i've used Xvnc with these command line
args:
Xvnc :1 -desktop thingy -auth /home/user/.Xauthority -geometry 1024x768
- -depth 16 -rfbwait 120000 -rfbauth /home/user/.vnc/passwd -rfbport 5901
You'll need vncpasswd(1) to generate ~/.vnc/passwd
(I also use -localhost, but thats cos I access it over an ssh tunnel,
You may want to do that too, but thats aditional overhead).
- --
[http://pointless.net/] [0x2ECA0975]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)
iQEVAwUBSSLZ1gCB+Qwuygl1AQIxmgf/Z12FkwTkNASjMdw5a0OKlv+8v1xeCAh0
4nUmT3QMdXF66NnsNqRWeAWwtxXqzIvyIhKNz77xkWy2BYWJCzPeuEtNDm5vkDQ2
ti6NVObzarL52OxfVRFS4zz1hM2Fke0dap9qTSbnTEGSCVyytVJaEUAOl74mDJUV
tBRYBKyRV8cT7HlPFq0fXKvR2AIuzujSyfYfBnqcLU2I5WmWwTqvm0RHrTxqCdWI
18JKN66jWmjrSbQ2ZEoRGyg61CtUoWivFtiBd2qvSBDT/XZtvsYoappdcbG3/Ntj
5XImaudNVj0tBQHO328wOG3HBa12IXcLamb8/3MJAf8m2K4jLlwzfA==
=H9Ll
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index