linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Password on ELDK nfs booting
@ 2002-08-27  8:17 Sangmoon Kim
  2002-08-27 13:24 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Sangmoon Kim @ 2002-08-27  8:17 UTC (permalink / raw)
  To: linuxppc-embedded


Hi?
I booted on nfs mounted ELDK.
I changed root password, rebooted and enter the password.
But the password did not entered.
I got Login timed out message after 60 second.
How can I be loged in?
The following is the error message.

eva login: root
Password: Login timed out after 60 seconds
tts/0: 1 input overrun(s)
d

Thank you in advance.
- Sangmoon Kim -

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Password on ELDK nfs booting
  2002-08-27  8:17 Sangmoon Kim
@ 2002-08-27 13:24 ` Wolfgang Denk
       [not found]   ` <009e01c24e61$9bbfd5b0$1a11efcb@industrialDiv.hanasys.co.kr>
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2002-08-27 13:24 UTC (permalink / raw)
  To: Sangmoon Kim; +Cc: linuxppc-embedded


Hi,

in message <007601c24da2$2f0e4420$1a11efcb@industrialDiv.hanasys.co.kr> you wrote:
>
> I booted on nfs mounted ELDK.
> I changed root password, rebooted and enter the password.
> But the password did not entered.
> I got Login timed out message after 60 second.

You must have done something wrong; setting, modifying  and  deleting
passwords works fine here:

bash-2.04# cat /etc/passwd
root::0:0:root:/root:/bin/bash
bin:*:1:1:bin:/bin:
...
bash-2.04# passwd
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully
bash-2.04# cat /etc/passwd
root:$1$kVReOwuM$hoM6p0uK11zbUAFP378O/1:0:0:root:/root:/bin/bash
bin:*:1:1:bin:/bin:
...
bash-2.04# exit
logout

pm826 login: root
Password:
Last login: Tue Aug 27 15:21:01 on console
bash-2.04# passwd -d root
Changing password for user root
Removing password for user root
passwd: Success
bash-2.04# cat /etc/passwd
root::0:0:root:/root:/bin/bash
bin:*:1:1:bin:/bin:
...


> eva login: root
> Password: Login timed out after 60 seconds
> tts/0: 1 input overrun(s)
> d

It seems you are using devfs; try running without  it.  I  don't  see
much   advantages   of  devfs  for  embedded  systems  where  such  a
flexibility is usually not needed, on contrary.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"The algorithm to do that is extremely nasty. You might want  to  mug
someone with it."                   - M. Devine, Computer Science 340

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Password on ELDK nfs booting
       [not found] <Pine.LNX.4.40.0208271536520.3441-100000@mag.devdep.sysgo.de>
@ 2002-08-27 14:04 ` Wolfgang Denk
  2002-08-27 17:38   ` Magnus Damm
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2002-08-27 14:04 UTC (permalink / raw)
  To: Marius Groeger; +Cc: linuxppc-embedded


In message <Pine.LNX.4.40.0208271536520.3441-100000@mag.devdep.sysgo.de> you wrote:
>
> > It seems you are using devfs; try running without  it.  I  don't  see
> > much   advantages   of  devfs  for  embedded  systems  where  such  a
> > flexibility is usually not needed, on contrary.
>
> Well, I see at least two advantages: a) you don't need to have root
> privileges to assemble your root-filesystem, b) it's the way /dev
> should have been implemented in the first place.
>
> I admid both arguments cover rather aesthetical aspects, so your
> mileage may vary.

The main disadvantage is the increased  memory  footprint  which  you
have  to  pay  for  a  flexibility on the target which is usually not
necessary.

Your (a) is not really an argument; there are several  solutions  for
this "problem", for example:

	genext2fs - ext2 filesystem generator for embedded systems
		see http://packages.debian.org/unstable/admin/genext2fs.html

	gBootRoot - distribution creation program which may be used by a normal user
		see http://gbootroot.sourceforge.net/

(b) is a matter of taste; for embedded systems, I tend  to  prefer  a
fixed,  static  configuration  which  does  not  cost too much of the
resources which may be somewhat limited (espacially ROM and RAM).

