Buffalo WBMR-HP-G300H

We need information for debrick this device with JTAG pinout, if you know how to repair full-brick, help us !

Installation

generic.flashing

Only suitably encrypted images may be flashed from the web interface in the stock Buffalo firmware. It is therefore not possible to install OpenWRT in this way. There are two alternatives:

Option 1: Install from DD-WRT

DD-WRT have a licensing agreement with Buffalo, and can therefore provide encrypted firmware images. So it is possible to proceed as follows:

  • Flash the DD-WRT image from the web interface of the stock Buffalo firmware. (Be careful to choose the right image file, ie the one for an initial install, not the one for upgrading from a previous version of DD-WRT.)
  • Just a warning before flashing. This OpenWRT image is for annex b not a. The instructions under Configure ADSL imply that you can install annex a after flashing but the package is not included in the image, so you will be stuck with no internet. So check which annex your internet service provider uses before flashing.
  • Get on-line. See DD-WRT documentation for this.
  • telnet into DD-WRT, then download and flash the OpenWRT image file:
cd /tmp
wget http://downloads.openwrt.org/attitude_adjustment/12.09/lantiq/ar9/openwrt-lantiq-ar9-WBMR-squashfs.image
mtd -r write openwrt-lantiq-ar9-WBMR-squashfs.image linux

Can someone confirm that this works?

