Created
December 23, 2017 16:52
-
-
Save mizhka/c19151c28de431b39161553c8b3b68a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U-Boot 1.1.3 (Jul 8 2013 - 10:13:26) | |
Board: Ralink APSoC DRAM: 32 MB | |
relocate_code Pointer at: 81fb4000 | |
****************************** | |
Software System Reset Occurred | |
****************************** | |
spi_wait_nsec: 42 | |
spi device id: c2 20 16 c2 20 (2016c220) | |
find flash: MX25L3205D | |
raspi_read: from:30000 len:1000 | |
.*** Warning - bad CRC, using default environment | |
============================================ | |
Ralink UBoot Version: 3.6.0.0 | |
-------------------------------------------- | |
ASIC 5350_MP (Port5<->None) | |
DRAM_CONF_FROM: Boot-Strapping | |
DRAM_TYPE: SDRAM | |
DRAM_SIZE: 256 Mbits | |
DRAM_WIDTH: 16 bits | |
DRAM_TOTAL_WIDTH: 16 bits | |
TOTAL_MEMORY_SIZE: 32 MBytes | |
Flash component: SPI Flash | |
Date:Jul 8 2013 Time:10:13:26 | |
============================================ | |
icache: sets:256, ways:4, linesz:32 ,total:32768 | |
dcache: sets:128, ways:4, linesz:32 ,total:16384 | |
##### The CPU freq = 360 MHZ #### | |
estimate memory size =32 Mbytes | |
Please choose the operation: | |
1: Load system code to SDRAM via TFTP. | |
2: Load system code then write to Flash via TFTP. | |
3: Boot system code via Flash (default). | |
4: Entr boot command line interface. | |
7: Load Boot Loader code then write to Flash via Serial. | |
9: Load Boot Loader code then write to Flash via TFTP. | |
unenter reset button ... | |
0 | |
3: System Boot system code via Flash. | |
## Booting image at bc050000 ... | |
raspi_read: from:50000 len:40 | |
. Image Name: ZLMnet?MIFIF10N? | |
Created: 2014-12-06 1:45:47 UTC | |
Image Type: MIPS Linux Kernel Image (lzma compressed) | |
Data Size: 3602223 Bytes = 3.4 MB | |
Load Address: 80000000 | |
Entry Point: 803ae000 | |
raspi_read: from:50040 len:36f724 | |
.......................................................OK | |
Uncompressing Kernel Image ... OK | |
No initrd | |
## Transferring control to Linux (at address 803ae000) ... | |
## Giving linux memsize in MB, 32 | |
Starting kernel ... | |
LINUX started... | |
THIS IS ASIC | |
Linux version 2.6.21 (root@lamon) (gcc version 3.4.2) #213 Sat Dec 6 09:45:34 CST 2014 | |
The CPU frequency set to 360 MHz | |
CPU revision is: 0001964c | |
Determined physical RAM map: | |
memory: 02000000 @ 00000000 (usable) | |
Initrd not found or empty - disabling initrd | |
Built 1 zonelists. Total pages: 8128 | |
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 | |
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes. | |
Primary data cache 16kB, 4-way, linesize 32 bytes. | |
Synthesized TLB refill handler (20 instructions). | |
Synthesized TLB load handler fastpath (32 instructions). | |
Synthesized TLB store handler fastpath (32 instructions). | |
Synthesized TLB modify handler fastpath (31 instructions). | |
Cache parity protection disabled | |
cause = 40808000, status = 11000000 | |
PID hash table entries: 128 (order: 7, 512 bytes) | |
calculating r4koff... 0015f900(1440000) | |
CPU frequency 360.00 MHz | |
Using 180.000 MHz high precision timer. | |
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) | |
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) | |
Memory: 26192k/32768k available (3019k kernel code, 6576k reserved, 744k data, 2424k init, 0k highmem) | |
Mount-cache hash table entries: 512 | |
NET: Registered protocol family 16 | |
SCSI subsystem initialized | |
usbcore: registered new interface driver usbfs | |
usbcore: registered new interface driver hub | |
usbcore: registered new device driver usb | |
NET: Registered protocol family 2 | |
Time: MIPS clocksource has been installed. | |
IP route cache hash table entries: 1024 (order: 0, 4096 bytes) | |
TCP established hash table entries: 1024 (order: 1, 8192 bytes) | |
TCP bind hash table entries: 1024 (order: 0, 4096 bytes) | |
TCP: Hash tables configured (established 1024 bind 1024) | |
TCP reno registered | |
detected lzma initramfs | |
detected lzma initramfs | |
initramfs: LZMA lc=3,lp=0,pb=2,dictSize=1048576,origSize=9993728 | |
LZMA initramfs by Ming-Ching Tiew <mctiew@yahoo.com>.........................................................................................................................................................deice id : c2 20 16 c2 20 (2016c220) | |
MX25L3205D(c2 2016c220) (4096 Kbytes) | |
mtd .name = raspi, .size = 0x00400000 (4M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 | |
Creating 5 MTD partitions on "raspi": | |
0x00000000-0x00400000 : "ALL" | |
0x00000000-0x00030000 : "Bootloader" | |
0x00030000-0x00040000 : "Config" | |
0x00040000-0x00050000 : "Factory" | |
0x00050000-0x01000000 : "Kernel" | |
mtd: partition "Kernel" extends beyond the end of device "raspi" -- size truncated to 0x3b0000 | |
RT3xxx EHCI/OHCI init. | |
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher | |
squashfs: LZMA suppport for slax.org by jro | |
NTFS driver 2.1.28 [Flags: R/W]. | |
fuse init (API version 7.8) | |
io scheduler noop registered (default) | |
Ralink gpio driver initialized | |
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096 | |
N_HDLC line discipline registered. | |
Serial: 8250/16550 driver $Revision: 1.8 $ 2 ports, IRQ sharing disabled | |
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A | |
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A | |
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize | |
loop: loaded (max 8 devices) | |
rdm_major = 253 | |
eth2 mii.o query= phy_id:0, address:1 retval:7849 | |
Ralink APSoC Ethernet Driver Initilization. v2.1 256 rx/tx descriptors allocated, mtu = 1500! | |
MAC_ADRH -- : 0x00002c67 | |
MAC_ADRL -- : 0xfb558432 | |
PROC INIT OK! | |
PPP generic driver version 2.4.2 | |
PPP BSD Compression module registered | |
NET: Registered protocol family 24 | |
PPPoL2TP kernel driver, V0.17 | |
PPTP driver version 0.8.1 | |
=== pAd = c0019000, size = 647784 === | |
<-- RTMPAllocAdapterBlock, Status=0 | |
block2mtd: version $Revision: 1.1.1.1 $ | |
usbcore: registered new interface driver cdc_acm | |
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters | |
Initializing USB Mass Storage driver... | |
usbcore: registered new interface driver usb-storage | |
USB Mass Storage support registered. | |
nf_conntrack version 0.5.0 (256 buckets, 2048 max) | |
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone | |
arp_tables: (C) 2002 David S. Miller | |
TCP cubic registered | |
NET: Registered protocol family 1 | |
NET: Registered protocol family 17 | |
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> | |
All bugs added by David S. Miller <davem@redhat.com> | |
Freeing unused kernel memory: 2424k freed | |
init started: BusyBox v1.12.1 (2012-08-27 10:10:44 CST) | |
startAlgorithmics/MIPS FPU Emulator v1.5 | |
ing pid 620, tty '': '/etc_ro/rcS' | |
devpts: called with bogus options | |
rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller | |
rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 1 | |
rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000 | |
usb usb1: configuration #1 chosen from 1 choice | |
hub 1-0:1.0: USB hub found | |
hub 1-0:1.0: 1 port detected | |
rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller | |
rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 2 | |
rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000 | |
rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 | |
usb usb2: configuration #1 chosen from 1 choice | |
hub 2-0:1.0: USB hub found | |
hub 2-0:1.0: 1 port detected | |
starting pid 645, tty '/dev/ttyS1': '/bin/sh' | |
BusyBox v1.12.1 (2012-08-27 10:10:44 CST) built-in shell (ash) | |
Enter 'help' for a list of built-in commands. | |
starting pid 646, tty '': '/bin/goahead' | |
echo 8196 > /proc/sys/net/netfilter/nf_conntrack_max | |
starting pid 648, tty '': '/bin/syslogc' | |
|20000101000005.info.mesg:648|/sbin/syslogd -C -n|syslog/syslog.c:108 | |
killall umodem | |
killall: umodem: no process killed | |
ntp-init.sh | |
internet.sh | |
Password for 'admin' changed | |
Password for 'root' changed | |
insmod: bridge.ko: module not found | |
insmod: mii.ko: module not found | |
insmod: raeth.ko: module not found | |
phy_tx_ring = 0x015da000, tx_ring = 0xa15da000 | |
phy_rx_ring0 = 0x015db000, rx_ring0 = 0xa15db000 | |
MAC_ADRH -- : 0x00002c67 | |
MAC_ADRL -- : 0xfb558432 | |
RT305x_ESW: Link Status Changed | |
rmmod: rt2860v2_ap: No such file or directory | |
rmmod: rt2860v2_sta: No such file or directory | |
insmod: rt2860v2_ap.ko: module not found | |
rmmod: nf_nat_pptp: No such file or directory | |
rmmod: nf_conntrack_pptp: No such file or directory | |
rmmod: nf_nat_proto_gre: No such file or directory | |
rmmod: nf_conntrack_proto_gre: No such file or directory | |
rmmod: nf_conntrack_sip: No such file or directory | |
rmmod: nf_conntrack_sip: No such file or directory | |
rmmod: nf_nat_sip: No such file or directory | |
rmmod: nf_conntrack_h323: No such file or directory | |
rmmod: nf_conntrack_h323: No such file or directory | |
rmmod: nf_nat_h323: No such file or directory | |
RX DESC a0415000 size = 2048 | |
<-- RTMPAllocTxRxRingMemory, Status=0 | |
Key1Str is Invalid key length(0) or Type(0) | |
Key2Str is Invalid key length(0) or Type(0) | |
Key3Str is Invalid key length(0) or Type(0) | |
Key4Str is Invalid key length(0) or Type(0) | |
1. Phy Mode = 9 | |
2. Phy Mode = 9 | |
3. Phy Mode = 9 | |
pAd->TxPowerCtrl.bInternalTxALC == FALSE ! | |
RTMPSetPhyMode: channel is out of range, use first channel=0 | |
MCS Set = ff 00 00 00 01 | |
SYNC - BBP R4 to 20MHz.l | |
Main bssid = 2c:67:fb:55:84:30 | |
<==== rt28xx_init, Status=0 | |
0x1300 = 00064380 | |
insmod: 8021q.ko: module not found | |
eth2.2: Setting MAC address to 2c 67 fb 55 84 33. | |
device eth2 entered promiscuous mode | |
VLAN (eth2.2): Setting underlying device (eth2) to promiscious mode. | |
ifconfig: ioctl 0x8913 failed: No such device | |
brctl: bridge br0: No such device or address | |
##### config RT3050 TWO LAN (WLLLL) ##### | |
switch reg write offset=14, value=405555 | |
switch reg write offset=50, value=2001 | |
switch reg write offset=98, value=7f3f | |
switch reg write offset=e4, value=3f | |
switch reg write offset=40, value=1001 | |
switch reg write offset=44, value=1001 | |
switch reg write offset=48, value=1002 | |
switch reg write offset=70, value=ffff506f | |
device ra0 entered promiscuous mode | |
eth2 mii.o query= phy_id:1, address:4 retval:5e1 | |
eth2 mii.o query= phy_id:1, address:0 retval:3900 | |
eth2 mii.o query= phy_id:1, address:5 retval:0 | |
eth2.1: dev_set_promiscuity(master, 1) | |
device eth2.1 entered promiscuous mode | |
br0: port 2(eth2.1) entering learning state | |
br0: port 1(ra0) entering learning state | |
ifconfig: ioctl 0x8914 failed: Cannot assign requested address | |
ifconfig: ioctl 0x8914 failed: Cannot assign requested address | |
killall: dhcpd-reset.sh: no process killed | |
killall: udhcpd: no process killed | |
rm: cannot remove '/etc/udhcpd.conf': No such file or directory | |
br0: topology change detected, propagating | |
br0: port 2(eth2.1) entering forwarding state | |
br0: topology change detected, propagating | |
br0: port 1(ra0) entering forwarding state | |
ifconfig: ioctl 0x8913 failed: No such device | |
killall rt2860apd 1>/dev/null 2>&1 | |
iptables -F -t filter 1>/dev/null 2>&1 | |
iptables -D FORWARD -j PORTSCAN 1>/dev/null 2>&1 | |
iptables -D INPUT -j PORTSCAN 1>/dev/null 2>&1 | |
iptables -F PORTSCAN 1>/dev/null 2>&1 | |
iptables -D FORWARD -j PSD 1>/dev/null 2>&1 | |
iptables -D INPUT -j PSD 1>/dev/null 2>&1 | |
iptables -F PSD 1>/dev/null 2>&1 | |
iptables -D FORWARD -j SHORT 1>/dev/null 2>&1 | |
iptables -D INPUT -j SHORT 1>/dev/null 2>&1 | |
iptables -F SHORT 1>/dev/null 2>&1 | |
iptables -D FORWARD -j icmp_flood 1>/dev/null 2>&1 | |
iptables -D INPUT -j icmp_flood 1>/dev/null 2>&1 | |
iptables -F icmp_flood 1>/dev/null 2>&1 | |
iptables -D FORWARD -j udp_flood 1>/dev/null 2>&1 | |
iptables -D INPUT -j udp_flood 1>/dev/null 2>&1 | |
iptables -F udp_flood 1>/dev/null 2>&1 | |
iptables -D FORWARD -j syn_flood 1>/dev/null 2>&1 | |
iptables -D INPUT -j syn_flood 1>/dev/null 2>&1 | |
iptables -F syn_flood 1>/dev/null 2>&1 | |
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1 | |
iptables -F macipport_filter 1>/dev/null 2>&1 | |
iptables -D FORWARD -j web_filter 1>/dev/null 2>&1 | |
iptables -F web_filter 1>/dev/null 2>&1 | |
iptables -P INPUT ACCEPT | |
iptables -P OUTPUT ACCEPT | |
iptables -P FORWARD ACCEPT | |
iptables -A INPUT -i ppp0 -m state --state RELATED,ESTABLISHED -j ACCEPT | |
iptables -A INPUT -i ppp0 -p tcp --dport 80 -j DROP | |
iptables -A INPUT -i ppp0 -p tcp --dport 23 -j DROP | |
iptables -A FORWARD -p udp --dport 1701 -j DROP | |
iptables -A FORWARD -p tcp --dport 1723 -j DROP | |
iptables -t filter -N web_filter 1>/dev/null 2>&1 | |
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1 | |
echo "127.0.0.1 3Groute" > /etc/hosts | |
killall dnsmasq | |
dnsmasq -r /etc/resolv.conf& | |
iptables -t filter -N ipport_trigger 1>/dev/null 2>&1 | |
iptables -t filter -A FORWARD -j ipport_trigger 1>/dev/null 2>&1 | |
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1 | |
iptables -t nat -F port_forward 1>/dev/null 2>&1; iptables -t nat -X port_forward 1>/dev/null 2>&1 | |
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1 | |
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ 1>/dev/null 2>&1 | |
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1 | |
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1 | |
iptables -t nat -N port_trigger 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j port_trigger 1>/dev/null 2>&1 | |
greenap.sh init | |
route delete 239.255.255.250 1>/dev/null 2>&1 | |
killall wscd 1>/dev/null 2>&1 | |
killall -9 wscd 1>/dev/null 2>&1 | |
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1 | |
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1 | |
killall -q zebra | |
killall -q ripd | |
##### USB init ##### | |
storage.sh samba | |
1st partition does not exist | |
webs: Listening for HTTP requests at address 192.168.100.1 | |
# ps | |
PID USER VSZ STAT COMMAND | |
1 admin 2088 S init | |
2 admin 0 SWN [ksoftirqd/0] | |
3 admin 0 SW< [events/0] | |
4 admin 0 SW< [khelper] | |
5 admin 0 SW< [kthread] | |
30 admin 0 SW< [kblockd/0] | |
33 admin 0 SW< [khubd] | |
47 admin 0 SW< [kswapd0] | |
48 admin 0 SW [pdflush] | |
49 admin 0 SW [pdflush] | |
50 admin 0 SW< [aio/0] | |
611 admin 0 SW [mtdblockd] | |
624 admin 1368 S nvram_daemon | |
626 admin 2084 S telnetd | |
645 admin 2092 S /bin/sh | |
646 admin 2608 S /bin/goahead | |
648 admin 2100 S /sbin/syslogd -C -n | |
788 admin 0 SW [RtmpCmdQTask] | |
881 admin 2052 S umodem | |
1182 admin 2088 S udhcpd /etc/udhcpd.conf /tmp/udhcpd.sleases | |
1300 admin 1216 S dnsmasq -r /etc/resolv.conf | |
2499 admin 2088 R ps | |
# free | |
total used free shared buffers | |
Mem: 28616 17064 11552 0 0 | |
Swap: 0 0 0 | |
Total: 28616 17064 11552 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment