月归档:2011年10月

U880刷了U880_ROM_B15_odex_By_hemny_v1.0如何安装程序

刷了U880_ROM_B15_odex_By_hemny_v1.0之后,开机发现系统极其精简,输入法,文件管理器什么的统统没有了,又不想安装豌豆夹来恢复程序。

想了个办法,直接用adb命令来安装backup.apk,然后直接还原备份,搞定。

点击查看原图

继续阅读

发表在 DIY and Geek | 留下评论

为什么输入IPTABLES指令但是无法在IPTABLES -L显示

iptables -t nat -A PREROUTING -i br0 -p tcp -s 192.168.2.0/24 –dport 80 -j REDIRECT –to-ports 8080 之后,iptables -L却无法显示刚刚的信息。
原来需要指定察看那个表,默认 iptables -L是指filter的表,不加链表显示默认的IPPUT,OUTPUT和FORWARD,用iptables -t nat -vnxL来看

继续阅读

发表在 openwrt | 留下评论

F7D4302安装squid后的启动过程

Jan  1 08:00:05 unknown syslog.info syslogd started: BusyBox v1.17.2
Jan  1 08:00:06 unknown user.notice kernel: klogd started: BusyBox v1.17.2 (2011-09-09 15:03:12 CST)
Jan  1 08:00:06 unknown user.notice kernel: Linux version 2.6.22.19 (root@tomato) (gcc version 4.2.4) #1 Fri Sep 9 15:09:35 CST 2011
Jan  1 08:00:06 unknown user.warn kernel: CPU revision is: 00019740
Jan  1 08:00:06 unknown user.warn kernel: Determined physical RAM map:
Jan  1 08:00:06 unknown user.warn kernel:  memory: 04000000 @ 00000000 (usable)
Jan  1 08:00:06 unknown user.debug kernel: On node 0 totalpages: 16384
Jan  1 08:00:06 unknown user.debug kernel:   Normal zone: 128 pages used for memmap
Jan  1 08:00:06 unknown user.debug kernel:   Normal zone: 0 pages reserved
Jan  1 08:00:06 unknown user.debug kernel:   Normal zone: 16256 pages, LIFO batch:3
Jan  1 08:00:06 unknown user.warn kernel: Built 1 zonelists.  Total pages: 16256
Jan  1 08:00:06 unknown user.info kernel: N_HDLC line discipline registered.
Jan  1 08:00:06 unknown user.info kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
Jan  1 08:00:06 unknown user.info kernel: serial8250: ttyS0 at MMIO 0x0 (irq = 8) is a 16550A
Jan  1 08:00:06 unknown user.info kernel: PPP generic driver version 2.4.2
Jan  1 08:00:06 unknown user.info kernel: PPP Deflate Compression module registered
Jan  1 08:00:06 unknown user.info kernel: MPPE/MPPC encryption/compression module registered
Jan  1 08:00:06 unknown user.info kernel: NET: Registered protocol family 24
Jan  1 08:00:06 unknown user.info kernel: PPPoL2TP kernel driver, V0.17
Jan  1 08:00:06 unknown user.info kernel: PPTP driver version 0.8.5
Jan  1 08:00:06 unknown user.info kernel: Physically mapped flash: Found 1 x16 devices at 0x0 in 8-bit bank
Jan  1 08:00:06 unknown user.debug kernel: Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Jan  1 08:00:06 unknown user.debug kernel: Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Jan  1 08:00:06 unknown user.debug kernel: Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Jan  1 08:00:06 unknown user.warn kernel:  Amd/Fujitsu Extended Query Table at 0x0040
Jan  1 08:00:06 unknown user.notice kernel: number of CFI chips: 1
Jan  1 08:00:06 unknown user.notice kernel: cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Jan  1 08:00:06 unknown user.notice kernel: Flash device: 0x800000 at 0x1c000000
Jan  1 08:00:06 unknown user.notice kernel: Creating 5 MTD partitions on "Physically mapped flash":
Jan  1 08:00:06 unknown user.notice kernel: 0x00000000-0x00030000 : "pmon"
Jan  1 08:00:06 unknown user.notice kernel: 0x00030000-0x007f0000 : "linux"
Jan  1 08:00:06 unknown user.notice kernel: 0x00110400-0x007a0000 : "rootfs"
Jan  1 08:00:06 unknown user.notice kernel: 0x007a0000-0x007f0000 : "jffs2"
Jan  1 08:00:06 unknown user.notice kernel: 0x007f0000-0x00800000 : "nvram"
Jan  1 08:00:06 unknown user.warn kernel: Found a 0MB  serial flash
Jan  1 08:00:06 unknown user.err kernel: sflash: found no supported devices
Jan  1 08:00:06 unknown user.warn kernel: u32 classifier
Jan  1 08:00:06 unknown user.warn kernel:     OLD policer on 
Jan  1 08:00:06 unknown user.warn kernel: Netfilter messages via NETLINK v0.30.
Jan  1 08:00:06 unknown user.warn kernel: nf_conntrack version 0.5.0 (512 buckets, 4096 max)
Jan  1 08:00:06 unknown user.warn kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 08:00:06 unknown user.warn kernel: net/ipv4/netfilter/tomato_ct.c [Sep  9 2011 15:09:35]
Jan  1 08:00:06 unknown user.info kernel: NET: Registered protocol family 1
Jan  1 08:00:06 unknown user.info kernel: NET: Registered protocol family 17
Jan  1 08:00:06 unknown user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Jan  1 08:00:06 unknown user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Jan  1 08:00:06 unknown user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly.
Jan  1 08:00:06 unknown user.info kernel: Freeing unused kernel memory: 108k freed
Jan  1 08:00:06 unknown user.warn kernel: Warning: unable to open an initial console.
Jan  1 08:00:06 unknown user.warn kernel: et: module license 'unspecified' taints kernel.
Jan  1 08:00:06 unknown user.debug kernel: PCI: Setting latency timer of device 0000:00:02.0 to 64
Jan  1 08:00:06 unknown user.warn kernel: eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.46
Jan  1 08:00:06 unknown user.debug kernel: PCI: Setting latency timer of device 0000:00:01.0 to 64
Jan  1 08:00:06 unknown user.warn kernel: eth1: Broadcom BCM4329 802.11 Wireless Controller 5.10.56.46
Jan  1 08:00:06 unknown user.warn kernel: Algorithmics/MIPS FPU Emulator v1.5
Jan  1 08:00:07 unknown user.info kernel: usbcore: registered new interface driver usbfs
Jan  1 08:00:07 unknown user.info kernel: usbcore: registered new interface driver hub
Jan  1 08:00:07 unknown user.info kernel: usbcore: registered new device driver usb
Jan  1 08:00:07 unknown user.notice kernel: SCSI subsystem initialized
Jan  1 08:00:07 unknown user.info kernel: Initializing USB Mass Storage driver...
Jan  1 08:00:07 unknown user.info kernel: usbcore: registered new interface driver usb-storage
Jan  1 08:00:07 unknown user.info kernel: USB Mass Storage support registered.
Jan  1 08:00:07 unknown user.info kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan  1 08:00:07 unknown user.debug kernel: PCI: Setting latency timer of device 0000:00:04.1 to 64
Jan  1 08:00:07 unknown user.info kernel: ehci_hcd 0000:00:04.1: EHCI Host Controller
Jan  1 08:00:07 unknown user.info kernel: ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
Jan  1 08:00:07 unknown user.info kernel: ehci_hcd 0000:00:04.1: irq 5, io mem 0x18004000
Jan  1 08:00:07 unknown user.info kernel: ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00
Jan  1 08:00:07 unknown user.info kernel: usb usb1: configuration #1 chosen from 1 choice
Jan  1 08:00:07 unknown user.info kernel: hub 1-0:1.0: USB hub found
Jan  1 08:00:07 unknown user.info kernel: hub 1-0:1.0: 2 ports detected
Jan  1 08:00:07 unknown user.debug hotplug[379]: Attached USB device 1-0:1.0 [INTERFACE=9/0/0 PRODUCT=1d6b/2/206]
Jan  1 08:00:08 unknown user.info kernel: usb 1-1: new high speed USB device using ehci_hcd and address 2
Jan  1 08:00:08 unknown user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan  1 08:00:08 unknown user.info kernel: usb-storage: Quirks match for vid 05e3 pid 0723: 8000
Jan  1 08:00:08 unknown user.info kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan  1 08:00:08 unknown user.debug hotplug[389]: Attached USB device 1-1:1.0 [INTERFACE=8/6/80 PRODUCT=5e3/723/9451]
Jan  1 08:00:10 unknown user.debug kernel: vlan1: add 01:00:5e:00:00:01 mcast address to master interface
Jan  1 08:00:10 unknown user.info kernel: device vlan1 entered promiscuous mode
Jan  1 08:00:10 unknown user.info kernel: vlan1: dev_set_promiscuity(master, 1)
Jan  1 08:00:10 unknown user.info kernel: device eth0 entered promiscuous mode
Jan  1 08:00:10 unknown user.notice kernel: scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9451 PQ: 0 ANSI: 0
Jan  1 08:00:10 unknown user.info kernel: device eth1 entered promiscuous mode
Jan  1 08:00:10 unknown user.info kernel: br0: port 2(eth1) entering forwarding state
Jan  1 08:00:10 unknown user.info kernel: br0: port 1(vlan1) entering forwarding state
Jan  1 08:00:10 unknown user.warn kernel: vlan2: Setting MAC address to  94 44 52 94 be 79.
Jan  1 08:00:10 unknown user.debug kernel: vlan2: add 01:00:5e:00:00:01 mcast address to master interface
Jan  1 08:00:10 unknown user.info redial[438]: Started. Time: 30
Jan  1 08:00:10 unknown user.info init[1]: WAN2 No setting
Jan  1 08:00:10 unknown daemon.info dnsmasq[445]: started, version 2.55 cachesize 512
Jan  1 08:00:10 unknown daemon.info dnsmasq[445]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
Jan  1 08:00:10 unknown daemon.info dnsmasq-dhcp[445]: DHCP, IP range 192.168.2.100 -- 192.168.2.200, lease time 1d
Jan  1 08:00:10 unknown daemon.warn dnsmasq[445]: no servers found in /etc/resolv.dnsmasq, will retry
Jan  1 08:00:10 unknown daemon.info dnsmasq[445]: read /etc/hosts - 2 addresses
Jan  1 08:00:10 unknown daemon.info dnsmasq[445]: read /etc/hosts.dnsmasq - 8 addresses
Jan  1 08:00:10 unknown user.notice kernel: sd 0:0:0:0: [sda] 3995648 512-byte hardware sectors (2046 MB)
Jan  1 08:00:10 unknown user.notice kernel: sd 0:0:0:0: [sda] Write Protect is off
Jan  1 08:00:10 unknown user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
Jan  1 08:00:10 unknown user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 08:00:10 unknown user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 08:00:10 unknown user.info kernel:  sda: sda1
Jan  1 08:00:10 unknown user.notice kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Jan  1 08:00:11 unknown daemon.notice pppoe[439]: Connected.
Jan  1 08:00:11 unknown daemon.notice pppoe[439]: IP Address: 84.80.98.6
Jan  1 08:00:11 unknown daemon.notice pppoe[439]: DNS Address: 84.80.98.67, 84.80.98.67
Jan  1 08:00:12 unknown user.info syslog: SNet version started
Jan  1 08:00:12 unknown daemon.notice miniupnpd[578]: HTTP listening on port 50416
Jan  1 08:00:12 unknown authpriv.info dropbear[591]: Running in background
Jan  1 08:00:12 unknown daemon.info dnsmasq[445]: exiting on receipt of SIGTERM
Jan  1 08:00:12 unknown daemon.info dnsmasq[616]: started, version 2.55 cachesize 512
Jan  1 08:00:12 unknown daemon.info dnsmasq[616]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
Jan  1 08:00:12 unknown daemon.info dnsmasq-dhcp[616]: DHCP, IP range 192.168.2.100 -- 192.168.2.200, lease time 1d
Jan  1 08:00:12 unknown daemon.info dnsmasq[616]: reading /etc/resolv.dnsmasq
Jan  1 08:00:12 unknown daemon.info dnsmasq[616]: using nameserver 84.80.98.67#53
Jan  1 08:00:12 unknown daemon.info dnsmasq[616]: read /etc/hosts - 2 addresses
Jan  1 08:00:12 unknown daemon.info dnsmasq[616]: read /etc/hosts.dnsmasq - 8 addresses
Jan  1 08:00:12 unknown user.info iptraffic[636]: iptraffic, Read table tf_lan_tcp_wan1 failed: Can't get table information from kernel. Is the table existing?
Jan  1 08:00:13 unknown user.info init[1]: Belkin Play F7D4302 v1: Tomato 1.28.0538 MIPSR2 K26 USB 8M
Jan  1 08:00:13 unknown daemon.info dnsmasq-dhcp[616]: DHCPREQUEST(br0) 192.168.2.118 00:21:70:86:be:a7 
Jan  1 08:00:13 unknown daemon.info dnsmasq-dhcp[616]: DHCPACK(br0) 192.168.2.118 00:21:70:86:be:a7 ray-laptop
Jan  1 08:00:13 unknown daemon.info dnsmasq[616]: exiting on receipt of SIGTERM
Jan  1 08:00:13 unknown daemon.info dnsmasq[661]: started, version 2.55 cachesize 512
Jan  1 08:00:13 unknown daemon.info dnsmasq[661]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
Jan  1 08:00:13 unknown daemon.info dnsmasq-dhcp[661]: DHCP, IP range 192.168.2.100 -- 192.168.2.200, lease time 1d
Jan  1 08:00:13 unknown daemon.info dnsmasq[661]: reading /etc/resolv.dnsmasq
Jan  1 08:00:13 unknown daemon.info dnsmasq[661]: using nameserver 84.80.98.67#53
Jan  1 08:00:13 unknown daemon.info dnsmasq[661]: read /etc/hosts - 2 addresses
Jan  1 08:00:13 unknown daemon.info dnsmasq[661]: read /etc/hosts.dnsmasq - 8 addresses
Oct  6 22:34:34 unknown daemon.notice miniupnpd[578]: received signal 15, good-bye
Oct  6 22:34:34 unknown user.info syslog: SNet version started
Oct  6 22:34:34 unknown daemon.notice miniupnpd[878]: HTTP listening on port 12626
Oct  6 22:34:40 unknown user.warn kernel: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Oct  6 22:34:46 unknown user.info kernel: Adding 131064k swap on /jffs/swap.  Priority:-1 extents:84 across:248760k
Oct  6 22:34:51 unknown local4.notice squid[948]: Squid Parent: child process 950 started
Oct  6 22:35:19 unknown cron.err crond[623]: time disparity of 21965195 minutes detected

继续阅读

发表在 openwrt | 留下评论

Belkin路由器安装squid开启透明代理

稳定运行11天了。

root@unknown:/
# hdparm -Tt /dev/sda

/dev/sda:
Timing buffer-cache reads:    78 MB in 0.51 seconds = 154153 kB/s
Timing buffered disk reads:    7 MB in 36.68 seconds = 14215 kB/s
 

点击查看原图

继续阅读

发表在 openwrt | 留下评论

N900程序列表对应文件夹

/usr/share/applications/hildon

点击查看原图

继续阅读

发表在 DIY and Geek | 留下评论