Hi Joerg, I am using 12.09 because my host kernel is 3.10.
I am starting dropbear, shows no error. ps command shows no running
dropbear.
ssh to contaienr gives connection refused.
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
312 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.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)
My conf file I am attaching.
On Mon, Nov 9, 2015 at 4:06 PM, Joerg Jungermann <[email protected]> wrote:
> Hi Divya,
>
> please stick to the mailing list.
>
> > I am running 3.10 kernel on host. So I am using
> http://downloads.openwrt.org/attitude_adjustment/12.09/x86/generic/openwrt-x86-generic-roI
> <
> http://downloads.openwrt.org/attitude_adjustment/12.09/x86/generic/openwrt-x86-generic-rootfs.tar.gz>otfs.tar.gz
> <
> http://downloads.openwrt.org/attitude_adjustment/12.09/x86/generic/openwrt-x86-generic-rootfs.tar.gz>
> rootfs for openwrt container .
> Have you tried to use a newer Openwrt Version as 12.09 is very old.
>
> >
> > I am trying to start dropbear and diable telent so that I can ssh from
> remote but I the dropbear not starting
> >
> > passwd
> > Changing password for root
> > New password:
> > Bad password: too short
> > Retype password:
> > Password for root changed by root
> > 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
> > 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 --
> > 294 root 1244 R /usr/sbin/telnetd -l /bin/login.sh
> > 300 root 864 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>
> > 332 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
> > 376 root 1256 S /bin/ash --login
> > 399 root 1244 R ps
> >
> > but getting below error when trying to login from changed passwd
> >
> > /usr/lib/lua/luci/sauth.lua:60: Security Exception: Session ID is
> invalid!
> > stack traceback:C]: in function 'assert'
> > /usr/lib/lua/luci/sauth.lua:
> >
> > 60: in function 'write'
> > /usr/lib/lua/luci/dispatcher.lua:378: in function 'dispatch'
> > /usr/lib/lua/luci/dispatcher.lua:195: in function
> </usr/lib/lua/luci/dispatcher.lua:194>
> >
> >
> > Do you have any idea about these errors?
> Nope, I do no use LuCi.
>
> Have you tried starting dropbear by hand in foreground?
> What are the error messages?
> What does "mount" say? Is there a /tmp mounted?
> How does your LXC config file look like.
>
> regards,
>
> Joerg
>
>
open.conf
Description: Binary data
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
