well, /usr/sbin is really empty...sorry, Im new to linux also![]()
Hi,
I am from Brazil and I bought an A1200i aka MotoTASK (here) in January 5 2007.
I have some info I hope some of you can find useful and I have ONE question.
First, the question:
- I want to run TELNETD, but my firmware is missing at least one shared library libwrap.so.0. Can someone send a compiled one to me? Or is there a telnetd compiled with static libs?
Now, some info about this firmware.
I read somewhere else in this forum that SBIN directory is empty. Well, here is my SBIN (using Win2K CMD connecting via SMB):
G:\sbin>dir
Volume in drive G is system
Volume Serial Number is AF79-091D
Directory of G:\sbin
01/18/2007 09:13p 14,760 agetty
01/18/2007 09:13p 59,832 depmod
01/18/2007 09:13p 413 fsck.nfs
01/18/2007 07:01p 38,584 genksyms
01/18/2007 09:13p 14,760 getty
11/10/2006 01:27p 8,024 halt
12/31/1969 09:02p 1,836 hotplug
01/18/2007 08:25a 58,648 ifconfig
01/01/1601 12:00a 28,664 init
01/18/2007 06:37p 103,124 insmod
01/18/2007 08:28a 359 insmod_ksymoops_clean
01/18/2007 06:37p 103,124 kallsyms
07/10/2006 08:05a 451 kernelversion
01/18/2007 06:40p 10,356 killall5
01/18/2007 06:37p 103,124 ksyms
01/12/2007 08:36p 20,680 losetup
01/18/2007 06:37p 103,124 lsmod
01/18/2007 07:37a 11,012 mmchotplug
11/10/2006 01:27p 17,160 mmclockui
01/01/1601 12:00a 44,828 modinfo
01/18/2007 06:37p 103,124 modprobe
01/18/2007 06:40p 10,356 pidof
01/18/2007 08:30a 117,427 ping
11/10/2006 01:27p 8,024 poweroff
11/10/2006 01:27p 8,024 reboot
01/18/2007 06:37p 103,124 rmmod
01/09/2007 07:19a 3,624 runlevel
01/07/2007 01:54p 15,344 shutdown
01/09/2007 07:19a 14,784 start-stop-daemon
01/09/2007 07:18a 8,912 sulogin
01/09/2007 07:18a 6,928 swapoff
01/09/2007 07:18a 6,928 swapon
01/01/1601 12:00a 28,664 telinit
33 File(s) 1,178,126 bytes
0 Dir(s) 0 bytes free
Now my INITTAB:
G:\etc>type inittab
# /etc/inittab: init(configuration.
# $Id: inittab,v 1.8 1998/05/10 10:37:50 miquels Exp $
# The default runlevel.
# ezx -- id:3:initdefault:
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS
# What to do in single-user mode.
~~:S:wait:/sbin/sulogin
# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
# Action on special keypress (ALT-UpArrow).
kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
# What to do when the power fails/returns.
pf:owerwait:/etc/init.d/powerfail start
pn:owerfailnow:/etc/init.d/powerfail now
po:owerokwait:/etc/init.d/powerfail stop
# This line provides a nice out-of-box experience. For regular use, you
# should replace it with the proper getty lines below.
# ezx -- con:2345:respawn:/sbin/getty console
con:2345nce:/sbin/getty -l /bin/fakelogin3 -n console
# /sbin/getty invocations for the runlevels.
#
# MontaVista linux comes with devfs turned on by default.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Uncomment these for a devfs system
#
#1:2345:respawn:/sbin/getty 38400 vc/1
#2:23:respawn:/sbin/getty 38400 vc/2
#3:23:respawn:/sbin/getty 38400 vc/3
#4:23:respawn:/sbin/getty 38400 vc/4
#5:23:respawn:/sbin/getty 38400 vc/5
#6:23:respawn:/sbin/getty 38400 vc/6
#
# Uncomment these only for non-devfs systems
#
#1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6
# Example how to put a getty on a serial line (for a terminal)
#
# Uncomment these for a devfs system
#
#T0:23:respawn:/sbin/getty -L tts/0 9600 vt100
#T1:23:respawn:/sbin/getty -L tts/1 9600 vt100
#
# Uncomment these only for non-devfs systems
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
# Example how to put a getty on a modem line.
#
# Uncomment this for a devfs system
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 tts/3
#
# Uncomment these only for non-devfs systems
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
Everything except term Fakelogin is commented.
What happen if I run getty or mgetty? And then, how to access tty1,2,3...5? there is no alt-f1,alt-f2, etc on the A1200i.
Can I run mgetty on the modem usb, run bash and access it using hyper terminal? Or something similar?
In /etc I've also found a SAMBA folder.
Was this created by the SMBD? I use the one distributed here at motorolafans.
Or was it already there?
Everything is readonly. why? Is this a smbd limitation?
I've tried to connect as root (no password)
This /etc/samba/smb.conf is configured this way:
[system]
comment = Ezx System Folder
path = /
read only = no
browseable = no
guest account = root
guest ok = yes
# force user = root
well, /usr/sbin is really empty...sorry, Im new to linux also![]()