Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] FW: Buildroot RFS Login Question
@ 2012-01-24 19:59 Poole, Donald R.
  2012-01-26  7:01 ` [Buildroot] " Sinan Akman
  0 siblings, 1 reply; 23+ messages in thread
From: Poole, Donald R. @ 2012-01-24 19:59 UTC (permalink / raw)
  To: buildroot

On Sun, Jan 22, 2012 at 3:43 PM, Peter Korsgaard <jacmet at sunsite.dk<mailto:jacmet@sunsite.dk>> wrote:
>>>>> "Donald" == Donald Poole <donny3000 at gmail.com<mailto:donny3000@gmail.com>> writes:

Hi,

CC'ed the buildroot list. Please keep replies on the list as well.

 Donald> Hello Peter,

 Donald>     First off, I would like to send my thanks and gratitude to
 Donald>     you and your team for creating/maintaining the buildroot
 Donald>     embedded filesystem generator.   It is a wonderful tool
 Donald>     that has save me (and I'm sure countless others) a lot of
 Donald>     time putting together a robust working filesytem for
 Donald>     embedded systems.

Thanks!

 Donald>     But, I do have a question regarding how
 Donald>     to login into the system once the filesystem is copied over
 Donald>     to the flash medium, nfs, etc.  Is there a particular
 Donald>     username/password to use for logging into the system once
 Donald>     booted?  I've searched the internet and read a lot of
 Donald>     mailing lists and forums with no success.  My only solution
 Donald>     is to edit the /etc/inittab file and add the -n option for
 Donald>     no login prompt.  But I'd like use the login prompt for
 Donald>     security and not having to hack the /etc/inittab file as a
 Donald>     work-around.  I'm sure it's something dirt simple that I'm
 Donald>     missing, but I can't seem to put a finger on it.  Any help
 Donald>     would be greatly appreciated!   Thanks in advance!

Ehh, unless you are using a custom filesystem skeleton, you should have
a root user without any password set. Does that not work for you?

If it doesn't, then please provide some more details about your setup
(buildroot config, how you boot your system, error messages?, ..)

--
Bye, Peter Korsgaard

Unfortunately, if I use the root user get a "Login Incorrect" message and a new login prompt that looks like this:
Starting input-event-daemon: done

Welcome to VICTORY Embedded
victory-embedded login: root
Login incorrect

victory-embedded login:

I'm using the default filesystem skeleton.  I'm not sure what buildroot config information would be helpful, so I will need some more direction on what to give you guys for assistance. But i am using udev, my getty port is ttymxc0 at 115200 baudrate and I'm using BusyBox 1.19.x in the "Package Selection for Target" configuration.  I'm also using buildroot version builroot-2011.11.

Thanks,
Donald R. Poole, Jr.
Research Engineer
Voice: 210.522.3131 | Fax: 210.522.4931
Tactical Networks & Communications (tacticalnetworks.swri.org)
Southwest Research Institute (SwRI)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120124/85d121a6/attachment.html>

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [Buildroot] Buildroot RFS Login Question
@ 2012-01-25 15:16 Poole, Donald R.
  2012-01-25 20:34 ` Peter Korsgaard
  0 siblings, 1 reply; 23+ messages in thread
From: Poole, Donald R. @ 2012-01-25 15:16 UTC (permalink / raw)
  To: buildroot

On Tue, Jan 24, 2012 at 2:29 PM, Peter Korsgaard <jacmet@sunsite.dk> wrote:
>>>>> "Donald" == Donald Poole <donny3000 at gmail.com<mailto:donny3000@gmail.com>> writes:

