=========================================================== LAN Router BRN Loader V1.05 build Jun 04 2002 18:27:43 Broad Net Technology, INC. =========================================================== INTEL TE28F800B3-B bottom boot 16-bit mode found Copying boot params.....DONE Press any key to enter command mode ... [BRN Boot]:! Enter Administrator Mode ! ====================== [U] Upload to Flash [E] Erase Flash [M] Upload to Memory [Y] Go to Memory [G] Run Runtime Code [A] Set MAC Address [#] Set Serial Number [V] Set Board Version [S] Serial Test [I] Parallel Test [P] Print Boot Params ====================== [BRN Boot]:m RAM upload destination: (default:0x040000) : 0x Starting XModem download...(press Enter to abort) CCC Done! Do you want to execute the uploaded code? (Y/n) boot no options Linux version 2.4.19-uc1-cx84200-smc7004-1 (arnaud@localhost.localdomain) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #1 Sun Jan 4 08:48:52 EST 2004 Processor: Conexant CX84200 revision 1 Architecture: cx84200 Dans fixup_cx84200, 00760004, 00022e6b On node 0 totalpages: 2048 zone(0): 0 pages. zone(1): 2048 pages. zone(2): 0 pages. Kernel command line: root=/dev/ram0 console=ttyS0 Calibrating delay loop... 5.83 BogoMIPS Memory: 8MB = 8MB total Memory: 6820KB available (675K code, 163K data, 36K init) Dentry cache hash table entries: 1024 (order: 1, 8192 bytes) Inode cache hash table entries: 512 (order: 0, 4096 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 2048 (order: 1, 8192 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize eth0: a0:98:76:54:32:10 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 512 bind 512) RAMDISK: Compressed image found at block 0 Freeing initrd memory: 139K VFS: Mounted root (ext2 filesystem) readonly. Freeing init memory: 36K # ls -l drwxr-xr-x 5 65534 65534 1024 var drwxr-xr-x 3 65534 65534 1024 usr drwxr-xr-x 1 0 0 0 tmp drwxr-xr-x 2 65534 65534 1024 sbin dr-xr-xr-x 2 0 0 0 proc drwxr-xr-x 1 0 0 0 mnt drwxr-xr-x 5 65534 65534 1024 etc drwxr-xr-x 3 65534 65534 1024 dev drwxr-xr-x 2 65534 65534 1024 bin # cd bin # ls -l -rwxr--r-- 1 65534 65534 203416 busybox lrwxrwxrwx 1 65534 65534 7 umount -> busybox lrwxrwxrwx 1 65534 65534 7 touch -> busybox lrwxrwxrwx 1 65534 65534 7 sleep -> busybox lrwxrwxrwx 1 65534 65534 7 mount -> busybox lrwxrwxrwx 1 65534 65534 7 mkdir -> busybox lrwxrwxrwx 1 65534 65534 7 dmesg -> busybox lrwxrwxrwx 1 65534 65534 7 tftp -> busybox lrwxrwxrwx 1 65534 65534 7 ping -> busybox lrwxrwxrwx 1 65534 65534 7 kill -> busybox lrwxrwxrwx 1 65534 65534 7 grep -> busybox lrwxrwxrwx 1 65534 65534 7 echo -> busybox lrwxrwxrwx 1 65534 65534 7 date -> busybox lrwxrwxrwx 1 65534 65534 7 pwd -> busybox -rwxr--r-- 1 65534 65534 41928 msh lrwxrwxrwx 1 65534 65534 7 cut -> busybox lrwxrwxrwx 1 65534 65534 7 cat -> busybox lrwxrwxrwx 1 65534 65534 3 sh -> msh lrwxrwxrwx 1 65534 65534 7 rm -> busybox lrwxrwxrwx 1 65534 65534 7 ps -> busybox lrwxrwxrwx 1 65534 65534 7 mv -> busybox lrwxrwxrwx 1 65534 65534 7 ls -> busybox lrwxrwxrwx 1 65534 65534 7 ln -> busybox lrwxrwxrwx 1 65534 65534 7 df -> busybox lrwxrwxrwx 1 65534 65534 7 cp -> busybox lrwxrwxrwx 1 65534 65534 7 dd -> busybox # cd ../etc # cat rc PATH=/sbin:/usr/bin:$PATH mount -t proc proc /proc #mount /dev/mtdblock3 /tmp -o ro mount -t ramfs ramfs /mnt #cp -a /tmp/* /mnt #umount /tmp mount -t ramfs ramfs /tmp ifconfig lo 127.0.0.1 #echo 1 > /proc/sys/net/ipv4/ip_forward #/etc/init.d/ipt_start #/etc/init.d/thttpd_start #ifconfig eth0 10.1.2.111 netmask 255.255.255.0 ifconfig eth0 192.168.2.1 #route add default gw 10.1.2.254 #/etc/init.d/dhcpd_start # ifconfig eth0 Link encap:Ethernet HWaddr A0:98:76:54:32:10 inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:7 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) #