Projecto activo desde 1 de Janeiro de 2011
D-link dir 601A
Saltar para a navegação
Saltar para a pesquisa
Acesso e desbloqueio de um router via porta série utilizando o putty em linux.
- D-Link DIR-601 / DIR-600A1 Serial Pinout
- D-Link dir-600/601a
- Acesso pela porta série (Imagem)
- Modificando router D-link dir 601A para ligar uma antena externa (youtube wirelesspt)
Router mod

Modificando router d-link dir 601A para ligar uma antena externa by cmsv
cpu

cat /proc/cpuinfo system type : Atheros AR7240 rev 2 machine : D-Link DIR-600 rev. A1 processor : 0 cpu model : MIPS 24Kc V7.4 BogoMIPS : 232.24 wait instruction : yes microsecond timers : yes tlb_entries : 16 extra interrupt vector : yes hardware watchpoint : yes, count: 4, address/irw mask: [0x0000, 0x0f58, 0x0bf8, 0x03f8] ASEs implemented : mips16 shadow register sets : 1 kscratch registers : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available

cat /proc/meminfo MemTotal: 29340 kB MemFree: 11832 kB Buffers: 1844 kB Cached: 5124 kB SwapCached: 0 kB Active: 4556 kB Inactive: 4060 kB Active(anon): 1688 kB Inactive(anon): 56 kB Active(file): 2868 kB Inactive(file): 4004 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 1664 kB Mapped: 1380 kB Shmem: 96 kB Slab: 5900 kB SReclaimable: 1100 kB SUnreclaim: 4800 kB KernelStack: 352 kB PageTables: 300 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 14668 kB Committed_AS: 5616 kB VmallocTotal: 1048372 kB VmallocUsed: 576 kB VmallocChunk: 1042424 kB
cat /proc/version Linux version 3.3.8 (cmsv@wirelesspt) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Wed Jan 16 02:54:46 EST 2013
Dmesg






