OpenWrt Forum Archive

Topic: Running Kamikaze on Linksys wag160n

The content of this topic has been archived between 7 Oct 2014 and 12 Apr 2018. Unfortunately there are posts – most likely complete pages – missing.

hello, can anyone post a link to openwrt-96358GW-squashfs-bc310-cfe.zip? all the links are dead... sad

Hi,

If anyone still interested here is the link to attitude-adjustment-beta-2 for wag160n v1

--
Greetings -
Virus

did you test it? does it work? how did you flash it?
thank you

ttouch wrote:

did you test it? does it work? how did you flash it?

I did the test beacuse I did the patches :-)

ADSL modem does not work as afaik there are no driver sources available. Everything else works nice. I have some 802.11n performance issues but probably they will be resolved with stable AA release of OpenWrt. 802.11g works fine.

I flashed it from CFE via TFTP using serial console but you should be able to flash from Linksys stock firmware or - if you already have OpenWrt installed - using LuCi or sysupgrade.

This is an output from current booting:

[    0.000000] Linux version 3.3.8 (virus@VirionUB) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #7 Wed Nov 7 22:26:57 CET 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbfc00000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-5.4
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 96358GW
[    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 802a3b90, 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] Reserving 0MB of memory at 0MB for crashkernel
[    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:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    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 32kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 29248k/32768k available (2232k kernel code, 3520k reserved, 408k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.064000] registering PCI controller with io_map_base unset
[    0.080000] bio: create slab <bio-0> at 0
[    0.088000] PCI host bridge to bus 0000:00
[    0.092000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.096000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.100000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.100000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.112000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.116000] Switching to clocksource MIPS
[    0.128000] NET: Registered protocol family 2
[    0.132000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.140000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.148000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.156000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.160000] TCP reno registered
[    0.164000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.172000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.176000] NET: Registered protocol family 1
[    0.184000] pci 0000:00:01.0: fixup device configuration
[    0.192000] PCI: CLS 0 bytes, default 16
[    0.196000] audit: initializing netlink socket (disabled)
[    0.200000] type=2000 audit(0.200:1): initialized
[    0.208000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.212000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.224000] msgmni has been set to 57
[    0.228000] io scheduler noop registered
[    0.232000] io scheduler deadline registered (default)
[    0.240000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.248000] console [ttyS0] enabled, bootconsole disabled
[    0.264000] physmap platform flash device: 00400000 at 1fc00000
[    0.272000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a8
[    0.280000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.288000]   Amd/Fujitsu Extended Query version 1.1.
[    0.292000] number of CFI chips: 1
[    0.296000] bcm63xxpart: CFE boot tag found with version 6 and board type 96358GW
[    0.304000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.308000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.316000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length 2e0000
[    0.324000] bcm63xxpart: Partition 3 is cal_data offset 3e0000 and length 10000
[    0.332000] bcm63xxpart: Partition 4 is nvram offset 3f0000 and length 10000
[    0.340000] bcm63xxpart: Partition 5 is linux offset 10000 and length 3d0000
[    0.348000] bcm63xxpart: Spare partition is offset 2b0004 and length 12fffc
[    0.352000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.360000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.368000] 0x000000000000-0x000000010000 : "CFE"
[    0.376000] 0x000000010100-0x000000100000 : "kernel"
[    0.380000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.396000] 0x000000100000-0x0000003e0000 : "rootfs"
[    0.404000] mtd: partition "rootfs" set to be root filesystem
[    0.412000] mtd: partition "rootfs_data" created automatically, ofs=2B0000, len=130000 
[    0.420000] 0x0000002b0000-0x0000003e0000 : "rootfs_data"
[    0.428000] 0x0000003e0000-0x0000003f0000 : "cal_data"
[    0.436000] 0x0000003f0000-0x000000400000 : "nvram"
[    0.448000] 0x000000010000-0x0000003e0000 : "linux"
[    0.464000] bcm63xx_enet MII bus: probed
[    0.468000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (2)]
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.488000] Registered led device: green:internet
[    0.492000] Registered led device: red:internet
[    0.492000] Registered led device: red:power
[    0.492000] Registered led device: green:power
[    0.492000] Registered led device: green:dsl
[    0.492000] Registered led device: green:button
[    0.492000] Registered led device: green:wireless
[    0.496000] TCP cubic registered
[    0.500000] NET: Registered protocol family 17
[    0.504000] 8021q: 802.1Q VLAN Support v1.8
[    0.516000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.528000] Freeing unused kernel memory: 200k freed
[    3.212000] eth1: link forced UP - 100/full - flow control off/off
[    3.276000] roboswitch: Probing device eth0: Failed to enable switch
[    3.284000] roboswitch: Probing device eth1: found a 5325! It's a 5350.
[    9.320000] JFFS2 notice: (358) jffs2_build_xattr_subsystem: complete building xattr subsystem, 17 of xdatum (1 unchecked, 16 orphan) and 21 of xref (0 dead, 17 orphan) found.
[   11.980000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   11.988000] Backport based on wireless-testing.git master-2012-09-07
[   11.992000] compat.git: wireless-testing.git
[   12.052000] cfg80211: Calling CRDA to update world regulatory domain
[   12.056000] cfg80211: World regulatory domain updated:
[   12.064000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.072000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.080000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.088000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.096000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.104000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.304000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   13.320000] ath: EEPROM regdomain: 0x0
[   13.320000] ath: EEPROM indicates default country code should be used
[   13.320000] ath: doing EEPROM country->regdmn map search
[   13.320000] ath: country maps to regdmn code: 0x3a
[   13.320000] ath: Country alpha2 being used: US
[   13.320000] ath: Regpair used: 0x3a
[   13.332000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.336000] Registered led device: ath9k-phy0
[   13.336000] ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2122 RF Rev:81 mem=0xc0360000, irq=39
[   13.348000] cfg80211: Calling CRDA for country: US
[   13.352000] cfg80211: Regulatory domain changed to country: US
[   13.356000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.364000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   13.372000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   13.380000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.388000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.396000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.404000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   13.436000] Button Hotplug driver version 0.4.1
[   13.664000] PPP generic driver version 2.4.2
[   13.720000] PPP MPPE Compression module registered
[   13.748000] GRE over IPv4 demultiplexor driver
[   13.776000] GRE over IPv4 tunneling driver
[   13.856000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.084000] NET: Registered protocol family 24
[   14.120000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
[   14.332000] PPTP driver version 0.8.5
[   14.780000] ath_hal: module license 'Proprietary' taints kernel.
[   14.788000] Disabling lock debugging due to kernel taint
[   14.812000] ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)
[   15.192000] ath_pci: trunk
[   15.196000] wlan: trunk
[   15.200000] wlan: mac acl policy registered
[   15.204000] ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
[   15.212000] ath_rate_minstrel: look around rate set to 10%
[   15.216000] ath_rate_minstrel: EWMA rolloff level set to 75%
[   15.224000] ath_rate_minstrel: max segment size in the mrr set to 6000 us
[   15.260000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   18.988000] eth1: link forced UP - 100/full - flow control off/off
[   20.120000] eth1: link forced UP - 100/full - flow control off/off

--
Cheers -
Virus

ok, thank you! smile
I have a wag160n v2. will it work? (Of course I'm gonna test it...)

my wag160n v2 may be bricked...
I power it on and the power led is off. When I attach a cable, the port's led turns on.
DHCP is not working, as I can't get IP (time out). No luck with static IP too.

ttouch wrote:

my wag160n v2 may be bricked...

Sorry to hear that. Unfortunately as you can read here v2 bootloader is slightly different from v1 version. The link above says about "Download Mode" - hope that will help.

--
Good luck!
Virus

Hi Virus,
so it's worth a try to flash my WAG 160N V2 annexB in download mode with the sercomm tool?

(Last edited by mclien on 21 Nov 2012, 14:25)

mclien wrote:

so it's worth a try to flash my WAG 160N V2 annexB in download mode with the sercomm tool?

I'm afraid this image will work for v1 only.

Will it be much work to build one for the v2?

mclien wrote:

Will it be much work to build one for the v2?

Well, I don't have all necessary patches nor I know what modifications are needed to comply with v2 sad

I just read up on this topic. I just don't get it, is there an easy image to flash, and how to flash it?
The wiki is not a real how-to, but would love to install OpenWRT on this old router...

Hi,
same question as my predecessor. Is there an image for the wag160n-v1?
As far as I understand it should mention Broadcom "BCM6358SKFBG" but I can not find it.
Thanks.

Virus wrote:

Hi,

If anyone still interested here is the link to attitude-adjustment-beta-2 for wag160n v1

--
Greetings -
Virus


So will I be able to just install this through my stockfirmware webgui??
And if so does this release have adsl support for my modem?

Cheers,
Chan

already realized:

flashimage virus-fichier.bin


ethernet is ok.

wifi is unavailable. a typic command iwconfig says that no interface have wifi extension.




=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.04.07 03:41:22 =~=~=~=~=~=~=~=~=~=~=~=

root@OpenWrt:/# reboot
root@OpenWrt:/# [  145.672000] br-lan: port 1(eth1) entered disabled state
[  145.680000] device eth1 left promiscuous mode
[  145.684000] br-lan: port 1(eth1) entered disabled state
[  146.412000] bcm63xx_wdt: Unexpected close, not stopping watchdog!
[  148.424000] Restarting system.
[  148.424000] triggering watchdog soft-reset...


CFE version 1.0.37-5.4 for BCM96358 (32bit,SP,BE)
Build Date: 四  1月 10 19:25:21 CST 2008 (root@9DavidZhang2)
Copyright (C) 2000-2005 Broadcom Corporation.

Boot Address 0xbfc00000

Initializing Arena.
Initializing Devices.
Parallel flash device: name MX29LV320AB, id 0x22a8, size 4096KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 33554432 bytes (32MB)

Total memory used by CFE:  0x80401000 - 0x80528800 (1210368)
Initialized Data:          0x8041E550 - 0x8041FF60 (6672)
BSS Area:                  0x8041FF60 - 0x80426800 (26784)
Local Heap:                0x80426800 - 0x80526800 (1048576)
Stack Area:                0x80526800 - 0x80528800 (8192)
Text (code) segment:       0x80401000 - 0x8041E544 (120132)
Boot area (physical):      0x00529000 - 0x00569000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1 
Host IP address                   : 192.168.1.100 
Gateway IP address                :   
Run from flash/host (f/h)         : f 
Default host run file name        : vmlinux 
Default host flash file name      : bcm963xx_fs_kernel 
Boot delay (0-9 seconds)          : 9 
Board Id Name                     : 96358VW 
Psi size in KB                    : 24
Number of MAC Addresses (1-32)    : 6 
Base MAC Address                  : 00:22:6b:f2:12:5c 
Ethernet PHY Type                 : Internal
Memory size in MB                 : 32
CMT Thread Number                 : 1

*** Press any key to stop auto run (9 seconds) ***
Auto run second count down: 99876543210
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
[    0.000000] Linux version 3.3.8 (virus@VirionUB) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #7 Wed Nov 7 22:26:57 CET 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbfc00000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-5.4
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 96358VW
[    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] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    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 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 29248k/32768k available (2232k kernel code, 3520k reserved, 408k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.156000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.164000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.196000] audit: initializing netlink socket (disabled)
[    0.200000] type=2000 audit(0.200:1): initialized
[    0.208000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.212000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.224000] msgmni has been set to 57
[    0.228000] io scheduler noop registered
[    0.232000] io scheduler deadline registered (default)
[    0.240000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.248000] console [ttyS0] enabled, bootconsole disabled
[    0.248000] console [ttyS0] enabled, bootconsole disabled
[    0.268000] physmap platform flash device: 00400000 at 1fc00000
[    0.272000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a8
[    0.284000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.288000]   Amd/Fujitsu Extended Query version 1.1.
[    0.292000] number of CFI chips: 1
[    0.296000] bcm63xxpart: CFE boot tag found with version 6 and board type 96358GW
[    0.304000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.312000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.320000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length 300000
[    0.328000] bcm63xxpart: Partition 3 is nvram offset 400000 and length 0
[    0.332000] bcm63xxpart: Partition 4 is linux offset 10000 and length 3f0000
[    0.340000] bcm63xxpart: Spare partition is offset 2b0004 and length 14fffc
[    0.348000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.356000] Creating 5 MTD partitions on "physmap-flash.0":
[    0.360000] 0x000000000000-0x000000010000 : "CFE"
[    0.368000] 0x000000010100-0x000000100000 : "kernel"
[    0.376000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.392000] 0x000000100000-0x000000400000 : "rootfs"
[    0.400000] mtd: partition "rootfs" set to be root filesystem
[    0.408000] mtd: partition "rootfs_data" created automatically, ofs=2B0000, len=150000
[    0.416000] 0x0000002b0000-0x000000400000 : "rootfs_data"
[    0.424000] 0x000000400000-0x000000400000 : "nvram"
[    0.432000] mtd: partition "nvram" is out of reach -- disabled
[    0.440000] 0x000000010000-0x000000400000 : "linux"
[    0.456000] bcm63xx_enet MII bus: probed
[    0.464000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (2)]
[    0.476000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.492000] TCP cubic registered
[    0.492000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.512000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 200k freed
awk: /proc/cpuinfo: No such file or directory
[    3.280000] eth1: link forced UP - 100/full - flow control off/off
[    3.352000] roboswitch: Probing device eth0: Failed to enable switch
[    3.360000] roboswitch: Probing device eth1: found a 5325! It's a 5350.
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.472000] JFFS2 notice: (342) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 6 of xref (0 dead, 2 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [   11.752000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   11.760000] Backport based on wireless-testing.git master-2012-09-07
[   11.764000] compat.git: wireless-testing.git
[   11.824000] cfg80211: Calling CRDA to update world regulatory domain
[   11.832000] cfg80211: World regulatory domain updated:
[   11.836000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   11.844000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.852000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.860000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.868000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.876000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.132000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   13.156000] ath: phy0: Bad EEPROM checksum 0x0 or revision 0x0000
[   13.160000] ath: phy0: Unable to initialize hardware; initialization status: -22
[   13.168000] ath9k 0000:00:01.0: Failed to initialize device
[   13.176000] ath9k: probe of 0000:00:01.0 failed with error -22
[   13.208000] Button Hotplug driver version 0.4.1
[   13.408000] PPP generic driver version 2.4.2
[   13.472000] PPP MPPE Compression module registered
[   13.500000] GRE over IPv4 demultiplexor driver
[   13.536000] GRE over IPv4 tunneling driver
[   13.624000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.888000] NET: Registered protocol family 24
[   13.932000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
[   14.176000] PPTP driver version 0.8.5
[   14.656000] ath_hal: module license 'Proprietary' taints kernel.
[   14.660000] Disabling lock debugging due to kernel taint
[   14.684000] ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)
[   15.068000] ath_pci: trunk
[   15.072000] wlan: trunk
[   15.072000] wlan: mac acl policy registered
[   15.076000] ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
[   15.084000] ath_rate_minstrel: look around rate set to 10%
[   15.092000] ath_rate_minstrel: EWMA rolloff level set to 75%
[   15.096000] ath_rate_minstrel: max segment size in the mrr set to 6000 us
[   20.480000] eth1: link forced UP - 100/full - flow control off/off
[   20.500000] device eth1 entered promiscuous mode
[   20.512000] br-lan: port 1(eth1) entered forwarding state
[   20.516000] br-lan: port 1(eth1) entered forwarding state
[   22.520000] br-lan: port 1(eth1) entered forwarding state



BusyBox v1.19.4 (2012-11-04 23:56:37 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
-----------------------------------------------------
ATTITUDE ADJUSTMENT (Attitude Adjustment, r34073)
-----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
-----------------------------------------------------
root@OpenWrt:/# wifi
root@OpenWrt:/# iwconfig
gre0      no wireless extensions.

lo        no wireless extensions.

eth1      no wireless extensions.

eth0      no wireless extensions.

br-lan    no wireless extensions.

root@OpenWrt:/#

thanks, virus.

I added a flashing guide so that even I could follow it ;-)
flashing the wag160n v1.

Got stuck almost 2 years ago - even managed to patch everything and build the firmware - but then
gave up on the last meters as it seems sad

Well ... took me another half day to conquer that tiny white whale of mine.

Does anyone have a precomplied firmware i can just upload to the device rather than having to dig out my soldering iron?

Serial Connection worked fine for me. I managed to flash the attitude_adjustment firmware (from the link above) and openwrt is working properly.

I need to use this router as openvpn server ONLY. No adsl required, no luci, no wireless. Howerver, when running opkg openvpn, I get a message about insufficient storage (128K instead of the 135K required by openvpn).

Since I am not so familiar with compiling a new image myself, I wonder if the backfire firmware (by Virus) would be more appropriate, in terms of free space.

I would like to find this binary, but no link seems to be available.

Any help ?

The discussion might have continued from here.