WHR-G54 化(2)


802.11G-MPCI を刺す


起動

No PLD model

******* Product Information *******
----------------------------------
Product Name: WHR-G54
          VER: 2.13
         Date: 2004/5/13 17:57:29
----------------------------------
Firmware check:Done.

>>
Now Loading...done.
Now Booting
hwid(0) : CLK_DCR value(0x3878)  -->  unknown hwtype
 value(0x3878) 
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
HWTYPE:None PLD Model
Linux version 2.4.18_mvl30-sandpoint (root@localhost.localdomain) (gcc version 2.95.3 20010315 (release/MontaVista)) #121 木
 5月 13 17:57:08 JST 2004
PCI Autoconfig: Found Bus 0, Device 11, Function 0
PCI Autoconfig: BAR 0x10, I/O, size=0x100, address=0xbfff00
PCI Autoconfig: BAR 0x14, Mem size=0x400, address=0xbffffc00
PCI Autoconfig: Found Bus 0, Device 12, Function 0
PCI Autoconfig: BAR 0x10, I/O, size=0x100, address=0xbffe00
PCI Autoconfig: BAR 0x14, Mem size=0x400, address=0xbffff800
PCI Autoconfig: Found Bus 0, Device 14, Function 0
PCI Autoconfig: BAR 0x10, Mem size=0x2000, address=0xbfffc000
AirStation Pro Series
802.11b Wireless Access Point
2002 MELCO INC. (c)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: 
OpenPIC Version 1.2 (1 CPUs and 26 IRQ sources) at 80040000
Calibrating delay loop... 130.66 BogoMIPS
Memory: 56708k available (1244k kernel code, 480k data, 184k init, 0k highmem)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
pty: 256 Unix98 ptys configured
MELCO WLM-L11G RTC DRIVER ver 1.00
MELCO WLM-L11G INIT SWICH DRIVER ver 1.01
initsw: Done.
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x80004600 (irq = 22) is a ST16650
ttyS01 at 0x80004500 (irq = 21) is a ST16650
Software Watchdog Timer: 0.05, timer margin: 100 msec
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 20480K size 1024 blocksize
loop: loaded (max 8 devices)
FLASHDISK:Boot From OnBoard Flash
Can't find MiniPCI Board
Initialized [TOSHIBA VT641FT] 
Find Onbord Flash dev_winbond 0
Linux Tulip driver version 1.1.1-NAPI (Feb 16, 2002)
eth0: ADMtek Comet rev 17 at 0xbfff00, 00:07:40:49:xx:yy, IRQ 16.(一部伏字)
tulip1:  MII transceiver #1 config 3100 status 7849 advertising 05e1.
eth1: ADMtek Comet rev 17 at 0xbffe00, 00:07:40:49:xx:yy, IRQ 17.(一部伏字)
PPP generic driver version 2.4.1
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus]
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
ip_conntrack (512 buckets, 4096 max)
PPTP netfilter connection tracking: registered
PPTP netfilter NAT helper: registered
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
ds: no socket drivers loaded!
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 5825k freed
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 184k init 4k openfirmware
modprobe: modprobe: Can't open dependencies file /lib/modules/2.4.18_mvl30-sandpoint/modules.dep (No such file or directory)
INIT: version 2.78 booting
Activating swap...
Checking all file systems...
Parallelizing fsck version 1.19 (13-Jul-2000)
Setting kernel variables.
Init SW watching daemon starting: done
Mounting local filesystems...
mount: none already mounted or /dev/pts busy
mount: according to mtab, devpts is already mounted on /dev/pts
Cleaning: /tmp /var/lock /var/run.
17:57:29: not found
Previous Configuration longing: /bin/tar: Removing leading `/' from member names
/bin/tar: etc/airdev_11g.conf: time stamp 2004-05-13 17:56:37 is 43091797 s in the future
/bin/tar: etc/ppp/ip-up.d/ntpdate.ppp: time stamp 2003-05-21 23:43:35 is 12181415 s in the future
/bin/tar: etc/ppp/ip-up.d/02iptables: time stamp 2003-05-22 17:24:20 is 12245060 s in the future
/bin/tar: etc/ppp/ip-up.d/03policyroute: time stamp 2004-05-13 17:56:41 is 43091801 s in the future
/bin/tar: etc/ppp/unnumbered_ip: time stamp 2003-05-22 19:27:54 is 12252474 s in the future
/bin/tar: etc/nf_vpn.conf: time stamp 2004-05-13 17:56:37 is 43091797 s in the future
/bin/tar: tmp/save_kernel_version: time stamp 2003-01-01 00:00:02 is 2 s in the future
done
rm: cannot remove `/etc/ppp/ip-down.d/00delresolv': No such file or directory
ver_up: Ver 213 to 213: no change.
  Install IPSec Path Through