Hi,

 Donald> Unfortunately, if I use the root user get a "Login Incorrect"
 Donald> message and a new login prompt that looks like this: Starting
 Donald> input-event-daemon: done


 Donald>     Welcome to VICTORY Embedded
 Donald>     victory-embedded login: root
 Donald>     Login incorrect

 Donald>     victory-embedded login:


 Donald> I'm using the default filesystem skeleton.  I'm not sure what
 Donald> buildroot config information would be helpful, so I will need
 Donald> some more direction on what to give you guys for
 Donald> assistance. But i am using udev, my getty port is ttymxc0 at
 Donald> 115200 baudrate and I'm using BusyBox 1.19.x in the "Package
 Donald> Selection for Target" configuration.  I'm also using buildroot
 Donald> version builroot-2011.11.

Ok, and how do you boot the system, what kind of filesystem output are
you using?

I am booting the kernel with u-boot (Freescales u-boot for i.MX53 processors version rel_imx_2.6.35_11.01.00<http://opensource.freescale.com/git?p=imx/uboot-imx.git;a=commit;h=a069e6b2ca7e8f0ad39375ca12bec11bb0d41ba4>) with the boot arguments

console=ttymxc0,115200 video=mxcdi1fb:GBR24,XGA di1_primary tve root=/dev/mmcblk0p1 rw rootwait rootflags=barrier=1

I am directing all filesystem output to the console (ttymxc0).  This is my /etc/inittab file:

# Startup the system
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -o remount,rw / # REMOUNT_ROOTFS_RW
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mkdir -p /dev/shm
null::sysinit:/bin/mount -a
null::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS

# Put a getty on the serial port
ttymxc0::respawn:/sbin/getty -L ttymxc0 115200 vt100 # GENERIC_SERIAL

# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot

# Stuff to do before rebooting
null::shutdown:/usr/bin/killall klogd
null::shutdown:/usr/bin/killall syslogd
null::shutdown:/bin/umount -a -r
null::shutdown:/sbin/swapoff ?a

It should be the default inittab created by buildroot, but I wanted to post it anyway for everyone to take a look to see if anything might be suspect.

Donald R. Poole, Jr.
Research Engineer
Voice: 210.522.3131 | Fax: 210.522.4931
Tactical Networks & Communications (tacticalnetworks.swri.org)
Southwest Research Institute (SwRI)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120125/f50c57f4/attachment-0001.html>

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

end of thread, other threads:[~2012-02-15 15:22 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAMe6wuROmEc_vWn8AqYdiRa9bo0Yc2iA9WAFbiy+kWohq09=Ag@mail.gmail.com>
2012-01-22 21:43 ` [Buildroot] Buildroot RFS Login Question Peter Korsgaard
     [not found]   ` <CAMe6wuTrAtUXsjByY6pBd9-wZKme0gyvSTzsPnEiFGK3X-n=3g@mail.gmail.com>
2012-01-24 20:29     ` Peter Korsgaard
2012-01-24 19:59 [Buildroot] FW: " Poole, Donald R.
2012-01-26  7:01 ` [Buildroot] " Sinan Akman
2012-01-26 14:59   ` Poole, Donald R.
  -- strict thread matches above, loose matches on Subject: below --
2012-01-25 15:16 Poole, Donald R.
2012-01-25 20:34 ` Peter Korsgaard
2012-01-25 20:56   ` Poole, Donald R.
2012-01-25 22:19     ` Peter Korsgaard
2012-02-07  6:31       ` Poole, Donald R.
2012-02-07  9:01         ` Peter Korsgaard
2012-02-08 15:20           ` Poole, Donald R.
2012-02-08 16:18             ` Peter Korsgaard
2012-02-08 16:25               ` Poole, Donald R.
2012-02-08 16:34                 ` Peter Korsgaard
2012-02-08 23:17                   ` Poole, Donald R.
2012-02-09  6:29                     ` Peter Korsgaard
2012-02-09  6:49                       ` Poole, Donald R.
2012-02-09  8:04                         ` Peter Korsgaard
2012-02-09 15:16                           ` Poole, Donald R.
2012-02-09 15:36                             ` Peter Korsgaard
2012-02-09 19:56                               ` Poole, Donald R.
2012-02-09 21:22                                 ` Peter Korsgaard
2012-02-15 15:22                                   ` Poole, Donald R.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox