ubnt网桥调试记录
U-Boot 1.1.4.2-s445 (Sep 6 2010 - 14:46:33)
Board: Ubiquiti Networks XM board (rev 0.2 e0a2)
DRAM: 64 MB
Flash: 8 MB
Net: eth0, eth1
Hit any key to stop autoboot: 0
ar7240>
ar7240> help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
echo - echo args to console
erase - erase FLASH memory
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print online help
iminfo - print header information for application image
imls - list all images found in flash
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtdparts- define flash/nand partitions
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
urescue - start TFTP server and wait for firmware
version - print monitor version
autoscr - run script from memory
ar7240> printenv
bootdelay=1
baudrate=115200
ethaddr=00:15:6d:0d:00:00
ethact=eth0
mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)
bootcmd=bootm 0x9f050000
serverip=192.168.1.254
ipaddr=192.168.1.20
bootargs=console=tty0 root=31:03 rootfstype=squashfs init=/init
stdin=serial
stdout=serial
stderr=serial
Environment size: 348/65532 bytes
ar7240> md 0x9f050000
9f050000: 27051956 957c3277 503df160 000be431 '..V.|2wP=.`...1
9f050010: 80002000 80002000 16776865 05050203 .. ... ..whe....
9f050020: 4d495053 20556269 71756974 69204c69 MIPS Ubiquiti Li
9f050030: 6e75782d 322e362e 31352d35 2e320000 nux-2.6.15-5.2..
9f050040: 5d000080 00868022 00000000 00000068 ]......".......h
9f050050: 2e824f33 bf0ff5c6 4be9d699 d41b6b66 ..O3....K.....kf
9f050060: 3b4fe18e 1d671ac9 4330b9fe fc50b3b9 ;O...g..C0...P..
9f050070: ffa579a9 44101a29 e8b171ee 0670904a ..y.D..)..q..p.J
9f050080: 5c7d2cef eea564f4 bd7d2a34 be79d638 \},...d..}*4.y.8
9f050090: 7643042b 49624cdc d51abcc8 476f02f5 vC.+IbL.....Go..
9f0500a0: 90f7fdd5 18068921 36b9329c 93d51d2f .......!6.2..../
9f0500b0: 9c56644e ecdfd609 e946dd72 8b223b48 .VdN.....F.r.";H
9f0500c0: 2adc5c16 7eddb394 057c0447 6ee40062 *.\.~....|.Gn..b
9f0500d0: 138578dd 1af6a474 0aedbd1b c6a5b7b7 ..x....t........
9f0500e0: ff770db1 5e71aeb5 f27194ec 1b4c9ce7 .w..^q...q...L..
9f0500f0: 3c6b68f8 530af72e a6c74c94 b607e554 <kh.S.....L....T
ar7240> boot
## Booting image at 9f050000 ...
Image Name: MIPS Ubiquiti Linux-2.6.15-5.2
Created: 2012-08-29 10:39:28 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 779313 Bytes = 761 kB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
booting...
(这里很奇怪,无意中发现的,要把上面这一段复制粘贴一遍(SecureCRT里面选中上面一段,直接右键),这个登录界面才出来,没找到为什么)
UBNT login: admin
Password: admin
BusyBox v1.11.2 (2012-08-28 20:58:51 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
XM.v5.3.3.sdk# ls
dropbear_dss_host_key dropbear_rsa_host_key
XM.v5.3.3.sdk# cd ..
XM.v5.3.3.sdk# ls
airview.conf group modules.d services
atheros.conf host.conf passwd shells
board.inc hosts persistent startup.list
board.info httpd ppp sysinit
ccodes.inc init.d profile udhcpc
default.cfg inittab protocols udhcpc_services
dropbear lighttpd.conf rc.d version
ethertypes login.defs resolv.conf
fstab mime.types server.pem
XM.v5.3.3.sdk# cd ..
XM.v5.3.3.sdk# ls
etc lock log run tmp
XM.v5.3.3.sdk#

浙公网安备 33010602011771号