OpenWrt Forum Archive

Topic: Howto setup vlan for multi-wan on r26685 on TL-MR3220

The content of this topic has been archived on 30 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi

Can anyone give me the correct switch setup for using 2 wan's.

The router is TL-MR3200 with extroot on a 2 Gb USB stick -  and presently with one wan it works like a charm.
But I do have to wan's and would like to benefit from this :-)

My present sw, network and dmesg is listed below - please let me know, if any more info is needed.
I have been fighting some days with this now, but seems to always just loose contact with the router and have to reset/reinstall.
I have tried some of the cookbooks on this forum without luck.

Thank you in advance for any help.

# opkg list-installed
base-files - 68-r26685
blkid - 1.41.12-1
block-mount - 0.2.0-5
busybox - 1.18.4-1
collectd - 4.10.2-2
collectd-mod-interface - 4.10.2-2
collectd-mod-load - 4.10.2-2
collectd-mod-rrdtool - 4.10.2-2
collectd-mod-wireless - 4.10.2-2
crda - 1.1.1-1
dnsmasq - 2.57-1
dropbear - 0.53.1-3
firewall - 2-24
hotplug2 - 1.0-beta-4
ip - 2.6.35-3
iptables - 1.4.10-2
iptables-mod-conntrack - 1.4.10-2
iptables-mod-conntrack-extra - 1.4.10-2
iptables-mod-ipopt - 1.4.10-2
iptables-mod-nat - 1.4.10-2
iptables-utils - 1.4.10-2
iw - 0.9.22-1
kernel - 2.6.37.6-1
kmod-ath - 2.6.37.6+2011-04-06-3
kmod-ath9k - 2.6.37.6+2011-04-06-3
kmod-ath9k-common - 2.6.37.6+2011-04-06-3
kmod-button-hotplug - 2.6.37.6-3
kmod-cfg80211 - 2.6.37.6+2011-04-06-3
kmod-crc-ccitt - 2.6.37.6-1
kmod-crc16 - 2.6.37.6-1
kmod-crypto-aes - 2.6.37.6-1
kmod-crypto-arc4 - 2.6.37.6-1
kmod-crypto-core - 2.6.37.6-1
kmod-fs-ext4 - 2.6.37.6-1
kmod-fs-mbcache - 2.6.37.6-1
kmod-input-core - 2.6.37.6-1
kmod-input-gpio-keys-polled - 2.6.37.6-1
kmod-input-polldev - 2.6.37.6-1
kmod-ipt-conntrack - 2.6.37.6-1
kmod-ipt-conntrack-extra - 2.6.37.6-1
kmod-ipt-core - 2.6.37.6-1
kmod-ipt-ipopt - 2.6.37.6-1
kmod-ipt-nat - 2.6.37.6-1
kmod-ipt-nathelper - 2.6.37.6-1
kmod-leds-gpio - 2.6.37.6-1
kmod-ledtrig-usbdev - 2.6.37.6-1
kmod-mac80211 - 2.6.37.6+2011-04-06-3
kmod-nls-base - 2.6.37.6-1
kmod-ppp - 2.6.37.6-1
kmod-pppoe - 2.6.37.6-1
kmod-scsi-core - 2.6.37.6-1
kmod-usb-core - 2.6.37.6-1
kmod-usb-ohci - 2.6.37.6-1
kmod-usb-storage - 2.6.37.6-1
kmod-usb2 - 2.6.37.6-1
libblkid - 1.41.12-1
libc - 0.9.32-68
libgcc - linaro-68
libip4tc - 1.4.10-2
libiwinfo - 13
libltdl - 2.4-1
liblua - 5.1.4-7
libnl-tiny - 0.1-2
libpthread - 0.9.32-68
librrd1 - 1.0.50-1
libuci - 2011-03-27.2-1
libuci-lua - 2011-03-27.2-1
libuuid - 1.41.12-1
libxtables - 1.4.10-2
lua - 5.1.4-7
luci - 0.10+svn6989-1
luci-app-firewall - 0.10+svn6989-1
luci-app-initmgr - 0.10+svn6989-1
luci-app-multiwan - 0.10+svn6989-1
luci-app-statistics - 0.10+svn6989-1
luci-i18n-english - 0.10+svn6989-1
luci-lib-core - 0.10+svn6989-1
luci-lib-ipkg - 0.10+svn6989-1
luci-lib-lmo - 0.10+svn6989-1
luci-lib-nixio - 0.10+svn6989-1
luci-lib-sys - 0.10+svn6989-1
luci-lib-web - 0.10+svn6989-1
luci-mod-admin-core - 0.10+svn6989-1
luci-mod-admin-full - 0.10+svn6989-1
luci-sgi-cgi - 0.10+svn6989-1
luci-theme-base - 0.10+svn6989-1
luci-theme-openwrt - 0.10+svn6989-1
mtd - 15
multiwan - 1.0.19-1
opkg - 618-1
ppp - 2.4.4-16
ppp-mod-pppoe - 2.4.4-16
rrdtool1 - 1.0.50-1
swap-utils - 2.13.0.1-4
swconfig - 7
uci - 2011-03-27.2-1
uhttpd - 22
wireless-tools - 29-4
wpad-mini - 20110402-1
zlib - 1.2.5-1
=================================================================================
network:

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0