Yes, MMV ;-)

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
By the way, ALL software projects are done by iterative  prototyping.
Some companies call their prototypes "releases", that's all.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Password on ELDK nfs booting
  2002-08-27 14:04 ` Password on ELDK nfs booting Wolfgang Denk
@ 2002-08-27 17:38   ` Magnus Damm
  0 siblings, 0 replies; 5+ messages in thread
From: Magnus Damm @ 2002-08-27 17:38 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: Marius Groeger, linuxppc-embedded


I've made a patch for e2fsprogs that makes it possible
to use debugfs to create ext2-images from userspace.

If that program is used together with fakeroot
it's possible to do everything* without root access.

*if everything is generating your target filesystem with
correct permissions and uids/gids

I think that is nice.

Mail me if you want the patch.

/ magnus

Wolfgang Denk wrote:
>
> In message <Pine.LNX.4.40.0208271536520.3441-100000@mag.devdep.sysgo.de> you wrote:
> >
> > > It seems you are using devfs; try running without  it.  I  don't  see
> > > much   advantages   of  devfs  for  embedded  systems  where  such  a
> > > flexibility is usually not needed, on contrary.
> >
> > Well, I see at least two advantages: a) you don't need to have root
> > privileges to assemble your root-filesystem, b) it's the way /dev
> > should have been implemented in the first place.
> >
> > I admid both arguments cover rather aesthetical aspects, so your
> > mileage may vary.
>
> The main disadvantage is the increased  memory  footprint  which  you
> have  to  pay  for  a  flexibility on the target which is usually not
> necessary.
>
> Your (a) is not really an argument; there are several  solutions  for
> this "problem", for example:
>
>         genext2fs - ext2 filesystem generator for embedded systems
>                 see http://packages.debian.org/unstable/admin/genext2fs.html
>
>         gBootRoot - distribution creation program which may be used by a normal user
>                 see http://gbootroot.sourceforge.net/
>
> (b) is a matter of taste; for embedded systems, I tend  to  prefer  a
> fixed,  static  configuration  which  does  not  cost too much of the
> resources which may be somewhat limited (espacially ROM and RAM).
>
> Yes, MMV ;-)
>
> Wolfgang Denk
>
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
> By the way, ALL software projects are done by iterative  prototyping.
> Some companies call their prototypes "releases", that's all.
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Password on ELDK nfs booting
       [not found]     ` <000701c24e73$3227a620$cc00a8c0@ycigrnd.ycig.com>
@ 2002-08-28 10:01       ` Sangmoon Kim
  0 siblings, 0 replies; 5+ messages in thread
From: Sangmoon Kim @ 2002-08-28 10:01 UTC (permalink / raw)
  To: leeyang; +Cc: linuxppc-embedded


Hi
I succeeded in login after installing the tinylogin.
I plan to use tinylogin.

>
> I can login with eldk,the only problem I encountered
> is that  /eldk/ppc_8xx/dev/ is alomost empty!only 3 unimportant
> files,when installed with eldk installl scripts.
> so when I boot with nfs it reports "can not create console".
> After I cp some dev from my host,it is ok now:)
>
Execute /mnt/cdrom/ELDK_MKDVICE instead, as the readme said.

> The other thing is can not telnet to the NFS board,it
> always says
> "
> Trying 192.168.1.3...
> Connected to 192.168.1.3 (192.168.1.3).
> Escape character is '^]'.
> telnetd: All network ports in use.
> "
> then close connection.
>
> anybody run into the same thing?
>
In my case telnet is OK even when the serial port doesn't work.
Please check that your files have proper owner.
Excute /cdrom/mnt/ELDK_FIXOWNER if not on /opt/eldk directory.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-08-28 10:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.40.0208271536520.3441-100000@mag.devdep.sysgo.de>
2002-08-27 14:04 ` Password on ELDK nfs booting Wolfgang Denk
2002-08-27 17:38   ` Magnus Damm
2002-08-27  8:17 Sangmoon Kim
2002-08-27 13:24 ` Wolfgang Denk
     [not found]   ` <009e01c24e61$9bbfd5b0$1a11efcb@industrialDiv.hanasys.co.kr>
     [not found]     ` <000701c24e73$3227a620$cc00a8c0@ycigrnd.ycig.com>
2002-08-28 10:01       ` Sangmoon Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).