nmdm question

Vladimir B. Grebenschikov vova at sw.ru
Sun Sep 28 22:41:56 PDT 2003


Hi 

I have try to use nmdm to make short circuit between pppd and ssh
(both need tty in my case).

All is ok with pppd, but ssh client wait in ioctl():

# ps alxp 24269
  UID   PID  PPID CPU PRI NI   VSZ  RSS MWCHAN STAT  TT       TIME
COMMAND
  207 24269 24267   0   6  0  3352 2000 ttywai S+    p4    0:00.08 ssh
-v -v -v -t -i .ssh/id_tun 195....
# strace -p 24269
ioctl(0, TIOCSETAWS ...

sshd debug shows:
...
debug3: tty_make_modes: 91 1
debug3: tty_make_modes: 92 0
debug3: tty_make_modes: 93 0
debug2: fd 3 setting TCP_NODELAY
debug1: Requesting authentication agent forwarding.
debug1: Requesting shell.
debug1: Entering interactive session.

Looks like invalid support for that ioctl in nmdm driver ?

Any ideas ?

-- 
Vladimir B. Grebenschikov <vova at sw.ru>
SWsoft Inc.



More information about the freebsd-hackers mailing list