D-Link DSL-G624T
D-Link DSL-G624T ADSL2/2+ Router
Hardware Highlights
| CPU | Ram | Flash | Network | USB | Serial | JTag |
|---|---|---|---|---|---|---|
| TI AR7 (TNETD7300)@150MHz | 16MB | 4MB | 4 x 1 + ADSL2/2+ | No | Yes | Yes |
The DSL-G624T is an evolution of the previous ADSL1-only DSL-504T. It is the same board of the wireless-deprived DSL-G524T (the 524T board has empty soldering points for the mini-PCI slot where the G624T has the VLYNQ ACX wireless card).
Hardware
Info
| Architecture: MIPS (little endian) |
| Vendor: D-Link |
| Bootloader: ADAM2 |
| System-On-Chip: TI AR7 TNETD7300AZDW (6BZHT99) |
| CPU Speed: 150 Mhz |
| Flash Size: 4 MiB |
| Flash-Chip: Spansion S29AL032D90TFI04 |
| RAM Size: 16 MiB |
| RAM-Chip: HYNIX HY57V281620ETP-H, 128Mb syncronous DRAM - 2M x 4Bank x16 I/O 16 MiB |
| Wireless: Texas Instruments, TI ACX111 (VLYNQ ACX) |
| Ethernet: ADM6996M |
| ADSL: TI AR7, ADSL2/2+ (up to 24Mbit/s) |
| USB: No |
| Serial: Yes, 3.3V (the kernel reports 2 serial ports, but only one jumper is available on the board) |
| JTAG: Yes |
| Power supply: 12V, 1.2A |
Photos
Front and back view:
Lower panel view with sticker:
Inside view:
Inside view of a burned-out unit, with EM shield and wireless card removed to fully expose the Mini-PCI slot:
Mini-PCI wireless module: front view:
The TI chip markings read:
TNETW1130ZVF
5CPG108 D4
Mini-PCI wireless module: rear view:
Opening the case
The top and bottom shells are kept toghether by only two screws, easily accessible and removable from the bottom.
Serial Port
Just like the 524T's serial port. It's the JP6 connector. It needs a TTL (3.3V) to RS232 converter such as a MAX3232 in order to be interfaced to a PCs' serial port.
| D-Link DSL-624T Serial connector pinout | ||||
|---|---|---|---|---|
| Pin num. | Name | Signal | ||
| 1 | RXD | Receive Data In | ||
| 2 | GND | Ground | ||
| 3 | Vcc (3.3) | Power | ||
| 4 | GND | Ground | ||
| 5 | TXD | Transmit Data Out | ||
In order to use the serial connection, the DTE (the computer) must set it's serial port to 38400 baud, 8 bit, no parity, 1 stop bit.
Would one use a MAX3232 (or like) serial converter, connections must be arranged in the following way:
| DSL-624T serial port to MAX3232 connections | |||||
|---|---|---|---|---|---|
| DSL-624 serial port | MAX3232 | ||||
| pin# | Name | Signal | pin# | Name | Signal |
| 1 | RXD | Receive Data In | 12 | R1OUT | TTL/CMOS Receiver Output |
| 2 | GND | Ground | 15 | GND | Ground |
| 3 | Vcc (3.3) | Power | 16 | Vcc | Power |
| 4 | GND | Ground | 15 | GND | Ground |
| 5 | TXD | Transmit Data Out | 11 | T1IN | TTL/CMOS Transmitter Input |
| MAX3232 to DB9/15 RS232 serial port connections | |||||||
|---|---|---|---|---|---|---|---|
| MAX3232 | RS232 serial port | ||||||
| pin# | Name | Signal | DB-9 pin# | DB-15 pin# | Name | Signal | |
| 14 | T1OUT | RS-232 Transmitter Output | 2 | 3 | RXD | Receive Data In | |
| 13 | R1IN | RS-232 Receiver Input | 3 | 2 | TXD | Transmit Data Out | |
| 15 | GND | Ground | 5 | 7 | GND | Ground | |
At powerup the following lines are displayed:
ADAM2 Revision 0.22.02_b04_Mar 9 2005 (C) Copyright 1996-2003 Texas Instruments Inc. All Rights Reserved. (C) Copyright 2003 Telogy Networks, Inc. Usage: setmfreq [-d] [-s sys_freq, in MHz] [cpu_freq, in MHz] Memory optimization Complete! Adam2_AR7RD > Press any key to abort OS load, or wait 7 seconds for OS to boot...
They are followed by the boot messages that are shown by the dmesg command (see below), plus these three lines at about line 85:
- init - Please press Enter to activate this console.
JTAG
The G624T appears to have a JTAG header (untested). See JTAG tools and port.jtag for more details.
Installation
Partitioning
→flash.layout. We have to change some offsets to be able to start OpenWrt on this device. The original Flash mapping might look like this:
| D-Link DSL-624T OEM | ||||
|---|---|---|---|---|
| partition | start | end | size | Name |
| mtd2 | 0x90000000 | 0x90010000 | 64 KiB | Bootloader |
| mtd1 | 0x90010090 | 0x90091000 | ~516 KiB | Kernel |
| mtd0 | 0x90091000 | 0x903f0000 | 3452 KiB | Root filesystem |
| mtd3 | 0x903f0000 | 0x90400000 | 64 KiB | Configuration |
| mtd4 | 0x90010000 | 0x903f0000 | 3968 KiB | – |
NOTE: mtd4 covers both mtd1 and mtd0
The mtd2 partition contains the bootloader. Never touch it.
The mtd3 partition contains both the bootloader configuration and the original firmware settings. OpenWrt will ignore anything written in here. Do not touch it.
To use OpenWrt Backfire (10.03.1) on this unit we need to modify the partition layout as follows (changes are in bold):
| D-Link DSL-624T and OpenWrt | |||||
|---|---|---|---|---|---|
| partition | Name | start | end | size | Description |
| mtd2 | loader | 0x90000000 | 0x90010000 | 64 KiB | Bootloader (ADAM2) |
| mtd1 | linux | 0x90010000 | 0x903f0000 | 3968 KiB | Linux kernel |
| mtd0 | rootfs | 0x900a1000 | 0x903f0000 | 3388 KiB | Read-only squashfs + jffs2 filesystem |
| mtd3 | config | 0x903f0000 | 0x90400000 | 64 KiB | Original firmware configuration |
| mtd4 | rootfs_data | 0x90010000 | 0x903f0000 | 3968 KiB | |
Installation Log
Flash image downloaded from http://downloads.openwrt.org/backfire/10.03.1/ar7/openwrt-ar7-squashfs.bin and renamed openwrt-ar7-squashfs_10.03.1.bin in the local 'Downloaded' directory.
Right after power-up, the ADAM2 boot loader runs an FTP server listening on the IP address 5.8.8.8 that is available for a few seconds before the firmware is loaded. This FTP server can be used to flash the new OpenWRT image, as is detailed in the following log of the repartitioning and the flashing of the DSL-G624T's FlashROM.
The ADAM2 username and password are adam2 and adam2.
First we check the present partitioning of the FLASH ROM with the GETENV command, then we change the partition mtd1 from 0x90010090,0x900a1000 to 0x90010000,0x903f0000 with the SETENV command:
alessandro@localhost:~$ telnet 5.8.8.8 ftp Trying 5.8.8.8... Connected to 5.8.8.8. Escape character is '^]'. 220 ADAM2 FTP Server ready. USER adam2 331 Password required for adam2. PASS adam2 230 User adam2 successfully logged in. GETENV mtd0 mtd0 0x900a1000,0x903f0000 200 GETENV command successful GETENV mtd1 mtd1 0x90010090,0x900a1000 200 GETENV command successful GETENV mtd2 mtd2 0x90000000,0x90010000 200 GETENV command successful GETENV mtd3 mtd3 0x903f0000,0x90400000 200 GETENV command successful GETENV mtd4 mtd4 0x90010000,0x903f0000 200 GETENV command successful SETENV mtd1,0x90010000,0x903f0000 200 SETENV command successful QUIT 221-Thank you for using the FTP service on ADAM2. 221 Goodbye. ^] telnet> close Connection closed. alessandro@localhost:~$
Next, we perform the actual flashing.
Please note that the 'hash' command is elective and it's only useful to see if the upload runs or gets stuck.
Also, the second parameter to the 'put' command is composed of one double-quoted string of two space-separated words: the remote flash image filename and the flash partition to which it shall be flashed. The first word (the remote file name) is arbitrary, and in the following example it was put the same as the local filename (i.e: openwrt-ar7-squashfs_10.03.1.bin). However, the second word of the second parameter to 'put' must be mtd1.
alessandro@localhost:~$ ftp -n 5.8.8.8 Connected to 5.8.8.8. 220 ADAM2 FTP Server ready. ftp> user adam2 331 Password required for adam2. Password: 230 User adam2 successfully logged in. Remote system type is UNIX. ftp> binary 200 Type set to I. ftp> hash Hash mark printing on (1024 bytes/hash mark). ftp> quote MEDIA FLSH 200 Media set to FLSH. ftp> lcd Downloaded Local directory now /home/alessandro/Downloaded ftp> !ls open* openwrt-ar7-squashfs_10.03.1.bin ftp> put "openwrt-ar7-squashfs_10.03.1.bin" "openwrt-ar7-squashfs_10.03.1.bin mtd1" local: openwrt-ar7-squashfs_10.03.1.bin remote: openwrt-ar7-squashfs_10.03.1.bin mtd1 200 Port command successful. 150 Opening BINARY mode data connection for file transfer. ######################################################## ... ######################################################## 226 Transfer complete. 2818052 bytes sent in 26.07 secs (105.6 kB/s) ftp> quote REBOOT 221-Thank you for using the FTP service on ADAM2. 221 Goodbye. ftp> bye alessandro@localhost:~$
Specific Configuration
Interfaces
The default network configuration is:
| Interface Name | Description | Default configuration |
|---|---|---|
| br-lan | LAN | 192.168.1.1/24 |
| eth0 | LAN ports (1 to 4) | None |
| wlan0 | WLAN port | None |
| ppp0 | WAN port (ADSL) | - |
Post-installation system info
These are some of the info the system reports after successful installation of Fireback (10.03.1):
alessandro@localhost:~$ ssh root@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
RSA key fingerprint is 16:15:3f:b7:0f:5c:7c:39:00:7d:6b:bd:5d:19:28:57.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.
BusyBox v1.15.3 (2011-11-24 00:44:13 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
Backfire (10.03.1, r29592) ------------------------
* 1/3 shot Kahlua In a shot glass, layer Kahlua
* 1/3 shot Bailey's on the bottom, then Bailey's,
* 1/3 shot Vodka then Vodka.
---------------------------------------------------
root@modem1:~#
root@modem1:~# uname -r 2.6.32.27
root@modem1:~# cat /proc/cpuinfo system type : TI AR7 (TNETD7300) processor : 0 cpu model : MIPS 4KEc V4.8 BogoMIPS : 149.50 wait instruction : yes microsecond timers : yes tlb_entries : 16 extra interrupt vector : yes hardware watchpoint : yes, count: 1, address/irw mask: [0x0fff] ASEs implemented : shadow register sets : 1 core : 0 VCED exceptions : not available VCEI exceptions : not available
root@modem1:~# cat /proc/ioports
root@modem1:~# cat /proc/interrupts
CPU0
2: 0 MIPS AR7 cascade interrupt
7: 896311 MIPS timer
8: 0 AR7 AR7 cascade interrupt
15: 189 AR7 serial
23: 0 AR7 SAR
27: 275 AR7 eth1
29: 15974 AR7 vlynq
41: 24137 AR7 eth0
47: 4 AR7 DSL
80: 15974 vlynq wlan0
ERR: 0
root@modem1:~# ls -F /proc 1/ 4/ buddyinfo irq/ slabinfo 10098/ 5/ bus/ kcore softirqs 10147/ 57/ cmdline kmsg stat 11444/ 58/ cpuinfo loadavg swaps 11445/ 59/ crypto locks sys/ 2/ 700/ devices meminfo sysrq-trigger 222/ 708/ diskstats misc sysvipc/ 25/ 7082/ driver/ modules timer_list 254/ 71/ execdomains mounts@ tty/ 256/ 736/ filesystems mtd uptime 27/ 756/ fs/ net@ version 270/ 785/ interrupts pagetypeinfo vmallocinfo 29/ 8/ iomem partitions vmstat 3/ avalanche/ ioports self@ zoneinfo
root@modem1:~# free
total used free shared buffers
Mem: 12488 10100 2388 0 856
Swap: 0 0 0
Total: 12488 10100 2388
root@modem1:~# cat /proc/softirqs
CPU0
HI: 0
TIMER: 896111
NET_TX: 15194
NET_RX: 66555
BLOCK: 0
BLOCK_IOPOLL: 0
TASKLET: 179
SCHED: 0
HRTIMER: 0
RCU: 914167
root@modem1:~# cat /proc/devices
Character devices:
1 mem
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
10 misc
90 mtd
108 ppp
128 ptm
136 pts
254 ar7_gpio
Block devices:
259 blkext
31 mtdblock
root@modem1:~# cat /proc/iomem
03400000-34001fff : mem
04000000-04ffffff : mem
04000000-04fffffe : acx
08610000-086107ff : regs
08610000-086107fe : eth1
08611200-086112ff : regs
08611800-086118ff : regs
08611800-086118ff : vlynq0
08611c00-08611cff : regs
08611c00-08611cff : vlynq1
08612800-08612fff : regs
08612800-08612ffe : eth0
0c000000-0cffffff : mem
10000000-107fffff : mem
10000000-107fffff : physmap-flash.0
14000000-14ffffff : System RAM
14100000-14333cfb : Kernel code
14333cfc-1438c27f : Kernel data
root@modem1:~# cat /proc/diskstats 31 0 mtdblock0 3 13 128 10 0 0 0 0 0 10 10 31 1 mtdblock1 0 0 0 0 0 0 0 0 0 0 0 31 2 mtdblock2 0 0 0 0 0 0 0 0 0 0 0 31 3 mtdblock3 79 2132 4422 850 0 0 0 0 0 810 850 31 4 mtdblock4 1 3 32 0 0 0 0 0 0 0 0
root@modem1:~# dmesg
Linux version 2.6.32.27 (jow@nd-build-02.linux-appliance.net) (gcc version 4.3.3 (GCC) ) #5 Wed Dec 21 01:54:33 CET 2011
bootconsole [early0] enabled
CPU revision is: 00018448 (MIPS 4KEc)
TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x27
Determined physical RAM map:
memory: 01000000 @ 14000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00014000 -> 0x00015000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00014000 -> 0x00015000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat 9438bc40, node_mem_map 943c8000
Normal zone: 32 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 4064 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: rootfstype=squashfs,jffs2 console=ttyS0,38400n8
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
Memory: 12352k/16384k available (2255k kernel code, 4032k reserved, 353k data, 136k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:256
Clocks: prediv: 1, postdiv: 1, mul: 10
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
msgmni has been set to 24
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a TI-AR7
console [ttyS0] enabled, bootconsole disabled
serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a TI-AR7
physmap platform flash device: 00800000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0
CFI mfr 0x00000001
CFI id 0x000022f9
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.1.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
4 ar7part partitions found on MTD device physmap-flash.0
Creating 4 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000010000 : "loader"
0x0000003f0000-0x000000400000 : "config"
0x000000010000-0x0000003f0000 : "linux"
0x0000000f0000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2B0000, len=140000
0x0000002b0000-0x0000003f0000 : "rootfs_data"
Fixed MDIO Bus: probed
cpmac-mii: probed
cpmac: device eth0 (regs: 08612800, irq: 41, phy: 0:01, mac: 00:17:9a:1e:00:00)
cpmac: device eth1 (regs: 08610000, irq: 27, phy: 0:00, mac: 00:17:9a:1e:00:00)
Registered led device: status
vlynq0: regs 0x08611800, irq 29, mem 0x04000000
vlynq0: using local clock divisor 8
Found a VLYNQ device: 00000009
vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
TCP westwood registered
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 on device 31:3.
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
PHY: 0:01 - Link is Up - 100/Full
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
device eth1 entered promiscuous mode
br-lan: port 2(eth1) entering forwarding state
NET: Registered protocol family 8
NET: Registered protocol family 20
PHY: 0:00 - Link is Up - 100/Full
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (195 buckets, 780 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
acx: this driver is still EXPERIMENTAL
acx: reading README file and/or Craig's HOWTO is recommended, visit http://acx100.sf.net in case of further questions/discussion
acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
acx: running on a little-endian CPU
acx: PCI/VLYNQ module v0.3.37 initialized, waiting for cards to probe...
Driver found for VLYNQ device: 00000009
vlynq0: using local clock divisor 2
acx: found TI TNETW1130-based wireless network card at <NULL>, irq:80, phymem:0x4000000, mem:0xa4000000
initial debug setting is 0x000A
using IRQ 80
acx: need to load firmware for acx111 chipset with radio ID 16, please provide via firmware hotplug:
acx: either one file only (<c>ombined firmware image file, radio-specific) or two files (radio-less base image file *plus* separate <r>adio-specific extension file)
requesting firmware image 'tiacx111c16'
acx_vlynq vlynq0: firmware: requesting tiacx111c16
acx_write_fw (main/combined): 0
acx_validate_fw (main/combined): 0
initializing max packet templates
dump queue head (from card):
len: 24
tx_memory_block_address: 19E40
rx_memory_block_address: 15240
tx1_queue address: 14774
rx1_queue address: 14434
NVS_vendor_offs:01CD probe_delay:200 eof_memory:1114112
CCAModes:04 Diversity:01 ShortPreOpt:01 PBCC:01 ChanAgil:00 PHY:05 Temp:01
AntennaID:00 Len:02 Data:01 02
PowerLevelID:01 Len:02 Data:001E 000A
DataRatesID:02 Len:05 Data:02 04 11 22 44
DomainID:03 Len:06 Data:41 20 30 31 32 40
ProductID:04 Len:09 Data:TI ACX100
ManufacturerID:05 Len:07 Data:TI Test
get_mask 0x00004182, set_mask 0x00000000
don't know how to get sensitivity for radio type 0x16
got sensitivity value 0
got antenna value 0x4A
got regulatory domain 0x41
get_mask 0x00000000, set_mask 0x00000000 - after update
new ratevector: 82 84 0B 0C 12 16 18 24 2C 30 48 60 6C
setting RXconfig to 2010:0FDD
acx: === chipset TNETW1130, radio type 0x16 (Radia), form factor 0x01 ((mini-)PCI / CardBus), EEPROM version 0x05: uploaded firmware 'Rev 2.3.1.31' ===
creating /proc entry driver/acx_wlan%d
creating /proc entry driver/acx_wlan%d_diag
creating /proc entry driver/acx_wlan%d_eeprom
creating /proc entry driver/acx_wlan%d_phy
acx v0.3.37: net device wlan%d, driver compiled against wireless extensions 22 and Linux 2.6.32.27
using IRQ 80
Not using the 00000009 VLYNQ device's driver for VLYNQ device: 00000000
Not using the 00000029 VLYNQ device's driver for VLYNQ device: 00000000
registered device TI Avalanche SAR
Sangam detected
requesting firmware image "ar0700xx.bin"
avsar: firmware: requesting ar0700xx.bin
avsar firmware released
tn7dsl_set_modulation : Setting mode to 0xffff
Creating new root folder avalanche in the proc for the driver stats
Texas Instruments ATM driver: version:[7.03.01.00]
root@modem1:~# cat /proc/timer_list Timer List Version: v0.5 HRTIMER_MAX_CLOCK_BASES: 2 now at 12549087441907 nsecs cpu: 0 clock 0: .base: 9437d930 .index: 0 .resolution: 1 nsecs .get_time: <94145398> .offset: 1315497287901324971 nsecs active timers: clock 1: .base: 9437d960 .index: 1 .resolution: 1 nsecs .get_time: <94145428> .offset: 0 nsecs active timers: #0: <9437de70>, <9414a06c>, S:01 # expires at 12549090000000-12549090000000 nsecs [in 2558093 to 2558093 nsecs] #1: <94769ad0>, <9413d114>, S:01 # expires at 12553979407003-12553985406989 nsecs [in 4891965096 to 4897965082 nsecs] #2: <9470fa30>, <9413d114>, S:01 # expires at 12849002260909-12849102260909 nsecs [in 299914819002 to 300014819002 nsecs] .expires_next : 12549090000000 nsecs .hres_active : 1 .nr_events : 902903 .nr_retries : 328 .nr_hangs : 0 .max_hang_time : 0 nsecs .nohz_mode : 0 .idle_tick : 0 nsecs .tick_stopped : 0 .idle_jiffies : 0 .idle_calls : 0 .idle_sleeps : 0 .idle_entrytime : 0 nsecs .idle_waketime : 0 nsecs .idle_exittime : 0 nsecs .idle_sleeptime : 0 nsecs .last_jiffies : 0 .next_jiffies : 0 .idle_expires : 0 nsecs jiffies: 1224908 Tick Device: mode: 1 Per CPU device: 0 Clock Event Device: MIPS max_delta_ns: 2147483647 min_delta_ns: 10240 mult: 322122547 shift: 32 mode: 3 next_event: 12549090000000 nsecs set_next_event: <94110ec8> set_mode: <94110eec> event_handler: <9413e26c>
root@modem1:~# cat /proc/vmallocinfo 0xc0000000-0xc0043000 274432 pages=66 vmalloc 0xc0044000-0xc0050000 49152 pages=11 vmalloc 0xc0051000-0xc0072000 135168 pages=32 vmalloc 0xc0073000-0xc0094000 135168 pages=32 vmalloc 0xc08fe000-0xc0903000 20480 pages=4 vmalloc 0xc0923000-0xc0926000 12288 pages=2 vmalloc
root@modem1:~# cat /proc/vmstat nr_free_pages 596 nr_inactive_anon 241 nr_active_anon 21 nr_inactive_file 167 nr_active_file 739 nr_unevictable 0 nr_mlock 0 nr_anon_pages 222 nr_mapped 237 nr_file_pages 949 nr_dirty 0 nr_writeback 0 nr_slab_reclaimable 159 nr_slab_unreclaimable 758 nr_page_table_pages 39 nr_kernel_stack 26 nr_unstable 0 nr_bounce 0 nr_vmscan_write 0 nr_writeback_temp 0 nr_isolated_anon 0 nr_isolated_file 0 nr_shmem 43
root@modem1:~# cat /proc/zoneinfo
Node 0, zone Normal
pages free 595
min 127
low 158
high 190
scanned 0
spanned 4096
present 4064
nr_free_pages 595
nr_inactive_anon 241
nr_active_anon 21
nr_inactive_file 167
nr_active_file 739
nr_unevictable 0
nr_mlock 0
nr_anon_pages 223
nr_mapped 237
nr_file_pages 949
nr_dirty 0
nr_writeback 0
nr_slab_reclaimable 159
nr_slab_unreclaimable 758
nr_page_table_pages 39
nr_kernel_stack 26
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0
nr_writeback_temp 0
nr_isolated_anon 0
nr_isolated_file 0
nr_shmem 43
protection: (0, 0)
pagesets
cpu: 0
count: 0
high: 0
batch: 1
all_unreclaimable: 0
prev_priority: 12
start_pfn: 81920
inactive_ratio: 1
root@modem1:~# cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root /rom squashfs ro,relatime 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,relatime 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev,relatime 0 0 tmpfs /dev tmpfs rw,relatime,size=512k,mode=755 0 0 devpts /dev/pts devpts rw,relatime,mode=600 0 0 root /tmp/root tmpfs rw,relatime,mode=755 0 0 mini_fo:/tmp/root /tmp/root mini_fo rw,relatime 0 0 debugfs /sys/kernel/debug debugfs rw,relatime 0 0 /dev/mtdblock4 /overlay jffs2 rw,relatime 0 0 mini_fo:/overlay / mini_fo rw,relatime 0 0
root@modem1:~# ifconfig
br-lan Link encap:Ethernet HWaddr 00:17:9A:1E:00:00
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18336 errors:0 dropped:0 overruns:0 frame:0
TX packets:16736 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1358813 (1.2 MiB) TX bytes:2073596 (1.9 MiB)
eth0 Link encap:Ethernet HWaddr 00:17:9A:1E:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18341 errors:4 dropped:0 overruns:4 frame:0
TX packets:16736 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1615817 (1.5 MiB) TX bytes:2073596 (1.9 MiB)
Interrupt:41
eth1 Link encap:Ethernet HWaddr 00:17:9A:1E:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:287 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:17970 (17.5 KiB)
Interrupt:27
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:62508 errors:0 dropped:0 overruns:0 frame:0
TX packets:62508 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4375648 (4.1 MiB) TX bytes:4375648 (4.1 MiB)
wlan0 Link encap:Ethernet HWaddr 00:17:9A:06:A3:62
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:211 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:12660 (12.3 KiB)
Interrupt:80
root@modem1:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
root@modem1:~# top
Mem: 10088K used, 2400K free, 0K shrd, 640K buff, 2404K cached
CPU: 57% usr 21% sys 0% nic 2% idle 0% io 17% irq 1% sirq
Load average: 1.81 1.91 1.64 2/27 12753
PID PPID USER STAT VSZ %MEM %CPU COMMAND
708 1 root S 1016 8% 8% /usr/sbin/uhttpd -f -h /www -r OpenWr
12662 10147 root R 1380 11% 8% top
736 1 nobody S 916 7% 4% /usr/sbin/dnsmasq -K -D -y -Z -b -E -
254 1 root S 1388 11% 3% syslogd -C16
256 1 root S 1372 11% 3% klogd
785 1 root S 1380 11% 1% /usr/sbin/ntpd -n -p 0.openwrt.pool.n
12753 708 root R 2392 19% 0% /usr/bin/lua /www/cgi-bin/luci
10147 10098 root S 1392 11% 0% -ash
1 0 root S 1384 11% 0% init
222 1 root S 1384 11% 0% init
700 1 root S 1376 11% 0% telnetd -l /bin/login.sh
10098 7082 root S 1204 10% 0% /usr/sbin/dropbear -P /var/run/dropbe
7082 1 root S 1132 9% 0% /usr/sbin/dropbear -P /var/run/dropbe
270 1 root S 776 6% 0% /sbin/hotplug2 --override --persisten
4 2 root SW 0 0% 0% [events/0]
5 2 root SW 0 0% 0% [khelper]
71 2 root SW 0 0% 0% [mtdblockd]
57 2 root SW 0 0% 0% [kswapd0]
27 2 root SW 0 0% 0% [bdi-default]
^C 25 2 root SW 0 0% 0% [sync_supers]
root@modem1:~# netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 OpenWrt.lan:ssh 192.168.1.127:34921 ESTABLISHED tcp 0 0 OpenWrt.lan:ssh 192.168.1.127:34921 ESTABLISHED netstat: /proc/net/tcp6: No such file or directory netstat: /proc/net/udp6: No such file or directory netstat: /proc/net/raw6: No such file or directory Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 5 [ ] DGRAM 141 /dev/log unix 2 [ ] DGRAM 86643 unix 2 [ ] DGRAM 36331 unix 2 [ ] DGRAM 767
root@modem1:~# lsmod Module Size Used by Not tainted tiatm 121280 0 acx 113200 0 nf_nat_tftp 432 0 nf_conntrack_tftp 2400 1 nf_nat_tftp nf_nat_irc 864 0 nf_conntrack_irc 2592 1 nf_nat_irc nf_nat_ftp 1360 0 nf_conntrack_ftp 4896 1 nf_nat_ftp ipt_MASQUERADE 992 1 iptable_nat 2880 1 nf_nat 12544 5 nf_nat_tftp,nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat xt_NOTRACK 672 0 iptable_raw 656 1 xt_state 800 3 nf_conntrack_ipv4 8352 6 iptable_nat,nf_nat nf_defrag_ipv4 608 1 nf_conntrack_ipv4 nf_conntrack 44032 12 nf_nat_tftp,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_NOTRACK,xt_state,nf_conntrack_ipv4 pppoe 10208 0 pppox 1312 1 pppoe pppoatm 2816 0 ipt_REJECT 1984 2 xt_TCPMSS 2720 0 ipt_LOG 4640 0 xt_comment 464 0 xt_multiport 1904 0 xt_mac 576 0 xt_limit 1152 1 iptable_mangle 992 1 iptable_filter 768 1 ip_tables 8864 4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter xt_tcpudp 1856 3 x_tables 9824 13 ipt_MASQUERADE,iptable_nat,xt_NOTRACK,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,ip_tables,xt_tcpudp ppp_async 9040 0 ppp_generic 21216 4 pppoe,pppox,pppoatm,ppp_async slhc 5360 1 ppp_generic br2684 6624 0 atm 42896 3 tiatm,pppoatm,br2684 crc_ccitt 976 1 ppp_async
toh/d-link/dsl-624t.txt · Last modified: 2013/03/26 22:25 by alessandro_s






