[Cerowrt-devel] [mosh-devel] mosh-server vs dropbear vs openwrt
Quentin Smith
quentin at MIT.EDU
Mon Oct 21 19:03:33 EDT 2013
On Mon, 21 Oct 2013, Dave Taht wrote:
> On Mon, Oct 21, 2013 at 2:53 PM, Quentin Smith <quentin at 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'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 at 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
support only into the mosh binary, and not the rest of the system, though
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
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 <achernya at 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 at 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 45bba44c83d0b5f6da32327bbcbd2a42d22adbb2 for mosh.
>>>>>
>>>>> 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äht
>>>>>
>>>>> Fixing bufferbloat with cerowrt:
>>>>> http://www.teklibre.com/cerowrt/subscribe.html
>>>>>
>>>>> _______________________________________________
>>>>> mosh-devel mailing list
>>>>> mosh-devel at mit.edu
>>>>> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>>>
>>>
>>> yes:
>>>
>>> root at 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=/,upperdir=/overlay)
>>> tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
>>> devpts on /dev/pts type devpts (rw,relatime,mode=600)
>>> debugfs on /sys/kernel/debug type debugfs (rw,noatime)
>>>
>>>
>>> --
>>> Dave Täht
>>>
>>> _______________________________________________
>>> mosh-devel mailing list
>>> mosh-devel at mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>
>
>
> --
> Dave Täht
>
> Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html
>
More information about the Cerowrt-devel
mailing list