I found this to work but do not try to revert to DD-WRT using mtd or you may have to debrick (see https://forum.openwrt.org/viewtopic.php?id=43954). Note that getting back to DD-WRT may not be possible so be sure you want OpenWrt.

I confirm that the above does not work. I striped the 28 Bytes header of the dd-wrt image (Build 18026) with the command 'dd bs=28 skip=1 if=/tmp/BUFFALO_TO_DD-WRT_wbmr-hp-g300h-firmware.bin of=/tmp/BUFFALO_TO_DD-WRT_wbmr-hp-g300h-firmware.trx' and tried to flash the device with that image using mtd. The result was a bricked device and I had to use the ramdisk image in order to fix it. So, don't try it.

It is now possible to revert back to DD-Wrt from the OpenWrt WebUI

The latest official DD-Wrt release (Build 21061 / 2013-04-26) for the WBMR, includes a tftp uImage for the device. You can use this uImage to flash from the OpenWrt WebUI to DD-Wrt. Just go to the dd-wrt website, find WBMR in the router database and download the uImage.bin file. Then go to your OpenWrt box and navigate to System –> Backup / Flash firmware. Browse and find the uImage. Click on "flash image". You'll see a verification page (the correct md5 hash of the uImage.bin file is 8b2c7024f4a477ef9db9a2d6094d283e). Click "proceed" and after 4-5 minutes DD-Wrt will be installed on the device.

It does not appear to be possible to flash OpenWRT from the DD-WRT web interface.

Option 2: TFTP

  • Set password to enable ssh.
  • Download the OpenWRT image you wish to flash and copy it to the /tmp directory on the router using scp.
  • Use sysupgrade to flash the image.

Configuration

Although the WBMR-HP-G300H is supported in the current stable Attitude Adjustment 12.9 release, the pre-compiled image is fairly basic and must be tuned to work properly (ADSL, wifi, LUCI web interface and LEDs).

Turn on ADSL nas0 interface

The ADSL interface is disabled in the image so turn it on:

/etc/init.d/br2684ctl enable
/etc/init.d/br2684ctl start

Configure ADSL

Precompiled image contains ADSL annex B only (for ISDN lines). For POTS (old-fashioned telephone line), you need annex A. Remove kmod-ltq-dsl-firmware-b-ar9 and install kmod-ltq-dsl-firmware-a-ar9 instead.

Add suitable configuration in /etc/config/network

  • PPPoE example:

config adsl-device 'adsl'
	option fwannex 'a'
	option annex 'a2p'

config atm-bridge 'atm'
	option vpi '8'
	option vci '35'
	option encaps 'llc'
	option payload 'bridged'
	option unit '0'

config interface 'wan'
	option ifname 'nas0'
	option proto 'pppoe'
	option username 'user@isp.net'
	option password 'XXXXXXXXX'

fwannex a is for normal telephone lines, fwannex b is for ISDN. Option annex a2p means ADSL2+, annex a is standard ADSL. Username and password options are often not needed.

Configure WIFI

For wifi install kmod-ath9k and generate a wireless config.

opkg install kmod-ath9k
wifi detect >> /etc/config/wireless

LUCI web interface

Install the package luci. Then you need to enable and start uhttpd

opkg install luci
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start

Configure switch

LEDs

LED configuration must be placed in /etc/config/system. Here is an example:

config led
    option default '0'
    option name 'power'
    option sysfs 'soc:green:power'
    option trigger 'default-on'

config led
    option default '0'
    option name 'power2'
    option sysfs 'soc:red:power'
    option trigger 'none'

config led
    option default '0'
    option name 'wifi'
    option sysfs 'soc:green:wlan'
    option trigger 'phy0tpt'

config led
    option default '0'
    option name 'security'
    option sysfs 'soc:red:security'
    option trigger 'phy0tpt'

config led
    option default '0'
    option name 'dsl'
    option sysfs 'soc:green:adsl'
    option trigger 'netdev'
    option dev 'nas0'
    option mode 'link tx rx'

config led
    option default '0'
    option name 'online'
    option sysfs 'soc:green:internet'
    option trigger 'none'

config led
    option default '0'
    option name 'online2'
    option sysfs 'soc:red:internet'
    option trigger 'netdev'
    option dev 'nas0'
    option mode 'tx rx'

config led
    option default '0'
    option name 'usb'
    option sysfs 'soc:green:usb'
    option trigger 'default-on'

config led
    option default '0'
    option name 'movie'
    option sysfs 'soc:blue:movie'
    option trigger 'timer'
    option delayon '1000'
    option delayoff '1000'

There are some slightly better LED's in Barrier Breaker (warning: experimental!) trunk.

Hardware

Info

Architecture: MIPS32
Vendor: soc.lantiq Lantiq
Bootloader: U-Boot 1.00
System-On-Chip: Lantiq AR9
CPU/Speed MIPS 34Kc / 333MHz Lantiq PSB 50810
Flash-Chip:
Flash size: 32MB
RAM: 64MB
Wireless: Atheros AR9280 Rev:2
Ethernet: 4 x Gigabit Atheros AR8316
Modem: Lantiq ADSL2+
USB: Yes 1 x 2.0 (driver dwc_otg)
Serial: Yes
JTAG: Yes

Hardware Photo


Click to zoom

Disassemble

For disassembling the device you need a Torx T8 screwdriver WITH HOLE that is AT LEAST 16mm long (with some preasure Torx T9 works too). A normal torx bit won't fit because the screws are sunk very deep so you won't reach them.

Serial

A male-strip is on board to connect your TTL capable serial converter. PIN 1 is marked with a arrow.
Serial port pinout:
PIN 1: VCC +3.3V
PIN 2: GND
PIN 3: TX
PIN 4: RX
Use the following settings: 115200 8N1.

Caution: Be very careful with the serial interface! It is very fragile! Therefore never use the Vcc Pin. I destroyed my Buffalo by applying all four cables (works fine) and then unplug the main power supply. This will destroy the router electrically! So never ever use Vcc aka Pin1!!!
Also with only GND, TX and RX without VCC I destroyed the router electrically. So is better unplug serial before unplug the main power.

JTAG

The pinout use the standard MIPS

BOOT

Enter boot loader


XR9-x chip found
DDR set @ 166.6MHz
Check initial DDR setting...DDR check ok... start booting...



ARCADYAN U-Boot 1.00 (Nov 10 2010 - 17:41:42)

AR9 BOARD
CLOCK CPU 333M RAM 166M
DRAM:  64 MB

 relocate_code start
 relocate_code finish.
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
Net:
switch chip id=00001001
AR8316
amazon_s Switch

Copying boot params.....
DONE

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
ARC_BOOT #

help

ARC_BOOT # help
?       - alias for 'help'
askenv  - get environment variables from stdin
base    - print or set address offset
bdinfo  - print Board Info structure
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
echo    - echo args to console
erase   - erase FLASH memory
flinfo  - print FLASH memory information
go      - start application at address 'addr'
gpio    - gpio test utility
help    - print online help
iminfo  - print header information for application image
imls    - list all images found in flash
loadb   - load binary file over serial line (kermit mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
param   - set router parameters
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
tftpboot- boot image via network using TFTP protocol
upgrade - forward/backward copy memory to pre-defined flash location
version - print monitor version

imls

Image at B0060000:
   Image Name:   MIPS Linux-2.6.20
   Created:      2012-11-01   2:25:45 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1084234 Bytes =  1 MB
   Load Address: 80002000
   Entry Point:  80325000
   Verifying Checksum ... OK

flinfo

Bank # 1: MXIC  29GL256EL (256 Mbit, 256 uniform sectors)
  Size: 32 MB in 256 Sectors
  Sector Start Addresses:

bdinfo

ARC_BOOT # bdinfo
boot_params = 0x83EFFFB0
memstart    = 0x80000000
memsize     = 0x04000000
flashstart  = 0xB0000000
flashsize   = 0x02000000
flashoffset = 0x00000000
ethaddr     = 00:24:A5:XX:XX:XX
ip_addr     = 192.168.11.1
baudrate    = 115200 bps

Boot log

## Booting image at b0060000 ...
   Image Name:   MIPS Linux-2.6.20
   Created:      2012-11-01   2:25:45 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1084234 Bytes =  1 MB
   Load Address: 80002000
   Entry Point:  80325000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80325000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

Infineon xDSL CPE AR9
mips_hpt_frequency = 166666666, counter_resolution = 2
Linux version 2.6.20.19
 (snapshot@snapshot-01) (gcc version 3.4.6 (OpenWrt-2.0)) #1 Thu Nov 1 11:25:40 JST 2012
use [CONFIG_CMDLINE] = root=/dev/mtdblock3 ro rootfstype=squashfs init=/sbin/init ip=192.168.11.1:192.168.11.2::::eth0:on console=ttyS1,115200 ethaddr=02:AA:BB:CC:DD:30 phym=64M mem=
flash_start=0xb0000000
flash_size=33554432l
phym = 04000000, mem = 04000000, max_pfn = 00004000
Reserving memory for CP1 @0xa4000000, size 0x00000000
CPU revision is: 0001954c
Determined physical RAM map:
User-defined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Built 1 zonelists.  Total pages: 16256
Kernel command line: root=/dev/mtdblock3 ro rootfstype=squashfs init=/sbin/init ip=192.168.11.1:192.168.11.2::::eth0:on console=ttyS1,115200 ethaddr=02:AA:BB:CC:DD:30 phym=64M mem=64)
1 MIPSR2 register sets available
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
Lantiq ICU driver, version 3.0.1, (c) 2001-2010 Lantiq Deutschland GmbH
PID hash table entries: 256 (order: 8, 1024 bytes)
Using 166.667 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 61280k/65536k available (2597k kernel code, 4200k reserved, 613k data, 164k init, 0k highmem)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Lantiq PCI host controller driver, version 1.1.5, (c) 2001-2010 Lantiq Deutschland GmbH
SCSI subsystem initialized
NET: Registered protocol family 8
NET: Registered protocol family 20
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
gptu: totally 6 16-bit timers/counters
gptu: misc_register on minor 63
gptu: succeeded to request irq 118
gptu: succeeded to request irq 119
gptu: succeeded to request irq 120
gptu: succeeded to request irq 121
gptu: succeeded to request irq 122
gptu: succeeded to request irq 123
IFX DMA driver, version ifxmips_dma_core.c:v1.0.7
,(c)2009 Infineon Technologies AG
Lantiq CGU driver, version 1.0.9, (c) 2001-2010 Lantiq Deutschland GmbH
Wired TLB entries for Linux read_c0_wired() = 0
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
Infineon Technologies DEU driver version 1.0.1
IFX DEU DES initialized (multiblock).
IFX DEU AES initialized (multiblock).
IFX DEU ARC4 initialized (multiblock).
IFX DEU SHA1 initialized.
IFX DEU MD5 initialized.
IFX DEU SHA1_HMAC initialized.
IFX DEU MD5_HMAC initialized.
io scheduler noop registered (default)
HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
N_HDLC line discipline registered.
mel_initsw initialized.
PMCU initiates!
ifx_pmu_init: Major 253
Lantiq PMU driver, version 1.0.6, (c) 2001-2010 Lantiq Deutschland GmbH
Lantiq GPIO driver, version 1.2.12, (c) 2001-2010 Lantiq Deutschland GmbH
drivers/char/ifxmips_rcu.c:668:ifx_rcu_init: Can not register RCU device - -16
Lantiq LED Controller driver, version 1.0.4, (c) 2001-2010 Lantiq Deutschland GmbH
IFX MEI Version 5.00.04<6>ttyS0 at MMIO 0xbe100400 (irq = 98) is a IFX_ASC
ttyS1 at MMIO 0xbe100c00 (irq = 105) is a IFX_ASC
Lantiq ASC (UART) driver, version 1.0.5, (c) 2001-2010 Lantiq Deutschland GmbH
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE compression module registered
NET: Registered protocol family 24
IFX SWITCH API, Version 0.8.7.1
SWAPI: Registered character device [switch_api] with major no [81]
Loading A5 (MII0/1 + ATM) driver ...... Succeeded!
PPE datapath driver info:
  Version ID: 32.3.7.0.0.0.4
  Family    : AR9
  DR Type   : Normal Data Path | Indirect-Fast Path
  Interface : MII0 | MII1 | ATM
  Mode      : N/A
  Release   : 0.0.4
PPE firmware info:
  Version ID: 5.2.4.6.1.1
  Family    : AR9
  FW Type   : Acceleration
  Interface : MII0/1 + ATM
  Mode      : Bridging + IPv4 Routing
  Release   : 1.1
PPA API --- init successfully
ifx_nor0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
ifx_nor0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
10 cmdlinepart partitions found on MTD device ifx_nor0
ifx_mtd_init flash0: Using dynamic image partition
Creating 10 MTD partitions on "ifx_nor0":
0x00000000-0x00040000 : "uboot"
0x00040000-0x00060000 : "uboot_environ"
0x00060000-0x001a0000 : "kernel"
0x001a0000-0x01f40000 : "rootfs"
0x01f40000-0x01f80000 : "firmware"
0x01f80000-0x01fa0000 : "user_property"
0x01fa0000-0x01fc0000 : "fwdiag"
0x01fc0000-0x01fe0000 : "boardcfg"
0x01fe0000-0x02000000 : "calibration"
0x00060000-0x01f40000 : "cmbfirmware"
Lantiq MTD NOR driver, version 1.0.4, (c) 2001-2010 Lantiq Deutschland GmbH
Lantiq SSC driver, version 2.1.5, (c) 2001-2010 Lantiq Deutschland GmbH
Registered led device: internet_led
Registered led device: broadband_led
Registered led device: internet_red_led
Registered led device: wps_red_led
Registered led device: ledc_4
Registered led device: ledc_5
Registered led device: ledc_6
Registered led device: voip_led
Registered led device: ledc_8
Registered led device: wps_led
Registered led device: usbdev_led
Registered led device: ledc_11
Registered led device: ledc_12
Registered led device: ledc_13
Registered led device: ledc_14
Registered led device: wireless_led
Lantiq LED driver, version 1.0.14, (c) 2001-2010 Lantiq Deutschland GmbH
nf_conntrack version 0.5.0 (512 buckets, 4096 max)
nf_ct_ftp: registering helper for pf: 2 port: 21
nf_ct_ftp: registering helper for pf: 10 port: 21
ip_conntrack_rtsp v0.6.21 loading
GRE over IPv4 tunneling driver
ipgre init: can't add protocol
ip_nat_rtsp v0.6.21 loading
ip_tables: (C) 2000-2006 Netfilter Core Team
ipt_time loading
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
atmpvc_init() failed with -17
lec.c: Nov  1 2012 11:24:02 initialized
mpc.c: Nov  1 2012 11:23:59 initialized
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.
Time: MIPS clocksource has been installed.
Freeing unused kernel memory: 164k freed
Warning: unable to open an initial console.

Please press Enter to activate this console. insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/drivers/usb/core/usbcore.ko
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/drivers/usb/host/ifxusb_host.ko
IFXUSB: ifxusb_hcd: version 3.0 B100913
IFXUSB: USB core #0 soft-reset
IFXUSB: USB core #0 soft-reset
ifxusb_hcd ifxusb_hcd: IFX USB Controller
ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
ifxusb_hcd ifxusb_hcd: irq 54, io mem 0xbe101000
IFXUSB: Init: Power Port (0)
usb usb1: Product: IFX USB Controller
usb usb1: Manufacturer: Linux 2.6.20.19 ifxusb_hcd_1
usb usb1: SerialNumber: ifxusb_hcd
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
IFXUSB: USB core #1 soft-reset
IFXUSB: USB core #1 soft-reset
ifxusb_hcd ifxusb_hcd: IFX USB Controller
ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 2
ifxusb_hcd ifxusb_hcd: irq 83, io mem 0xbe106000
IFXUSB: Init: Power Port (0)
usb usb2: Product: IFX USB Controller
usb usb2: Manufacturer: Linux 2.6.20.19 ifxusb_hcd_2
usb usb2: SerialNumber: ifxusb_hcd
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
watchdogd.c(33) watchdogd_main :WD:Start Watchdog Daemon
Algorithmics/MIPS FPU Emulator v1.5
/opt/ifx/etc/wbmr_start_dsl.sh
Mount ADSL Firmware Now..
Using drv_ifxos.ko
IFXOS, Version 1.5.11
<6>(c) Copyright 2007, Infineon Technologies AG
<6>### IFXOS - IFXOS - IFXOS - IFXOS ###
- loading DSL CPE API driver -
Using ./drv_dsl_cpe_api.ko


Lantiq CPE API Driver version: DSL CPE API V4.2.0

Predefined debug level: 3
107
- create device nodes for DSL CPE API device driver -
Annex A
05_01_04_00_44_01_04_00
userspace registering PID
rc.c(333) VerifyParamsOfInit :x:create status sections
bufapli/wlctl/src/wlctl-lan.c(5398) Wireless_Insmod :ERR:####### Wireless_Insmod #########
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/adf.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /libasf: module license 'Proprietary' taints kernel.
/modules/2.6.20/net/asf.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/ath_hal.ko
ath_hal: 0.9.17.1 (AR5416, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D)
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/ath_rate_atheros.ko
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/ath_dfs.ko
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/ath_dev.ko
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/ath_pktlog.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/umac.ko
ath_pci: 0.9.4.5 (Atheros/multi-bss)
DFS min filter rssiThresh = 18
DFS max pulse dur = 131 ticks
ath_get_caps[3964] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[3939] tx chainmask mismatch actual 3 sc_chainmak 0
Netlink socket created for rptgput
wifi0: Atheros 9280: mem=0x18000000, irq=22 hw_base=0xb8000000
bufapli/wlctl/src/wlctl-lan.c(1045) wlconf_country_set :DEBUG:region=EU iCountryCode=704
DFS min filter rssiThresh = 21
DFS max pulse dur = 131 ticks
wlan_vap_create : enter. devhandle=0x83244280, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x83244280, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath0 created
Invalid command : DisIntlLgcyAp
wlan_vap_create : enter. devhandle=0x83244280, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x83244280, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath1 created
Invalid command : DisIntlLgcyAp
wlan_vap_create : enter. devhandle=0x83244280, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x83244280, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath2 created
Invalid command : DisIntlLgcyAp
wlan_vap_create : enter. devhandle=0x83244280, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x83244280, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath3 created
Invalid command : DisIntlLgcyAp
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: ifx_ppa_eth_atm_a5.ko: no module by that name found
No such device
SIOCSIFHWADDR: No such device
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_conntrack_proto_gre.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_nat_proto_gre.ko
bufapli/wlctl/src/wlctl-lan.c(5398) Wireless_Insmod :ERR:####### Wireless_Insmod #########
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/adf.ko
insmod: cannot insert `/lib/modules/2.6.20/net/adf.ko': Invalid parameters (17): Invalid argument
bufapli/wlctl/src/wlctl-lan.c(5333) AtherosWirelessBaseModules_Insmod :####:insmod adf : FAILED (Perhaps, [adf] has already been added.)
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/umac.ko
insmod: cannot insert `/lib/modules/2.6.20/net/umac.ko': Invalid parameters (17): Invalid argument
bufapli/wlctl/src/wlctl-lan.c(5428) Wireless_Insmod :####:insmod umac : FAILED
bufapli/wlctl/src/wlctl-lan.c(1045) wlconf_country_set :DEBUG:region=EU iCountryCode=704
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: ifx_ppa_eth_atm_a5.ko: no module by that name found
No such device
SIOCSIFHWADDR: No such device
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_conntrack_proto_gre.ko
insmod: cannot insert `/lib/modules/kernel/net/ipv4/netfilter/nf_conntrack_proto_gre.ko': Invalid parameters (17): Invalid argument
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_nat_proto_gre.ko
insmod: cannot insert `/lib/modules/kernel/net/ipv4/netfilter/nf_nat_proto_gre.ko': Invalid parameters (17): Invalid argument
MidLayerModDep.c(807) startModules :INFO:Starting module init
mknod: /dev/ppp: File exists
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: slhc.ko: no module by that name found
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: ppp_generic.ko: no module by that name found
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: ppp_mppe.ko: no module by that name found
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: ppp_async.ko: no module by that name found
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: ppp_synctty.ko: no module by that name found
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: pppox.ko: no module by that name found
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: pppoe.ko: no module by that name found
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: zlib_deflate.ko: no module by that name found
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: ppp_deflate.ko: no module by that name found
MidLayerModDep.c(819) startModules :INFO:Started  module init 258[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_tz
MidLayerModDep.c(819) startModules :INFO:Started  module rc_tz 2[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_syslogd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_syslogd 65[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_klogd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_klogd 12[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_loif
insmod: /lib/modules/2.6.20.19: No such file or directory
insmod: ifx_ppa_eth_atm_a5.ko: no module by that name found
No such device
SIOCSIFHWADDR: No such device
MidLayerModDep.c(819) startModules :INFO:Started  module rc_loif 1072[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_router_behavior
MidLayerModDep.c(819) startModules :INFO:Started  module rc_router_behavior 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module init
MidLayerModDep.c(819) startModules :INFO:Started  module init 8[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_user_passwd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_user_passwd 1[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_usbmod
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/drivers/usb/storage/usb-storage.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/fs/xfs/xfs.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/fs/nls/nls_base.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/fs/fat/fat.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/fs/vfat/vfat.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/fs/nls/nls_cp437.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/fs/nls/nls_utf8.ko
MidLayerModDep.c(819) startModules :INFO:Started  module rc_usbmod 1621[msec]
MidLayerModDep.c(8et0: unit 0 port 4 up
07) startModules :INFO:Starting module rc_wiredlan
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wiredlan 10[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module id
MidLayerModDep.c(819) startModules :INFO:Started  module id 6[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_lanif
bufapli/wlctl/src/wlctl-lan.c(5398) Wireless_Insmod :ERR:####### Wireless_Insmod #########
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/adf.ko
insmod: cannot insert `/lib/modules/2.6.20/net/adf.ko': Invalid parameters (17): Invalid argument
bufapli/wlctl/src/wlctl-lan.c(5333) AtherosWirelessBaseModules_Insmod :####:insmod adf : FAILED (Perhaps, [adf] has already been added.)
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/umac.ko
insmod: cannot insert `/lib/modules/2.6.20/net/umac.ko': Invalid parameters (17): Invalid argument
bufapli/wlctl/src/wlctl-lan.c(5428) Wireless_Insmod :####:insmod umac : FAILED
bufapli/wlctl/src/wlctl-lan.c(1045) wlconf_country_set :DEBUG:region=EU iCountryCode=704
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/drivers/buffalo/mcsnoop.ko
mcsnoop: flush all snoop entry
debug : Enter [BRCTL_ADD_RULE_IF]
add_if 00000200 ***************************
rc_lanif.c(406) StartOfrc_lanif :x:PPPoE Path throw?


mcsnoop: flush all snoop entry
mcsnoop_br_ioctl_device:242: mcast_maxage 30000 / 100
MidLayerModDep.c(819) startModules :INFO:Started  module rc_lanif 472[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_udhcpd
udhcpd (v0.9.9-pre) started
max_leases value (256) not sane, setting to 15 instead
MidLayerModDep.c(819) startModules :INFO:Started  module rc_udhcpd 22[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_usb_device_server
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/drivers/usb/netusb/sxuptp.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/drivers/usb/netusb/sxuptp_driver.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/drivers/usb/netusb/jcp.ko
rc_usb_device_server.c(67) InsmodDeviceServer :debug-usbnet:insmod jcp_cmd product=WBMR-HP-G300H
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/drivers/usb/netusb/jcp_cmd.ko
MidLayerModDep.c(819) startModules :INFO:Started  module rc_usb_device_server 606[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_httpd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_httpd 1036[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wireless_pre
bufapli/wlctl/src/wlctl-lan.c(5398) Wireless_Insmod :ERR:####### Wireless_Insmod #########
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/adf.ko
insmod: cannot insert `/lib/modules/2.6.20/net/adf.ko': Invalid parameters (17): Invalid argument
bufapli/wlctl/src/wlctl-lan.c(5333) AtherosWirelessBaseModules_Insmod :####:insmod adf : FAILED (Perhaps, [adf] has already been added.)
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/2.6.20/net/umac.ko
insmod: cannot insert `/lib/modules/2.6.20/net/umac.ko': Invalid parameters (17): Invalid argument
bufapli/wlctl/src/wlctl-lan.c(5428) Wireless_Insmod :####:insmod umac : FAILED
bufapli/wlctl/src/wlctl-lan.c(1045) wlconf_country_set :DEBUG:region=EU iCountryCode=704
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
wlanconfig: ioctl: Invalid argument
Invalid command : DisIntlLgcyAp
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless_pre 198[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wireless11bg
Waiting for Wireless Events from interfaces...
ieee80211_ioctl_setparam parameter 0x2d is not supported
Interface doesn't accept private ioctl...
countryie (8BE0): Operation not supported
ieee80211_ioctl_setparam parameter 0x28 is not supported
Interface doesn't accept private ioctl...
bgscan (8BE0): Operation not supported
set SIOC80211NWID, 16 characters
ieee80211_ioctl_setparam parameter 0x24 is not supported
Interface doesn't accept private ioctl...
burst (8BE0): Operation not supported
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
00:00:07.632010   ath0     Set ESSID:"XXXXXXX"
00:00:07.632298   ath0     Set Frequency:2.457 GHz (Channel 1)
00:00:07.632845   ath0     Set Mode:Master
ieee80211_ioctl_setwmmparams: param 1 ac 0 bss 0 val 4
ieee80211_ioctl_setwmmparams: param 1 ac 1 bss 0 val 4
ieee80211_ioctl_setwmmparams: param 1 ac 2 bss 0 val 3
ieee80211_ioctl_setwmmparams: param 1 ac 3 bss 0 val 2
ieee80211_ioctl_setwmmparams: param 2 ac 0 bss 0 val 6
ieee80211_ioctl_setwmmparams: param 2 ac 1 bss 0 val 10
ieee80211_ioctl_setwmmparams: param 2 ac 2 bss 0 val 4
ieee80211_ioctl_setwmmparams: param 2 ac 3 bss 0 val 3
ieee80211_ioctl_setwmmparams: param 3 ac 0 bss 0 val 3
ieee80211_ioctl_setwmmparams: param 3 ac 1 bss 0 val 7
ieee80211_ioctl_setwmmparams: param 3 ac 2 bss 0 val 1
ieee80211_ioctl_setwmmparams: param 3 ac 3 bss 0 val 1
ieee80211_ioctl_setwmmparams: param 4 ac 0 bss 0 val 0
ieee80211_ioctl_setwmmparams: param 4 ac 1 bss 0 val 0
ieee80211_ioctl_setwmmparams: param 4 ac 2 bss 0 val 3008
ieee80211_ioctl_setwmmparams: param 4 ac 3 bss 0 val 1504
ieee80211_ioctl_setwmmparams: param 5 ac 0 bss 0 val 0
Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 5 ac 1 bss 0 val 0
Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 5 ac 2 bss 0 val 0
Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 5 ac 3 bss 0 val 0
Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 1 ac 0 bss 1 val 4
ieee80211_ioctl_setwmmparams: param 1 ac 1 bss 1 val 4
ieee80211_ioctl_setwmmparams: param 1 ac 2 bss 1 val 3
ieee80211_ioctl_setwmmparams: param 1 ac 3 bss 1 val 2
ieee80211_ioctl_setwmmparams: param 2 ac 0 bss 1 val 10
ieee80211_ioctl_setwmmparams: param 2 ac 1 bss 1 val 10
ieee80211_ioctl_setwmmparams: param 2 ac 2 bss 1 val 4
ieee80211_ioctl_setwmmparams: param 2 ac 3 bss 1 val 3
ieee80211_ioctl_setwmmparams: param 3 ac 0 bss 1 val 3
ieee80211_ioctl_setwmmparams: param 3 ac 1 bss 1 val 7
ieee80211_ioctl_setwmmparams: param 3 ac 2 bss 1 val 2
ieee80211_ioctl_setwmmparams: param 3 ac 3 bss 1 val 2
ieee80211_ioctl_setwmmparams: param 4 ac 0 bss 1 val 0
ieee80211_ioctl_setwmmparams: param 4 ac 1 bss 1 val 0
ieee80211_ioctl_setwmmparams: param 4 ac 2 bss 1 val 3008
ieee80211_ioctl_setwmmparams: param 4 ac 3 bss 1 val 1504
ieee80211_ioctl_setwmmparams: param 5 ac 0 bss 1 val 0
ieee80211_ioctl_setwmmparams: param 5 ac 1 bss 1 val 0
ieee80211_ioctl_setwmmparams: param 5 ac 2 bss 1 val 0
ieee80211_ioctl_setwmmparams: param 5 ac 3 bss 1 val 0
set Buffalo Capability = 00000009
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless11bg 1134[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wireless11bg_mac_limit
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless11bg_mac_limit 170[msec]
MidLastart running
yerModDep.c(807) startModules :INFO:Starting module rc_wireless_post
debug : Enter [BRCTL_ADD_RULE_IF]
add_if 00000100 ***************************
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless_post 86[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_aoss_mssid
MidLayerModDep.c(819) startModules :INFO:Started  module rc_aoss_mssid 79[msec]
Mmcsnoop: flush all snoop entry
idLayerModDep.c(807) startModules :INFO:Starting module rc_nas
MidLayerModDep.c(819) startModules :INFO:Started  module rc_nas 77[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ap_serv
server.c(258)start_ap_serv_server:INFO:---- Start !! ap_servd child process (port=22359[5757]).
server.c(110)standalone_ap_serv_server:INFO:listen device name = br0
server.c(263)start_ap_serv_server:INFO:---- Start !! ap_servd child process (port=22616[5858]).
server.c(110)standalone_ap_serv_server:INFO:listen device name = br0
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ap_serv 115[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanif
Configuration file: /tmp/hostapd.conf_ath0
->setpid 0x47b080
pid: /var/run/hostapd.ath0.pid
00:00:09.310926   ath0     Set Mode:Master
CHH:osif_vap_stop Stopping OSIF VAP
osif_vap_stop : stopping AP vap
osif_vap_down : sending MLME Event
Using interface ath0 with hwaddr 00:24:a5:xx:xx:xx and ssid 'XXXXXXXX'
set SIOC80211NWID, 16 characters
ieee80211_ioctl_setparam Warning: wlan_set_mcast_cipher failed. cache the mcast cipher
00:set IEEE80211_IOC_UCASTCIPHERS (0x8)    AES-CCMP
ieee80211_ioctl_setparam Warning: wlan_set_ucast_cipher failed. cache the ucast cipher
set IEEE80211_IOC_KEYMGTALGS (0x2)  802.1x PSK
set IEEE80211_IOC_RSNCAPS to 0x0
set IEEE80211_IOC_WPA to RSN
set IEEE80211_IOC_AUTHMODE to WPA
start running
00:09.806321   ath0     Set ESSID:"XXXXXX"
Flushing old station entries
Deauthenticate all stations
l2_packet_receive - recvfrom: mcsnoop: flush all snoop entry
Network is down
l2_packet_receive - recvfrom: Network is down
No such device
No such device
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanif 2075[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pre
SIOCSIFMTU: No such device
osif_acs_start_bss :vap up
No such device
xDSL Leave SHOWTIME!!
MidLayer.c(1794) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_dhcpcd)
MidLayer.c(1794) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_0)
MidLayer.c(1794) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_1)
MidLayer.c(1794) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_2)
MidLayer.c(1794) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_3)
MidLayer.c(1794) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_4)
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pre 4083[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_adsl
********************************************************************
/sbin/rc_adsl.sh : start
--------------------------------------------------------------------
/opt/ifx/etc/wbmr_bringup_adsl start
Annex A
05_00_00_00_00_01_00_00
userspace registering PID
nReturn=0

nReturn=0

Bringup wan started for wan index 1 !!
auto detect is 0 and start
PPPoE
********************************************************************
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_adsl 5084[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_post
route: SIOC[ADD|DEL]RT: No such process
route: SIOC[ADD|DEL]RT: No such device
route: SIOC[ADD|DEL]RT: No such process
route: SIOC[ADD|DEL]RT: No such device
wanctl-wanstate_check.c(644) wanstate_check_main :wanctl:Start wanstate_check Daemon
wanctl-lib.c(4281) NtpFunctionControle :x:ntp-client disable
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_post 229[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoeroute
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoeroute 4[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_dnrd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_dnrd 13[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter
iptables: Bad rule (does a matching rule exist in that chain?)
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter 556[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter_simple
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter_simple 107[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter_user
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter_user 2[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter_pptp
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter_pptp 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_nat
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_conntrack_pptp.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_nat_pptp.ko
cleanup /proc/net/nf_conntrack
MidLayerModDep.c(819) startModules :INFO:Started  module rc_nat 315[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_routectl
MidLayerModDep.c(819) startModules :INFO:Started  module rc_routectl 37[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_lltd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_lltd 109[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wsc
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wsc 2[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_movimcsnoop_br_ioctl_device:242: mcast_maxage 30000 / 100
e_engine
bufapli/wlctl/src/wlctl-lan.c(3224) wlconf_chg_movie_engine_profile :x:MOVIE_ENGINE_MODE_OFF
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]
ath0      extcmd:
[call extcmd]
ath0      extcmd:
set Buffalo Capability = 00000009
[call extcmd]
ath0      extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]
ath1      extcmd:
[call extcmd]
ath1      extcmd:
set Buffalo Capability = 00000009
[call extcmd]
ath1      extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argu[call extcmd]
ment
ath2      extcmd:
[call extcmd]
ath2      extcmd:
set Buffalo Capability = 00000009
[call extcmd]
ath2      extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]
ath3      extcmd:
[call extcmd]
ath3      extcmd:
set Buffalo Capability = 00000009
[call extcmd]
ath3      extcmd:
bufapli/wlctl/src/wlctl-lan.c(3064) wlconf_modified_reset_paththrow :debug : Enter [BRCTL_ADD_IF]
x:(IPv6) AS_BEHAVIOR_MODE_ROUTER
MidLayerModDep.c(819) startModules :INFO:Started  module rc_movie_engine 180[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ntpclient
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ntpclient 63[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_eco
MidLayerModDep.c(819) startModules :INFO:Started  module rc_eco 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ddns
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ddns 3[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wan_qos
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wan_qos 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_pptp_server
MidLayerModDep.c(819) startModules :INFO:Started  module rc_pptp_server 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_pptp_server_route
MidLayerModDep.c(819) startModules :INFO:Started  module rc_pptp_server_route 105[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_nastorage
MidLayerModDep.c(819) startModules :INFO:Started  module rc_nastorage 11[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_end_signal
ntpclient.c(420) stuff_net_addr :NTPCLIENT:SKIP NTP PROCESS
sample.c(25) main :sample-debug:argc = 2
sample.c(28) main :sample-debug:===========================================
sample.c(29) main :sample-debug:exec [sample rc_init_post.sh]
sample.c(30) main :sample-debug:===========================================
MidLayerModDep.c(819) starmcsnoop_br_ioctl_device:242: mcast_maxage 30000 / 100
tModules :INFO:Started  module rc_end_signal 176[msec]
MidLayerLEDSW.c(1754) MLLE_WaitSwitch :x:Modified Movie Engine Switch
bufapli/wlctl/src/wlctl-lan.c(3224) wlconf_chg_movie_engine_profile :x:MOVIE_ENGINE_MODE_OFF
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]
ath0      extcmd:
[call extcmd]
ath0      extcmd:
set Buffalo Capability = 00000009
[call extcmd]
ath0      extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]
ath1      extcmd:
[call extcmd]
ath1      extcmd:
set Buffalo Capability = 00000009
[call extcmd]
ath1      extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid arg[call extcmd]
ument
ath2      extcmd:
[call extcmd]
ath2      extcmd:
set Buffalo Capability = 00000009
[call extcmd]
ath2      extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]
ath3      extcmd:
[call extcmd]
ath3      extcmd:
set Buffalo Capability = 00000009
[call extcmd]
ath3      extcmd:
bufapli/wlctl/src/wlctl-lan.c(3064) wlconf_modified_reset_paththrow :debug : Enter [BRCTL_ADD_IF]
x:(IPv6) AS_BEHAVIOR_MODE_ROUTER
ARPING to 10.24.3.1 from 10.24.3.1 via br0
Sent 1 probes (1 broadcast(s))
Received 0 reply
xDSL Enter SHOWTIME!!
xDSL Enter SHOWTIME!!
nReturn=0


ADSL Line Status

Provides information about ADSL line's current attributes

Status

Modem Status                            SHOWTIME_TC_SYNC
Mode Selected                           G992_5_A (ADSL2+)
Trellis-Coded Modulation                Enable
Latency Type                            Fast


Rate
                                                Downstream              Upstream
Data Rate                                       8000 kbps               511 kbps
Maximum Attainable Data Rate(ATTNDR)            20660 kbps              1247 kbps


Information
                                                Downstream              Upstream
Line Attenuation(LATN)                          15.0 dB                 8.7 dB
Signal Attenuation(SATN)                        13.0 dB                 8.4 dB
Signal-to-Noise Ratio Margin(SNRM)              24.2 dB                 28.4 dB
Actual Aggregate Transmit Power(ACATP)          16.1 dB                 12.3 dB
start_loopback called with vpi = 8 vci = 35
lMidLayer.c(1754) ML_Signal_QueueAppend :x:SIGNAL-QUEUE APPEND (index=0 tree=NORM mod=rc_wanctl_adsl mess=ppp-up)
MidLayer.c(1830) MLD_Signal :x:SIGNAL-QUEUE EXEC (index=0 tree=NORM mod=rc_wanctl_adsl mess=ppp-up) rest=0
wanctl-lib.c(4290) NtpFunctionControle :x:ntp-client iNtpFlag == 1
MidLayer.c(1754) ML_Signal_QueueAppend :x:SIGNAL-QUEUE APPEND (index=0 tree=NORM mod=rc_ntpclient mess=restart)
/tmp/ipfilter_pptp_client_delete.sh: No such file or directory
/tmp/ipfilter_pptp_server_delete.sh: No such file or directory
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_conntrack_pptp.ko
insmod: /lib/modules/2.6.20.19: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_nat_pptp.ko
cleanup /proc/net/nf_conntrack
killall: ddnscd: no process killed
killall: ddnsc: no process killed
MidLayer.c(1830) MLD_Signal :x:SIGNAL-QUEUE EXEC (index=0 tree=NORM mod=rc_ntpclient mess=restart) rest=0
rc_ntpclient.c(329) SignalOfrc_ntpclient :x:ntp-client restart
MidLayer.c(1838) MLD_Signal :x:SIGNAL-QUEUE EMPTY!!!

Flash

Layout

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00020000 "uboot"
mtd1: 00020000 00020000 "uboot_environ"
mtd2: 00140000 00020000 "kernel"
mtd3: 01da0000 00020000 "rootfs"
mtd4: 00040000 00020000 "firmware"
mtd5: 00020000 00020000 "user_property"
mtd6: 00020000 00020000 "fwdiag"
mtd7: 00020000 00020000 "boardcfg"
mtd8: 00020000 00020000 "calibration"
mtd9: 01ee0000 00020000 "cmbfirmware"

There seems to be different layouts. My flash layout looks like this (revision dependent?):

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00020000 "uboot"
mtd1: 00020000 00020000 "uboot-env"
mtd2: 01f20000 00020000 "linux"
mtd3: 00100000 00020000 "kernel"
mtd4: 01e20000 00020000 "rootfs"
mtd5: 00020000 00020000 "calibration"

Bugs

Wired stations cannot ping each other

This is a known bug: switch eth0(Atheros AR8316) no traffic between ports possible
Based on the comments from the bug you can try these commands:

swconfig dev eth0 vlan 1 set ports "0 1 2 3 4 5"
swconfig dev eth0 set apply
BIG FAT NOTE at least in certain newer environments you need to use a device name such as switch0 rather than eth0, otherwise error "Failed to connect to the switch"!! (see ticket comment, and execute "swconfig list" available in newer swconfig versions)

If these work you can add the following lines to your /etc/config/network:

config switch
	option name	'eth0'
	option enable_vlan '0'
	option reset	'1'

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

TODO Since so many users are struggling with this issue and only little help is available, an example for swconfig commands for /etc/rc.local to use VLANs should be included here

The following post https://forum.openwrt.org/viewtopic.php?pid=184969#p184969 reports that in Attitude Adjustment 12.9-rc1 the swconfig commands described above work, but the modification to /etc/config/network does not. The router starts fine, but the wired ports won't respond. Wifi still works if it is enabled. This is still the case in 12.9 final release. The solution to make the configuration permanent is not to change /etc/config/network but instead to add the swconfig commands to /etc/rc.local .

28/07/2013: After building attitude adjustment r37559 I noticed some improvements to switch configuration. This is unconfirmed for now, please see https://forum.openwrt.org/viewtopic.php?pid=209351#p209351

08/08/2013: With current build from attitude adjustment branch, I cannot confirm this. swconfig reports two VLANs but the ports do not work properly while testing. :-(

TODO If this stays working switch layout information should be added here.

Troubleshooting

DSL Firmware

If PPP discovery is failing:

Sep  8 15:50:01 OpenWrt daemon.warn pppd[2172]: Timeout waiting for PADO packets
Sep  8 15:50:01 OpenWrt daemon.err pppd[2172]: Unable to complete PPPoE Discovery
Sep  8 15:50:01 OpenWrt daemon.info pppd[2172]: Exit.
Sep  8 15:50:01 OpenWrt daemon.notice netifd: Interface 'wan' is now down
it way be worth checking that the correct firmware is loaded for your DSL annex, POTS (normal telephone lines) is annex a and ISDN is annex b.

To check this execute

opkg list-installed | grep kmod-ltq-dsl-firmware

If the incorrect firmware is loaded, remove it and install the other before trying again.

How to recover from bricking

The router bootloader has a tftp client, which will try to connect to 192.168.11.2 and load a file called firmware.ram.

1. Build ramdisk image. These images have uImage in their name, but you can't take the one which you get a during normal build or download. You have to setup a buildroot environment and configure it to build a ramdisk image (make menuconfig –> Target Images –> ramdisk). The uImage file which worked for me was about the same size of a squashfs image (~3.5MB).
TODO It would be helpfull to provide a uImage, but I don't know where to upload one.

Note: If you don't want to build you own ramdisc image here is one version: http://wiki.openwrt.org/_media/toh/buffalo/openwrt-lantiq-ar9-wbmr-uimage.tar00.zip and http://wiki.openwrt.org/_media/toh/buffalo/openwrt-lantiq-ar9-wbmr-uimage.tar01.zip. It is a tar split archive. The .zip extension has no meaning but was nessesarry to get it uploaded to openwrt.orgs wiki archive. To extract the image you have to use the following command:

cat openwrt-lantiq-ar9-wbmr-uimage.tar* | tar xzpvf -

The OpenWRT version of the image is "Attitude Adjustment, r33838". No further packages have been added.

2. Install and start a tftp server. For linux there is a package called tftp-server, tftpd-hpa or similar and on MacOS X TftpServer Version 3.4.1 was used.

Some people have reported tftpd-hpa not working as tftp server in debricking. Wireshark shows the server complaining 'must use absolute filename' and the transfer does not start. Others have reported that at least tftp-hpa versions released year 2013 and after work. To be sure use tftpd with the default configuration.

3. Copy openwrt-lantig-ar9-WBMR-uImage as firmware.ram into the root directory of your tftp server (e.g. /srv/tftp or /var/lib/tftp or your current directory depending on your software)

4. Setup your interface. It doesn't matter which port of the router you use. Set your IP to 192.168.11.2/24. It may be nessecary to set your gateway ip to 192.168.11.1 (confirmation needed)

4a. Optional for Linux using tftpd. Confirm the server is available with:

nmap -p 69 192.168.11.2

If running correctly you will see something like:

PORT   STATE  SERVICE
69/tcp closed tftp

Otherwise try restarting inetd:

For Debian Wheezy

root@Hostname:~# /etc/init.d/openbsd-inetd restart

5. Push the AOSS button and power on the router. Keep the AOSS button for about 5 seconds pushed. When the AOSS button is pushed the LED below power will also light up on start. You can verify with wireshark, if everything works as expected. There should be a tftp request from 192.168.11.1 to 192.168.11.2 for a file firmware.ram. Then This file will be transmitted and after that the ip 192.168.11.1 vanishs, because you see your computer asking to whom this ip belongs.

6. Wait. If you have wifi configured in your image you see wifi come up after a while. Another way is to ping 192.168.1.1 or the ip you have configured in your image. You may also do a DHCP request, which will be answered if your router booted fine. My router did not give any signal via LED if it is ready or not. Also during normal operation no LED is on, except for the one in the LAN ports.

7. Flash a working image. Now you have access again, but keep in mind, that this image is not flashed and only runs in ram. Flash a clean image via your preferred way. You can do this with the webinterface or ssh/telnet and sysupgrade.

Useful commands

Check DSL line status:

/etc/init.d/dsl_control status

Feedback

2013-08-29 admax: "Good instructions, tftp flashing works well, stable device. Configuring took some time but has been running well ever since."

2013-08-30 kitsunemura: "Really well written wiki. Device is really stable, I used the recovery method once and it worked fine. I don't really recommend using Transmission on this router because it is not really stable. Using NFS is the fastest way to transfer files from/to USB(EXT4)."

WebLinks

Tags

Back to top

toh/buffalo/wbmr-hp-g300h.txt · Last modified: 2014/03/02 13:49 (external edit)