Schema seriale DIR-300 B1:
La velocit?? deve essere impostata a 57600 !!
Log di avvio del firmware originale D-Link
U-Boot 1.1.3 (Jan 13 2009 - 17:40:14) (Alpha) - SVN revision : 105
Model: WRGN23
Board: RT2880 DRAM: 32 MB
twe0 set to <NULL>
toe0 set to <NULL>
============================================
Ralink UBoot Version: 3.1 Alpha
--------------------------------------------
ASIC 3052_MP2 (MAC to GigaMAC Mode)
DRAM COMPONENT: 256Mbits
DRAM BUS: 16BIT
Total memory: 32Mbytes
Date:Jan 13 2009 Time:17:40:14
============================================
icache: sets:128, ways:4, linesz:32 ,total:16384
dcache: sets:128, ways:4, linesz:32 ,total:16384
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
9: Load Boot Loader code then write to Flash via TFTP.
0 seconds ...
Eth0 (10/100-M) : ethaddr = (1c:af:f7:42:40:c6) 1C AF F7 42 40 C6
3: System Boot system code via Flash.
## Powering down port 0 ~ 3.
## Booting image at bf050000 ...
Image Name: Linux Kernel Image
Created: 2009-12-21 3:37:55 UTC
System Control Status = 0x03400000
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 882710 Bytes = 862 kB
Load Address: 80000000
Entry Point: 802b9000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.21 (kwest@enzo) (gcc version 3.3.5) #1 Mon Dec 21 11:30:35 CST 2009
The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock1 noinitrd
Primary instruction cache 16kB, 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
arch_init_irq: cause = a0800060, status = 1100ff00
PID hash table entries: 128 (order: 7, 512 bytes)
mips_time_init: calculating r4koff ... 0x00138800 (1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29388k/32768k available (2289k kernel code, 3380k reserved, 495k data, 116k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Time: MIPS clocksource has been installed.
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
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered
io scheduler deadline registered (default)
FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB
rt3052 access driver initialization.
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
ra2880_read_mac: 00:00:00:00:00:00
ra2880_read_mac: 00:00:00:00:00:00
Ralink APSoC Ethernet Driver Initilization. v1.60 256 rx/tx descriptors allocated, mtu = 1600!
ra2880_read_mac: 00:00:00:00:00:00
ra2880_read_mac: 00:00:00:00:00:00
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
elbox physmap platform flash device: 00400000 at bfc00000
elbox-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
elbox-flash.0: squashfs filesystem found at offset 1245184
Creating 8 MTD partitions on "elbox-flash.0":
0x00130020-0x00367020 : "rootfs"
0x00050000-0x003f0000 : "upgrade"
0x00040000-0x00050000 : "devconf"
0x00030000-0x00040000 : "devdata"
0x003f0000-0x00400000 : "langpack"
0x00000000-0x00400000 : "flash"
0x00000000-0x00030000 : "u-boot"
0x00030000-0x00038000 : "boot env"
u32 classifier
ip_conntrack version 2.4 (256 buckets, 2048 max) - 244 bytes per conntrack
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux
ipt_time loading
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
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.
Freeing unused kernel memory: 116k freed
init started: BusyBox v1.00 (2009.12.21-03:30+0000) multi-call binary
Starting pid 274, console /dev/tts/1: '/etc/init.d/rcS'
Algorithmics/MIPS FPU Emulator v1.5
[/etc/init.d/S03config.sh]
Mounting proc and var ...
Start xmldb ...
[/etc/scripts/misc/profile.sh] get ...
[/etc/scripts/misc/defnodes.sh] ...
[/etc/defnodes/S10setext.sh] ...
PHP [/etc/defnodes/S11setnodes.php] ...
PHP [/etc/defnodes/S12features.php] ...
PHP [/etc/defnodes/S13flashspeed.php] ...
PHP [/etc/defnodes/S20setnodes.php] ...
SQUASHFS error: Can't find a SQUASHFS superblock on mtdblock5
mount: Mounting /dev/mtdblock/5 on /www/locale/alt failed: Invalid argument
PHP [/etc/defnodes/S40brand.php] ...
[/etc/scripts/misc/defnodes.sh] Done !!
[/etc/templates/timezone.sh] ...
zone : 5
gen : PST+08:00
[/etc/templates/logs.sh] ...
[/var/run/logs_run.sh] ...
ra2880_read_mac: 1c:af:f7:42:40:c7
Port status change
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
[/etc/templates/webs.sh] start ...
[/var/run/webs_start.sh] ...
Starting HTTPD ...
[/etc/init.d/S03config.sh] done!
[/etc/init.d/S10system.sh]
start fresetd ...
Link Up Process PID:480
start scheduled ...
Factory reset time : 5 secs
WPS command : [/etc/templates/wps.sh pbc &]
[/etc/templates/scheduled.sh] start ...
[/var/run/scheduled_start.sh] ...
Start scheduled ...
setup layout ...
[/etc/scripts/layout.sh] start ...
[/var/run/layout_start.sh] ...
Start router layout ...
eth2.0: Setting MAC address to 1c af f7 42 40 c6.
device eth2 entered promiscuous mode
VLAN (eth2.0): Setting underlying device (eth2) to promiscious mode.
eth2.2: Setting MAC address to 1c af f7 42 40 c7.
VLAN (eth2.2): Underlying device (eth2) has same MAC, not checking promiscious mode.
eth2.0: dev_set_promiscuity(master, 1)
device eth2.0 entered promiscuous mode
br0: port 1(eth2.0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth2.0) entering forwarding state
start LAN ...
[/etc/templates/lan.sh] ...
[/var/run/lan_start.sh] ...
Start LAN (br0/192.168.1.4/255.255.255.0)...
Start DHCP server (br0) ...
DHCP server is disabled!
Start igmp ...
[/etc/templates/igmpproxy.sh] start ...
[/var/run/igmpproxy_start.sh] ...
/proc/igmp_snoop: cannot create
IGMP proxy is not enabled!
enable LAN ports ...
start WLAN ...
[/etc/templates/wlan.sh] start ...
Hello from hostapd.conf
[/var/run/wlan_start.sh] ...
Start WLAN interface ra0 ...
restart WLAN driver ...
interface ra0 does not exist!
Using /lib/modules/rt2860v2_ap.ko
rt2860v2_ap: module license 'unspecified' taints kernel.
2860 version : 1.9.0.0 (Dec 21 2009)
=== pAd = c0403000, size = 413280 ===
<-- RTMPAllocAdapterBlock, Status=0
RX DESC a1963000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
default_channel_enum = 9 10 11 1 2 3 7 8 4 5 6 12 13
Msleep at ch#1 to collect RX=0, RSSI=-127
Msleep at ch#2 to collect RX=0, RSSI=-127
Msleep at ch#3 to collect RX=0, RSSI=-127
Msleep at ch#4 to collect RX=0, RSSI=-127
Msleep at ch#5 to collect RX=0, RSSI=-127
Msleep at ch#6 to collect RX=0, RSSI=-53
Msleep at ch#7 to collect RX=0, RSSI=-127
Msleep at ch#8 to collect RX=0, RSSI=-127
Msleep at ch#9 to collect RX=0, RSSI=-127
Msleep at ch#10 to collect RX=0, RSSI=-127
Msleep at ch#11 to collect RX=0, RSSI=-127
Msleep at ch#12 to collect RX=0, RSSI=-127
Msleep at ch#13 to collect RX=0, RSSI=-127
Dirtyness = 0.1.1.1. - 1.10.1.1. - 1.1.0.0. - 0.
APAutoSelectChannel pick up ch#11
Main bssid = 1c:af:f7:42:40:c6
<==== RTMPInitialize, Status=0
0x1300 = 00064380
device ra0 entered promiscuous mode
br0: port 2(ra0) entering learning state
br0: topology change detected, propagating
br0: port 2(ra0) entering forwarding state
br0: port 2(ra0) multicast bandwidth 900kbps
Configuration file: /var/run/hostapd.ra0.conf
Start WLAN interface ra0 Done !!!
[/var/run/wlan_schedule_contrl.sh] ...
start Guest Zone
[/etc/templates/gzone.sh] ...
[/etc/templates/enable_gzone.sh] ...
Using interface ra0 with hwaddr 1c:af:f7:42:40:c6 and ssid 'Massy'
start RG ...
[/etc/templates/rg.sh] start ...
[/var/run/rg_start.sh] ...
hostapd_setup_interface: return 0
Using /lib/modules/ip_stun_func.ko
Register STUN module successes!
Using /lib/modules/sw_tcpip.ko
REDSonic turbo net initialized
Using /lib/modules/ifresetcnt.ko
Network interface reset count v1.0
insmod: /lib/modules/2.6.21: No such file or directory
insmod: ip_conntrack_ike_m.ko: no module by that name found
insmod: /lib/modules/2.6.21: No such file or directory
insmod: ip_conntrack_esp_m.ko: no module by that name found
insmod: /lib/modules/2.6.21: No such file or directory
insmod: ip_conntrack_proto_esp_m.ko: no module by that name found
insmod: /lib/modules/2.6.21: No such file or directory
insmod: ip_nat_proto_esp_m.ko: no module by that name found
Using /lib/modules/ipt_PERS.ko
PERS: Successfully registered IPTable target.
sendto_unsock(/var/run/portt.unixsocket, flush)
/proc/sys/net/ipv4/arp_flood_burst: cannot create
/proc/sys/net/ipv4/arp_flood_cost: cannot create
start DNRD ...
[/etc/templates/dnrd.sh] ...
[/var/run/dnrd_start.sh] ...
Start DNRD ...
Notice: caching turned off
Start telnetd ...
start UPNPD ...
[/etc/templates/upnpd.sh] ...
[/var/run/upnpd_start.sh] ...
Starting UPnP ...
[/var/run/upnp_alive.sh] ...
start WAN ...
Set WAN port media type 0
[/etc/templates/wan.sh] start ...
[/var/run/wan_start.sh] ...
insmod: /lib/modules/2.6.21: No such file or directory
Using /lib/modules/sw_tcpip.ko
insmod: cannot insert `/lib/modules/sw_tcpip.ko': Invalid parameters (17): Invalid argument
It is the DHCP mod start!!
DHCP client on WAN(eth2.2) CloneMAC() ...
wireless_event_receive: Malformed netlink message: len=260 left=256 plen=244
start LLD2D ...
[/etc/templates/lld2d.sh] ...
[/var/run/lld2d_start.sh] ...
Start LLD2 daemon ...
start Neaps ...
[/etc/templates/neaps.sh] start ...
[/var/run/neaps_start.sh] ...
Start Neap Server ...
start igmpproxy ...
[/etc/templates/igmpproxy.sh] start ...
[/var/run/igmpproxy_stop.sh] ...
IGMP proxy is not started !
[/var/run/igmpproxy_start.sh] ...
/proc/igmp_snoop: cannot create
IGMP proxy is not enabled!
Change the STATUS LED...
[/etc/init.d/S10system.sh] done!
rcS done!
Starting pid 1003, console /dev/tts/1: '/bin/sh'
BusyBox v1.00 (2009.12.21-03:30+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
#