1st of all,
STILL NOT WORKING
A1200 is my 1st motorola linux phone.
i don't know if i did something wrong or not, but like most of ppl, i can't telnet it
here are what i found out in 5 nights study
at+mode=13 for MotNet mode
hardwareID USB\VID_22b8&PID_6027
install usblan driver, then you can ping 169.254.142.2 ........ONLY
i can't make linloader runs any script by "open with",
but the linloader script executed, if i tap the icon
here is the setup in \.system\java\CardRegistry (F: in my case):
Code:
[AppLinkRecord100000101]
AllPosition = 200
BigIcon = loader.png
Directory = /mmc/mmca1/.system/QTDownLoad/loader
Args =
Exec = lin_loader
Group = 3
Icon = loader-sm.png
InstalledDate = 2006/2/19
JavaID = -1
Mime =
MpkgFile =
Name = LinLoader
OsVersion =
Position = 1
Rotation =
Shared = 0
Size = 24K
Type = 2
uid = 100000101
i changed linloader script to this:
Code:
#!/bin/bash
/mmc/mmca1/shell.txt
so you can run something by editing shell.txt
put it in /mmc/mmca1 so you can edit it by phone
now you can do something like:
Code:
#!/bin/bash
ls -l /etc > /mmc/mmca1/output.txt
in MotNet mode
cat /proc/motusbd
you will see "IP=0.0.0.0"
if i run
Code:
ifconfig usbl0 up 169.254.142.2 netmask 255.255.0.0
ok, i got "IP=169.254.142.2"
still not working.....
cp /etc/* /mmc/mmca1/etc -R
you can check them easier on pc
/etc/rc.d/rc0.d
/etc/rc.d/rc1.d
/etc/rc.d/rc3.d
/etc/rc.d/rc4.d
/etc/rc.d/rc5.d
/etc/rc.d/rc6.d
/etc/rc.d/rcS.d all empty
/etc/rc.d/rc2.d :
S10acgetflex.sh
S45tapisrv.sh
S47drmcheck.sh
S50apmd.sh
S65am.sh
S66db
these are what will run at boot, no samba, no inetd,
maybe they will be started when change the MotNet mode
maybe we can start them by ourself,
maybe it will works..........not really....
lets see what we got in /etc/inetd.conf (skipped some lines)
Code:
# If you want telnetd not to "keep-alives" (e.g. if it runs over a ISDN
# uplink), add "-n". See 'man telnetd' for more details.
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
ok, lets ls -l /usr/sbin
OMG !!!!!!
is there anything in /usr/sbin in other motorola phone ?
if so, if we copy them to A1200, will it works?
and i found an interesting thing in /etc/hotplug/hotplug.functions
Code:
#!/bin/ash
#
# Setup and utility functions for use in hotplug agents
#
# Trimmed drastically for testing, start over with originals for production.
#
#DEBUG=yes export DEBUG
PATH=/bin:/sbin:/usr/sbin:/usr/bin:
#mesg () {
# /usr/bin/logger -t $0 "$@"
#}