[ 0.000000] Linux version 3.3.8 (mike@gentrix) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jan 5 16:19:56 EST 2013 [ 0.000000] MyLoader: sysp=75886fa0, boardp=77a0ff00, parts=718f642f [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR7240 rev 2 [ 0.000000] Clocks: CPU:350.000MHz, DDR:350.000MHz, AHB:175.000MHz, Ref:5.000MHz [ 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 802d2180, node_mem_map 81000000 [ 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 pages: 8128 [ 0.000000] Kernel command line: board=DIR-600-A1 console=ttyS0,115200 mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,960k(kernel),2752k(rootfs),64k(mac)ro,64k(art)ro,3712k@0x40000(firmware) rootfstype=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: 29132k/32768k available (2100k kernel code, 3636k reserved, 405k data, 208k 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... 232.24 BogoMIPS (lpj=1161216) [ 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 D-Link DIR-600 rev. A1 [ 0.530000] registering PCI controller with io_map_base unset [ 0.540000] bio: create slab <bio-0> at 0 [ 0.550000] PCI host bridge to bus 0000:00 [ 0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] [ 0.560000] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.560000] pci 0000:00:00.0: [168c:002b] type 0 class 0x000280 [ 0.560000] pci 0000:00:00.0: fixup device configuration [ 0.570000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit] [ 0.570000] pci 0000:00:00.0: supports D1 [ 0.570000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 0.570000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit] [ 0.570000] pci 0000:00:00.0: using irq 40 for pin 1 [ 0.580000] Switching to clocksource MIPS [ 0.580000] NET: Registered protocol family 2 [ 0.590000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.590000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.600000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.610000] TCP reno registered [ 0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.630000] NET: Registered protocol family 1 [ 0.630000] PCI: CLS 0 bytes, default 32 [ 0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.660000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.670000] msgmni has been set to 56 [ 0.670000] io scheduler noop registered [ 0.680000] io scheduler deadline registered (default) [ 0.680000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.710000] console [ttyS0] enabled, bootconsole disabled [ 0.730000] m25p80 spi0.0: found mx25l3205d, expected m25p80 [ 0.740000] m25p80 spi0.0: mx25l3205d (4096 Kbytes) [ 0.740000] 7 cmdlinepart partitions found on MTD device spi0.0 [ 0.750000] Creating 7 MTD partitions on "spi0.0": [ 0.750000] 0x000000000000-0x000000030000 : "u-boot" [ 0.760000] 0x000000030000-0x000000040000 : "nvram" [ 0.770000] 0x000000040000-0x000000130000 : "kernel" [ 0.770000] 0x000000130000-0x0000003e0000 : "rootfs" [ 0.780000] mtd: partition "rootfs" set to be root filesystem [ 0.790000] mtd: partition "rootfs_data" created automatically, ofs=390000, len=50000 [ 0.790000] 0x000000390000-0x0000003e0000 : "rootfs_data" [ 0.800000] 0x0000003e0000-0x0000003f0000 : "mac" [ 0.810000] 0x0000003f0000-0x000000400000 : "art" [ 0.810000] 0x000000040000-0x0000003e0000 : "firmware" [ 0.930000] ag71xx_mdio: probed [ 0.940000] eth0: Atheros AG71xx at 0xba000000, irq 5 [ 1.490000] eth0: Found an AR7240/AR9330 built-in switch [ 2.530000] eth1: Atheros AG71xx at 0xb9000000, irq 4 [ 3.100000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY] [ 3.110000] TCP cubic registered [ 3.110000] NET: Registered protocol family 17 [ 3.110000] 8021q: 802.1Q VLAN Support v1.8 [ 3.120000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 3.130000] Freeing unused kernel memory: 208k freed [ 6.490000] Registered led device: d-link:green:power [ 6.490000] Registered led device: d-link:amber:power [ 6.490000] Registered led device: d-link:amber:wan [ 6.490000] Registered led device: d-link:green:wan [ 6.500000] Registered led device: d-link:green:lan1 [ 6.500000] Registered led device: d-link:green:lan2 [ 6.500000] Registered led device: d-link:green:lan3 [ 6.500000] Registered led device: d-link:green:lan4 [ 6.500000] Registered led device: d-link:blue:wps [ 9.840000] JFFS2 notice: (429) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 2 orphan) found. [ 11.000000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [ 11.010000] Backport based on wireless-testing.git master-2012-09-07 [ 11.010000] compat.git: wireless-testing.git [ 11.070000] cfg80211: Calling CRDA to update world regulatory domain [ 11.070000] cfg80211: World regulatory domain updated: [ 11.080000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 11.090000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.090000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.100000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.110000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.120000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.700000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 11.710000] ath: EEPROM regdomain: 0x0 [ 11.710000] ath: EEPROM indicates default country code should be used [ 11.710000] ath: doing EEPROM country->regdmn map search [ 11.710000] ath: country maps to regdmn code: 0x3a [ 11.710000] ath: Country alpha2 being used: US [ 11.710000] ath: Regpair used: 0x3a [ 11.710000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 11.720000] Registered led device: ath9k-phy0 [ 11.720000] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=40 [ 11.720000] cfg80211: Calling CRDA for country: US [ 11.730000] cfg80211: Regulatory domain changed to country: US [ 11.730000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 11.740000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 11.750000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 11.760000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.760000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.770000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.780000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 12.070000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 12.220000] nf_conntrack version 0.5.0 (458 buckets, 1832 max) [ 12.540000] batman_adv: B.A.T.M.A.N. advanced 2012.3.0 (compatibility version 14) loaded [ 18.940000] cfg80211: Calling CRDA for country: PT [ 18.950000] cfg80211: Regulatory domain changed to country: PT [ 18.960000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 18.960000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 18.970000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 18.980000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 18.990000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) [ 24.490000] u32 classifier [ 24.490000] Performance counters on [ 24.490000] input device check on [ 24.500000] Actions configured
reboot enquanto bloqueado
root@mvwrt:/# reboot root@mvwrt:/# [ 254.280000] Removing MTD device #4 (rootfs_data) with use count 1 [ 254.300000] Restarting system. U-Boot 1.1.4 (Apr 23 2009 - 11:58:47) AP91 (ar7240) U-boot DRAM: sri #### TAP VALUE 1 = 8, 2 = 9 32 MB Top of RAM usable for U-Boot at: 82000000 Reserving 243k for U-Boot at: 81fc0000 Reserving 192k for malloc() at: 81f90000 Reserving 44 Bytes for Board Info at: 81f8ffd4 Reserving 36 Bytes for Global Data at: 81f8ffb0 Reserving 128k for boot params() at: 81f6ffb0 Stack Pointer at: 81f6ff98 Now running in RAM - U-Boot at: 81fc0000 id read 0x100000ff flash size 4194304, sector count = 64 Flash: 4 MB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: ag7240_enet_initialize... Fetching MAC Address from 0x81fe6e50 : cfg1 0xf cfg2 0x7014 eth0: 00:03:7f:e0:21:e8 eth0 up No valid address in Flash. Using fixed address : cfg1 0xf cfg2 0x7214 eth1: 00:03:7f:09:0b:ad ATHRS26: resetting s26 ATHRS26: s26 reset done eth1 up eth0, eth1 Hit any key to stop autoboot: 0 ## Booting image at bf040000 ... Image Name: MIPS OpenWrt Linux-3.3.8 Created: 2013-01-06 6:20:07 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 916450 Bytes = 895 kB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK LZMA Umcompressing Kernel Image ... Image loaded from 80060000-80306f68 OK No initrd ## Transferring control to Linux (at address 80060000) ... ## Giving linux memsize in bytes, 33554432 Starting kernel ... [ 0.000000] Linux version 3.3.8 (mike@gentrix) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jan 5 16:19:56 EST 2013 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR7240 rev 2 [ 0.000000] Clocks: CPU:350.000MHz, DDR:350.000MHz, AHB:175.000MHz, Ref:5.000MHz [ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: board=DIR-600-A1 console=ttyS0,115200 mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,960k(kernel),2752k(rootfs),64k(mac)ro,64k(art)ro,3712k@0x40000(firmware) rootfstype=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: 29132k/32768k available (2100k kernel code, 3636k reserved, 405k data, 208k 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... 232.24 BogoMIPS (lpj=1161216) [ 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 D-Link DIR-600 rev. A1 [ 0.530000] registering PCI controller with io_map_base unset [ 0.540000] bio: create slab <bio-0> at 0 [ 0.550000] PCI host bridge to bus 0000:00 [ 0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] [ 0.560000] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.560000] pci 0000:00:00.0: fixup device configuration [ 0.570000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit] [ 0.570000] pci 0000:00:00.0: using irq 40 for pin 1 [ 0.580000] Switching to clocksource MIPS [ 0.580000] NET: Registered protocol family 2 [ 0.590000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.590000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.600000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.610000] TCP reno registered [ 0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.630000] NET: Registered protocol family 1 [ 0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.660000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.670000] msgmni has been set to 56 [ 0.670000] io scheduler noop registered [ 0.680000] io scheduler deadline registered (default) [ 0.680000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.710000] console [ttyS0] enabled, bootconsole disabled [ 0.710000] console [ttyS0] enabled, bootconsole disabled [ 0.730000] m25p80 spi0.0: found mx25l3205d, expected m25p80 [ 0.740000] m25p80 spi0.0: mx25l3205d (4096 Kbytes) [ 0.740000] 7 cmdlinepart partitions found on MTD device spi0.0 [ 0.750000] Creating 7 MTD partitions on "spi0.0": [ 0.750000] 0x000000000000-0x000000030000 : "u-boot" [ 0.760000] 0x000000030000-0x000000040000 : "nvram" [ 0.770000] 0x000000040000-0x000000130000 : "kernel" [ 0.770000] 0x000000130000-0x0000003e0000 : "rootfs" [ 0.780000] mtd: partition "rootfs" set to be root filesystem [ 0.790000] mtd: partition "rootfs_data" created automatically, ofs=390000, len=50000 [ 0.790000] 0x000000390000-0x0000003e0000 : "rootfs_data" [ 0.800000] 0x0000003e0000-0x0000003f0000 : "mac" [ 0.810000] 0x0000003f0000-0x000000400000 : "art" [ 0.810000] 0x000000040000-0x0000003e0000 : "firmware" [ 0.930000] ag71xx_mdio: probed [ 0.940000] eth0: Atheros AG71xx at 0xba000000, irq 5 [ 1.490000] eth0: Found an AR7240/AR9330 built-in switch [ 2.530000] eth1: Atheros AG71xx at 0xb9000000, irq 4 [ 3.100000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY] [ 3.110000] TCP cubic registered [ 3.110000] NET: Registered protocol family 17 [ 3.110000] 8021q: 802.1Q VLAN Support v1.8 [ 3.120000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 3.130000] Freeing unused kernel memory: 208k freed - preinit - Press the [f] key and hit [enter] to enter failsafe mode - regular preinit - [ 9.900000] JFFS2 notice: (429) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 2 orphan) found. switching to jffs2 - init - Please press Enter to activate this console. [ 11.060000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [ 11.070000] Backport based on wireless-testing.git master-2012-09-07 [ 11.080000] compat.git: wireless-testing.git [ 11.110000] cfg80211: Calling CRDA to update world regulatory domain [ 11.120000] cfg80211: World regulatory domain updated: [ 11.120000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 11.130000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.140000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.150000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.160000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.160000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.760000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 11.780000] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=40 [ 11.780000] cfg80211: Calling CRDA for country: US [ 11.790000] cfg80211: Regulatory domain changed to country: US [ 11.790000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 11.800000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 11.810000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 11.820000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.820000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.830000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.840000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 12.130000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 12.280000] nf_conntrack version 0.5.0 (458 buckets, 1832 max) [ 12.610000] batman_adv: B.A.T.M.A.N. advanced 2012.3.0 (compatibility version 14) loaded [ 18.950000] cfg80211: Calling CRDA for country: PT [ 18.950000] cfg80211: Regulatory domain changed to country: PT [ 18.960000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 18.960000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 18.970000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 18.980000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 18.990000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) [ 24.480000] u32 classifier [ 24.490000] Performance counters on [ 24.490000] input device check on [ 24.490000] Actions configured _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M --------------------------------------------------- _ _ _ _ _ _ ____ ___ |\/| | | |\ | |___ | | | \/ | \| |___ | _ _ _ _ ____ ____ _ ____ ____ ____ ____ ____ | | | | |__/ |___ | |___ [__ [__ |__/ | |_|_| | | \ |___ |___ |___ ___] ___] | | Firmware MvWRT (2013) B.A.T.M.A.N-ADV Wireless Mesh Para ajuda digite: ajuda Admin: cmsv@wirelesspt.net URL: http://wirelesspt.net ---------------------------------------------------
Flash do router com firmware
sysupgrade -n mvwrt-ar71xx-dir-601-a1-squashfs-sysupgrade.bin Sending TERM to remaining processes ... crond ntpd dnsmasq sftp-server syslogd klogd hotplug2 ubusd netifd Sending KILL to remaining processes ... Switching to ramdisk... Performing system upgrade... Unlocking firmware ... Writing from <stdin> to firmware ... Upgrade completed Rebooting system... [ 543.950000] Restarting system. U-Boot 1.1.4 (Apr 23 2009 - 11:58:47) AP91 (ar7240) U-boot DRAM: sri #### TAP VALUE 1 = 8, 2 = 9 32 MB Top of RAM usable for U-Boot at: 82000000 Reserving 243k for U-Boot at: 81fc0000 Reserving 192k for malloc() at: 81f90000 Reserving 44 Bytes for Board Info at: 81f8ffd4 Reserving 36 Bytes for Global Data at: 81f8ffb0 Reserving 128k for boot params() at: 81f6ffb0 Stack Pointer at: 81f6ff98 Now running in RAM - U-Boot at: 81fc0000 id read 0x100000ff flash size 4194304, sector count = 64 Flash: 4 MB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: ag7240_enet_initialize... Fetching MAC Address from 0x81fe6e50 : cfg1 0xf cfg2 0x7014 eth0: 00:03:7f:e0:21:e8 eth0 up No valid address in Flash. Using fixed address : cfg1 0xf cfg2 0x7214 eth1: 00:03:7f:09:0b:ad ATHRS26: resetting s26 ATHRS26: s26 reset done eth1 up eth0, eth1 Hit any key to stop autoboot: 0 ## Booting image at bf040000 ... Image Name: MIPS OpenWrt Linux-3.3.8 Created: 2013-01-23 9:43:21 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 916470 Bytes = 895 kB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK LZMA Umcompressing Kernel Image ... Image loaded from 80060000-80306f48 OK No initrd ## Transferring control to Linux (at address 80060000) ... ## Giving linux memsize in bytes, 33554432 Starting kernel ... [ 0.000000] Linux version 3.3.8 (mike@EPS) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Wed Jan 16 02:54:46 EST 2013 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR7240 rev 2 [ 0.000000] Clocks: CPU:350.000MHz, DDR:350.000MHz, AHB:175.000MHz, Ref:5.000MHz [ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: board=DIR-600-A1 console=ttyS0,115200 mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,960k(kernel),2752k(rootfs),64k(mac)ro,64k(art)ro,3712k@0x40000(firmware) rootfstype=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: 29132k/32768k available (2100k kernel code, 3636k reserved, 405k data, 208k 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... 232.24 BogoMIPS (lpj=1161216) [ 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 D-Link DIR-600 rev. A1 [ 0.530000] registering PCI controller with io_map_base unset [ 0.540000] bio: create slab <bio-0> at 0 [ 0.550000] PCI host bridge to bus 0000:00 [ 0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] [ 0.560000] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.560000] pci 0000:00:00.0: fixup device configuration [ 0.570000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit] [ 0.570000] pci 0000:00:00.0: using irq 40 for pin 1 [ 0.580000] Switching to clocksource MIPS [ 0.580000] NET: Registered protocol family 2 [ 0.590000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.590000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.600000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.610000] TCP reno registered [ 0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.630000] NET: Registered protocol family 1 [ 0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.660000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.670000] msgmni has been set to 56 [ 0.670000] io scheduler noop registered [ 0.680000] io scheduler deadline registered (default) [ 0.680000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.720000] console [ttyS0] enabled, bootconsole disabled [ 0.720000] console [ttyS0] enabled, bootconsole disabled [ 0.730000] m25p80 spi0.0: found mx25l3205d, expected m25p80 [ 0.740000] m25p80 spi0.0: mx25l3205d (4096 Kbytes) [ 0.740000] 7 cmdlinepart partitions found on MTD device spi0.0 [ 0.750000] Creating 7 MTD partitions on "spi0.0": [ 0.750000] 0x000000000000-0x000000030000 : "u-boot" [ 0.760000] 0x000000030000-0x000000040000 : "nvram" [ 0.770000] 0x000000040000-0x000000130000 : "kernel" [ 0.770000] 0x000000130000-0x0000003e0000 : "rootfs" [ 0.780000] mtd: partition "rootfs" set to be root filesystem [ 0.790000] mtd: partition "rootfs_data" created automatically, ofs=390000, len=50000 [ 0.790000] 0x000000390000-0x0000003e0000 : "rootfs_data" [ 0.800000] 0x0000003e0000-0x0000003f0000 : "mac" [ 0.810000] 0x0000003f0000-0x000000400000 : "art" [ 0.820000] 0x000000040000-0x0000003e0000 : "firmware" [ 0.930000] ag71xx_mdio: probed [ 0.940000] eth0: Atheros AG71xx at 0xba000000, irq 5 [ 1.490000] eth0: Found an AR7240/AR9330 built-in switch [ 2.530000] eth1: Atheros AG71xx at 0xb9000000, irq 4 [ 3.100000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY] [ 3.110000] TCP cubic registered [ 3.110000] NET: Registered protocol family 17 [ 3.110000] 8021q: 802.1Q VLAN Support v1.8 [ 3.120000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 3.130000] Freeing unused kernel memory: 208k freed - preinit - Press the [f] key and hit [enter] to enter failsafe mode [ 7.620000] eth0: link up (1000Mbps/Full duplex) - regular preinit - jffs2 not ready yet; using ramdisk - init - [ 9.930000] eth0: link down [ 10.950000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [ 10.960000] Backport based on wireless-testing.git master-2012-09-07 [ 10.970000] compat.git: wireless-testing.git [ 11.020000] cfg80211: Calling CRDA to update world regulatory domain [ 11.020000] cfg80211: World regulatory domain updated: [ 11.030000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 11.030000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.040000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.050000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.060000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.070000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.650000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 11.670000] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=40 [ 11.680000] cfg80211: Calling CRDA for country: US [ 11.680000] cfg80211: Regulatory domain changed to country: US [ 11.690000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 11.690000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 11.700000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 11.710000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.720000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.730000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.730000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 12.020000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 12.170000] nf_conntrack version 0.5.0 (458 buckets, 1832 max) [ 12.500000] batman_adv: B.A.T.M.A.N. advanced 2012.3.0 (compatibility version 14) loaded Please press Enter to activate this console. [ 18.270000] device eth0 entered promiscuous mode [ 18.990000] eth0: link up (1000Mbps/Full duplex) [ 18.990000] br-lan: port 1(eth0) entered forwarding state [ 19.000000] br-lan: port 1(eth0) entered forwarding state [ 20.810000] cfg80211: Calling CRDA for country: PT [ 20.810000] cfg80211: Regulatory domain changed to country: PT [ 20.820000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 20.830000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 20.830000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 20.840000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 20.850000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) [ 21.000000] br-lan: port 1(eth0) entered forwarding state [ 23.820000] device wlan0 entered promiscuous mode [ 23.900000] br-lan: port 2(wlan0) entered forwarding state [ 23.900000] br-lan: port 2(wlan0) entered forwarding state [ 25.900000] br-lan: port 2(wlan0) entered forwarding state [ 33.840000] wlan0-1: Creating new IBSS network, BSSID 02:16:b8:6b:0a:1a [ 35.080000] u32 classifier [ 35.080000] Performance counters on [ 35.090000] input device check on [ 35.090000] Actions configured [ 35.230000] HTB: quantum of class 10001 is big. Consider r2q change. [ 35.250000] HTB: quantum of class 10010 is big. Consider r2q change. [ 35.270000] HTB: quantum of class 10020 is big. Consider r2q change. [ 35.290000] HTB: quantum of class 10030 is big. Consider r2q change. [ 38.630000] batman_adv: bat0: Adding interface: wlan0-1 [ 38.640000] batman_adv: bat0: Interface activated: wlan0-1 [ 38.650000] device bat0 entered promiscuous mode [ 38.650000] br-lan: port 3(bat0) entered forwarding state [ 38.660000] br-lan: port 3(bat0) entered forwarding state [ 38.920000] batman_adv: bat0: Changing gateway bandwidth from: '41' to: '168' (propagating: 3MBit/384KBit) [ 38.940000] batman_adv: bat0: Changing gw mode from: off to: client [ 38.940000] batman_adv: bat0: bridge_loop_avoidance: Changing from: disabled to: enabled [ 40.660000] br-lan: port 3(bat0) entered forwarding state [ 40.950000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 40.970000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 40.970000] jffs2_build_filesystem(): erasing all blocks after the end marker... done. [ 43.280000] JFFS2 notice: (1416) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
BusyBox v1.19.4 (2013-01-16 01:49:19 EST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
---------------------------------------------------
_ _ _ _ _ _ ____ ___
|\/| | | |\ | |___ |
| | \/ | \| |___ |
_ _ _ _ ____ ____ _ ____ ____ ____ ____ ____
| | | | |__/ |___ | |___ [__ [__ |__/ |
|_|_| | | \ |___ |___ |___ ___] ___] | |
Firmware MvWRT (2013)
B.A.T.M.A.N-ADV Wireless Mesh
Para ajuda digite: ajuda
Admin: cmsv@wirelesspt.net
URL: http://wirelesspt.net
---------------------------------------------------
Links externos
- D-link dir 601a OpenWRT
- D-link dir 601A (facebook wirelesspt)
- D-link dir 601A (imagens no pinterest wirelesspt)