百度音乐盒M-100和小度路由一样也是用的MT7620A,也可以刷openwrt,不过还加了一个音频IC,当然我也用不到。
好的是,百度音乐盒里面的7620A是一个模块,只要把GPIO引脚弄清楚,就可以控制其他东西。
其启动信息如下:
## Booting image at bc050000 ... raspi_read: from:50000 len:40 Image Name: Linux Kernel Image Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 6680438 Bytes = 6.4 MB Load Address: 80000000 Entry Point: 8000c310 raspi_read: from:50040 len:65ef76 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 8000c310) ... ## Giving linux memsize in MB, 64 Starting kernel ... LINUX started... THIS IS ASIC Linux version 2.6.36 (root@192.168.2.100) (gcc version 3.4.2) #48 Fri Dec 20 23:29:43 EST 2013 The CPU feqenuce set to 580 MHz MIPS CPU sleep mode enabled. PCIE: bypass PCIe DLL. PCIE: Elastic buffer control: Addr:0x68 -> 0xB4 disable all power about PCIe CPU revision is: 00019650 (MIPS 24Kc) Determined physical RAM map: memory: 04000000 @ 00000000 (usable) Zone PFN ranges: Normal 0x00000000 -> 0x00004000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00004000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 console=ttyS0 PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes Writing ErrCtl register=0005c00b Readback ErrCtl register=0005c00b Memory: 59644k/65536k available (4171k kernel code, 5892k reserved, 774k data, 160k init, 0k highmem) NR_IRQS:128 MTK/Ralink System Tick Counter init... cd:804bfe68, m:214748, s:32 console [ttyS1] enabled Calibrating delay loop... 386.04 BogoMIPS (lpj=772096) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 bio: create slabat 0 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource Ralink external timer NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RT3xxx EHCI/OHCI init. squashfs: version 4.0 (2009/01/31) Phillip Lougher NTFS driver 2.1.29 [Flags: R/O]. fuse init (API version 7.15) msgmni has been set to 116 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A brd: module loaded deice id : ef 40 17 0 0 (40170000) W25Q64BV(ef 40170000) (8192 Kbytes) mtd .name = raspi, .size = 0x00800000 (0M) .erasesize = 0x00000008 (0K) .numeraseregions = 65536 Creating 7 MTD partitions on "raspi": 0x000000000000-0x000000800000 : "ALL" 0x000000000000-0x000000030000 : "Bootloader" 0x000000030000-0x000000040000 : "Config" 0x000000040000-0x000000050000 : "Factory" 0x000000050000-0x0000001d5fb6 : "Kernel" mtd: partition "Kernel" doesn't end on an erase block -- force read-only 0x0000001d5fb6-0x000001000000 : "RootFS" mtd: partition "RootFS" extends beyond the end of device "raspi" -- size truncated to 0x62a04a mtd: partition "RootFS" doesn't start on an erase block boundary -- force read-only 0x000000050000-0x000001000000 : "Kernel_RootFS" mtd: partition "Kernel_RootFS" extends beyond the end of device "raspi" -- size truncated to 0x7b0000 rdm_major = 253 SMACCR1 -- : 0x00009c41 SMACCR0 -- : 0x7cff5ca0 Ralink APSoC Ethernet Driver Initilization. v3.0 256 rx/tx descriptors allocated, mtu = 1500! SMACCR1 -- : 0x00009c41 SMACCR0 -- : 0x7cff5ca0 PROC INIT OK! PPP generic driver version 2.4.2 PPP MPPE Compression module registered NET: Registered protocol family 24 === pAd = c0003000, size = 807232 === <-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 AP Driver version-2.7.1.6 usbcore: registered new interface driver cdc_acm cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters nf_conntrack version 0.5.0 (931 buckets, 3724 max) matchsize=264 IPVS: Registered protocols () IPVS: Connection hash table configured (size=4096, memory=32Kbytes) IPVS: ipvs loaded. 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 10 NET: Registered protocol family 17 L2TP core driver, V2.0 PPPoL2TP kernel driver, V2.0 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller VFS: Mounted root (squashfs filesystem) readonly on device 31:5. Freeing unused kernel memory: 160k freed init started: BusyBox v1.12.1 (2013-07-10 03:23:19 EDT) starting pid 32, tty '': '/etc_ro/rcS' Algorithmics/MIPS FPU Emulator v1.5 Init GPIO by Hame string2hex from 2218 to 2218 string2hex from 5 to 5 string2hex from 800 to 800 string2hex from 2000 to 2000 string2hex from 3f to 3f string2hex from d00 to d00 string2hex from 0 to 0 string2hex from 0 to 0 string2hex from 0 to 0 string2hex from 0 to 0 Ralink gpio driver initialized 1a3318 devpts: called with bogus options ------------------------------------------- Welcome to __ __ __ __ __ ______ | | | | / \ | \ / | | ____| | |_| | / /\ \ | |\\//| | | |___ | _ | |_/__\ \ | | \/ | | | |___| | | | | | | | | | | | | | |___ |_| |_| |_| |_| |_| |_| |_____| HameData Technology Co., Ltd ------------------------------------------- killall: goahead: no process killed starting pid 49, tty '/dev/ttyS1': '/bin/sh' BusyBox v1.12.1 (2013-07-10 03:23:19 EDT) built-in shell (ash) Enter 'help' for a list of built-in commands. # ******g_iplat = 1000******* Start gpio 0 monitor killall: udhcpc: no process killed killall: udhcpc: no process killed apcli0 no private ioctls. ifconfig: ioctl 0x8913 failed: No such device internet.sh Password for 'admin' changed ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1 rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000 rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2 rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected rmmod: ralink_wdt: No such file or directory rmmod: cls: No such file or directory rmmod: hw_nat: No such file or directory rmmod: raeth: No such file or directory insmod: bridge.ko: module not found insmod: raeth.ko: module not found ##### disable 1st wireless interface ##### rmmod: rt2860v2_ap_net: No such file or directory rmmod: rt2860v2_ap: No such file or directory rmmod: rt2860v2_ap_util: No such file or directory insmod: rt2860v2_ap_util.ko: module not found insmod: rt2860v2_ap.ko: module not found insmod: rt2860v2_ap_net.ko: module not found RX DESC a3e6f000 size = 2048 RTMP_TimerListAdd: add timer obj c00988e0! RTMP_TimerListAdd: add timer obj c0064000! RTMP_TimerListAdd: add timer obj c0063fd4! RTMP_TimerListAdd: add timer obj c0063fa8! RTMP_TimerListAdd: add timer obj c000b070! RTMP_TimerListAdd: add timer obj c000ac64! RTMP_TimerListAdd: add timer obj c000b040! RTMP_TimerListAdd: add timer obj c000b3e8! RTMP_TimerListAdd: add timer obj c000b138! RTMP_TimerListAdd: add timer obj c000b168! RTMP_TimerListAdd: add timer obj c000b328! RTMP_TimerListAdd: add timer obj c000b358! RTMP_TimerListAdd: add timer obj c0066404! RTMP_TimerListAdd: add timer obj c0065ff8! RTMP_TimerListAdd: add timer obj c00663d4! RTMP_TimerListAdd: add timer obj c006677c! RTMP_TimerListAdd: add timer obj c00664cc! RTMP_TimerListAdd: add timer obj c00664fc! RTMP_TimerListAdd: add timer obj c0066434! RTMP_TimerListAdd: add timer obj c0066464! RTMP_TimerListAdd: add timer obj c0066494! RTMP_TimerListAdd: add timer obj c006f24c! RTMP_TimerListAdd: add timer obj c006f368! RTMP_TimerListAdd: add timer obj c006f278! RTMP_TimerListAdd: add timer obj c0066b24! RTMP_TimerListAdd: add timer obj c0008530! RTMP_TimerListAdd: add timer obj c0066838! APSDCapable[0]=0 APSDCapable[1]=0 APSDCapable[2]=0 APSDCapable[3]=0 APSDCapable[4]=0 APSDCapable[5]=0 APSDCapable[6]=0 APSDCapable[7]=0 APSDCapable[8]=0 APSDCapable[9]=0 APSDCapable[10]=0 APSDCapable[11]=0 APSDCapable[12]=0 APSDCapable[13]=0 APSDCapable[14]=0 APSDCapable[15]=0 default ApCliAPSDCapable[0]=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 E2PROM: D0 target power=0xfa1e pAd->TemperatureRef25C = 0xfffffffa E2PROM: 40 MW Power Delta= 0 3. Phy Mode = 9 RTMP_TimerListAdd: add timer obj c0008128! AntCfgInit: primary/secondary ant 0/1 Initialize RF Central Registers for E2 !!! Initialize RF Central Registers for E3 !!! Initialize RF Channel Registers for E2 !!! Initialize RF Channel Registers for E3 !!! Initialize RF DCCal Registers for E2 !!! Initialize RF DCCal Registers for E3 !!! D1 = 0, D2 = 7, CalCode = 16 !!! Current Temperature from BBP_R49=0xfffffff8 TX BW Filter Calibration !!! RX BW Filter Calibration !!! LOFT Calibration Done! IQCalibration Start! IQCalibration Done! CH = 0, (gain= 1, phase=3d) IQCalibration Start! IQCalibration Done! CH = 1, (gain= f, phase= 2) TX IQ Calibration Done! MCS Set = ff ff 00 00 00 Main bssid = 9c:41:7c:ff:5c:a8 <==== rt28xx_init, Status=0 0x1300 = 00064380 ifconfig: ioctl 0x8913 failed: No such device brctl: bridge br0: No such device or address iptables v1.4.10: can't initialize iptables table `mangle': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Raeth v3.0 (Tasklet,SkbRecycle) phy_tx_ring = 0x035e2000, tx_ring = 0xa35e2000 phy_rx_ring0 = 0x035e3000, rx_ring0 = 0xa35e3000 SMACCR1 -- : 0x00009c41 SMACCR0 -- : 0x7cff5ca0 CDMA_CSG_CFG = 81000000 GDMA1_FWD_CFG = 20710000 vconfig: ioctl error for rem: No such device vconfig: ioctl error for rem: No such device rmmod: 8021q: No such file or directory insmod: 8021q.ko: module not found device eth2 entered promiscuous mode ##### config Ralink ESW vlan partition (LLLLW) ##### switch reg write offset=2004, value=ff0003 switch reg write offset=2104, value=ff0003 switch reg write offset=2204, value=ff0003 switch reg write offset=2304, value=ff0003 switch reg write offset=2404, value=ff0003 switch reg write offset=2504, value=ff0003 switch reg write offset=2010, value=810000c0 switch reg write offset=2110, value=810000c0 switch reg write offset=2210, value=810000c0 switch reg write offset=2310, value=810000c0 switch reg write offset=2410, value=810000c0 switch reg write offset=2510, value=810000c0 switch reg write offset=2610, value=81000000 switch reg write offset=2710, value=81000000 switch reg write offset=2604, value=20ff0003 switch reg write offset=2704, value=20ff0003 Special Tag Disabled switch reg write offset=2610, value=81000000 switch reg write offset=2014, value=10001 switch reg write offset=2114, value=10001 switch reg write offset=2214, value=10001 switch reg write offset=2314, value=10001 switch reg write offset=2414, value=10002 switch reg write offset=2514, value=10001 REG_ESW_WT_MAC_ATC is 0x7ff0002 done. device ra0 entered promiscuous mode device eth2.1 entered promiscuous mode wan.sh: unknown wan connection type: WIFI br0: port 2(eth2.1) entering learning state br0: port 2(eth2.1) entering learning state br0: port 1(ra0) 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 br0: port 2(eth2.1) entering forwarding state br0: port 1(ra0) entering forwarding state killall: udhcpd: no process killed Set: phy[1].reg[0] = 3900 Set: phy[2].reg[0] = 3900 Set: phy[3].reg[0] = 3900 Port0 is up. Skip. ifconfig: ioctl 0x8913 failed: No such device ADDRCONF(NETDEV_UP): apcli0: link is not ready killall rt2860apd 1>/dev/null 2>&1 iptables -F -t filter 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 -D FORWARD -j malicious_filter 1>/dev/null 2>&1 iptables -F malicious_filter 1>/dev/null 2>&1 iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1 iptables -F malicious_input_filter 1>/dev/null 2>&1 iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -t filter -N web_filter 1>/dev/null 2>&1 iptables -t filter -N macipport_filter 1>/dev/null 2>&1 iptables -t filter -N malicious_filter 1>/dev/null 2>&1 iptables -t filter -N synflood_filter 1>/dev/null 2>&1 iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1 iptables -t filter -N synflood_input_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1 iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/null 2>&1 iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1 iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_filter 1>/dev/null 2>&1 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1 /bin/super_dmz -f sh: /bin/super_dmz: not found 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 -F POSTROUTING 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 -A POSTROUTING -o apcli0 -s 192.168.169.1/255.255.255.0 -j MASQUERADE 1>/dev/null 2>&1 ntp.sh ddns.sh pool.ntp.org: Unknown host kill -9 `cat /var/run/wscd.pid.ra0` cat: can't open '/var/run/wscd.pid.ra0': No such file or directory kill: you need to specify whom to kill iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1 route delete 239.255.255.250 1>/dev/null 2>&1 killall -q klogd killall -q syslogd syslogd -C8 1>/dev/null 2>&1 klogd 1>/dev/null 2>&1 killall -q zebra killall -q ripd Got same SSID Got same SSID Got same SSID Got same SSID Got same SSID Got same SSID 7 RoBox 15182295670 ASCII WPA2PSK AES 3 Current Channel is 7 and Remote is 7 and extch is 3 udhcpc (v1.12.1) started webs: Listening for HTTP requests at address 192.168.169.1 Enable Ralink GDMA Controller Module GDMA IP Version=3 i2cdrv_major = 218 i2s_reset_tx_config i2s_tx_config i2s_clock_enable Init Audio Decoder i2s_tx_enable ********set vset vuxmode value = ffff0002 ol*********set unmute**************** ume 8******** auxmode = ffff0002 Start gpio 13 monitor Start gpio 27 monitor Start gpio 25 monitor Start gpio 26 monitor [00:00:26]3g.pid value is 5022 [00:00:26]Start Monitor Version:v1.0 receive msg [00:00:26]Get a device change notify [00:00:26]get signal from driver [0][0]36 start udisk Start gpio 29 monitor Start gpio 28 monitor Start gpio 24 monitor RTMP_TimerListAdd: add timer obj c00ae688! RTMP_TimerListAdd: add timer obj c00ae840! drivers/net/wireless/rt2860v2_ap/../rt2860v2/ap/ap_data.c:4354 assert pEntry->Aid == pRxWI->WirelessCliIDfailed RTMP_TimerListAdd: add timer obj c00c22cc! ioctl: Invalid argument SCSI subsystem initialized Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. udisk over [00:00:29]Create socket 5 start listen socket[5] LogLevel: 1 AirName: Baidu_music_f5ca HWID: XP%&p HWID_Hex(12): 005850252670 Listening on IPv4 Socket daemon_reset_sigs daemon_unblock_sigs make_runtime_dir daemon_pid_file_create enforce_rlimits chdir avahi-daemon 0.6.31 starting up. run_server WARNING: No NSS support for mDNS detected, consider installing nss-mdns! Failed to open /etc/resolv.conf: No such file or directory No service file found in /etc/avahi/services. Joining mDNS multicast group on interface br0.IPv4 with address 192.168.169.1. New relevant interface br0.IPv4 for mDNS. Network interface enumeration completed. Registering new address record for fe80::9e41:7cff:feff:5ca0 on br0.*. Registering new address record for 192.168.169.1 on br0.IPv4. Registering new address record for fe80::9e41:7cff:feff:5ca7 on eth2.2.*. Registering new address record for fe80::9e41:7cff:feff:5ca0 on eth2.1.*. Registering new address record for fe80::9e41:7cff:feff:5ca9 on apcli0.*. Registering new address record for fe80::9e41:7cff:feff:5ca8 on ra0.*. Registering new address record for fe80::9e41:7cff:feff:5ca0 on eth2.*. Registering HINFO record with values 'MIPS'/'LINUX'. Bind socket to INADDR_ANY wait client request...[5]... Sending select for 192.168.1.13... Lease of 192.168.1.13 obtained, lease time 86400 Joining mDNS multicast group on RTMP_TimerListAdd: add timer obj c00c2308! interface apcli0.IPv4 with address 192.168.1.13. New relevant interface apcli0.IPv4 for mDNS. Registering new address record for 192.168.1.13 on apcli0.IPv4. deleting routers route: ioctl 0x890c failed: No such process adding dns 192.168.1.1 rev success killall -q ripd Online set thread [5109] check for androidplayer -> 192.168.1.13 /sbin/config-igmpproxy.sh /sbin/config-igmpproxy.sh: line 10: igmpproxy.sh: noRcv Wcid(1) AddBAReq Start Seq = 00000002 RTMP_TimerListAdd: add timer obj c00c40dc! t found /sbin/config-igmpproxy.sh: line 10: igmpproxy.sh: not found /sbin/config-igmpproxy.sh: line 12: igmpproxy: not found /sbin/config-igmpproxy.sh: line 12: igmpproxy: not found iptables -F -t filter 1>/dev/null 2>&1 iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1 Rcv Wcid(1) AddBAReq Start Seq = 00000000 RTMP_TimerListAdd: add timer obj c00c412c! 25567 00030.771 191240.0 309.6 1393920333144711.3 4470.8 0 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 -D FORWARD -j malicious_filter 1>/dev/null 2>&1 iptables -F malicious_filter 1>/dev/null 2>&1 Server startup complete. Host name is none.local. Local service cookie is 762465166. iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1 iptables -F malicious_input_filter 1>/dev/null 2>&1 iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -t filter -N web_filter 1>/dev/null 2>&1 Bind socket to INADDR_ANY wait client request...[6]... iptables -t filter -N macipport_filter 1>/dev/null 2>&1 iptables -t filter -N malicious_filter 1>/dev/null 2>&1 iptables -t filter -N synflood_filter 1>/dev/null 2>&1 iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1 iptables -t filter -N synflood_input_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1 Established under name '005850252670@Baidu_music_f5ca' iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1 iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/null 2>&1 iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1 iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_filter 1>/dev/null 2>&1 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1 /bin/super_dmz -f sh: /bin/super_dmz: not found 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 -F POSTROUTING 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 -A POSTROUTING -o apcli0 -s 192.168.169.1/255.255.255.0 -j MASQUERADE 1>/dev/null 2>&1 killall: lcdaemon: no process killed sh: lcdaemon: not found 41700 23204.329 113480.0 29.4 57457.6 6607.1 0
GPIO脚我量了一个大概, 放到了openwrt的wiki上,欢迎补充.
http://wiki.openwrt.org/toh/baidu/bwmb
太赞了!