Using /lib/modules/2.4.18_mvl30-sandpoint/kernel/net/ipv4/netfil* VPN Masqurade -- IPsec Support ter/ip_conntrack
_ipsec.o
reg isakmp:done
reg ESP protocol:
reg ESP conntrack:done
Using /lib/modules/2.4.18_mvl30-sandpoint/kernel/net/ipv4/netfilip_nat_ipsec : isakmp : ter/ip_nat_ipsecdone.
.o
ip_nat_ipsec : esp    : done.
set phy to wired lan device: done
set phy to wired wan device: done
install pcml11g moudule
no pcmcia driver in /proc/devices
insmod: pcml11g: no module by that name found
cardmgr[89]: starting, version is 3.1.24
cardmgr[89]: no pcmcia driver in /proc/devices
cardmgr[89]: exiting
no pcmcia driver in /proc/devices
installed pcml11g module
Using /lib/modules/2.4.18_mvl30-sandpoint/kernel/drivers/net/broadcom/11g/hnd/hnd.o
Using /lib/modules/2.4.18_mvl30-sandpoint/kernel/drivers/net/broadcom/11g/wl/wl.o
wlang0: Broadcom BCM43XX 802.11 Wireless Controller  3.21.9.1 (Compiled in . at 17:41:48 on May 13 2004)
installed Broadcom Wireless Modules BCM4306
Bridge device breakes up!!
 ifname = brg0
AddBridge <-- success 
SetBridgeStpState <-- success 
 Add Device eth0 
eth0 is initialized and uped
device eth0 entered promiscuous mode
eth0: Promiscuous mode enabled.
eth0: Promiscuous mode enabled.
eth0: Promiscuous mode enabled.
eth0: Promiscuous mode enabled.
AddIf <-- success 
SetBridgeStpState <-- success 
SetBridgeFowardDelay <-- success 
SetBridgeHelloTime <-- success 
SetBridgeMaxAge <-- success 
SetGcInterval <-- success 
SetBridgePriority <-- success 
SetAgeingTime <-- success 
SetPortPriority <-- success 
Start 11b wireless configuration setting
modprobe: modprobe: Can't locate module wlan0
wireless device not found.
Start 11g wireless configuration setting
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlan0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlan0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlan0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlan0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlan0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1WLC_SET_SSID: (削除)
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
<6>device dummy0 entered promiscuous mode
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
device dummy1 entered promiscuous mode
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
device dummy2 entered promiscuous mode
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
device dummy3 entered promiscuous mode
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
device dummy4 entered promiscuous mode
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
device dummy5 entered promiscuous mode
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module wlana0
modprobe: modprobe: Can't locate module wlang1
modprobe: modprobe: Can't locate module ppp+
SetBridgeStpState <-- success 
SetBridgeFowardDelay <-- success 
SetBridgeHelloTime <-- success 
SetBridgeMaxAge <-- success 
SetGcInterval <-- success 
SetBridgePriority <-- success 
SetAgeingTime <-- success 
SetPortPriority <-- success 
Hostname: broad2.
Configuration network interface: 
netifctl[511]: Boot up network device

netifctl[511]: lo starts to up
netifctl[511]: brg0 starts to up
brg0: port 1(eth0) entering listening state
brg0: port 1(eth0) entering learning state
brg0: port 1(eth0) entering forwarding state
brg0: topology change detected, propagating
netifctl[511]: eth1 starts to up
Start PPPoE connection
/usr/bin/setsid /usr/sbin/pppd   pppoe_retransmit 5   noipdefault noauth  defaultroute hide-password nodetach usepeerdns mtu
 1492 mru 1454 user (削除) lcp-echo-interval 30 lcp-echo-failure 6 noccp nolog demand force persist idle 0 
ipcp-accept-remote ipcp-accept-local connect true   unit 0 linkname pppoe01.conf eth1 &
Start PPPoE connection
Plugin pppoe.so loaded.
PPPoE Plugin Initialized
Start PPPoE connection
Start PPPoE connection
modprobe: modprobe: Can't locate module escape
modprobe: modprobe: Can't locate module escape
Start PPPoE connection
modprobe: modprobe: Can't locate module crtscts
modprobe: modprobe: Can't locate module crtscts
netifctl[511]: Success

