From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dmz-mailsec-scanner-4.mit.edu (dmz-mailsec-scanner-4.mit.edu [18.9.25.15]) by huchra.bufferbloat.net (Postfix) with ESMTP id 18FEF21F17F for ; Mon, 21 Oct 2013 16:03:36 -0700 (PDT) X-AuditID: 1209190f-b7fa08e0000009c6-2f-5265b2c74695 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP id 8C.F0.02502.7C2B5625; Mon, 21 Oct 2013 19:03:35 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id r9LN3YEx012787; Mon, 21 Oct 2013 19:03:34 -0400 Received: from localhost (team-rocket.mit.edu [18.96.2.200]) (authenticated bits=0) (User authenticated as quentin@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r9LN3Xkm003112; Mon, 21 Oct 2013 19:03:33 -0400 Date: Mon, 21 Oct 2013 19:03:33 -0400 (EDT) From: Quentin Smith To: Dave Taht In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1611843586-1860174293-1382396613=:14869" X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHIsWRmVeSWpSXmKPExsUixCmqrHt8U2qQQdNMFYu+rztZLPZsPMli cfaCogOzx5NPM9k9ds66y+6x/eIZpgDmKC6blNSczLLUIn27BK6MFT9fsxfska+4PGMqSwPj T8kuRg4OCQETicuf2LsYOYFMMYkL99azgdhCAvsYJXa8Nuti5AKyNwLZZ5axQyQ+M0o8OegE YrMIaEs0z33MAjKHTUBV4tmRMJCwiICyxJT7J9hBepkFpjBKXHp8BaxXWMBGYlXrDFYQm1Mg UKL/YhtYL6+Aq8TSn+oQu24zSbyYOIkZpEZUQFdic/dSsIN4BQQlTs58wgJiM4P0znzBPIFR YBaS1CwkqVlAY5kFrCWenbeACGtL3L/ZxraAkWUVo2xKbpVubmJmTnFqsm5xcmJeXmqRrole bmaJXmpK6SZGcDBL8u9g/HZQ6RCjAAejEg9vhlVqkBBrYllxZe4hRkkOJiVRXp71QCG+pPyU yozE4oz4otKc1OJDjBIczEoivN/7gHK8KYmVValF+TApaQ4WJXHemxz2QUIC6YklqdmpqQWp RTBZGQ4OJQneCxuBGgWLUtNTK9Iyc0oQ0kwcnCDDeYCGPwCp4S0uSMwtzkyHyJ9iVJQS510D khAASWSU5sH1wpLNK0ZxoFeEed1BqniAiQqu+xXQYCagwc6MYINLEhFSUg2MFunrQ1eHL9DI mKSwdfG7tyL8rMeaFLsEb329Fu7bFHcjaj8Tg+NGTXan47Fh0663HzUOTxHtt/Xc//xhbW5c +w72+CsGb35cv1ev432gOJnlfOLViak/Wg4ZBYd4Tljm+0f9hr390nmHLEQdfqzaWFBRwjZ9 6SefqTXXP3yc4rNknzTbtYt1SizFGYmGWsxFxYkA/Wmf3REDAAA= Cc: mosh-devel@mit.edu, Alex Chernyakhovsky , "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] [mosh-devel] mosh-server vs dropbear vs openwrt X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 23:03:36 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1611843586-1860174293-1382396613=:14869 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 21 Oct 2013, Dave Taht wrote: > On Mon, Oct 21, 2013 at 2:53 PM, Quentin Smith wrote: >> Are you able to run mosh-server by hand and connect to it? ("How do I ru= n >> the mosh client and server separately?" on the FAQ, if you don't know ho= w to >> do that.) These look like errors from dropbear. > > I am pretty ignorant of how mosh-server actually works, but this is a > pretty obvious error message... > > root@cerowrt:~# mosh-server > mosh-server needs a UTF-8 native locale to run. > > Unfortunately, the local environment ([no charset variables]) specifies > the character set "ASCII", > > The client-supplied environment ([no charset variables]) specifies > the character set "ASCII". > > /bin/sh: locale: not found > > Building in locale support will eat some cpu and flash. I'll see what > that takes. Still, I don't think this error is related to not being > able to open a tty. mosh does require locale support. It's possible you could build locale=20 support only into the mosh binary, and not the rest of the system, though= =20 that would be a hack as mosh expects all terminal output to be in UTF-8. > ssh thebox ls / works.... Try "ssh thebox -tt ls /". This will force a pty allocation, and possibly= =20 trigger the same error. --Quentin > >> >> --Quentin >> >> >> On Mon, 21 Oct 2013, Dave Taht wrote: >> >>> On Mon, Oct 21, 2013 at 2:27 PM, Alex Chernyakhovsky >>> wrote: >>>> >>>> Do you have devpts mounted on /dev/pts? >>>> >>>> Sincerely, >>>> -Alex >>>> >>>> >>>> On Mon, Oct 21, 2013 at 5:21 PM, Dave Taht wrote= : >>>>> >>>>> I have a basically compiling mosh-server for openwrt in my >>>>> ceropackages-3.3 repository for a while now, >>>>> pulling from commit 45bba44c83d0b5f6da32327bbcbd2a42d22adbb2 for mosh= =2E >>>>> >>>>> I'm still getting this error, and I'm puzzled as to what to point >>>>> fingers at. >>>>> >>>>> Mon Oct 21 21:18:04 2013 authpriv.err dropbear[2995]: >>>>> ioctl(TIOCSCTTY): Input/output error >>>>> Mon Oct 21 21:18:04 2013 authpriv.err dropbear[2995]: /dev/pts/1: No >>>>> such file or directory >>>>> Mon Oct 21 21:18:04 2013 authpriv.err dropbear[2995]: open /dev/tty >>>>> failed - could not set controlling tty: No such device or address >>>>> Mon Oct 21 21:18:05 2013 authpriv.info dropbear[2994]: Exit (root): >>>>> Disconnect received >>>>> >>>>> >>>>> -- >>>>> Dave T=E4ht >>>>> >>>>> Fixing bufferbloat with cerowrt: >>>>> http://www.teklibre.com/cerowrt/subscribe.html >>>>> >>>>> _______________________________________________ >>>>> mosh-devel mailing list >>>>> mosh-devel@mit.edu >>>>> http://mailman.mit.edu/mailman/listinfo/mosh-devel >>> >>> >>> yes: >>> >>> root@cerowrt:~# mount >>> /dev/root on /rom type squashfs (ro,relatime) >>> proc on /proc type proc (rw,noatime) >>> sysfs on /sys type sysfs (rw,noatime) >>> tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime) >>> /dev/mtdblock5 on /overlay type jffs2 (rw,noatime) >>> overlayfs:/overlay on / type overlayfs >>> (rw,noatime,lowerdir=3D/,upperdir=3D/overlay) >>> tmpfs on /dev type tmpfs (rw,relatime,size=3D512k,mode=3D755) >>> devpts on /dev/pts type devpts (rw,relatime,mode=3D600) >>> debugfs on /sys/kernel/debug type debugfs (rw,noatime) >>> >>> >>> -- >>> Dave T=E4ht >>> >>> _______________________________________________ >>> mosh-devel mailing list >>> mosh-devel@mit.edu >>> http://mailman.mit.edu/mailman/listinfo/mosh-devel > > > > --=20 > Dave T=E4ht > > Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscrib= e.html > --1611843586-1860174293-1382396613=:14869--