D-Link DSL-2730Uにserial consoleで入る

秋月のUSBシリアル変換モジュールを使う。
蓋を開けて端子を確認。
左から順にVcc, GND, TX, RXになっていた。(LEDを当てて一番明るく光るところがVcc)
シリアル通信設定は115200-8-N-1。

TBS bootloader V1.0 Build24362 for DSL2730U(Jul 19 2013-18:09:56)

DRAM:  32 MB
Flash: SPI MX25L6405D size=8M id=0x00c22017
IP: 192.168.1.1 MAC: c0:a0:bb:ad:61:41
Hit Space or Enter key to stop autoboot:  0
Checking ethernet link state...


DOWN!
Request for massive upgrade...Timed out!
Checking version 1 image... First image OK
Uncompress linux from 0x80600000 to 0x80010000... OK!
Booting the kernel ...
Linux version 2.6.30.9 (liuyunbing@soft) (gcc version 4.4.6 (Realtek RSDK-1.5.6p2) ) #245 Fr
i Jul 19 18:22:19 CST 2013
CPU revision is: 0000dc02
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS0,115200 mem=32M root=31:2 mtdparts=rtl8676_spiflash:196608
(boot),1520128(kernel),2703360(rootfs),-(data)
icache: 16kB/32B, dcache: 8kB/32B, scache: 0kB/0B
NR_IRQS:128
PID hash table entries: 128 (order: 7, 512 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 24400k/32768k available (3776k kernel code, 8368k reserved, 877k data, 120k init, 0k
 highmem)
Calibrating delay loop... 458.75 BogoMIPS (lpj=2293760)
Mount-cache hash table entries: 512
IMEM section size = 0x858c
net_namespace: 796 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.
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: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
NET: Registered protocol family 27
netlog: listening on port 4660
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NTFS driver 2.1.29 [Flags: R/W].
fuse init (API version 7.11)
msgmni has been set to 47
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 13) is a 16550A
Driver 'sd' needs updating - please use bus_type methods
SPI probe: Found SPI flash MX25L6405D[ID:0xc22017] with 8M bytes!
4 cmdlinepart partitions found on MTD device rtl8676_spiflash
Creating 4 MTD partitions on "rtl8676_spiflash":
0x000000000000-0x000000030000 : "boot"
0x000000030000-0x0000001a3200 : "kernel"
mtd: partition "kernel" doesn't end on an erase block -- force read-only
0x0000001a3200-0x000000437200 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x000000437200-0x000000800000 : "data"
mtd: partition "data" doesn't start on an erase block boundary -- force read-only
PPP generic driver version 2.4.2
NET: Registered protocol family 24
IMQ driver loaded successfully.
        Hooking IMQ before NAT on PREROUTING.
        Hooking IMQ after NAT on POSTROUTING.
RTL8192C/RTL8188C driver version 1.1 (2010-03-31/2012-04-09)
=====>>INSIDE rtl8192cd_init_one <<=====
vendor_deivce_id=819110ec
Wlan MACAddress: c0:a0:bb:ad:61:4a
=====>>EXIT rtl8192cd_init_one <<=====
=====>>INSIDE rtl8192cd_init_one <<=====
Wlan MACAddress: c0:a0:bb:ad:61:4b
=====>>EXIT rtl8192cd_init_one <<=====
=====>>INSIDE rtl8192cd_init_one <<=====
Wlan MACAddress: c0:a0:bb:ad:61:4c
=====>>EXIT rtl8192cd_init_one <<=====
=====>>INSIDE rtl8192cd_init_one <<=====
Wlan MACAddress: c0:a0:bb:ad:61:4d
=====>>EXIT rtl8192cd_init_one <<=====
=====>>INSIDE rtl8192cd_init_one <<=====
Wlan MACAddress: c0:a0:bb:ad:61:4e
=====>>EXIT rtl8192cd_init_one <<=====
val=5
val=c6
_


Probing RTL8186 10/100 NIC-kenel stack size order[2]...
chip name: 8196B, chip revid: 0
NOT YET
Set threshold idx 0
Set threshold idx 1
vport1 added. vid=9 Member port 0x2...
nas0 added. vid=8 Member port 0x1...
vport2 added. vid=9 Member port 0x4...
vport3 added. vid=9 Member port 0x8...
vport4 added. vid=9 Member port 0x10...
[peth0] added, mapping to [nas0]...
TBS button driver for rtl8676 initialized
Mirror/redirect action on
u32 classifier
    Performance counters on
    input device check on
    Actions configured
nf_conntrack version 0.5.0 (512 buckets, 2048 max)
xt_time: kernel timezone is -0000
Allocate memory success!. The phy mem addr=01e5a000, size=4096
ip_tables: (C) 2000-2006 Netfilter Core Team