config interface lan
        option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   10.9.8.1
        option netmask  255.255.255.0

config interface wan
        option ifname   eth1
        option proto    dhcp

config switch eth0
        option enable_vlan      1

config switch_vlan
        option device   eth0
        option vlan     1
        option ports    "0 1 2 3 4"
==============================================================================================
And dmesg says:

Linux version 2.6.37.6 (openwrt@OpenWRTBuild) (gcc version 4.5.2 (Linaro GCC 4.5-2011.02-0) ) #1 Sat Apr 16 01:26:36 MST 2011
prom: fw_arg0=00000008, fw_arg1=a1f87fb0, fw_arg2=a1f88470, fw_arg3=00000004
MyLoader: sysp=f0f0f0f0, boardp=f0f0f0f0, parts=f0f0f0f0
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
SoC: Atheros AR7241 rev 1
Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 802b9ce0, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line:  board=TL-MR3220 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29368k/32768k available (2024k kernel code, 3400k reserved, 384k data, 172k init, 0k highmem)
SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:80
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-MR3220
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:00:00.0: [168c:ff1c] type 0 class 0x000200
pci 0000:00:00.0: fixup device configuration
pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit]
pci 0000:00:00.0: supports D1
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x1000ffff 64bit] (PCI address [0x10000000-0x1000ffff])
PCI: mapping irq 72 to pin1@0000:00:00.0
Switching to clocksource MIPS
NET: Registered protocol family 2
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: found w25q32, expected m25p80
m25p80 spi0.0: w25q32 (4096 Kbytes)
spi0.0: searching for MyLoader partition table at offset 0x10000
spi0.0: searching for MyLoader partition table at offset 0x20000
spi0.0: searching for MyLoader partition table at offset 0x30000
spi0.0: searching for MyLoader partition table at offset 0x40000
spi0.0: no MyLoader partition table found
Searching for RedBoot partition table in spi0.0 at offset 0x3fe000
Searching for RedBoot partition table in spi0.0 at offset 0x3ff000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2BB000, len=135000
0x0000002bb000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "art"
0x000000020000-0x0000003f0000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xba000000, irq 5
eth0: Found an AR7240 built-in switch
eth1: Atheros AG71xx at 0xb9000000, irq 4
eth1: connected to PHY at ag71xx-mdio:04 [uid=004dd041, driver=Generic PHY]
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=21)
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
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 on device 31:2.
Freeing unused kernel memory: 172k freed
input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
Button Hotplug driver version 0.4.1
eth0: link up (1000Mbps/Full duplex)
Registered led device: tl-mr3x20:green:system
Registered led device: tl-mr3x20:green:qss
Registered led device: tl-mr3x20:green:3g
JFFS2 notice: (365) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 15 of xref (0 dead, 2 orphan) found.
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.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
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb 1-1: new high speed USB device using ar71xx-ehci and address 2
scsi0 : usb-storage 1-1:1.0
scsi 0:0:0:0: Direct-Access     UDISK    PDU01_2G 75G2.0  0.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 4030463 512-byte logical blocks: (2.06 GB/1.92 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
eth0: link down
eth0: link up (1000Mbps/Full duplex)
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
br-lan: port 1(eth0) entering forwarding state
Compat-wireless backport release: compat-wireless-2011-03-30-6-g6a250de
Backport based on wireless-testing.git master-2011-04-06
cfg80211: Calling CRDA to update world regulatory domain
PCI: Setting latency timer of device 0000:00:00.0 to 64
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Registered led device: ath9k-phy0
ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=72
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: Calling CRDA for country: US
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
eth1: link up (100Mbps/Full duplex)
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (461 buckets, 1844 max)
xt_time: kernel timezone is -0000
ar71xx-wdt: enabling watchdog timer
eth1: link down
eth1: link up (100Mbps/Full duplex)
br-lan: port 1(eth0) entering forwarding state
eth0: link down
device eth0 left promiscuous mode
br-lan: port 1(eth0) entering disabled state
eth1: link down
eth0: link up (1000Mbps/Full duplex)
eth0: link down
eth0: link up (1000Mbps/Full duplex)
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
br-lan: port 1(eth0) entering forwarding state
eth1: link up (100Mbps/Full duplex)
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
br-lan: port 2(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
br-lan: port 2(wlan0) entering forwarding state
eth1: link up (10Mbps/Half duplex)
eth1: link up (100Mbps/Full duplex)
eth1: link down
eth1: link up (100Mbps/Full duplex)

Tried this, but it soes not seem to get the lan ports up and running:

root@OpenWrt-Heden-2:~# uci export network
package 'network'

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'

config 'interface' 'lan'
        option 'ifname' 'eth0.1'
        option 'type' 'bridge'
        option 'proto' 'static'
        option 'ipaddr' '192.168.1.1'
        option 'netmask' '255.255.255.0'

config 'switch' 'wan2'
        option 'ifname' 'eth0.2'
        option 'proto' 'dhcp'
        option 'name' 'eth0'
        option 'reset' '1'
        option 'enable_vlan' '1'

config 'interface' 'wan'
        option 'ifname' 'eth1'
        option 'proto' 'dhcp'

config 'switch_vlan'
        option 'device' 'eth0'
        option 'vlan' '1'
        option 'ports' '0 1 2   4*'

config 'switch_vlan'
        option 'device' 'eth0'
        option 'vlan' '2'
        option 'ports' '      3 4*'

root@OpenWrt-Heden-2:~# logread
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Determined physical RAM map:
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel:  memory: 02000000 @ 00000000 (usable)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Initrd not found or empty - disabling initrd
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: Zone PFN ranges:
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel:   Normal   0x00000000 -> 0x00002000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: Movable zone start PFN for each node
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: early_node_map[1] active PFN ranges
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel:     0: 0x00000000 -> 0x00002000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: On node 0 totalpages: 8192
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: free_area_init_node: node 0, pgdat 802b9ce0, node_mem_map 81000000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel:   Normal zone: 64 pages used for memmap
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel:   Normal zone: 0 pages reserved
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel:   Normal zone: 8128 pages, LIFO batch:0
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: pcpu-alloc: [0] 0
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: Kernel command line:  board=TL-MR3220 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: PID hash table entries: 128 (order: -3, 512 bytes)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Writing ErrCtl register=00000000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Readback ErrCtl register=00000000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Memory: 29368k/32768k available (2024k kernel code, 3400k reserved, 384k data, 172k init, 0k highmem)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: NR_IRQS:80
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: pid_max: default: 32768 minimum: 301
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: Mount-cache hash table entries: 512
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: NET: Registered protocol family 16
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: MIPS: machine is TP-LINK TL-MR3220
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: registering PCI controller with io_map_base unset
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: bio: create slab <bio-0> at 0
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: pci 0000:00:00.0: [168c:ff1c] type 0 class 0x000200
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: pci 0000:00:00.0: fixup device configuration
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit]
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: pci 0000:00:00.0: supports D1
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: pci 0000:00:00.0: PME# disabled
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x1000ffff 64bit] (PCI address [0x10000000-0x1000ffff])
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: PCI: mapping irq 72 to pin1@0000:00:00.0
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Switching to clocksource MIPS
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: NET: Registered protocol family 2
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: TCP: Hash tables configured (established 1024 bind 1024)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: TCP reno registered
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: UDP hash table entries: 256 (order: 0, 4096 bytes)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: NET: Registered protocol family 1
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: PCI: CLS 0 bytes, default 32
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: msgmni has been set to 57
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: io scheduler noop registered
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: io scheduler deadline registered (default)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: console [ttyS0] enabled, bootconsole disabled
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: Atheros AR71xx SPI Controller driver version 0.2.4
Apr 21 09:33:00 OpenWrt-Heden-2 kern.warn kernel: m25p80 spi0.0: found w25q32, expected m25p80
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: m25p80 spi0.0: w25q32 (4096 Kbytes)
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: spi0.0: searching for MyLoader partition table at offset 0x10000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: spi0.0: searching for MyLoader partition table at offset 0x20000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: spi0.0: searching for MyLoader partition table at offset 0x30000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: spi0.0: searching for MyLoader partition table at offset 0x40000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.debug kernel: spi0.0: no MyLoader partition table found
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: Searching for RedBoot partition table in spi0.0 at offset 0x3fe000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: Searching for RedBoot partition table in spi0.0 at offset 0x3ff000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: No RedBoot partition table detected in spi0.0
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: spi0.0: no WRT160NL signature found
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: Creating 5 MTD partitions on "spi0.0":
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: 0x000000000000-0x000000020000 : "u-boot"
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: 0x000000020000-0x000000160000 : "kernel"
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: 0x000000160000-0x0000003f0000 : "rootfs"
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: mtd: partition "rootfs" set to be root filesystem
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: mtd: partition "rootfs_data" created automatically, ofs=2BB000, len=135000
Apr 21 09:33:00 OpenWrt-Heden-2 kern.notice kernel: 0x0000002bb000-0x0000003f0000 : "rootfs_data"
Apr 21 09:33:00 OpenWrt-Heden-2 kern.info kernel: eth0: link up (1000Mbps/Full duplex)
Apr 21 09:33:00 OpenWrt-Heden-2 user.notice ifup: Enabling Router Solicitations on loopback (lo)
Apr 21 09:33:01 OpenWrt-Heden-2 user.notice rdate: No usable time server for loopback found
Apr 21 09:33:01 OpenWrt-Heden-2 user.info sysinit: udhcpc (v1.18.4) started
Apr 21 09:33:01 OpenWrt-Heden-2 kern.info kernel: device eth0.1 entered promiscuous mode
Apr 21 09:33:01 OpenWrt-Heden-2 kern.info kernel: device eth0 entered promiscuous mode
Apr 21 09:33:01 OpenWrt-Heden-2 kern.info kernel: br-lan: port 1(eth0.1) entering forwarding state
Apr 21 09:33:01 OpenWrt-Heden-2 kern.info kernel: br-lan: port 1(eth0.1) entering forwarding state
Apr 21 09:33:01 OpenWrt-Heden-2 kern.info kernel: Compat-wireless backport release: compat-wireless-2011-03-30-6-g6a250de
Apr 21 09:33:01 OpenWrt-Heden-2 kern.info kernel: Backport based on wireless-testing.git master-2011-04-06
Apr 21 09:33:01 OpenWrt-Heden-2 kern.info kernel: cfg80211: Calling CRDA to update world regulatory domain
Apr 21 09:33:02 OpenWrt-Heden-2 kern.debug kernel: PCI: Setting latency timer of device 0000:00:00.0 to 64
Apr 21 09:33:02 OpenWrt-Heden-2 kern.debug kernel: ath: EEPROM regdomain: 0x0
Apr 21 09:33:02 OpenWrt-Heden-2 kern.debug kernel: ath: EEPROM indicates default country code should be used
Apr 21 09:33:02 OpenWrt-Heden-2 kern.debug kernel: ath: doing EEPROM country->regdmn map search
Apr 21 09:33:02 OpenWrt-Heden-2 kern.debug kernel: ath: country maps to regdmn code: 0x3a
Apr 21 09:33:02 OpenWrt-Heden-2 kern.debug kernel: ath: Country alpha2 being used: US
Apr 21 09:33:02 OpenWrt-Heden-2 kern.debug kernel: ath: Regpair used: 0x3a
Apr 21 09:33:02 OpenWrt-Heden-2 kern.debug kernel: ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Apr 21 09:33:02 OpenWrt-Heden-2 kern.debug kernel: Registered led device: ath9k-phy0
Apr 21 09:33:02 OpenWrt-Heden-2 kern.info kernel: ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=72
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: PPP generic driver version 2.4.2
Apr 21 09:33:03 OpenWrt-Heden-2 user.info sysinit: Sending discover...
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: cfg80211: World regulatory domain updated:
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: cfg80211: Calling CRDA for country: US
Apr 21 09:33:03 OpenWrt-Heden-2 user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Apr 21 09:33:03 OpenWrt-Heden-2 kern.info kernel: NET: Registered protocol family 24
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: nf_conntrack version 0.5.0 (461 buckets, 1844 max)
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: eth1: link up (100Mbps/Full duplex)
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: cfg80211: Regulatory domain changed to country: US
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Apr 21 09:33:04 OpenWrt-Heden-2 user.notice rdate: No usable time server for lan found
Apr 21 09:33:04 OpenWrt-Heden-2 kern.info kernel: xt_time: kernel timezone is -0000
Apr 21 09:33:05 OpenWrt-Heden-2 user.info sysinit: 'radio0' is disabled
Apr 21 09:33:05 OpenWrt-Heden-2 user.info sysinit: 'radio0' is disabled
Apr 21 09:33:06 OpenWrt-Heden-2 user.info sysinit: Sending discover...
Apr 21 09:33:06 OpenWrt-Heden-2 user.info sysinit: Loading defaults
Apr 21 09:33:06 OpenWrt-Heden-2 user.info sysinit: Loading synflood protection
Apr 21 09:33:06 OpenWrt-Heden-2 user.info sysinit: Adding custom chains
Apr 21 09:33:07 OpenWrt-Heden-2 user.info sysinit: Loading zones
Apr 21 09:33:07 OpenWrt-Heden-2 user.info sysinit: Loading forwardings
Apr 21 09:33:07 OpenWrt-Heden-2 user.info sysinit: Loading redirects
Apr 21 09:33:07 OpenWrt-Heden-2 user.info sysinit: Loading rules
Apr 21 09:33:08 OpenWrt-Heden-2 user.info sysinit: Loading includes
Apr 21 09:33:08 OpenWrt-Heden-2 user.info sysinit: Optimizing conntrack
Apr 21 09:33:08 OpenWrt-Heden-2 user.info sysinit: Loading interfaces
Apr 21 09:33:08 OpenWrt-Heden-2 user.info firewall: adding lan (br-lan) to zone lan
Apr 21 09:33:08 OpenWrt-Heden-2 user.info sysinit: Sending select for 10.9.8.52...
Apr 21 09:33:08 OpenWrt-Heden-2 authpriv.info dropbear[1108]: Running in background
Apr 21 09:33:08 OpenWrt-Heden-2 user.info sysinit: Lease of 10.9.8.52 obtained, lease time 43200
Apr 21 09:33:09 OpenWrt-Heden-2 user.info sysinit: udhcpc: ifconfig eth1 10.9.8.52 netmask 255.255.255.0 broadcast 10.9.8.255
Apr 21 09:33:09 OpenWrt-Heden-2 user.info sysinit: udhcpc: setting default routers: 10.9.8.1
Apr 21 09:33:09 OpenWrt-Heden-2 user.info sysinit: udhcpc: setting dns servers: 10.9.8.1
Apr 21 09:33:09 OpenWrt-Heden-2 user.info sysinit: udhcpc: setting dns domain: lan
Apr 21 09:33:09 OpenWrt-Heden-2 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Apr 21 09:33:09 OpenWrt-Heden-2 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Apr 21 09:33:09 OpenWrt-Heden-2 user.notice ifup: Allowing Router Advertisements on wan (eth1)
Apr 21 09:33:10 OpenWrt-Heden-2 user.info firewall: adding wan (eth1) to zone wan
Apr 21 09:34:40 OpenWrt-Heden-2 user.notice rdate: Synced with ptbtime1.ptb.de
Apr 21 09:34:42 OpenWrt-Heden-2 daemon.info dnsmasq[1308]: started, version 2.57 cachesize 150
Apr 21 09:34:42 OpenWrt-Heden-2 daemon.info dnsmasq[1308]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP no-IDN
Apr 21 09:34:42 OpenWrt-Heden-2 daemon.info dnsmasq-dhcp[1308]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Apr 21 09:34:42 OpenWrt-Heden-2 daemon.info dnsmasq[1308]: using local addresses only for domain lan
Apr 21 09:34:42 OpenWrt-Heden-2 daemon.info dnsmasq[1308]: reading /tmp/resolv.conf.auto
Apr 21 09:34:42 OpenWrt-Heden-2 daemon.info dnsmasq[1308]: using nameserver 10.9.8.1#53
Apr 21 09:34:42 OpenWrt-Heden-2 daemon.info dnsmasq[1308]: using local addresses only for domain lan
Apr 21 09:34:42 OpenWrt-Heden-2 daemon.info dnsmasq[1308]: read /etc/hosts - 1 addresses
Apr 21 09:34:42 OpenWrt-Heden-2 daemon.info dnsmasq-dhcp[1308]: read /etc/ethers - 0 addresses
Apr 21 09:34:42 OpenWrt-Heden-2 user.info sysinit: setting up led USB
Apr 21 09:34:42 OpenWrt-Heden-2 kern.debug kernel: ar71xx-wdt: enabling watchdog timer
Apr 21 12:25:33 OpenWrt-Heden-2 authpriv.info dropbear[1370]: Child connection from 10.9.8.1:53004
Apr 21 12:25:37 OpenWrt-Heden-2 authpriv.notice dropbear[1370]: Password auth succeeded for 'root' from 10.9.8.1:53004
root@OpenWrt-Heden-2:~#

Return to original version firmware TL-MR3220 v.2 + instalation openwrt firmware TL-MR3220 v.2


ulozto.cz/!2cbsySl2Vzbo/tl-mr3220-v2-firmware-openwrt-upraveny-pro-navrat-k-orig-originalni-frmware-zip

The discussion might have continued from here.