Re-Introducing thundertank!

[ 0.000000] Linux version 3.3.8 (adw@nofate) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Jan 13 18:43:02 GMT 2013
[ 0.000000] MyLoader: sysp=6d409381, boardp=17c02a70, parts=3ac41d02
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7242 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty – disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00004000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00004000
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 802eed40, node_mem_map 81000000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16256 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: no-uart gpio=3911 HZ=200000000 mem=64M kmac=D4:CA:6D:4D:06:2C board=751g boot=1 mlc=2 rootfstype=yaffs noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 61496k/65536k available (2188k kernel code, 4040k reserved, 432k data, 212k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop… 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
[ 0.100000] MIPS: machine is MikroTik RouterBOARD 751G
[ 0.100000] ar71xx: pll_reg 0xb805002c: 0x62000000
[ 0.330000] registering PCI controller with io_map_base unset
[ 0.350000] bio: create slab <bio-0> at 0
[ 0.350000] PCI host bridge to bus 0000:00
[ 0.360000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.360000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.370000] pci 0000:00:00.0: [168c:ff1c] type 0 class 0x000200
[ 0.370000] pci 0000:00:00.0: fixup device configuration
[ 0.370000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit]
[ 0.370000] pci 0000:00:00.0: supports D1
[ 0.370000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.370000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[ 0.380000] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.380000] Switching to clocksource MIPS
[ 0.390000] NET: Registered protocol family 2
[ 0.390000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.400000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.410000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.410000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.420000] TCP reno registered
[ 0.420000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.430000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.440000] NET: Registered protocol family 1
[ 0.440000] PCI: CLS 0 bytes, default 32
[ 0.460000] yaffs built Jan 13 2013 18:42:07 Installing.
[ 0.460000]
[ 0.460000]
[ 0.460000]
[ 0.460000]
[ 0.460000] YAFFS-WARNING CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED selected.
[ 0.460000]
[ 0.460000]
[ 0.460000]
[ 0.460000] msgmni has been set to 120
[ 0.460000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.470000] io scheduler noop registered
[ 0.470000] io scheduler deadline registered (default)
[ 0.480000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.510000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.520000] console [ttyS0] enabled, bootconsole disabled
[ 0.650000] NAND flash driver for the RouterBOARD 750 version 0.1.0
[ 0.730000] NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
[ 0.830000] Scanning device for bad blocks
[ 1.040000] Bad eraseblock 2101 at 0x0000020d4000
[ 1.240000] Creating 3 MTD partitions on “NAND 64MiB 3,3V 8-bit”:
[ 1.320000] 0x000000000000-0x000000040000 : “booter”
[ 1.380000] 0x000000040000-0x000000400000 : “kernel”
[ 1.440000] 0x000000400000-0x000004000000 : “rootfs”
[ 1.500000] mtd: partition “rootfs” set to be root filesystem
[ 1.570000] split_squashfs: no squashfs found in “NAND 64MiB 3,3V 8-bit”
[ 1.780000] ag71xx_mdio: probed
[ 1.820000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 2.450000] eth0: Atheros AR8327 switch driver attached.
[ 3.650000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316]
[ 3.790000] TCP cubic registered
[ 3.830000] NET: Registered protocol family 17
[ 3.880000] Bridge firewalling registered
[ 3.930000] 8021q: 802.1Q VLAN Support v1.8
[ 3.980000] yaffs: dev is 32505858 name is “mtdblock2” ro
[ 4.040000] yaffs: passed flags “”
[ 4.080000] yaffs: Attempting MTD mount of 31.2,”mtdblock2″
[ 4.160000] block 1845 is marked bad
[ 4.160000] block 1846 is bad
[ 6.140000] yaffs_read_super: is_checkpointed 0
[ 6.140000] VFS: Mounted root (yaffs filesystem) readonly on device 31:2.
[ 6.220000] Freeing unused kernel memory: 212k freed
[ 8.660000] eth0: link up (1000Mbps/Full duplex)
[ 10.630000] eth0: link down
[ 11.240000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[ 11.330000] Backport based on wireless-testing.git master-2012-09-07
[ 11.410000] compat.git: wireless-testing.git
[ 11.560000] cfg80211: Calling CRDA to update world regulatory domain
[ 11.640000] cfg80211: World regulatory domain updated:
[ 11.700000] cfg80211: (start_freq – end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 11.800000] cfg80211: (2402000 KHz – 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.890000] cfg80211: (2457000 KHz – 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 11.990000] cfg80211: (2474000 KHz – 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 12.080000] cfg80211: (5170000 KHz – 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.170000] cfg80211: (5735000 KHz – 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.760000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 12.830000] ath: EEPROM regdomain: 0x0
[ 12.830000] ath: EEPROM indicates default country code should be used
[ 12.830000] ath: doing EEPROM country->regdmn map search
[ 12.830000] ath: country maps to regdmn code: 0x3a
[ 12.830000] ath: Country alpha2 being used: US
[ 12.830000] ath: Regpair used: 0x3a
[ 12.840000] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’
[ 12.840000] Registered led device: ath9k-phy0
[ 12.840000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[ 12.920000] cfg80211: Calling CRDA for country: US
[ 13.060000] PPP generic driver version 2.4.2
[ 13.180000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.290000] cfg80211: Regulatory domain changed to country: US
[ 13.360000] cfg80211: (start_freq – end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 13.450000] cfg80211: (2402000 KHz – 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 13.550000] cfg80211: (5170000 KHz – 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 13.640000] cfg80211: (5250000 KHz – 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.730000] cfg80211: (5490000 KHz – 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.820000] cfg80211: (5650000 KHz – 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.920000] cfg80211: (5735000 KHz – 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 14.120000] NET: Registered protocol family 24
[ 14.210000] nf_conntrack version 0.5.0 (964 buckets, 3856 max)
[ 14.550000] Netfilter messages via NETLINK v0.30.
[ 18.300000] device eth0.1 entered promiscuous mode
[ 18.360000] device eth0 entered promiscuous mode
[ 19.210000] cfg80211: Calling CRDA for country: GB
[ 19.260000] cfg80211: Regulatory domain changed to country: GB
[ 19.330000] cfg80211: (start_freq – end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 19.430000] cfg80211: (2402000 KHz – 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 19.520000] cfg80211: (5170000 KHz – 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 19.610000] cfg80211: (5250000 KHz – 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 19.700000] cfg80211: (5490000 KHz – 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 20.050000] eth0: link up (1000Mbps/Full duplex)
[ 20.310000] br-lan: port 1(eth0.1) entered forwarding state
[ 20.370000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.370000] br-lan: port 1(eth0.1) entered forwarding state
[ 23.140000] device wlan0 entered promiscuous mode
[ 24.180000] br-lan: port 2(wlan0) entered forwarding state
[ 24.250000] br-lan: port 2(wlan0) entered forwarding state
[ 26.250000] br-lan: port 2(wlan0) entered forwarding state

Just need to convert the ipfw firewall rules to iptables and work out what servers (dns, dhcp, etc) belong where (dns is the main one, although I already have a split config for internal / external) and the OpenWRT router will be at the helm.

Leave a Reply

Your email address will not be published. Required fields are marked *