art中的部分内容,留着慢慢研究

root@hbg:/tmp# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00e30000 00010000 "rootfs"
mtd3: 00b40000 00010000 "rootfs_data"
mtd4: 00160000 00010000 "kernel"
mtd5: 00010000 00010000 "test"
mtd6: 00010000 00010000 "art"        -- art区
mtd7: 00f90000 00010000 "firmware"

 

到处到文件

root@hbg:/tmp# dd if=/dev/mtdblock6 of=/tmp/1
128+0 records in
128+0 records out

将文件以16进制查看

hexdump -C 1 >/tmp/art.txt

查看art.txt中内容,主要部分内容如下:

起始地址为:

00008000
 AP_IPADDR=192.168.1.2  AP_NETMASK=255.255.2550
 WAN_MODE=bridged   WAN_IPADDR=192.168.2.1  WAN_NETMASK=255.255.255.0.WLAN_ON_BOOT=n
 AP_STARTMODE=rootap AP_RADIO_ID=0 AP_RADIO_ID_2=1 AP_PRIMARY_CH=6 AP_CHMODE=11NGHT40PLUS AP_HIDESSID=0
 AP_PRMARY_CH_2=40 AP_CHMODE_2=11NAHT40MINUS PUREG=0 PUREN=0  PUREAC=0 TXQUEUELEN=1000 SHORTGI=1 SHORTGI_2=1
 AMPDUENABLE=1 AMPDUENABLE_2=1 AMPDUFRAMES=32 AMPDUFRAMES_2=32 AMPDULIMIT=50000 AMPDULIMIT_2=50000 AMPDUMIN=32768 AMPDUMIN_2=32768
 CWMMODE=1 CWMMODE_2=1 RATECTL=auto MANRATE=0x8c8c8c8c MANRETRIES=0x04040404
 RX_CHAINMASK=3 RX_CHAINMASK_2=3 TX_CHAINMASK=3 TX_CHAINMASK_2=3
 SWAP_LED=1 LED_CUSTOM=3 RANDOM_SSID=0 AP_SSID=Atheros_XSpan_2G
 AP_MODE=ap AP_MODE_2=ap AP_MODE_3=ap AP_MODE_4=ap AP_MODE_5=ap AP_MODE_6=ap AP_MODE_7=ap AP_MODE_8=ap AP_MODE_9=ap AP_MODE_10=ap
 AP_MODE_11=ap AP_MODE_12=ap AP_MODE_13=ap AP_MODE_14=ap AP_MODE_15=ap AP_MODE_16=ap
 AP_SECMODE=None AP_SECMODE_2=None AP_SECMODE_3=None AP_SECMODE_4=None AP_SECMODE_5=None AP_SECMODE_6=None AP_SECMODE_7=None
 AP_SECMODE_8=None AP_SECMODE_9=None AP_SECMODE_10=None AP_SECMODE_11=None AP_SECMODE_12=None AP_SECMODE_13=None
 AP_SECMODE_14=None AP_SECMODE_15=None AP_SECMODE_16=None
 AP_PRIMARY_KEY_0=1 AP_PRIMARY_KEY_1=1 AP_WEP_MODE_0=1 AP_WEP_MODE_1=1 AP_SECFILE=PSK WPS_ENABLE=0 AP_SECFILE_2=PSK WPS_ENABLE_2=0
 AP_SECFILE_3=PSK WPS_ENABLE_3=0 AP_SECFILE_4=PSK WPS_ENABLE_4=0 AP_SECFILE_5=PSK WPS_ENABLE_5=0 AP_SECFILE_6=PSK WPS_ENABLE_6=0
 AP_SECFILE_7=PSK WPS_ENABLE_7=0 AP_SECFILE_8=PSK WPS_ENABLE_8=0 AP_SECFILE_9=PSK WPS_ENABLE_9=0 AP_SECFILE_10=PSK WPS_ENABLE_10=0
 AP_SECFILE_11=PSK WPS_ENABLE_11=0 AP_SECFILE_12=PSK WPS_ENABLE_12=0 AP_SECFILE_13=PSK WPS_ENABLE_13=0 AP_SECFILE_14=PSK WPS_ENABLE_14=0
 AP_SECFILE_15=PSK WPS_ENABLE_15=0 AP_SECFILE_16=PSK WPS_ENABLE_16=0
 WEP_IS_HEX1=0 WEP_IS_HEX2=0 WEP_IS_HEX3=0 WEP_IS_HEX4=0 WEP_IS_HEX5=0 WEP_IS_HEX6=0 WEP_IS_HEX7=0 WEP_IS_HEX8=0 WEP_IS_HEX9=0
 WEP_IS_HEX10=0 WEP_IS_HEX11=0 WEP_IS_HEX12=0 WEP_IS_HEX13=0.WEP_IS_HEX14=0 WEP_IS_HEX15=0 WEP_IS_HEX16=0
 WPA_IS_HEX=0 WPA_IS_HEX_2=0 WPA_IS_HEX_3=0 WPA_IS_HEX_4=0 WPA_IS_HEX_5=0 WPA_IS_HEX_6=0 WPA_IS_HEX_7=0 WPA_IS_HEX_8=0 WPA_IS_HEX_9=0
 WPA_IS_HEX_10=0 WPA_IS_HEX_11=0 WPA_IS_HEX_12=0 WPA_IS_HEX_13=0 WPA_IS_HEX_14=0 WPA_IS_HEX_15=0 WPA_IS_HEX_16=0
 IEEE80211V_PROXYARP=0 DEF_ATH_countrycode=841

 

你可能感兴趣的:(art中的部分内容,留着慢慢研究)