From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-x22a.google.com (mail-oa0-x22a.google.com [IPv6:2607:f8b0:4003:c02::22a]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 15E3221F164 for ; Mon, 21 Oct 2013 15:55:58 -0700 (PDT) Received: by mail-oa0-f42.google.com with SMTP id k14so5818413oag.29 for ; Mon, 21 Oct 2013 15:55:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QT4CcKEBjPBWtf1jIm6b/kgytCBMTQzp4lwtTayfJ68=; b=wBketU9exnAibOjKZNjcw1BzsdNcp3EpoZ1/DH9cqZabxhRApmGoF0NIg2qHCC7ToJ N212GgLtFtYQy6DQcEcVKAXjhMmjI3rbCvs1FPEJ8Hi3TwmUQPQDjeZSEq6GnjSYWJrA bMMmaSVkXS8dCfIJZh/lHfxG16hPK/N+nbrqMNXP01ZFpnyzjBC4Fhr8WmWO/xrD+UdI OnyOPZmjorCWj2yJDhHZkqX+cErprk26AqZIfHgoQWUZRDk0BmmxT9f+lgfp8nffdVVK 1RJDe47VaBpTg3mqkLHeBE/xIN3XeZTf8vCfpGMH+QxW71aOuGrBde42KG35j8q7+8VF h56g== MIME-Version: 1.0 X-Received: by 10.182.135.194 with SMTP id pu2mr3197525obb.38.1382396157129; Mon, 21 Oct 2013 15:55:57 -0700 (PDT) Received: by 10.76.19.115 with HTTP; Mon, 21 Oct 2013 15:55:57 -0700 (PDT) In-Reply-To: References: Date: Mon, 21 Oct 2013 18:55:57 -0400 Message-ID: From: Outback Dingo To: Dave Taht Content-Type: multipart/alternative; boundary=089e0122a6c0e27b0004e9482fab Cc: mosh-devel@mit.edu, Quentin Smith , 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 22:55:58 -0000 --089e0122a6c0e27b0004e9482fab Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable mosh requires UTF-8 native locale to run, i fought with it for a while, but finally got it working and thats what it needs. On Mon, Oct 21, 2013 at 6:16 PM, 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 r= un > > the mosh client and server separately?" on the FAQ, if you don't know > how 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. > > ssh thebox ls / works.... > > > > > --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 mos= h. > >>>> > >>>> 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 > > > > -- > Dave T=E4ht > > Fixing bufferbloat with cerowrt: > http://www.teklibre.com/cerowrt/subscribe.html > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel > --089e0122a6c0e27b0004e9482fab Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
mosh requires=A0=A0UTF-8 native locale to run, i fought wi= th it for a while, but finally got it working and thats what it needs.


On Mon, Oct = 21, 2013 at 6:16 PM, Dave Taht <dave.taht@gmail.com> wrote= :
On Mon, Oct 21, 2013 at 2:= 53 PM, Quentin Smith <quentin@mit.edu= > wrote:
> Are you able to run mosh-server by hand and connect to it? ("How = do I run
> the mosh client and server separately?" on the FAQ, if you don= 9;t know how 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.

ssh thebox ls / works....

>
> --Quentin
>
>
> On Mon, 21 Oct 2013, Dave Taht wrote:
>
>> On Mon, Oct 21, 2013 at 2:27 PM, Alex Chernyakhovsky <achernya@mit.edu>
>> wrote:
>>>
>>> Do you have devpts mounted on /dev/pts?
>>>
>>> Sincerely,
>>> -Alex
>>>
>>>
>>> On Mon, Oct 21, 2013 at 5:21 PM, Dave Taht <dave.taht@gmail.com> wrote:
>>>>
>>>> I have a basically compiling mosh-server for openwrt in my=
>>>> ceropackages-3.3 repository for a while now,
>>>> pulling from commit 45bba44c83d0b5f6da32327bbcbd2a42d22adb= b2 for mosh.
>>>>
>>>> I'm still getting this error, and I'm puzzled as t= o 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



--
Dave T=E4ht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscrib= e.html
_______________________________________________

--089e0122a6c0e27b0004e9482fab--