Hi,

I have setup passwd for root. but still dropbear giving

dropbear -E
[490] Nov 12 05:48:21 Premature exit: Bad buf_getptr




On Thu, Nov 12, 2015 at 10:47 AM, Nishant Sharma <[email protected]>
wrote:

> Hi Divya,
>
> It seems, you first need to telnet to and set the root password, which is
> the default behaviour of openwrt.
>
> This process is waiting for login on telnet:
>
>   292 root      1240 S    /usr/sbin/telnetd -l /bin/login.sh
>
> Regards,
> Nishant
>
>
> On Thursday 12 November 2015 10:15 AM, Divya Vyas wrote:
>
> Hi,
>
> Runinng dropbear in foreground
>
> root@OpenWrt:/# dropbear -F
> root@OpenWrt:/# ps
>   PID USER       VSZ STAT COMMAND
>     1 root      1252 S    init
>     8 root      1260 S    /bin/ash --login
>   110 root      1256 S    /sbin/syslogd -C16
>   112 root      1236 S    /sbin/klogd
>   114 root       700 S    /sbin/hotplug2 --override --persistent
> --set-rules-file /etc/hotplug2.rules --set-coldplug-cmd /sbin/udevtrigger
> --m
>   292 root      1240 S    /usr/sbin/telnetd -l /bin/login.sh
>   298 root       868 S    /usr/sbin/uhttpd -f -h /www -r OpenWrt -x
> /cgi-bin -t 60 -T 30 -A 1 -n 3 -R -p 0.0.0.0:80
>   330 root      1248 S    /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p
> 1.openwrt.pool.ntp.org -p 2.openwrt.pool.ntp.org -p 3.openwrt.pool.nt
>   382 root      1244 R    ps
>
>
>
>
> On Mon, Nov 9, 2015 at 5:00 PM, Joerg Jungermann <[email protected]> wrote:
>
>> Hi,
>>
>> > I am using 12.09 because my host kernel is 3.10.
>> What is the point of the kernel? 14.04 AFAIK uses 3.10, too.
>>
>> > I am starting dropbear, shows no error. ps command shows no running
>> dropbear.
>> Have you started dropbear in foreground as demanded, what does logread
>> say to dropbears starting attempts?
>>
>> > root@OpenWrt:/# /etc/init.d/dropbear start
>> > root@OpenWrt:/# ps
>> >   PID USER       VSZ STAT COMMAND
>> >     1 root      1252 S    init
>> >     8 root      1256 S    /bin/ash --login
>> >    90 root      1256 S    /sbin/syslogd -C16
>> >    92 root      1236 S    /sbin/klogd
>> >    94 root       700 S    /sbin/hotplug2 --override --persistent
>> --set-rules-file /etc/hotplug2.rules --set-coldplug-cmd /sbin/udevtrigger --
>> >   281 root       860 S    /usr/sbin/uhttpd -f -h /www -r OpenWrt -x
>> /cgi-bin -t 60 -T 30 -A 1 -n 3 -R -p 0.0.0.0:80 <http://0.0.0.0:80>
>> >   312 root      1248 S    /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org <
>> http://0.openwrt.pool.ntp.org> -p 1.openwrt.pool.ntp.org <
>> http://1.openwrt.pool.ntp.org> -p 2.openwrt.pool.ntp.org <
>> http://2.openwrt.pool.ntp.org> -p 3.openwrt.pool.n
>> >   327 root      1244 R    ps
>> > root@OpenWrt:/# mount
>> > rootfs on / type rootfs (rw)
>> > /dev/root on / type ext4 (rw,relatime,data=ordered)
>> > proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
>> > sysfs on /sys type sysfs (ro,relatime)
>> > tmpfs on /tmp type tmpfs (rw,relatime,size=8192k)
>> > devpts on /dev/lxc/console type devpts
>> (rw,relatime,gid=5,mode=620,ptmxmode=000)
>> > devpts on /dev/lxc/tty1 type devpts
>> (rw,relatime,gid=5,mode=620,ptmxmode=000)
>> > devpts on /dev/lxc/tty2 type devpts
>> (rw,relatime,gid=5,mode=620,ptmxmode=000)
>> > devpts on /dev/lxc/tty3 type devpts
>> (rw,relatime,gid=5,mode=620,ptmxmode=000)
>> > devpts on /dev/lxc/tty4 type devpts
>> (rw,relatime,gid=5,mode=620,ptmxmode=000)
>> > devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
>>
>> Regards
>>   Joerg
>> _______________________________________________
>> openwrt-users mailing list
>> [email protected]
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
>>
>
>
>
> _______________________________________________
> openwrt-users mailing 
> [email protected]https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
>
>
>
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
>
>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to