|
RT-N16路由试了一下
执行下面2条命令:
1. modprobe bcm_nat
2. dmesg
执行完以后显示的信息,日志也看了有这一条BCM fast NAT: INIT
login as: root
root@192.168.100.1's password:
Tomato v1.28.0114 MIPSR2-20131113.Hyzoom.RT_N5x K26 USB 16M-AIO-AR-TR-PY-GAE
========================================================
Welcome to the Asus RT-N16 [RT-N16]
Uptime: 18:50:28 up 1 day, 23:05
Load average: 0.12, 0.03, 0.00
Mem usage: 18.9% (used 23.41 of 124.12 MB)
WAN : 124.234.52.29/32 @ 10:BF:48:E6:0C:38
LAN : 192.168.100.1/24 @ DHCP: 192.168.100.10 - 192.168.100.200
WL0 : ASUS @ channel: USauto @ 10:BF:48:E6:0C:39
========================================================
root@ASUS:/tmp/home/root# modprobe bcm_nat
root@ASUS:/tmp/home/root# dmesg
Linux version 2.6.22.19 (root@tomato) (gcc version 4.2.4) #153 Wed Nov 13 08:14: 09 CST 2013
CPU revision is: 00019740
Determined physical RAM map:
memory: 07fff000 @ 00000000 (usable)
Entering add_active_range(0, 0, 32767) 0 entries of 256 used
Zone PFN ranges:
Normal 0 -> 32767
HighMem 32767 -> 32767
early_node_map[1] active PFN ranges
0: 0 -> 32767
On node 0 totalpages: 32767
Normal zone: 0 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 32767 pages, LIFO batch:7
HighMem zone: 0 pages used for memmap
Built 1 zonelists. Total pages: 32767
Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
Primary instruction cache 32kB, 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).
PID hash table entries: 512 (order: 9, 2048 bytes)
CPU: BCM4716 rev 1 pkg 10 at 480 MHz
Using 240.000 MHz high precision timer.
console [ttyS0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126832k/131068k available (32k kernel code, 4088k reserved, 2602k data, 120k init, 0k highmem)
Calibrating delay loop... 239.20 BogoMIPS (lpj=1196032)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Using membase 8000000
PCI: Initializing host
PCI: Reset RC
PCI: no core
PCI: Fixing up bus 0
PCI/PCIe coreunit 0 is set to bus 1.
PCI: Fixing up bridge
PCI: Setting latency timer of device 0000:01:00.0 to 64
PCI: Fixing up bridge
PCI: Setting latency timer of device 0000:01:00.1 to 64
PCI: Enabling device 0000:01:00.1 (0004 -> 0006)
PCI: Fixing up bus 1
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: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
io scheduler noop registered (default)
HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb8000300 (irq = 8) is a 16550A
PPP generic driver version 2.4.2
MPPE/MPPC encryption/compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.18.3
PPTP driver version 0.8.5
Physically mapped flash: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Physically mapped flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Flash device: 0x2000000 at 0x1c000000
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x01fe0000 : "linux"
0x00117000-0x00f40000 : "rootfs"
0x00f40000-0x01fe0000 : "jffs2"
0x01fe0000-0x02000000 : "nvram"
Found an serial flash with 0 0KB blocks; total size 0MB
sflash: found no supported devices
_nvram_init: allocat header: 2280783872, size= 32768
u32 classifier
OLD policer on
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1024 buckets, 8192 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
ipt_account 0.1.21 : Piotr Gasidlo <quaker@barbara.eu.org>, http://www.barbara.e u.org/~quaker/ipt_account/
net/ipv4/netfilter/tomato_ct.c [Nov 13 2013 08:14:08]
NET: Registered protocol family 1
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
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>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Warning: unable to open an initial console.
emf: module license 'Proprietary' taints kernel.
PCI: Setting latency timer of device 0000:00:02.0 to 64
eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.20
wl_module_init: passivemode set to 0x0
PCI: Setting latency timer of device 0000:00:01.0 to 64
eth1: Broadcom BCM4329 802.11 Wireless Controller 5.100.138.20
Algorithmics/MIPS FPU Emulator v1.5
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
PCI: Setting latency timer of device 0000:00:04.1 to 64
ehci_hcd 0000:00:04.1: EHCI Host Controller
ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:04.1: EHCI Fastpath: New EHCI driver starting
ehci_hcd 0000:00:04.1: irq 5, io mem 0x18004000
ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
vlan1: add 33:33:00:00:00:01 mcast address to master interface
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
vlan1: dev_set_allmulti(master, 1)
vlan1: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan1 entered promiscuous mode
COEX: downgraded chanspec 0x2d08 to 0x2b06: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d09 to 0x2b07: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 6 used by exiting BSSs
device eth1 entered promiscuous mode
br0: port 2(eth1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
vlan2: Setting MAC address to 10 bf 48 e6 0c 38.
vlan2: add 33:33:00:00:00:01 mcast address to master interface
vlan2: add 01:00:5e:00:00:01 mcast address to master interface
IMQ starting with 2 devices...
IMQ driver loaded successfully.
Hooking IMQ after NAT on PREROUTING.
Hooking IMQ before NAT on POSTROUTING.
vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
vlan2: del 01:00:5e:00:00:01 mcast address from master interface
vlan2: del 33:33:00:00:00:01 mcast address from vlan interface
vlan2: del 33:33:00:00:00:01 mcast address from master interface
vlan2: Setting MAC address to 10 bf 48 e6 0c 38.
vlan2: add 01:00:5e:00:00:01 mcast address to master interface
vlan2: add 33:33:00:00:00:01 mcast address to master interface
COEX: downgraded chanspec 0x2d09 to 0x2b07: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d04 to 0x2b02: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d06 to 0x2b04: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d09 to 0x2b07: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2e06 to 0x2b08: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d04 to 0x2b02: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d08 to 0x2b06: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d09 to 0x2b07: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d06 to 0x2b04: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d09 to 0x2b07: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d06 to 0x2b04: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d08 to 0x2b06: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d09 to 0x2b07: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 6 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d08 to 0x2b06: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 6 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 6 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d09 to 0x2b07: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d06 to 0x2b04: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d06 to 0x2b04: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d06 to 0x2b04: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d06 to 0x2b04: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 5 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e07 to 0x2b09: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2e09 to 0x2b0b: channel 4 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 2 used by exiting BSSs
COEX: downgraded chanspec 0x2d06 to 0x2b04: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d07 to 0x2b05: channel 2 used by exiting BSSs
BCM fast NAT: INIT
root@ASUS:/tmp/home/root# |
|