done.
Initializing random number generator... done.
Checking password and group files... grpck: not found
Starting system log daemon: syslogdmodprobe: modprobe: Safe mode parameter starts with '-'
modprobe: modprobe: Safe mode parameter starts with '-'
modprobe: modprobe: Can't locate module nocrtscts
modprobe: modprobe: Can't locate module nocrtscts
  syslogd: /var/log/attack_pipe: No such file or directory
 klogd.
Setting Networking rules..
--->  ehernet_lnk  <--
--->  check_all_wl  <--
--->  check_bcwl  <--
No Problem 
INIT: Entering runlevel: 2
-ne Starting web server: apache
.
Starting AP serv daemon:AP serv starting on brg0
Starting periodic command scheduler: cron/var/spool/cron: No such file or directory
/var/spool/cron: created
crontabs: No such file or directory
crontabs: created
.
Starting internet superserver: inetd.
[IPTABLES START]
+Packet Filter
 +Enabled
/sbin/iptables (削除)
 +Disable NBT Routing
 +Reject IDENT Packet
+ ATTACK BLOCK
 +Allow ICMP Echo reply
+IP MASQUAREDE
 +Enabled
 +UPnP Settings
[DONE]
Starting Zebra daemons (prio:10): (zebra) (ripd).
default: not found
ppp0: not found
ppp1: not found
ppp2: not found
ppp3: not found
ppp4: not found
Start DNS Relay Daemon
Notice: caching turned off
$Starting fwlogwatch:
Setting Authentication Manager Configuration: ****** Starting macfilter manager instead of EapolRadius ********
****** it named EapolRadius, but its a fake!  ********
done
MELCO Daemon reboot Deamon 'NINJYA'
0: dnsrd /var/run/dnrd.pid /etc/init.d/dns-relay start
1: apservd /var/run/apservd-brg0.pid /etc/init.d/apservd start
2: wcc /var/run/wcc.pid /etc/init.d/wcc restart


MELCO INC. AirStationPro Series WHR-G54 Ver 2.13

broad2 login: 
なんか、いっぱいエラーが出てるが、、、

Web の設定画面をアクセス

ブラウザから、192.168.1.7 をアクセスする。

出た!

(一部消去)

日付は狂ったまま。何度設定しても AC アダプタを抜くと03/1/1 に戻る。 バックアップ用のキャパシタが放電してしまっているのかと 一晩電源を入れたままにしておいたが、改善しない。

さて、各設定ページを見ていった

LAN, WAN(ppp) 関連の設定は引き継がれている。
無線 LAN 関係は、初期値のままか?
設定画面を一通り開いたが、特に問題はなし。

うまく動いているようなので、 既存の AirStation とは別の ESSID を設定する。

無線 LAN クライアントからのアクセス

さて、54Mbps の速度を体験、、、、といきたいところだが、、 802.11g のカードを持っていない(爆)

802.11b のノート PC からアクセスすることにする。
BLR3-TX4 改 WHR-G54 に設定したのと同じ設定をして、、、、

つながらない。何をしてもつながらない。ぜんぜんつながらない。(泣)
う〜ん

トラブルシューティング

まずは、現象の整理。
  • Web 設定画面での設定、ノート PC の設定は間違っていないはず。
  • Web 設定画面で、802.11G-MPCI の MAC アドレスが表示されている。 ということは 802.11G-MPCI は生きている
  • 「管理」→「通信ポート情報」→「LAN側,802.11g」をみると、 送信パケットはあるが、受信パケットは0。ということは???
  • ノート PC はたぶん正常。AirStation とはつながる。 別の PC も試したが、まったく同じ

    802.11G-MPCI の RF あたりが壊れてもたか?
    もう一個買うにも、そんな安いもんじゃないし、、(泣)

    802.11G-MPCI を別のマシンに入れてみようか、、、時間かかりそ。
    といっていても仕方がないので、、、、
    パネリーナを分解して、802.11G-MPCI を入れてみた。
    動いた。ということは、、、、802.11G-MPCI は壊れてない。

    あと一歩というところでつまづいた。さて、、、


    ハックの記録 → WHR-G54 化(3):断念

    Copyright (C) 2004 Yasunari Yamashita. All Rights Reserved.
    yasunari @ yamasita.jp 山下康成@京都府向日市