James VS wrote:
> Bering-uClibc_2.4.1 using initrd_ide.lpr on WRAP system.
> The WRAP system is completely headless no keyboard controller or video.
> The console ends with "getty can not open tty1 & tty2" it is repeating this
> continusly so I have no console.
One way is to extract /etc/inittab from etc.lrp (all lrps other than
initrd are simply tar.gz files, so you can extract them with tar - do so
as root thought, because otherwise you'd screw up the permissions of the
files).
Comment out (add a "#" at the front of the line) the lines:
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
and uncomment (remove the "#" at the front of the line) the line:
#T0:23:respawn:/sbin/getty -L ttyS0 19200 vt100
put the modified file back into etc.lrp, copy it onto your compact
flash, and boot from it.
Another approach is to boot the system on a box that has video and
keyboard (a real pc or an emulator like vmware or qemu) make the changes
and then copy the modified files to CF.
I've been told that the WRAP boxes can also boot via PXE, so this might
also be an approach that could work for you - see [1]
(I've not tried it with a WRAP box, so I can't say if it will actually
work for you).
> and eariler error is
> Configuring network interfaces: ifup: Don't seem to have all the variables
> for eth0/inet.
> Cannot find device "eth1"
> SIOCGIFFLAGS: No such device done.
Your /etc/network/interfaces file isn't set up properly.
> How do I preconfigure the network interfaces or fix /etc/inittab to have a
> console.
> After that what is roots password.
Sorry - you see a root promopt without even having a console? I guess it
doesn't really matter - fix the inittab file first, and once you have a
console, you can fix the other problems on the box using the info from
[2] and [3].
> Then how do I save the changes I make to the system. I have see the
> documentation state "don't forget to backup the .LRP" but how do you do
> that?
Once you logged in, you will see the config menu (if not, type lrcfg and
you will). There, enter "b" to get to the "back up menu" and then the
number or the name of the package you want to back up. Which package
needs backing up after making a change should be described in the docs [2]
I hope that helps,
Martin
[1] Bering-uClibc Installation Guide - Using pxeinstall.tgz
http://leaf.sourceforge.net/doc/bk02ch11s04.html
[2] Bering-uClibc Installation Guide
http://leaf.sourceforge.net/doc/bk02.html
[3] Bering-uClibc User's Guide
http://leaf.sourceforge.net/doc/bk05.html
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/