ericwong wrote:excelsi wrote: Can somebody tell me where i can find these logs from the command line after i established a telnet seessions to the router?
Try
logread
dmesg
Hi,
here is the output after booting in recovery mode. So far as i can see there is nothing useful for the OpenVPN Prolbem:
root@(none):/# logread
logread: can't find syslogd buffer: No such file or directory
root@(none):/# dmesg
[ 0.000000] Linux version 3.3.8 (eric@Osiris) (gcc version 4.6.3 20120201 (pr
erelease) (Linaro GCC 4.6-2012.02) ) #3 Thu Sep 20 04:21:23 EDT 2012
[ 0.000000] MyLoader: sysp=ffffffff, boardp=ffffffff, parts=ffffffff
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9132 rev 2
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000
MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 802daf90, node_mem_map 8100000
0
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8128 pages, LIFO batch:0
[ 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 pag
es: 8128
[ 0.000000] Kernel command line: board=TL-WR1043ND console=ttyS0,115200 root
fstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 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: 29208k/32768k available (2131k kernel code, 3560k reserve
d, 409k data, 208k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, No
des=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 21 on device: ath79
[ 0.100000] MIPS: machine is TP-LINK TL-WR1043ND
[ 0.360000] bio: create slab <bio-0> at 0
[ 0.370000] Switching to clocksource MIPS
[ 0.380000] NET: Registered protocol family 2
[ 0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.380000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.390000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.390000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.400000] TCP reno registered
[ 0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.410000] NET: Registered protocol family 1
[ 0.420000] PCI: CLS 0 bytes, default 32
[ 0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.440000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY
) (c) 2001-2006 Red Hat, Inc.
[ 0.450000] msgmni has been set to 57
[ 0.460000] io scheduler noop registered
[ 0.460000] io scheduler deadline registered (default)
[ 0.470000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.490000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.500000] console [ttyS0] enabled, bootconsole disabled
[ 0.510000] m25p80 spi0.0: found s25sl064a, expected m25p80
[ 0.520000] m25p80 spi0.0: s25sl064a (8192 Kbytes)
[ 0.530000] 5 tp-link partitions found on MTD device spi0.0
[ 0.530000] Creating 5 MTD partitions on "spi0.0":
[ 0.540000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.540000] 0x000000020000-0x000000104a00 : "kernel"
[ 0.550000] mtd: partition "kernel" must either start or end on erase block b
oundary or be smaller than an erase block -- forcing read-only
[ 0.560000] 0x000000104a00-0x0000007f0000 : "rootfs"
[ 0.570000] mtd: partition "rootfs" must either start or end on erase block b
oundary or be smaller than an erase block -- forcing read-only
[ 0.580000] mtd: partition "rootfs" set to be root filesystem
[ 0.590000] mtd: partition "rootfs_data" created automatically, ofs=680000, l
en=170000
[ 0.600000] 0x000000680000-0x0000007f0000 : "rootfs_data"
[ 0.600000] 0x0000007f0000-0x000000800000 : "art"
[ 0.610000] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.620000] Realtek RTL8366RB ethernet switch driver version 0.2.3
[ 0.740000] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
[ 0.740000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[ 0.920000] rtl8366rb: probed
[ 0.930000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.230000] TCP cubic registered
[ 1.240000] NET: Registered protocol family 17
[ 1.240000] Bridge firewalling registered
[ 1.240000] Ebtables v2.0 registered
[ 1.250000] 8021q: 802.1Q VLAN Support v1.8
[ 1.260000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.270000] Freeing unused kernel memory: 208k freed
[ 3.860000] ar71xx: pll_reg 0xb8050014: 0x1a000000
[ 3.860000] eth0: link up (1000Mbps/Full duplex)
[ 3.990000] Registered led device: tp-link:green:usb
[ 3.990000] Registered led device: tp-link:green:system
[ 3.990000] Registered led device: tp-link:green:qss
[ 3.990000] Registered led device: tp-link:green:wlan
root@(none):/#