Das “Zurückflashen” mit der Original-Firmware von Trendnet funktioniert innerhalb weniger Minuten aus der Befehlszeile des openwrt Systems.
12:15:01 eth0: negotiated 100baseTx-FD, link ok
12:16:21 eth0: no link
12:16:34 eth0: negotiated 100baseTx-FD, link ok
12:16:41 eth0: no link
12:16:43 eth0: negotiated 100baseTx-FD flow-control, link ok
64 bytes from 192.168.10.1: icmp_seq=112 ttl=64 time=1001 ms
64 bytes from 192.168.10.1: icmp_seq=113 ttl=64 time=0.279 ms
Um 12:15 Uhr haben wir das System mit der Original-Firmware betankt, zwei Minuten später ist das System komplett wieder verfügbar.
root@OpenWrt:/tmp# wget http://192.168.1.11/fw110b08.bin
Connecting to 192.168.1.11 (192.168.1.11:80)
fw110b08.bin 100% |*******************************| 3776k --:--:-- ETA
root@OpenWrt:/tmp# md5sum fw110b08.bin
a0199c645cc6adc4eb48e0e1e131f73e fw110b08.bin
root@OpenWrt:/tmp# mtd -r write fw110b08.bin firmware
Unlocking firmware ...
Writing from fw110b08.bin to firmware ... [w]
Rebooting ...
Connection closed by foreign host.
Heute habe ich einen Router von ASUS mit dem aktuellen openWRT 8.09 bestückt.
Die Vorgehensweise war folgendermaßen:
Flash-Skript
Um den Router bequem flashen zu können, kommt es auf Sekunden an. Daher habe ich ein Skript erstellt, welches das WRT-Image dann schnell via TFTP auf das System bringen kann.
#!/bin/sh
/sbin/arp -s 192.168.1.1 00:11:22:AA:BB:CC
/usr/bin/atftp --trace --verbose --local-file openwrt-brcm-2.4-squashfs.trx --remote-file openwrt-brcm-2.4-squashfs.trx --put 192.168.1.1
Los gehts
Vorbereitungen auf der Konsole (als root)
( ping 192.168.1.1 2>&1 | grep -v "Unreacheable" ) &
mii-tool -w &
Auf dem Router drücken wir die “EZ-Setup” Taste und schalten den Strom ein.
Durch das mii-Tool können wir sofort sehen, wenn das System nach Stromgabe einen Link hat.
Wenn der erste Ping antwortet, dann können wir mit dem Flashen beginnen, indem
wir die EZ-Setup Taste loslassen und unser flash.sh Skript starten.
Trace mode on.
Verbose mode on.
sent WRQ <file: openwrt-brcm-2.4-squashfs.trx, mode: octet <>>
received ACK <block: 0>
sent DATA <block: 1, size: 512>
received ACK <block: 1>
sent DATA <block: 2, size: 512>
received ACK <block: 2>
...
sent DATA <block: 4233, size: 512>
received ACK <block: 4233>
Jetzt noch ca. 5 Minuten warten und den Router booten.
openWRT is alive
$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1 (192.168.1.1).
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.11.2 (2009-01-06 07:18:07 CET) 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
KAMIKAZE (8.09, r14511) ----------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/#
cpuinfo
root@OpenWrt:/# cat /proc/cpuinfo
system type : Broadcom BCM5354 chip rev 2
processor : 0
cpu model : BCM3302 V2.9
BogoMIPS : 237.56
wait instruction : no
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available
free
root@OpenWrt:/# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 31285248 10735616 20549632 0 1236992 4132864
Swap: 0 0 0
MemTotal: 30552 kB
MemFree: 20068 kB
MemShared: 0 kB
Buffers: 1208 kB
Cached: 4036 kB
SwapCached: 0 kB
Active: 3292 kB
Inactive: 1976 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 30552 kB
LowFree: 20068 kB
SwapTotal: 0 kB
SwapFree: 0 kB
df
df -h
Filesystem Size Used Available Use% Mounted on
rootfs 1.6M 1.6M 0 100% /
/dev/root 1.6M 1.6M 0 100% /rom
tmpfs 14.9M 108.0k 14.8M 1% /tmp
mini_fo:/tmp/root 1.6M 1.6M 0 100% /tmp/root
/dev/mtdblock/4 5.8M 328.0k 5.5M 6% /jffs
mini_fo:/jffs 1.6M 1.6M 0 100% /
proc/net/…
root@OpenWrt:/# cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0: 63971 890 0 0 0 0 0 0 277296 1130 0 0 0 0 0 0
eth0.0: 47837 889 0 0 0 0 0 0 90984 681 0 0 0 0 0 0
eth0.1: 0 0 0 0 0 0 0 0 181482 447 0 0 0 0 0 0
br-lan: 44281 889 0 0 0 0 0 0 88260 681 0 0 0 0 0 0
wl0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
root@OpenWrt:/# cat /proc/net/wireless
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 18
wl0: 0000 5. 0. 0. 0 0 0 0 0 0
logread
Feb 6 02:49:01 OpenWrt syslog.info syslogd started: BusyBox v1.11.2
Feb 6 02:49:01 OpenWrt user.notice kernel: klogd started: BusyBox v1.11.2 (2009-01-06 07:18:07 CET)
Feb 6 02:49:01 OpenWrt user.warn kernel: CPU revision is: 00029029
Feb 6 02:49:01 OpenWrt user.warn kernel: Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Feb 6 02:49:01 OpenWrt user.warn kernel: Primary data cache 16kB, 2-way, linesize 16 bytes.
Feb 6 02:49:01 OpenWrt user.warn kernel: Linux version 2.4.35.4 (nbd@baustelle) (gcc version 3.4.6 (OpenWrt-2.0)) #51 Sat Feb 14 23:44:13 CET 2009
Feb 6 02:49:01 OpenWrt user.warn kernel: Setting the PFC to its default value
Feb 6 02:49:01 OpenWrt user.warn kernel: Determined physical RAM map:
Feb 6 02:49:01 OpenWrt user.warn kernel: memory: 02000000 @ 00000000 (usable)
Feb 6 02:49:01 OpenWrt user.warn kernel: On node 0 totalpages: 8192
Feb 6 02:49:01 OpenWrt user.warn kernel: zone(0): 8192 pages.
Feb 6 02:49:01 OpenWrt user.warn kernel: zone(1): 0 pages.
Feb 6 02:49:01 OpenWrt user.warn kernel: zone(2): 0 pages.
Feb 6 02:49:01 OpenWrt user.warn kernel: Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
Feb 6 02:49:01 OpenWrt user.warn kernel: CPU: BCM5354 rev 2 at 240 MHz
Feb 6 02:49:01 OpenWrt user.warn kernel: Using 120.000 MHz high precision timer.
Feb 6 02:49:01 OpenWrt user.warn kernel: Calibrating delay loop... 237.56 BogoMIPS
Feb 6 02:49:01 OpenWrt user.info kernel: Memory: 30468k/32768k available (1425k kernel code, 2300k reserved, 100k data, 84k init, 0k highmem)
Feb 6 02:49:01 OpenWrt user.info kernel: Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Feb 6 02:49:01 OpenWrt user.info kernel: Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Feb 6 02:49:01 OpenWrt user.info kernel: Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Feb 6 02:49:01 OpenWrt user.info kernel: Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Feb 6 02:49:01 OpenWrt user.warn kernel: Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Feb 6 02:49:01 OpenWrt user.warn kernel: Checking for 'wait' instruction... unavailable.
Feb 6 02:49:01 OpenWrt user.warn kernel: POSIX conformance testing by UNIFIX
Feb 6 02:49:01 OpenWrt user.warn kernel: PCI: no core
Feb 6 02:49:01 OpenWrt user.warn kernel: PCI: Fixing up bus 0
Feb 6 02:49:01 OpenWrt user.info kernel: Linux NET4.0 for Linux 2.4
Feb 6 02:49:01 OpenWrt user.info kernel: Based upon Swansea University Computer Society NET3.039
Feb 6 02:49:01 OpenWrt user.warn kernel: Initializing RT netlink socket
Feb 6 02:49:01 OpenWrt user.warn kernel: Starting kswapd
Feb 6 02:49:01 OpenWrt user.warn kernel: Registering mini_fo version $Id$
Feb 6 02:49:01 OpenWrt user.info kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
Feb 6 02:49:01 OpenWrt user.info kernel: devfs: boot_options: 0x1
Feb 6 02:49:01 OpenWrt user.notice kernel: JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Feb 6 02:49:01 OpenWrt user.info kernel: squashfs: version 3.0 (2006/03/15) Phillip Lougher
Feb 6 02:49:01 OpenWrt user.warn kernel: pty: 256 Unix98 ptys configured
Feb 6 02:49:01 OpenWrt user.info kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Feb 6 02:49:01 OpenWrt user.info kernel: ttyS00 at 0xb8000300 (irq = 3) is a 16550A
Feb 6 02:49:01 OpenWrt user.info kernel: ttyS01 at 0xb8000400 (irq = 3) is a 16550A
Feb 6 02:49:01 OpenWrt user.info kernel: b44.c:v0.93 (Mar, 2004)
Feb 6 02:49:01 OpenWrt user.debug kernel: PCI: Setting latency timer of device 00:01.0 to 64
Feb 6 02:49:01 OpenWrt user.info kernel: eth0: Broadcom 47xx 10/100BaseT Ethernet 00:1f:c6:69:b0:d3
Feb 6 02:49:01 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Feb 6 02:49:01 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Feb 6 02:49:01 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Feb 6 02:49:01 OpenWrt user.notice kernel: Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Feb 6 02:49:01 OpenWrt user.notice kernel: number of CFI chips: 1
Feb 6 02:49:01 OpenWrt user.notice kernel: cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Feb 6 02:49:01 OpenWrt user.notice kernel: Flash device: 0x800000 at 0x1c000000
Feb 6 02:49:01 OpenWrt user.notice kernel: bootloader size: 131072
Feb 6 02:49:01 OpenWrt user.info kernel: Physically mapped flash: Filesystem type: squashfs, size=0x1814cb
Feb 6 02:49:01 OpenWrt user.warn kernel: Updating TRX offsets and length:
Feb 6 02:49:01 OpenWrt user.warn kernel: old trx = [0x0000001c, 0x00000904, 0x0007b000], len=0x00211000 crc32=0x13a80633
Feb 6 02:49:01 OpenWrt user.warn kernel: new trx = [0x0000001c, 0x00000904, 0x0007b000], len=0x00200000 crc32=0x6ed94e69
Feb 6 02:49:01 OpenWrt user.warn kernel: Done
Feb 6 02:49:01 OpenWrt user.notice kernel: Creating 5 MTD partitions on "Physically mapped flash":
Feb 6 02:49:01 OpenWrt user.notice kernel: 0x00000000-0x00020000 : "cfe"
Feb 6 02:49:01 OpenWrt user.notice kernel: 0x00020000-0x007f0000 : "linux"
Feb 6 02:49:01 OpenWrt user.notice kernel: 0x0009b000-0x00220000 : "rootfs"
Feb 6 02:49:01 OpenWrt user.warn kernel: mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
Feb 6 02:49:01 OpenWrt user.notice kernel: 0x007f0000-0x00800000 : "nvram"
Feb 6 02:49:01 OpenWrt user.notice kernel: 0x00220000-0x007f0000 : "rootfs_data"
Feb 6 02:49:01 OpenWrt user.info kernel: Initializing Cryptographic API
Feb 6 02:49:01 OpenWrt user.info kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Feb 6 02:49:01 OpenWrt user.info kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Feb 6 02:49:01 OpenWrt user.info kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Feb 6 02:49:01 OpenWrt user.info kernel: TCP: Hash tables configured (established 2048 bind 4096)
Feb 6 02:49:01 OpenWrt user.info kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Feb 6 02:49:01 OpenWrt user.info kernel: NET4: Ethernet Bridge 008 for NET4.0
Feb 6 02:49:01 OpenWrt user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Feb 6 02:49:01 OpenWrt user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Feb 6 02:49:01 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly.
Feb 6 02:49:01 OpenWrt user.info kernel: Mounted devfs on /dev
Feb 6 02:49:01 OpenWrt user.info kernel: Freeing unused kernel memory: 84k freed
Feb 6 02:49:01 OpenWrt user.warn kernel: Algorithmics/MIPS FPU Emulator v1.5
Feb 6 02:49:01 OpenWrt user.warn kernel: diag: Detected 'ASUS WL-500g Premium V2'
Feb 6 02:49:01 OpenWrt user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex.
Feb 6 02:49:01 OpenWrt user.info kernel: b44: eth0: Flow control is off for TX and off for RX.
Feb 6 02:49:01 OpenWrt user.info kernel: roboswitch: Probing device eth0: found!
Feb 6 02:49:01 OpenWrt user.info kernel: mini_fo: using base directory: /
Feb 6 02:49:01 OpenWrt user.info kernel: mini_fo: using storage directory: /tmp/root
Feb 6 02:49:01 OpenWrt user.warn kernel: jffs2.bbc: SIZE compression mode activated.
Feb 6 02:49:03 OpenWrt user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex.
Feb 6 02:49:03 OpenWrt user.info kernel: b44: eth0: Flow control is off for TX and off for RX.
Feb 6 02:49:04 OpenWrt user.debug kernel: eth0.0: add 01:00:5e:00:00:01 mcast address to master interface
Feb 6 02:49:04 OpenWrt user.info kernel: eth0.0: dev_set_promiscuity(master, 1)
Feb 6 02:49:04 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Feb 6 02:49:04 OpenWrt user.info kernel: device eth0.0 entered promiscuous mode
Feb 6 02:49:04 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering learning state
Feb 6 02:49:04 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state
Feb 6 02:49:04 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Feb 6 02:49:04 OpenWrt user.debug kernel: eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
Feb 6 02:49:05 OpenWrt user.debug kernel: eth0.1: del 01:00:5e:00:00:01 mcast address from vlan interface
Feb 6 02:49:05 OpenWrt user.debug kernel: eth0.1: del 01:00:5e:00:00:01 mcast address from master interface
Feb 6 02:49:05 OpenWrt user.debug kernel: eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
Feb 6 02:49:06 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering disabled state
Feb 6 02:49:06 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering learning state
Feb 6 02:49:06 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state
Feb 6 02:49:06 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Feb 6 02:49:07 OpenWrt user.debug kernel: PCI: Setting latency timer of device 00:05.0 to 64
Feb 6 02:49:07 OpenWrt user.emerg kernel: PCI/DMA
Feb 6 02:49:07 OpenWrt user.emerg kernel: wl0: wlc_attach: chiprev 2 coreunit 0 corerev 13 cccap 0x104007ea maccap 0x30482205 band 2.4G, phy_type 5 phy_rev 0 ana_rev 6
Feb 6 02:49:07 OpenWrt user.warn kernel: wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
Feb 6 02:49:07 OpenWrt user.info : Warning: loading wl will taint the kernel: non-GPL license - Proprietary
Feb 6 02:49:07 OpenWrt user.info : See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Feb 6 02:49:07 OpenWrt user.info kernel: CSLIP: code copyright 1989 Regents of the University of California
Feb 6 02:49:07 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Feb 6 02:49:08 OpenWrt user.warn kernel: ip_tables: (C) 2000-2002 Netfilter core team
Feb 6 02:49:09 OpenWrt user.warn kernel: ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
Feb 6 02:49:10 OpenWrt user.info : 'wl0' is disabled
Feb 6 02:49:10 OpenWrt user.info : 'wl0' is disabled
Feb 6 02:49:11 OpenWrt user.info : Loading defaults
Feb 6 02:49:11 OpenWrt user.info : Loading synflood protection
Feb 6 02:49:11 OpenWrt user.info : Adding custom chains
Feb 6 02:49:12 OpenWrt user.info : Loading zones
Feb 6 02:49:12 OpenWrt user.info : Loading rules
Feb 6 02:49:12 OpenWrt user.info : Loading forwarding
Feb 6 02:49:13 OpenWrt user.info : Loading redirects
Feb 6 02:49:13 OpenWrt user.info : Loading includes
Feb 6 02:49:13 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Feb 6 02:49:19 OpenWrt daemon.info dnsmasq[570]: started, version 2.46 cachesize 150
Feb 6 02:49:19 OpenWrt daemon.info dnsmasq[570]: compile time options: IPv6 GNU-getopt no-DBus no-I18N TFTP
Feb 6 02:49:19 OpenWrt daemon.info dnsmasq[570]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Feb 6 02:49:19 OpenWrt daemon.info dnsmasq[570]: using local addresses only for domain lan
Feb 6 02:49:19 OpenWrt daemon.warn dnsmasq[570]: no servers found in /tmp/resolv.conf.auto, will retry
Feb 6 02:49:19 OpenWrt daemon.info dnsmasq[570]: read /etc/hosts - 1 addresses
Feb 6 02:49:19 OpenWrt daemon.info dnsmasq[570]: read /etc/ethers - 0 addresses
Feb 6 02:49:20 OpenWrt user.warn kernel: jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
Feb 6 02:49:20 OpenWrt user.warn kernel: jffs2_build_filesystem(): unlocking the mtd device... done.
Feb 6 02:49:20 OpenWrt user.warn kernel: jffs2_build_filesystem(): erasing all blocks after the end marker...
Feb 6 02:50:04 OpenWrt user.info kernel: done.
Feb 6 02:50:04 OpenWrt user.info : copying files ... done
Feb 6 02:50:04 OpenWrt user.info kernel: mini_fo: using base directory: /
Feb 6 02:50:04 OpenWrt user.info kernel: mini_fo: using storage directory: /jffs
Feb 6 02:50:16 OpenWrt authpriv.info dropbear[625]: Running in background
dmesg
CPU revision is: 00029029
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.35.4 (nbd@baustelle) (gcc version 3.4.6 (OpenWrt-2.0)) #51 Sat Feb 14 23:44:13 CET 2009
Setting the PFC to its default value
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM5354 rev 2 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 237.56 BogoMIPS
Memory: 30468k/32768k available (1425k kernel code, 2300k reserved, 100k data, 84k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
b44.c:v0.93 (Mar, 2004)
PCI: Setting latency timer of device 00:01.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:1f:c6:69:b0:d3
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x1814cb
Updating TRX offsets and length:
old trx = [0x0000001c, 0x00000904, 0x0007b000], len=0x00211000 crc32=0x13a80633
new trx = [0x0000001c, 0x00000904, 0x0007b000], len=0x00200000 crc32=0x6ed94e69
Done
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x007f0000 : "linux"
0x0009b000-0x00220000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x00220000-0x007f0000 : "rootfs_data"
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
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.
Mounted devfs on /dev
Freeing unused kernel memory: 84k freed
Algorithmics/MIPS FPU Emulator v1.5
diag: Detected 'ASUS WL-500g Premium V2'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: found!
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
jffs2.bbc: SIZE compression mode activated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
eth0.0: add 01:00:5e:00:00:01 mcast address to master interface
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
eth0.1: del 01:00:5e:00:00:01 mcast address from vlan interface
eth0.1: del 01:00:5e:00:00:01 mcast address from master interface
eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
br-lan: port 1(eth0.0) entering disabled state
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
PCI: Setting latency timer of device 00:05.0 to 64
PCI/DMA
wl0: wlc_attach: chiprev 2 coreunit 0 corerev 13 cccap 0x104007ea maccap 0x30482205 band 2.4G, phy_type 5 phy_rev 0 ana_rev 6
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
device wl0 entered promiscuous mode
wl0: attempt to add interface with same source address.
modules
root@asus500gp:~# lsmod
Module Size Used by Tainted: P
wlcompat 9504 0 (unused)
ip_conntrack_tftp 1724 0 (unused)
ip_nat_irc 2360 0 (unused)
ip_conntrack_irc 3140 1
ip_nat_ftp 2984 0 (unused)
ip_conntrack_ftp 4284 1
ipt_MASQUERADE 1316 1
iptable_nat 21000 3 [ip_nat_irc ip_nat_ftp ipt_MASQUERADE]
ipt_state 408 6
ip_conntrack 22640 3 [ip_conntrack_tftp ip_nat_irc ip_conntrack_irc ip_nat_ftp ip_conntrack_ftp ipt_MASQUERADE iptable_nat ipt_state]
ipt_REJECT 3932 2
ipt_TCPMSS 2316 1
ipt_LOG 3804 0 (unused)
ipt_multiport 748 0 (unused)
ipt_mac 556 0 (unused)
ipt_limit 892 1
iptable_mangle 2156 0 (unused)
iptable_filter 1676 1
ip_tables 16960 13 [ipt_MASQUERADE iptable_nat ipt_state ipt_REJECT ipt_TCPMSS ipt_LOG ipt_multiport ipt_mac ipt_limit iptable_mangle iptable_filter]
ppp_async 8044 0 (unused)
ppp_generic 22380 0 [ppp_async]
slhc 6064 0 [ppp_generic]
wl 666560 0 (unused)
switch-robo 5084 0 (unused)
switch-core 5104 0 [switch-robo]
diag 48752 0 (unused)
Wireless
root@OpenWrt:/# wifi
'wl0' is disabled
'wl0' is disabled
root@OpenWrt:/# uci set wireless.wl0.disabled=0
root@OpenWrt:/# uci commit wireless
root@OpenWrt:/# wifi
root@OpenWrt:/# cat /proc/net/wireless
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 18
wl0: 0000 5. 0. 164. 0 0 0 0 0 0
root@OpenWrt:/# iwconfig wl0
wl0 IEEE 802.11-DS ESSID:"OpenWrt"
Mode:Master Frequency:2.432 GHz Access Point: 00:1F:C6:69:B0:D3
Bit Rate=54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Link Quality:5 Signal level:0 Noise level:164
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@OpenWrt:/# iwlist wl0 scanning
wl0 Scan completed :
Cell 01 - Address: 00:1B:2F:73:29:64
ESSID:"22845254"
Mode:Managed
Channel:6
Quality:1/5 Signal level:-84 dBm Noise level:-92 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Cell 02 - Address: 00:17:9A:F7:22:A9
ESSID:"Default"
Mode:Managed
Channel:6
Quality:5/5 Signal level:-57 dBm Noise level:-92 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Cell 03 - Address: 00:1F:3F:0F:52:CD
ESSID:"WLAN"
Mode:Managed
Channel:9
Quality:5/5 Signal level:-50 dBm Noise level:-92 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Da geht die LuCI ab
lynx http://192.168.1.1
OpenWrt - LuCI
Skip to navigation Skip to content
OpenWrt Firmware
Kamikaze (r14417)
Load: 0.08 0.02 0.01
Hostname: OpenWrt
Navigation
* Essentials
* Administration
Authorization Required
Please enter your username and password.
Username
root________________
Password
******______________
Login Reset
Powered by LuCI 0.8.6 Release (v0.8.6)
Customizing
Siehe auch openWRT WIKI ASUS WL500gP und Packages.
opkg update
opkg install wl
opkg install nas
opkg install kmod-usb-storage