ipt_conenat_init for cone nat nf_conntrack
TCP cubic registered
Realtek SD2-FastPath v1.00beta_2.4.26-uc0
/proc/FastPath created
Realtek MCast FastPath
/proc/mc_FastPath created
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
ip6tnl0: Disabled Privacy Extensions
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
ratm: RTL8670 SAR v0.0.2 (Jun 17, 2003)
/proc/AUTO_PVC_SEARCH created
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 on device 31:2.
Freeing unused kernel memory: 120k freed
init started: BusyBox v1.6.1 (2013-07-19 18:23:03 CST) multi-call binary
starting pid 161, tty '/dev/console': '/etc/init.d/rcS'
@@@@@@@Welcome to TBS System@@@@@@@
mount: mounting /dev/mtdblock3 on /usr/local/ct failed
mount: mounting none on /proc/bus/usb failed
Loading led modules
TBS leds core driver initialized
Register led device for rtl8676: 1 2 4 5 6 15 16 17 18 7 8 9 10 11 12 13 14 21 23 24
=============Begin Load Modules==============
modprobe usb-storage
modprobe: module usb-storage not found
modprobe: failed to load module usb-storage
insmod: usb-storage.ko: no module by that name found
modprobe usblp
modprobe: module usblp not found
modprobe: failed to load module usblp
insmod: usblp.ko: no module by that name found
modprobe usbserial
modprobe: module usbserial not found
modprobe: failed to load module usbserial
insmod: usbserial.ko: no module by that name found
=============End Load Modules================
/etc/init.d/network.rc: line 60: cannot create /proc/net/drop_conntracks: nonexistent direct
ory

 *** TBS ver:24362, compile time:Jul 19 2013,18:31:16 ***
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFHWADDR: No such device
ifconfig: SIOCGIFFLAGS: No such device
Cannot set VPORT: No such device
starting pid 550, tty '/dev/ttyS0': '/bin/sh'
/ $ adsl_anxm_ok
adsl_anxm_ok
Wed May 23 00:00:00 UTC 2012

gSocObcIntBit=2462390000
remove REG32(0xb8000114)=0x1400

InitAdslMode....

InitAdsl

inter_system.sachemIntSource=7
867x ver = N, (0412 ver)=0x62390000, (ver)=0x2e00
RTNETLINK answers: Cannot assign requested address
SachemAccess::reset()
2684d started
PVC Number = 8. Set Desc number per VC = 126
Creat Interface = 2684ctl -t 0 -c nas1 -e 1 -q ubr,aal5:pcr=0 -a 0.0.35
--- 4bit Rx_in read = 0x373b, 2bit Rx_in read =0x408 , DDRuse=0
AFE_ver=0x687
8676(>M) + 6256/6257 decide use DDR mode
Interface "nas1" created sucessfully
optarg : ubr,aal5:pcr=0
applying workaround...done
device nas1 entered promiscuous mode
VNET: Setting underlying device(nas1) to promiscious mode.
eth4 set netif mac to: c0:a0:bb:ad:61:41
ADDRCONF(NETDEV_UP): vport4: link is not ready
eth3 set netif mac to: c0:a0:bb:ad:61:41
ADDRCONF(NETDEV_UP): vport3: link is not ready
eth2 set netif mac to: c0:a0:bb:ad:61:41
ADDRCONF(NETDEV_UP): vport2: link is not ready
br0 set netif mac to: c0:a0:bb:ad:61:41
SachemAccess::reset()
ADDRCONF(NETDEV_UP): vport1: link is not ready
Sorry, rule does not exist.
Sorry, rule does not exist.
Sorry, rule does not exist.
Sorry, rule does not exist.
device vport4 entered promiscuous mode
device vport3 entered promiscuous mode
device vport2 entered promiscuous mode
device vport1 entered promiscuous mode
device wlan0 entered promiscuous mode
device wlan0-vap0 entered promiscuous mode
device wlan0-vap1 entered promiscuous mode
device wlan0-vap2 entered promiscuous mode
WLAN Init : InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.
iptables: Bad rule (does a matching rule exist in that chain?).
Interface doesn't accept private ioctl...
set_mib (89F1): Operation not permitted
Interface doesn't accept private ioctl...
set_mib (89F1): Operation not permitted
Interface doesn't accept private ioctl...
set_mib (89F1): Operation not permitted
Interface doesn't accept private ioctl...
set_mib (89F1): Operation not permitted
killall: iwcontrol: no process killed
Undefined state... using AP mode as default
val=4
val=c6
br0: port 5(wlan0) entering learning state
killall: mini_upnpd: no process killed
stProcInfo.ucExecCount:9
br0: port 5(wlan0) entering forwarding state
nf_conntrack_l2tp version 3.1 loaded
nf_conntrack_ipsec loaded
ch:1 cca=2, fa:3, rx_count:0, rx_count_40M:0
ch:2 cca=2, fa:1, rx_count:0, rx_count_40M:0
ch:3 cca=8, fa:5, rx_count:0, rx_count_40M:0
ch:4 cca=127, fa:144, rx_count:0, rx_count_40M:0
ch:5 cca=2, fa:2, rx_count:0, rx_count_40M:1
ch:6 cca=11, fa:11, rx_count:0, rx_count_40M:0
ch:7 cca=9, fa:9, rx_count:0, rx_count_40M:2
ch:8 cca=126, fa:127, rx_count:0, rx_count_40M:2
ch:9 cca=49, fa:29, rx_count:3, rx_count_40M:16
ch:10 cca=22, fa:11, rx_count:5, rx_count_40M:4
ch:11 cca=7, fa:1, rx_count:6, rx_count_40M:1
ch:12 cca=6, fa:0, rx_count:6, rx_count_40M:0
ch:13 cca=29, fa:21, rx_count:2, rx_count_40M:0
ch1,10,ch2,18,ch3,38,ch4,261,ch5,176,ch6,216,ch7,287,ch8,461,ch9,436,ch10,436,ch11,423,ch12,
373,ch13,333,
ip6tables: No chain/target/match by that name.
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
killall: dproxy: no process killed
Load DNS is Fake mode = 0!!
/usr/bin/wscd -start -c /var/wscd-wlan0.conf -w wlan0 -fi /var/wscd-wlan0.fifo -debug [wan]
get InternetGatewayDevice.WANDevice.2.WANConnectionDevice. error