Right now I am trying to determine the usual... the platform, a list of
the files and layout of the filesystem, and how to get files onto the machine.
Setting up a local tftp server, retrieving a file list
(tftp -l output-list.txt -r /var/tftp/output-list.txt -p 192.168.17.2 ?), and finding:
# file busybox
busybox: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked (uses shared libs), stripped
Also the kernel is 2.5.15.12 (which is also called the firmware version... /tmp is writable, so I'll store a few files there.
And here is /var/log/messages:
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: ===Enter airvana boot function===
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: BOOT MAGIC 1 on flash: SeRcOmMbOoTmAgIc
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: CFE VERSION 1 on flash: 2.06
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: flash cfe version1 num in decimal: 206
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: BOOT MAGIC 2 on flash: SeRcOmMbOoTmAgIc
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: CFE VERSION 2 on flash: 2.06
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: flash cfe version2 num in decimal: 206
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: MAC: 00:05:b9:10:05:1b
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: dr_bootfile: FC330A_V2.5.15.12-header.img
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: sc_version: 2.5.f.c
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: sc_date: 2013-8-1
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: image_ver: 0x25 fc
##FMT S1 P2000-01-01T00:00:00 112233ABCDEF downgrade/upgrade:: do not need upgrade!
##FMT S1 P2000-01-01T00:00:28 0005B910051A cml_merge 138:: config file = /dev/mtdblock3 default file = /etc/XML_default.xml Output to file = /dev/mtdblock3
##FMT S1 P2000-01-01T00:00:28 0005B910051A cml_merge 138:: dftver = 0x0000001e, cfgver = 0x0000001e
##FMT S1 P2000-01-01T00:00:28 0005B910051A cml_merge 138:: Doing XML merge ...
##FMT S1 P2000-01-01T00:00:28 0005B910051A cml_merge 138:: Merge finish!
##FMT S1 P2000-01-01T00:00:28 0005B910051A cmld 139:: cmld start, argc = 1.
##FMT S1 P2000-01-01T00:00:28 0005B910051A cmld 139:: Loading customized default.
##FMT S1 P2000-01-01T00:00:29 0005B910051A cindy cwmp 449::SSL_CTX_new ,enter
##FMT S1 P2000-01-01T00:00:29 0005B910051A dhcp 480::udhcp client (v0.9.7) started
##FMT S1 P2000-01-01T00:00:29 0005B910051A dhcp 480::Sending discover...
##FMT S1 1999-12-31T16:00:31-08:00 0005B910051A dhcp 396::sending OFFER of 192.168.17.2
##FMT S1 1999-12-31T16:00:32-08:00 0005B910051A dhcp 396::sending ACK to 192.168.17.2
##FMT S1 1999-12-31T16:00:32-08:00 0005B910051A dhcp 480::Sending discover...
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 540:: Writing PID file : /tmp/sapi/pid, pid = 540.
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 540:: Initialize keepalive module.
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 540:: Open command agent /tmp/sapi/cmd_socket
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 540:: TCP init...ip:192.168.255.2, port:20000
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 540:: TCP connecting...
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 540:: TCP connected...
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 540:: SAPI Send message:FAP_START_REQ Message
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 540:: System initialize finished success. Press ENTER to get the shell.
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 543:: SAPI received message:ATAR_START_RSP Message
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 543:: ATA/R received build version: 6.5.01.010
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 543:: SAPI Send message:SAPI_FAP_GET_PARAM_REQ Message
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 544:: SAPI received message:SAPI_ATAR_SET_PARAM_REQ Message
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 544:: acsurl: SET_PARAM_REQ name= Vendor-Id value =Sprint
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 544:: Vendor ID debug: SET_PARAM_REQ name= Vendor-Id value =Sprint status =0
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 544:: SAPI Send message:SAPI_FAP_SET_PARAM_RSP Message
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 545:: SAPI received message:SAPI_ATAR_GET_PARAM_RSP Message
##FMT S1 1999-12-31T16:00:36-08:00 0005B910051A /usr/sbin/sapi_client 545:: GET_PARAM_RSP name= geolocation-valid value =unknown status =0
##FMT S1 1999-12-31T16:00:48-08:00 0005B910051A dhcp 413::sending OFFER of 192.168.255.2
##FMT S1 1999-12-31T16:00:48-08:00 0005B910051A dhcp 413::sending ACK to 192.168.255.2
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 540:: Keep alive time out, reconnect.
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 540:: TCP init...ip:192.168.255.2, port:20000
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 540:: TCP connecting...
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 540:: TCP connected...
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 540:: SAPI Send message:FAP_START_REQ Message
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 546:: SAPI received message:ATAR_START_RSP Message
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 546:: ATA/R received build version: 6.5.01.010
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 547:: SAPI received message:SAPI_ATAR_SET_PARAM_REQ Message
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 547:: acsurl: SET_PARAM_REQ name= Vendor-Id value =Sprint
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 547:: Vendor ID debug: SET_PARAM_REQ name= Vendor-Id value =Sprint status =0
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 547:: SAPI Send message:SAPI_FAP_SET_PARAM_RSP Message
##FMT S1 1999-12-31T16:00:56-08:00 0005B910051A /usr/sbin/sapi_client 546:: SAPI Send message:SAPI_FAP_GET_PARAM_REQ Message
##FMT S1 1999-12-31T16:00:57-08:00 0005B910051A /usr/sbin/sapi_client 548:: SAPI received message:SAPI_ATAR_GET_PARAM_RSP Message
##FMT S1 1999-12-31T16:00:57-08:00 0005B910051A /usr/sbin/sapi_client 548:: GET_PARAM_RSP name= geolocation-valid value =unknown status =0
##FMT S1 1999-12-31T16:01:18-08:00 0005B910051A dhcp 480::Sending discover...
##FMT S1 1999-12-31T16:01:38-08:00 0005B910051A /usr/sbin/sapi_client 551:: SAPI received message:SAPI_ATAR_SET_PARAM_REQ Message
##FMT S1 1999-12-31T16:02:07-08:00 0005B910051A dhcp 480::Sending discover...
##FMT S1 1999-12-31T16:04:02-08:00 0005B910051A dhcp 396::sending OFFER of 192.168.17.2
##FMT S1 1999-12-31T16:04:02-08:00 0005B910051A dhcp 396::sending ACK to 192.168.17.2
##FMT S1 1999-12-31T16:04:34-08:00 0005B910051A dhcp 480::Sending discover...
##FMT S1 1999-12-31T16:09:56-08:00 0005B910051A httpd 594:: Administrator login successful - IP:192.168.17.2
##FMT S1 1999-12-31T16:10:17-08:00 0005B910051A dhcp 480::Sending discover...
##FMT S1 1999-12-31T16:15:20-08:00 0005B910051A httpd 725:: Administrator login successful - IP:192.168.17.2
##FMT S1 1999-12-31T16:16:00-08:00 0005B910051A dhcp 480::Sending discover...
--Pulled 9 MTD partitions off:
-rw-rw-r-- 1 tftp tftp 4608000 Dec 24 04:18 mtdblock0
-rw-rw-r-- 1 tftp tftp 7667712 Dec 24 04:19 mtdblock1
-rw-rw-r-- 1 tftp tftp 131072 Dec 24 04:19 mtdblock2
-rw-rw-r-- 1 tftp tftp 65536 Dec 24 04:19 mtdblock3
-rw-rw-r-- 1 tftp tftp 65536 Dec 24 04:19 mtdblock4
-rw-rw-r-- 1 tftp tftp 65536 Dec 24 04:19 mtdblock5
-rw-rw-r-- 1 tftp tftp 65536 Dec 24 04:19 mtdblock6
-rw-rw-r-- 1 tftp tftp 131072 Dec 24 04:19 mtdblock7
-rw-rw-r-- 1 tftp tftp 131072 Dec 24 04:19 mtdblock8
-rw-rw-r-- 1 tftp tftp 65536 Dec 24 04:19 mtdblock9
binwalk these files:
0 0x0 Squashfs filesystem, big endian, lzma signature, version 3.0, size: 4605486 bytes, 895 inodes, blocksize: 65536 bytes, created: Thu Aug 1 01:43:15 2013
0 0x0 Broadcom 96345 firmware header, header size: 256, firmware version: "8", board id: "6358VW", ~CRC32 header checksum: 0x9BB6A04E, ~CRC32 data checksum: 0x276D8710
256 0x100 Squashfs filesystem, big endian, lzma signature, version 3.0, size: 4605486 bytes, 895 inodes, blocksize: 65536 bytes, created: Thu Aug 1 01:43:15 2013
5331210 0x51590A Sercomm firmware signature, version control: 0, download control: 0, hardware ID: "YSQ", hardware version: 0x3200, firmware version: 0xFC, starting code segment: 0x0, code size: 0x7300
1288 0x508 CFE boot loader
5365 0x14F5 LZMA compressed data, properties: 0xAB, dictionary size: 1048576 bytes, uncompressed size: 2560 bytes
10084 0x2764 LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 65536 bytes
1288 0x508 CFE boot loader
5877 0x16F5 LZMA compressed data, properties: 0xAB, dictionary size: 1048576 bytes, uncompressed size: 2560 bytes
1288 0x508 CFE boot loader
5877 0x16F5 LZMA compressed data, properties: 0xAB, dictionary size: 1048576 bytes, uncompressed size: 2560 bytes
15999 0x3E7F LZMA compressed data, properties: 0x40, dictionary size: 16777216 bytes, uncompressed size: 16885952 bytes
Download busybox-mips full: busybox.net