Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:trendnet:tew-691gr [2015/03/16 17:10] – erwan574 | toh:trendnet:tew-691gr [2018/04/28 10:50] – Datatables added, cleanup tmomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Trendnet TEW-691GR ====== | ||
| + | ===== Supported Versions ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid | ||
| + | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Hardware Highlights ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Installation ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| + | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
| + | align : l,c,c | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | -> [[docs: | ||
| + | |||
| + | FIXME Please add the installation procedure here. | ||
| + | |||
| + | ===== Hardware ===== | ||
| + | ==== Serial ==== | ||
| + | UART pinout:\\ | ||
| + | {{: | ||
| + | |||
| + | |||
| + | ===== Bootlogs ===== | ||
| + | ==== OEM bootlog ==== | ||
| + | |||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | |||
| + | |||
| + | Board: Ralink APSoC DRAM: 64 MB | ||
| + | |||
| + | relocate_code Pointer at: 83fac000 | ||
| + | |||
| + | |||
| + | Set info-> | ||
| + | |||
| + | flash_protect ON: from 0xBC000000 to 0xBC01F2EB | ||
| + | |||
| + | flash_protect ON: from 0xBC030000 to 0xBC030FFF | ||
| + | |||
| + | *** Warning - bad CRC, using default environment | ||
| + | |||
| + | |||
| + | ============================================ | ||
| + | |||
| + | Ralink UBoot Version: 3.4.0.0 | ||
| + | |||
| + | -------------------------------------------- | ||
| + | |||
| + | ASIC 3883_MP (MAC to VITESSE Mode) | ||
| + | |||
| + | DRAM component: 512 Mbits DDR, width 16 | ||
| + | |||
| + | DRAM bus: 16 bit | ||
| + | |||
| + | Total memory: 64 MBytes | ||
| + | |||
| + | Flash component: NOR Flash | ||
| + | |||
| + | Date:Sep 29 2010 Time: | ||
| + | |||
| + | ============================================ | ||
| + | |||
| + | icache: sets:512, ways:4, linesz:32 , | ||
| + | |||
| + | dcache: sets:256, ways:4, linesz:32 , | ||
| + | |||
| + | |||
| + | ##### The CPU freq = 480 MHZ #### | ||
| + | |||
| + | |||
| + | SDRAM bus set to 32 bit | ||
| + | |||
| + | SDRAM size =64 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. | ||
| + | |||
| + | 4 3 2 1 0 | ||
| + | |||
| + | |||
| + | |||
| + | 3: System Boot system code via Flash. | ||
| + | |||
| + | ## Booting image at bc050000 ... | ||
| + | |||
| + | Image Name: Linux Kernel Image | ||
| + | |||
| + | | ||
| + | |||
| + | Image Type: MIPS Linux Kernel Image (lzma compressed) | ||
| + | |||
| + | Data Size: 3860621 Bytes = 3.7 MB | ||
| + | |||
| + | Load Address: 80000000 | ||
| + | |||
| + | Entry Point: | ||
| + | |||
| + | | ||
| + | |||
| + | | ||
| + | |||
| + | No initrd | ||
| + | |||
| + | ## Transferring control to Linux (at address 802f9000) ... | ||
| + | |||
| + | ## Giving linux memsize in MB, 64 | ||
| + | |||
| + | |||
| + | Starting kernel ... | ||
| + | |||
| + | |||
| + | |||
| + | LINUX started... | ||
| + | |||
| + | THIS IS ASIC | ||
| + | Linux version 2.6.21 (tom.hung@fedora17) (gcc version 3.4.2) #2 Thu Nov 14 13:22:22 CST 2013 | ||
| + | |||
| + | The CPU frequency set to 480 MHz | ||
| + | CPU revision is: 0001974c | ||
| + | Determined physical RAM map: | ||
| + | | ||
| + | Initrd not found or empty - disabling initrd | ||
| + | Built 1 zonelists. | ||
| + | Kernel command line: console=ttyS1, | ||
| + | Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes. | ||
| + | Primary data cache 32kB, 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). | ||
| + | cause = 40808000, status = 11000000 | ||
| + | PID hash table entries: 256 (order: 8, 1024 bytes) | ||
| + | calculating r4koff... 001d4c00(1920000) | ||
| + | CPU frequency 480.00 MHz | ||
| + | Using 240.000 MHz high precision timer. | ||
| + | Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) | ||
| + | Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) | ||
| + | Memory: 58860k/ | ||
| + | Mount-cache hash table entries: 512 | ||
| + | NET: Registered protocol family 16 | ||
| + | SCSI subsystem initialized | ||
| + | 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: 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 | ||
| + | detected lzma initramfs | ||
| + | detected lzma initramfs | ||
| + | initramfs: LZMA lc=3, | ||
| + | LZMA initramfs by Ming-Ching Tiew < | ||
| + | Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank | ||
| + | | ||
| + | Ralink SoC physically mapped flash: Swapping erase regions for broken CFI table. | ||
| + | number of CFI chips: 1 | ||
| + | cfi_cmdset_0002: | ||
| + | Creating 5 MTD partitions on " | ||
| + | 0x00000000-0x00400000 : " | ||
| + | 0x00000000-0x00030000 : " | ||
| + | 0x00030000-0x00040000 : " | ||
| + | 0x00040000-0x00050000 : " | ||
| + | 0x00050000-0x01000000 : " | ||
| + | mtd: partition " | ||
| + | squashfs: version 3.2-r2 (2007/ | ||
| + | squashfs: LZMA suppport for slax.org by jro | ||
| + | io scheduler noop registered (default) | ||
| + | ====== GPIO Mode: 0x1811 ====== | ||
| + | Ralink gpio driver initialized | ||
| + | spidrv_major = 217 | ||
| + | i2cdrv_major = 218 | ||
| + | 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: | ||
| + | loop: loaded (max 8 devices) | ||
| + | Ralink APSoC Ethernet Driver Initilization. v2.1 256 rx/tx descriptors allocated, mtu = 1500! | ||
| + | MAC_ADRH -- : 0x0000d8eb | ||
| + | MAC_ADRL -- : 0x97a640b0 | ||
| + | PROC INIT OK! | ||
| + | IMQ starting with 2 devices... | ||
| + | IMQ driver loaded successfully. | ||
| + | Hooking IMQ after NAT on PREROUTING. | ||
| + | Hooking IMQ before NAT on POSTROUTING. | ||
| + | PPP generic driver version 2.4.2 | ||
| + | PPP BSD Compression module registered | ||
| + | NET: Registered protocol family 24 | ||
| + | block2mtd: version $Revision: 1.1.1.1 $ | ||
| + | Netfilter messages via NETLINK v0.30. | ||
| + | nf_conntrack version 0.5.0 (512 buckets, 4096 max) | ||
| + | nf_conntrack_rtsp v0.03 loading | ||
| + | match connlimit register | ||
| + | PPTP driver version 0.8.5 | ||
| + | GRE over IPv4 demultiplexor driver< | ||
| + | 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 10 | ||
| + | IPv6 over IPv4 tunneling driver | ||
| + | NET: Registered protocol family 17 | ||
| + | 802.1Q VLAN Support v1.8 Ben Greear < | ||
| + | All bugs added by David S. Miller < | ||
| + | Freeing unused kernel memory: 2808k freed | ||
| + | |||
| + | init started: BusyBox v1.12.1 (Algorithmics/ | ||
| + | 2013-11-14 11:41:19 CST) | ||
| + | |||
| + | starting pid 612, ttydevpts: called with bogus options | ||
| + | '': | ||
| + | mount: mounting none on / | ||
| + | Welcome to | ||
| + | | ||
| + | | ___ \| | ||
| + | | |___| || |__| || | ||
| + | | | ||
| + | |__| \__\|__| |__||______||__||_| \____||_|\___\ | ||
| + | |||
| + | | ||
| + | |||
| + | flash error, file size too large! | ||
| + | no config file to read, put it first. | ||
| + | Erasing mtd failed | ||
| + | Erasing mtd failed | ||
| + | Erasing mtd failed | ||
| + | Create a message queue in goahead for interprocess communication!! | ||
| + | ifconfig ra0 down | ||
| + | ifconfig: ioctl 0x8913 failed: No such device | ||
| + | ifconfig ra1 down | ||
| + | ifconfig: ioctl 0x8913 failed: No such device | ||
| + | ifconfig ra2 down | ||
| + | ifconfig: ioctl 0x8913 failed: No such device | ||
| + | ifconfig ra3 down | ||
| + | ifconfig: ioctl 0x8913 failed: No such device | ||
| + | rmmod rt2860v2_ap | ||
| + | rmmod: rt2860v2_ap: | ||
| + | ralink_init make_wireless_config rt2860 | ||
| + | Jan 1 00:00:05 crond[653]: crond (busybox 1.12.1) started, log level 8 | ||
| + | |||
| + | |||
| + | insmod rt2860v2_ap | ||
| + | rt2860v2_ap: | ||
| + | |||
| + | |||
| + | === pAd = c005c000, size = 671912 === | ||
| + | |||
| + | <-- RTMPAllocTxRxRingMemory, | ||
| + | <-- RTMPAllocAdapterBlock, | ||
| + | ifconfig ra0 up | ||
| + | RX DESC a331b000 | ||
| + | |||
| + | starting pid 695, tty '/ | ||
| + | |||
| + | |||
| + | BusyBox v1.12.1 (2013-11-14 11:41:19 CST) built-in shell (ash) | ||
| + | Enter ' | ||
| + | |||
| + | # 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 | ||
| + | RTMPSetPhyMode: | ||
| + | 3. Phy Mode = 9 | ||
| + | RTMPSetPhyMode: | ||
| + | MCS Set = ff ff ff 00 01 | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | [: 3200: unknown operand | ||
| + | Main bssid = d8: | ||
| + | <==== rt28xx_init, | ||
| + | 0x1300 = 00064380 | ||
| + | ifconfig ra1 up | ||
| + | ifconfig: ioctl 0x8913 failed: No such device | ||
| + | ifconfig ra2 up | ||
| + | ifconfig: ioctl 0x8913 failed: No such device | ||
| + | ifconfig ra3 up | ||
| + | ifconfig: ioctl 0x8913 failed: No such device | ||
| + | brctl addif br0 ra0 | ||
| + | brctl: bridge br0: No such device | ||
| + | brctl addif br0 ra1 | ||
| + | brctl: iface ra1: No such device | ||
| + | brctl addif br0 ra2 | ||
| + | brctl: iface ra2: No such device | ||
| + | brctl addif br0 ra3 | ||
| + | brctl: iface ra3: No such device | ||
| + | First time initInternet, | ||
| + | internet.sh | ||
| + | 0 | ||
| + | chpasswd: an error occurred updating password for admin | ||
| + | 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 | ||
| + | brctl: iface apcli0: No such device | ||
| + | ifconfig: ioctl 0x8913 failed: No such device | ||
| + | |||
| + | phy_tx_ring = 0x00323000, tx_ring = 0xa0323000 | ||
| + | |||
| + | phy_rx_ring0 = 0x00324000, rx_ring0 = 0xa0324000 | ||
| + | Initing AR8316 | ||
| + | phyUnit=1, | ||
| + | 0x03=d041 | ||
| + | eth0: Phy Specific Status=0010 | ||
| + | phyUnit=2, | ||
| + | 0x03=d041 | ||
| + | eth0: Phy Specific Status=0010 | ||
| + | phyUnit=3, | ||
| + | 0x03=d041 | ||
| + | eth0: Phy Specific Status=0010 | ||
| + | phyUnit=4, | ||
| + | 0x03=d041 | ||
| + | eth0: Phy Specific Status=0010 | ||
| + | phyUnit=5, | ||
| + | 0x03=d041 | ||
| + | eth0: Phy Specific Status=0010 | ||
| + | Calling athrs16_reg_init | ||
| + | athrs16_reg_init VLAN Setup complete. | ||
| + | Livelinks=0 | ||
| + | No PHYs found... | ||
| + | MAC_ADRH -- : 0x0000d8eb | ||
| + | MAC_ADRL -- : 0x97a640b0 | ||
| + | CDMA_CSG_CFG = 81000007 | ||
| + | GDMA1_FWD_CFG = C0710000 | ||
| + | acm_msg> ACM_MEM_Alloc_Num = 1 | ||
| + | acm_msg> ACM_MEM_Free_Num | ||
| + | |||
| + | ##### disable 1st wireless interface ##### | ||
| + | rmmod: rt2860v2_ap_net: | ||
| + | RtmpOSNetDevDetach(): | ||
| + | rmmod: rt2860v2_ap_util: | ||
| + | rmmod: rt2860v2_sta_net: | ||
| + | rmmod: rt2860v2_sta: | ||
| + | rmmod: rt2860v2_sta_util: | ||
| + | insmod: rt2860v2_ap_util.ko: | ||
| + | |||
| + | |||
| + | === pAd = c005c000, size = 671912 === | ||
| + | |||
| + | <-- RTMPAllocTxRxRingMemory, | ||
| + | <-- RTMPAllocAdapterBlock, | ||
| + | insmod: rt2860v2_ap_net.ko: | ||
| + | rmmod: nf_nat_pptp: | ||
| + | rmmod: nf_conntrack_pptp: | ||
| + | rmmod: nf_nat_proto_gre: | ||
| + | rmmod: nf_conntrack_proto_gre: | ||
| + | RX DESC a04e7000 | ||
| + | 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 | ||
| + | RTMPSetPhyMode: | ||
| + | 3. Phy Mode = 9 | ||
| + | RTMPSetPhyMode: | ||
| + | MCS Set = ff ff ff 00 01 | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | Main bssid = d8: | ||
| + | <==== rt28xx_init, | ||
| + | 0x1300 = 00064380 | ||
| + | vconfig: ioctl error for rem: Invalid argument | ||
| + | vconfig: ioctl error for rem: Invalid argument | ||
| + | rmmod: 8021q: No such file or directory | ||
| + | insmod: 8021q.ko: module not found | ||
| + | eth2.2 | ||
| + | ifconfig: ioctl 0x8913 failed: No such device | ||
| + | brctl: bridge br0: No such device | ||
| + | brctl: bridge br0: No such device | ||
| + | EntryLifeCheck Cnt = 1024. | ||
| + | device ra0 entered promiscuous mode | ||
| + | brctl: bridge br0: Device or resource busy | ||
| + | eth2.1: dev_set_promiscuity(master, | ||
| + | device eth2 entered promiscuous mode | ||
| + | device eth2.1 entered promiscuous mode | ||
| + | Raise 1.2v voltage of RT3883 to 1.21v (PLL and RF) for improve TEW-691GR low throughput issue or crash issue | ||
| + | ra0 rf: | ||
| + | R20[0x14]: | ||
| + | |||
| + | eth2.2: Setting MAC address to d8 eb 97 a6 40 b0. | ||
| + | VLAN (eth2.2): | ||
| + | eth2.2: Setting MAC address to d8 eb 97 a6 40 b3. | ||
| + | killall: config-chat.sh: | ||
| + | udhcpc (v1.12.1) started | ||
| + | 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 | ||
| + | |||
| + | ***** g_wl_interface = ra0 ****** | ||
| + | |||
| + | ############ | ||
| + | upstream interface: eth2.2 | ||
| + | IP address: | ||
| + | inet6 addr: fe80:: | ||
| + | |||
| + | iptables: No chain/ | ||
| + | igmpproxy, Version 0.1 beta2, Build 131114 | ||
| + | Copyright 2005 by Johnny Egeland < | ||
| + | Distributed under the GNU GENERAL PUBLIC LICENSE, Version 2 - check GPL.txt | ||
| + | |||
| + | Warn: Warning, No upstream interface assigned. | ||
| + | iptables: No chain/ | ||
| + | iptables: No chain/ | ||
| + | route: ioctl 0x890c failed: No such process | ||
| + | Start UPnP: upnpd | ||
| + | check: eth2.2 br0 | ||
| + | libupnp: using UDP SSDP_PORT = 1900 | ||
| + | DHCP Server start initial | ||
| + | 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 | ||
| + | killall: udhcpd: no process killed | ||
| + | ****** Running ipv6Lan.sh ****** | ||
| + | [RunSystemCmd 93] ipv6Lan.sh | ||
| + | ############ | ||
| + | killall: dhcp6s: no process killed | ||
| + | ############ | ||
| + | [init_ipv6 797] ###### init IPv6 ###### | ||
| + | [RunSystemCmd 93] mkdir /var/db/ | ||
| + | [init_ipv6 821] ###### Reset WAN IPv6 ###### | ||
| + | [init_ipv6 849] v6TunIf_old= | ||
| + | [RunSystemCmd 93] echo 1 > / | ||
| + | [set_DNS 681] ###### | ||
| + | [RunSystemCmd 93] echo -n > / | ||
| + | [RunSystemCmd 93] echo -n > / | ||
| + | [RunSystemCmd 93] echo 1 > / | ||
| + | [RunSystemCmd 93] ipv6Lan.sh | ||
| + | ############ | ||
| + | killall: dhcp6s: no process killed | ||
| + | ############ | ||
| + | iptables: No chain/ | ||
| + | Enable Implicit and Explicit Tx Beamforming for TEW-691GR | ||
| + | Configure predefined URL to: " | ||
| + | DHCP Server start initial | ||
| + | 0xB0=0xCC36CC36 | ||
| + | 0xB4=0xCA36CA36 | ||
| + | 0xB8=0xC936C936 | ||
| + | send_event: Sent firewall reload message to goahead! | ||
| + | / | ||
| + | / | ||
| + | killall rt2860apd 1>/ | ||
| + | killall rt2860apd 1>/ | ||
| + | ntp.sh | ||
| + | ddns.sh | ||
| + | kill -9 `cat / | ||
| + | iwpriv ra0 set WscConfMode=0 1>/ | ||
| + | iwpriv ra0 set WscConfMode=7 | ||
| + | iwpriv ra0 set WscConfStatus=1 | ||
| + | route add -host 239.255.255.250 dev br0 1>/ | ||
| + | wscd -m 1 -a 192.168.10.1 -i ra0 & | ||
| + | libupnp: using UDP SSDP_PORT = 1900 | ||
| + | setup-wizard.sh | ||
| + | / | ||
| + | getBoardID | ||
| + | BoardID: 026910 | ||
| + | killall -q klogd | ||
| + | killall -q syslogd | ||
| + | syslogd -C8 1>/ | ||
| + | klogd 1>/ | ||
| + | / | ||
| + | webs: Listening for HTTP requests at address 192.168.10.1 | ||
| + | iwpriv ra0 set WscAPLock=1 | ||
| + | goahead: local script rc.local | ||
| + | Adding multicast routing | ||
| + | Limit Ping of Death | ||
| + | Start RFW daemon | ||
| + | bind policy ipv4 | ||
| + | send_event: Sent firewall reload message to goahead! | ||
| + | iptables -t nat -D PREROUTING -i eth2.2 -j TRIGGER --trigger-type dnat | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -i eth2.2 | ||
| + | iptables -t nat -D PREROUTING -i ppp0 -j TRIGGER --trigger-type dnat | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -i ppp0 -j TRIGGER --trigger-type dnat | ||
| + | There is not any static route be set up! | ||
| + | Password for ' | ||
| + | lang_free: Don't need release multi-lang mapping again. | ||
| + | lang_init: File / | ||
| + | goahead.c: multi-lang init fail. | ||
| + | goahead: Get message from send_event, the message is firewall_reload | ||
| + | goahead: start firewall_init() | ||
| + | echo 0 > / | ||
| + | iptables -F -t filter 1>/ | ||
| + | iptables -D FORWARD -j macipport_block | ||
| + | iptables -F macipport_block | ||
| + | iptables -t mangle -F POSTROUTING_ALG | ||
| + | iptables: No chain/ | ||
| + | iptables -P INPUT ACCEPT | ||
| + | iptables -P OUTPUT ACCEPT | ||
| + | iptables -P FORWARD ACCEPT | ||
| + | iptables -F INPUT_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -F FORWARD_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F PREROUTING_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F POSTROUTING_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -F INPUT_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -F FORWARD_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F PREROUTING_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F POSTROUTING_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -F INPUT_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -F FORWARD_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F PREROUTING_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F POSTROUTING_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F PREROUTING_DMZ | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F POSTROUTING_DMZ | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F POSTROUTING | ||
| + | iptables -t nat -F PREROUTING | ||
| + | iptables -t nat -F PREROUTING_ICMP | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F PREROUTING_UPnP | ||
| + | iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/ | ||
| + | iptables -I PREROUTING -t nat -i eth2.2 -s 0.0.0.0/0 -p udp -m state --state NEW -j DROP | ||
| + | iptables -I PREROUTING -t nat -i eth2.2 -p tcp --syn -j DROP | ||
| + | iptables -I PREROUTING -t nat -i eth2.2 -s 0.0.0.0/0 -p udp --sport 520 -j ACCEPT | ||
| + | iptables -I PREROUTING -t nat -i eth2.2 -s 0.0.0.0/0 -p tcp -m state --state RELATED, | ||
| + | iptables -t nat -D PREROUTING -i eth2.2 -j TRIGGER --trigger-type dnat | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -i eth2.2 | ||
| + | iptables -t nat -D PREROUTING -i ppp0 -j TRIGGER --trigger-type dnat | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -i ppp0 -j TRIGGER --trigger-type dnat | ||
| + | iptables -t nat -N POSTROUTING_NAT | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_NAT | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_NAT | ||
| + | iptables -t nat -N POSTROUTING_DNS | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_DNS | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_DNS | ||
| + | iptables -t nat -F POSTROUTING_DNS | ||
| + | iptables -t nat -N PREROUTING_ICMP | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_ICMP | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_ICMP | ||
| + | iptables -t nat -F PREROUTING_ICMP | ||
| + | iptables -I PREROUTING_ICMP -t nat -i eth2.2 -s 0.0.0.0/0 -p icmp --icmp-type echo-request -j DROP | ||
| + | iptables -t nat -N PREROUTING_DMZ | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_DMZ | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_DMZ | ||
| + | iptables -t nat -N POSTROUTING_DMZ | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_DMZ | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_DMZ | ||
| + | iptables -t filter -N web_filter 1>/ | ||
| + | iptables -t filter -D FORWARD -j web_filter 1>/ | ||
| + | iptables -t filter -I FORWARD -j web_filter 1>/ | ||
| + | iptables -t filter -N ip_range_block 1>/ | ||
| + | iptables -t filter -D FORWARD -j ip_range_block 1>/ | ||
| + | iptables -t filter -I FORWARD -j ip_range_block 1>/ | ||
| + | iptables -D FORWARD -j FORWARD_UPnP | ||
| + | iptables: No chain/ | ||
| + | iptables -I FORWARD -j FORWARD_UPnP | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_UPnP | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_UPnP | ||
| + | iptables -N INPUT_SPort | ||
| + | iptables -D INPUT -j INPUT_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -I INPUT -j INPUT_SPort | ||
| + | iptables -N FORWARD_SPort | ||
| + | iptables -D FORWARD -j FORWARD_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -I FORWARD -j FORWARD_SPort | ||
| + | iptables -N INPUT_MPort | ||
| + | iptables -D INPUT -j INPUT_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -I INPUT -j INPUT_MPort | ||
| + | iptables -N FORWARD_MPort | ||
| + | iptables -D FORWARD -j FORWARD_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -I FORWARD -j FORWARD_MPort | ||
| + | iptables -t nat -N PREROUTING_SPort | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_SPort | ||
| + | iptables -t nat -N POSTROUTING_SPort | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_SPort | ||
| + | iptables -t nat -N PREROUTING_MPort | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_MPort | ||
| + | iptables -t nat -N POSTROUTING_MPort | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_MPort | ||
| + | iptables -t nat -N PREROUTING_AC | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_AC | ||
| + | iptables -t nat -N PREROUTING_Remote | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_Remote | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_Remote | ||
| + | iptables -t nat -N POSTROUTING_Remote | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_Remote | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_Remote | ||
| + | iptables -t mangle -N POSTROUTING_ALG | ||
| + | iptables -t mangle -D POSTROUTING -j POSTROUTING_ALG | ||
| + | iptables: No chain/ | ||
| + | iptables -t mangle -I POSTROUTING -j POSTROUTING_ALG | ||
| + | iptables -t nat -N PREROUTING_IGMP | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_IGMP | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_IGMP | ||
| + | iptables -t filter -F web_filter | ||
| + | iptables -t filter -F ip_range_block | ||
| + | Can't get wan ip address!! | ||
| + | iptables -A FORWARD -p 1 -j ACCEPT | ||
| + | iptables -A FORWARD -p 47 -j ACCEPT | ||
| + | iptables -A FORWARD -p 50 -j ACCEPT | ||
| + | iptables -A FORWARD -p 51 -j ACCEPT | ||
| + | iptables -A FORWARD -p 6 -j ACCEPT | ||
| + | iptables -A FORWARD -p 17 -j ACCEPT | ||
| + | iptables -A INPUT -j DROP -p tcp --sport 0 | ||
| + | iptables -A INPUT -j DROP -p udp --sport 0 | ||
| + | iptables -A INPUT -j DROP -p tcp --dport 0 | ||
| + | iptables -A INPUT -j DROP -p udp --dport 0 | ||
| + | iptables -A INPUT -j DROP -p tcp --sport 1 | ||
| + | iptables -A INPUT -j DROP -p udp --sport 1 | ||
| + | iptables -A INPUT -j DROP -p tcp --dport 1 | ||
| + | iptables -A INPUT -j DROP -p udp --dport 1 | ||
| + | iptables -A INPUT -p tcp -j ACCEPT | ||
| + | iptables -A INPUT -p udp -j ACCEPT | ||
| + | iptables -F INPUT_SPort | ||
| + | iptables -F FORWARD_SPort | ||
| + | iptables -t nat -F PREROUTING_SPort | ||
| + | iptables -t nat -F POSTROUTING_SPort | ||
| + | iptables -F INPUT_MPort | ||
| + | iptables -F FORWARD_MPort | ||
| + | iptables -t nat -F PREROUTING_MPort | ||
| + | iptables -t nat -F POSTROUTING_MPort | ||
| + | iptables -F INPUT_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -F FORWARD_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F PREROUTING_AC | ||
| + | iptables -t nat -F POSTROUTING_AC | ||
| + | iptables: No chain/ | ||
| + | kill `ps |grep ' | ||
| + | crond | ||
| + | iptables -t nat -I PREROUTING_AC -p tcp --dport 80 -s 192.168.10.1/ | ||
| + | echo 1 > / | ||
| + | echo 1 > / | ||
| + | echo 7200 > / | ||
| + | killall -q zebra | ||
| + | killall -q ripd | ||
| + | ntp.sh | ||
| + | goahead: Get message from send_event, the message is firewall_reload | ||
| + | goahead: start firewall_init() | ||
| + | echo 0 > / | ||
| + | iptables -F -t filter 1>/ | ||
| + | iptables -D FORWARD -j macipport_block | ||
| + | iptables -F macipport_block | ||
| + | iptables -t mangle -F POSTROUTING_ALG | ||
| + | iptables -P INPUT ACCEPT | ||
| + | iptables -P OUTPUT ACCEPT | ||
| + | iptables -P FORWARD ACCEPT | ||
| + | iptables -F INPUT_SPort | ||
| + | iptables -F FORWARD_SPort | ||
| + | iptables -t nat -F PREROUTING_SPort | ||
| + | iptables -t nat -F POSTROUTING_SPort | ||
| + | iptables -F INPUT_MPort | ||
| + | iptables -F FORWARD_MPort | ||
| + | iptables -t nat -F PREROUTING_MPort | ||
| + | iptables -t nat -F POSTROUTING_MPort | ||
| + | iptables -F INPUT_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -F FORWARD_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F PREROUTING_AC | ||
| + | iptables -t nat -F POSTROUTING_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F PREROUTING_DMZ | ||
| + | iptables -t nat -F POSTROUTING_DMZ | ||
| + | iptables -t nat -F POSTROUTING | ||
| + | iptables -t nat -F PREROUTING | ||
| + | iptables -t nat -F PREROUTING_ICMP | ||
| + | iptables -t nat -F PREROUTING_UPnP | ||
| + | iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/ | ||
| + | iptables -I PREROUTING -t nat -i eth2.2 -s 0.0.0.0/0 -p udp -m state --state NEW -j DROP | ||
| + | iptables -I PREROUTING -t nat -i eth2.2 -p tcp --syn -j DROP | ||
| + | iptables -I PREROUTING -t nat -i eth2.2 -s 0.0.0.0/0 -p udp --sport 520 -j ACCEPT | ||
| + | iptables -I PREROUTING -t nat -i eth2.2 -s 0.0.0.0/0 -p tcp -m state --state RELATED, | ||
| + | iptables -t nat -D PREROUTING -i eth2.2 -j TRIGGER --trigger-type dnat | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -i eth2.2 | ||
| + | iptables -t nat -D PREROUTING -i ppp0 -j TRIGGER --trigger-type dnat | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -i ppp0 -j TRIGGER --trigger-type dnat | ||
| + | iptables -t nat -N POSTROUTING_NAT | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_NAT | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_NAT | ||
| + | iptables -t nat -N POSTROUTING_DNS | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_DNS | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_DNS | ||
| + | iptables -t nat -F POSTROUTING_DNS | ||
| + | iptables -t nat -N PREROUTING_ICMP | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_ICMP | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_ICMP | ||
| + | iptables -t nat -F PREROUTING_ICMP | ||
| + | iptables -I PREROUTING_ICMP -t nat -i eth2.2 -s 0.0.0.0/0 -p icmp --icmp-type echo-request -j DROP | ||
| + | iptables -t nat -N PREROUTING_DMZ | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_DMZ | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_DMZ | ||
| + | iptables -t nat -N POSTROUTING_DMZ | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_DMZ | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_DMZ | ||
| + | iptables -t filter -N web_filter 1>/ | ||
| + | iptables -t filter -D FORWARD -j web_filter 1>/ | ||
| + | iptables -t filter -I FORWARD -j web_filter 1>/ | ||
| + | iptables -t filter -N ip_range_block 1>/ | ||
| + | iptables -t filter -D FORWARD -j ip_range_block 1>/ | ||
| + | iptables -t filter -I FORWARD -j ip_range_block 1>/ | ||
| + | iptables -D FORWARD -j FORWARD_UPnP | ||
| + | iptables: No chain/ | ||
| + | iptables -I FORWARD -j FORWARD_UPnP | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_UPnP | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_UPnP | ||
| + | iptables -N INPUT_SPort | ||
| + | iptables: Chain already exists | ||
| + | iptables -D INPUT -j INPUT_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -I INPUT -j INPUT_SPort | ||
| + | iptables -N FORWARD_SPort | ||
| + | iptables: Chain already exists | ||
| + | iptables -D FORWARD -j FORWARD_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -I FORWARD -j FORWARD_SPort | ||
| + | iptables -N INPUT_MPort | ||
| + | iptables: Chain already exists | ||
| + | iptables -D INPUT -j INPUT_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -I INPUT -j INPUT_MPort | ||
| + | iptables -N FORWARD_MPort | ||
| + | iptables: Chain already exists | ||
| + | iptables -D FORWARD -j FORWARD_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -I FORWARD -j FORWARD_MPort | ||
| + | iptables -t nat -N PREROUTING_SPort | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_SPort | ||
| + | iptables -t nat -N POSTROUTING_SPort | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_SPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_SPort | ||
| + | iptables -t nat -N PREROUTING_MPort | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_MPort | ||
| + | iptables -t nat -N POSTROUTING_MPort | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_MPort | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_MPort | ||
| + | iptables -t nat -N PREROUTING_AC | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_AC | ||
| + | iptables -t nat -N PREROUTING_Remote | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_Remote | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_Remote | ||
| + | iptables -t nat -N POSTROUTING_Remote | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D POSTROUTING -j POSTROUTING_Remote | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I POSTROUTING -j POSTROUTING_Remote | ||
| + | iptables -t mangle -N POSTROUTING_ALG | ||
| + | iptables: Chain already exists | ||
| + | iptables -t mangle -D POSTROUTING -j POSTROUTING_ALG | ||
| + | iptables -t mangle -I POSTROUTING -j POSTROUTING_ALG | ||
| + | iptables -t nat -N PREROUTING_IGMP | ||
| + | iptables: Chain already exists | ||
| + | iptables -t nat -D PREROUTING -j PREROUTING_IGMP | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -I PREROUTING -j PREROUTING_IGMP | ||
| + | iptables -t filter -F web_filter | ||
| + | iptables -t filter -F ip_range_block | ||
| + | Can't get wan ip address!! | ||
| + | iptables -A FORWARD -p 1 -j ACCEPT | ||
| + | iptables -A FORWARD -p 47 -j ACCEPT | ||
| + | iptables -A FORWARD -p 50 -j ACCEPT | ||
| + | iptables -A FORWARD -p 51 -j ACCEPT | ||
| + | iptables -A FORWARD -p 6 -j ACCEPT | ||
| + | iptables -A FORWARD -p 17 -j ACCEPT | ||
| + | iptables -A INPUT -j DROP -p tcp --sport 0 | ||
| + | iptables -A INPUT -j DROP -p udp --sport 0 | ||
| + | iptables -A INPUT -j DROP -p tcp --dport 0 | ||
| + | iptables -A INPUT -j DROP -p udp --dport 0 | ||
| + | iptables -A INPUT -j DROP -p tcp --sport 1 | ||
| + | iptables -A INPUT -j DROP -p udp --sport 1 | ||
| + | iptables -A INPUT -j DROP -p tcp --dport 1 | ||
| + | iptables -A INPUT -j DROP -p udp --dport 1 | ||
| + | iptables -A INPUT -p tcp -j ACCEPT | ||
| + | iptables -A INPUT -p udp -j ACCEPT | ||
| + | iptables -F INPUT_SPort | ||
| + | iptables -F FORWARD_SPort | ||
| + | iptables -t nat -F PREROUTING_SPort | ||
| + | iptables -t nat -F POSTROUTING_SPort | ||
| + | iptables -F INPUT_MPort | ||
| + | iptables -F FORWARD_MPort | ||
| + | iptables -t nat -F PREROUTING_MPort | ||
| + | iptables -t nat -F POSTROUTING_MPort | ||
| + | iptables -F INPUT_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -F FORWARD_AC | ||
| + | iptables: No chain/ | ||
| + | iptables -t nat -F PREROUTING_AC | ||
| + | iptables -t nat -F POSTROUTING_AC | ||
| + | iptables: No chain/ | ||
| + | kill `ps |grep ' | ||
| + | crond | ||
| + | iptables -t nat -I PREROUTING_AC -p tcp --dport 80 -s 192.168.10.1/ | ||
| + | echo 1 > / | ||
| + | echo 1 > / | ||
| + | echo 7200 > / | ||
| + | killall -q zebra | ||
| + | killall -q ripd | ||
| + | ntp.sh | ||
| + | Start System Deamon | ||
| + | Clear connection track table</ | ||
| + | </ | ||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||