[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Please help - dialin-server?
-----BEGIN PGP SIGNED MESSAGE-----
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
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
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).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)
-----END PGP SIGNATURE-----
Main Index |
Thread Index |