Cisco WRVS4400n
Small Business / Home Router with L7 IPS and NAT (both hardware accelerated), a VLAN capable switch, pci wlan card (b/g/n).
Supported Versions
| Version/Model | Launch Date | S/N | OpenWrt Version Supported | Model Specific Notes |
|---|---|---|---|---|
| v2 | ? | - | - | - |
Hardware Highlights
| CPU | Ram | Flash | Network | USB | Serial | JTag |
|---|---|---|---|---|---|---|
| Vitesse VSC7385 (SparX G5) | ? | ? | 1GbE(WAN), 4 GbE(LAN), 1 GbE(internal) | No | No | No |
| Cavium Nwks. CNS1202 (STR9202) | 64MiB | 8/?16MiB | 2GbE (internal) | No | Yes | ? |
| Cavium Nwks. CNS1109 (STR9109) | 16MiB | ? | 1GbE (internal) | No | Yes | ? |
The CNS1202 is the main processor and has connections to the VSC7385 and the CNS1109 via a internal GbE connections. CNS1109 and CNS1202 share the flash, but have different linux kernels and root-fs's.
Keep the articles modular
| Please include only model specific information, omit bla,bla and put everything generic into separate articles |
| generic.overview if you have no time to write certain stuff link to this |
| basic.config should lead the way, do not explain this again |
| DO NOT provide a complete howto here! Instead groom the general HowTos. |
Installation
Flash Layout
Please check out the article Flash Layout. It contains an example and a couple of explanations.
Original Layout
Creating 5 MTD partitions on "str9100_flash":
- 0x00000000-0x00020000 : "BootLoader "
- 0x00020000-0x00040000 : "System Configuration"
- 0x00040000-0x00100000 : "Signature"
- 0x00100000-0x00680000 : "Main CPU(9202) Kernel"
- 0x00680000-0x00800000 : "Wireless CPU(9109) Kernel"
ToDo:
- cat /proc/mtd to find the mtd numbers and blocksize
- cat /etc/fstab for mountpoints and filesystems
| Cisco WRVS4400n V2 Flash Layout | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Layer0 | str9100_flash 8MiB | |||||||||
| Layer1 | mtd? BootLoader 128KiB | mtd? System Configuration 128KiB | mtd? Signature 768KiB | mtd? Main CPU(9202) Kernel 5632KiB | mtd? Wireless CPU(9109) Kernel 1536KiB | |||||
| Layer2 | kernel9202 ? | rootfs 9202 ? | kernel9109? | rootfs 9109? | ||||||
| mountpoint | ||||||||||
| filesystem | ||||||||||
| Layer3 | ?kernel 1 | ?rootfs1 | ?kernel 2 | ?rootfs2 | ||||||
| Size in KiB | 128KiB | 128KiB | 768KiB | ?KiB | ?KiB | ?KiB | ?KiB | ?KiB | ?KiB | |
| Name | BootLoader | System Conf. | Signature | kernel 1 | static fs1 | dynamic overlay1 | kernel 2 | static fs2 | dynamic overlay2 | |
| mountpoint | none | none | none | none | ? | ? | none | ? | ? | |
| filesystem | none | none | none | none | ? | ? | none | ? | ? | |
OEM easy installation
TBD
OEM installation using TFTP
TBD
Upgrading OpenWrt
→ generic.sysupgrade TBD
LuCI Web Upgrade Process
- Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
- Upload image file for sysupgrade to LuCI
- Wait for reboot
Terminal Upgrade Process
TBD
Basic configuration
TBD
Specific Configuration
Interfaces
TBD
Switch Ports (for VLANs)
TBD
Failsafe mode
Buttons
→ hardware.button on howto use and configure the hardware button(s).
Hardware
Info
| Architecture: | ARM |
| Vendor: | Cavium Networks |
| Bootloader: | ARMboot |
| System-On-Chip1: | STR 9202 CPU: FA526id(wb) revision 1 |
| CPU1/Speed | 250 Mhz |
| System-On-Chip2: | STR 9109 CPU: FA526id(wb) revision 1 |
| CPU2/Speed | 250 Mhz |
| Flash-Chip: | ?? ST 25P64V6P |
| Flash size: | ?? 8192 KiB |
| RAM | NT5DS8M16FS-6K/5T 128MiB |
| RAM CPU1: | 64 MiB |
| RAM CPU2: | 16 / 32? MiB |
| Wireless: | RT2800 802.11n (Device ID: 1814:0601) |
| Ethernet: | Vitesse VSC7385 Gigabit w/ vlan support swconfig |
| Internet: | 10/100/1000 |
| USB: | No |
| Serial: | Yes |
| JTAG: | No |
Photos
WRVS4400n V2
Front:
Photo of front of the casing
Back:
Photo of back of the casing
Opening the case
Note: This will void your warranty!
- To remove the cover:
- *remove the 4 rubber feet on the bottom
- * remove the underlying screws
- * unsnap the bottom part (back and the sides, careful with the front!)
Main PCB
Photo of PCB
Bottom View
Top View
RAM
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect
Two CPUs means two serial ports :)
- Ports
- JP1: "WLAN-CPU" 9109
- JP2: "MAIN-CPU" 9202
- Pins:
- VDD (the [] marked pin)
- RX
- TX
- GND (the pin with less solder in it)
Only RX TX and Ground are needed to use the terminal set up with 38400 baud, 8 data bits, no parity and one stop bit (38400 8N1). Uses 3.3V TTL.
Where to connect
Debricking
Bootloader Mods
- you could read about bootloader in general
Hardware mods
Notes
Bootup Logs
Unmodified STR9202
ARMboot 1.1.0 (Nov 24 2008 - 14:05:27)
Star maintain version 0.14.100000000
ARMboot code: 00000000 -> 0006a2e0
STR9100 CPU Clock: 250 MHz
regular_reg: 3130
DDR Bank #0: 00000000 64 MB
DDR Controller Data Bus Width: 32 bits
Now bootup on 9202
Flash Dev.id = 22C9
Flash Bank #1: 8 MB
*** Using default environment
<str9100gsw.c #392> readPhyID(): Phy reg id = 0x273850E9
Begin vitesse7385 switch basic config ... <str9100gsw.c #520> h2_post_reset(): set_fatal_error(H2_GENERAL_FAILURE)
<str9100gsw.c #520> h2_post_reset(): set_fatal_error(H2_GENERAL_FAILURE)
done
Hit any key to stop autoboot: 1 0
Now bootup on 9202
This is Boot world!
the product id is : 65 52 63 4F 6D 4D
the pruduct ID check OK!
copy 9202 bootpImage to SDRAM,file size is 5070592
len is 5070592
done.
## Starting application at 0x01000000 ...
Uncompressing Linux....................................................................... done, booting the kernel.
request_standard_resources()....OK
trap_init().....OK
init_IRQ().....OK
sched_init().....OK
softirq_init().....OK
time_init().....OK
Linux version 2.4.27-star (root@localhost) (gcc version 2.95.3 20010315 (release)) #1 Fri Sep 17 19:47:13 CST 2010
CPU: FA526id(wb) revision 1
ICache:16KB enabled, DCache:16KB enabled, BTB support
Machine: STAR_STR9100
MM: not creating mapping for 0x10000000 at 0x10000000 in user region
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 MEM=64
I-base_addr : c01d6800
IRQ Timer1 at interrupt number 0x0 and clock 125000000(Hz)
console_init().....OK
kmem_cache_init().....OK
Calibrating delay loop... 192.10 BogoMIPS
Memory: 64MB = 64MB total
Memory: 58224KB available (2001K code, 436K data, 68K init)
mem_init().....OK
pgtable_cache_init().....OK
proc_caches_init().....OK
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
vfs_caches_init().....OK
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
buffer_init().....OK
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
page_cache_init().....OK
signals_init().....OK
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
do initcalls start
Starting kswapd
pty: 256 Unix98 ptys configured
vitgenio: Device registered.
Str9100 Serial Driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xf7800000 (irq = 10) is a Star_UART
rxring.vir_addr=C4800000 rxring.phy_addr=0034A000
txring.vir_addr=C4802000 txring.phy_addr=003E4000
eth0: Switch Type: ONEARM(One Mac mode)
[orn_drv_open_poll,3362]
[orn_drv_open_poll,3368]
[orn_drv_open_poll,3380]
[orn_drv_open_poll,3397]
Check MAC/PHY 0 Link Status :
Check MAC/PHY 0 Link Status : UP!
[orn_drv_open_poll,3422]
[orn_drv_open_poll,3443]
Star9100 one arm Lan Port Bridge Mode
Error : PORT0 is disabled
[orn_drv_open_poll,3467]
[orn_drv_open_poll,3473]
gsw_info.vlan[0].vlan_vid : 3292
gsw_info.vlan[1].vlan_vid : 1
[orn_drv_open_poll,3522]
[orn_drv_open_poll,3529]
[orn_drv_open_poll,3543]
[orn_drv_open_poll,3546]
eth0: STAR9100 LAN Port Initial Finished
eth1: STAR9100 WAN Port Initial Finished
Enable AN
STAR9100 EWC Project MAC1 Initial
eth2: STAR9100 EWC Port Initial Finished
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
str9100_flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Creating 5 MTD partitions on "str9100_flash":
0x00000000-0x00020000 : "BootLoader "
0x00020000-0x00040000 : "System Configuration"
0x00040000-0x00100000 : "Signature"
0x00100000-0x00680000 : "Main CPU(9202) Kernel"
0x00680000-0x00800000 : "Wireless CPU(9109) Kernel"
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
Linux IP multicast router 0.06 plus PIM-SM
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPsec stack version: cvs2006Jan12_11:29:56
klips_info:ipsec_alg_init: KLIPS alg v=0.8.1-0 (EALG_MAX=255, AALG_MAX=251)
klips_info:ipsec_alg_init: calling ipsec_alg_static_init()
ipsec_aes_init(alg_type=15 alg_id=12 name=aes): ret=0
ipsec_aes_init(alg_type=14 alg_id=9 name=aes_mac): ret=0
ipsec_3des_init(alg_type=15 alg_id=3 name=3des): ret=0
netfilter PSD loaded - (c) astaro AG
ipt_random match loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ip6_tables: (C) 2000-2002 Netfilter core team
NET4: Ethernet Bridge 008 for NET4.0
Str9100 Information inited
STAR9100 Software HNAT Driver Initialed
NetWinder Floating Point Emulator V0.97 (double precision)
do initcalls end
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 3992K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 68K
UART IRQ_ports = c023b1ac
UART IRQ at interrupt number 0xa
init started: BusyBox v1.00 (2010.09.17-11:43+0000) multi-call binary
init started: BusyBox v1.00 (2010.09.17-11:43+0000) multi-call binary
Starting pid 9, console /dev/ttyS0: '/etc/init.d/rc.sysinit'
Mounting root fs rw ...
Mounting other filesystems ...
mount: Mounting none on /proc/bus/usb failed: No such file or directory
Sysinit done
Call /etc/rcS...
install_isr
Using /usr/sbin/push_button.o
Using /lib/modules/ipt_DLOG.o
Using /lib/modules/ipt_webstr.o
Using /lib/modules/ipt_http_string.o
Using /lib/modules/ipt_multi_match.o
Using /lib/modules/ipt_multiaddr.o
Using /lib/modules/ipt_httpMETHOD.o
incorrect number of arguments for command
eth0:star9100_gsw1000_lan_open
star9100_gsw1000_lan_open Exit!!
not install_itsr
device eth0 entered promiscuous mode
device eth2 entered promiscuous mode
eth2: attempt to add interface with same source address.
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=wan_mac action=start
/bin/cp /proc/uptime /tmp/var/run/rc.wan_mac.run
rc starting wan_mac...
/sbin/ifconfig eth1 up
not install_isr
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=lan action=start
/bin/cp /proc/uptime /tmp/var/run/rc.lan.run
rc starting lan...
/sbin/ifconfig br0 192.168.48.1 netmask 255.255.255.0
br0: port 2(eth2) entering learning state
br0: port 1(eth0) entering learning state
/bin/echo "lanip 192.168.48.1" >/proc/star9100_shnat_setting
/bin/echo "interswitch lanip:192.168.48.1/24" >/proc/str9100/shnat
iptables -t nat -I PREROUTING -i br0 -s 192.168.48.1/255.255.255.0 -d 192.168.48.1 -p tcp --dport 443 -j DNAT --to 192.168.48.1:30443
iptables -t nat -I PREROUTING -i br0 -s 192.168.48.1/255.255.255.0 -d 192.168.48.1 -p udp --dport 53 -j DNAT --to 8.8.8.8
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=printk action=start
/bin/cp /proc/uptime /tmp/var/run/rc.printk.run
rc starting printk...
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=syslogd action=start
/bin/cp /proc/uptime /tmp/var/run/rc.syslogd.run
rc starting syslogd...
/sbin/syslogd -f /etc/syslog.conf
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=httpd action=start
/bin/cp /proc/uptime /tmp/var/run/rc.httpd.run
rc starting httpd...
/bin/ln -sf /www.eng /tmp/www
/usr/sbin/mini_httpd -d /tmp/www -r "Router" -c '*.cgi' -t 1800 -i /var/run/mini_httpd.pid -a Digest -S -E /usr/sbin/certSrv.pem &
bind: Address already in use
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=dhcpd action=start
/bin/cp /proc/uptime /tmp/var/run/rc.dhcpd.run
rc starting dhcpd...
/bin/echo "1:19966144:16777215;" >/proc/vid_config
/usr/sbin/udhcpd /etc/udhcpd.conf&
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=dhcp-fwd action=start
/bin/cp /proc/uptime /tmp/var/run/rc.dhcp-fwd.run
/bin/cp /proc/uptime /tmp/var/run/rc.dhcp-fwd.run
rc starting dhcp-fwd...
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=route action=start
/bin/cp /proc/uptime /tmp/var/run/rc.route.run
rc starting route...
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=switch action=start
/bin/cp /proc/uptime /tmp/var/run/rc.switch.run
rc starting switch...
/usr/sbin/switch_app &
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=natpt action=start
/bin/cp /proc/uptime /tmp/var/run/rc.natpt.run
/bin/cp /proc/uptime /tmp/var/run/rc.natpt.run
rc starting natpt...
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=dhcp6 action=start
/bin/cp /proc/uptime /tmp/var/run/rc.dhcp6.run
rc starting dhcp6...
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
start wan
/sbin/ifconfig eth1 up
/sbin/ifconfig eth1 mtu 1500
/sbin/ifconfig eth1 xx.xx.xx.xx netmask 255.255.255.252
/sbin/route del default
route: SIOC[ADD|DEL]RT: No such process
/sbin/route add default gw xx.xx.xx.xx
echo domain bla.org>>/etc/resolv.conf
echo nameserver xxxxxx>>/etc/resolv.conf
echo nameserver xxxxxx>>/etc/resolv.conf
/bin/cp /proc/uptime /tmp/wan_uptime
/usr/sbin/rc dhcpd create
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=dhcpd action=create
/bin/cp /proc/uptime /tmp/var/run/rc.dhcpd.run
/bin/echo "1:19966144:16777215;" >/proc/vid_config
/usr/sbin/rc service restart
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=(null) action=restart
rc ntp stop
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=ntp action=stop
/bin/cp /proc/uptime /tmp/var/run/rc.ntp.run
/usr/bin/killall ntp
killall: ntp: no process killed
route del default gw xx.xx.xx.xx
/usr/sbin/fw-scripts/firewall stop
.: 19: Can't open /tmp/firewall.conf
/usr/bin/killall IGMPProxy
killall: IGMPProxy: no process killed
/usr/sbin/tc qdisc del dev br0 root
RTNETLINK answers: No such file or directory
/usr/sbin/tc qdisc del dev eth1 root
RTNETLINK answers: No such file or directory
/usr/sbin/iptables -F -t mangle
iptables -t nat -I PREROUTING -i br0 -s 192.168.48.1/255.255.255.0 -d 192.168.48.1 -p tcp --dport 443 -j DNAT --to 192.168.48.1:30443
iptables -t nat -I PREROUTING -i br0 -s 192.168.48.1/255.255.255.0 -d 192.168.48.1 -p udp --dport 53 -j DNAT --to 8.8.8.8
/usr/bin/killall dhcp-fwd >/dev/null 2>&1
killall -SIGINT routed
killall: routed: no process killed
/usr/bin/killall syslogd
killall: LicMgm: no process killed
rc starting wan_basic...
rc ntp start
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=ntp action=start
/bin/cp /proc/uptime /tmp/var/run/rc.ntp.run
rc starting ntp...
/usr/sbin/ntp -z GMT1 0 28&
rc dhcp6 restart
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=dhcp6 action=restart
/bin/cp /proc/uptime /tmp/var/run/rc.dhcp6.run
/usr/bin/killall dhcp6-serv
killall: dhcp6-serv: no process killed
rc starting dhcp6...
route add default gw XX.XX.XX.XX dev eth1
/bin/echo "lanip 192.168.48.1" >/proc/star9100_shnat_setting
/bin/echo "wanip XX.XX.XX.XX" >/proc/star9100_shnat_setting
rc starting firewall...
iptables -t nat -F
cp /etc/crontab /etc/crontab.policy
echo "vserver clean" > /proc/star9100_shnat_setting
/usr/sbin/fw-scripts/firewall start
iptables: Bad rule (does a matching rule exist in that chain?)
/usr/sbin/ipsec spi --clear
/usr/sbin/ipsec eroute --clear
/usr/sbin/ipsec whack --shutdown
whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
/sbin/ifconfig ipsec0 down
/usr/sbin/ipsec tncfg --clear
/usr/sbin/iptables -D INPUT -p udp --dport 500 -j ACCEPT
iptables: Bad rule (does a matching rule exist in that chain?)
/usr/sbin/iptables -D INPUT -p udp --dport 4500 -j ACCEPT
iptables: Bad rule (does a matching rule exist in that chain?)
/usr/sbin/iptables -D INPUT -p esp -j ACCEPT
iptables: Bad rule (does a matching rule exist in that chain?)
/usr/sbin/iptables -t nat -D PREROUTING -p udp --dport 500 -j ACCEPT
iptables: Bad rule (does a matching rule exist in that chain?)
/usr/sbin/iptables -t nat -D PREROUTING -p udp --dport 4500 -j ACCEPT
iptables: Bad rule (does a matching rule exist in that chain?)
/usr/sbin/iptables -t nat -D PREROUTING -p esp -j ACCEPT
iptables: Bad rule (does a matching rule exist in that chain?)
vpn down null complete./usr/bin/killall ssl_server
killall: ssl_server: no process killed
gateway==[xx.xx.xx.xx]
VPN parse_conf Error!!
index=-1
Error Number=-3
eth1,xx.xx.xx.xx,255.255.255.252,xx.255.255.255,xx.xx.xx.xx
/usr/sbin/ipsec spi --clear
/usr/sbin/ipsec eroute --clear
/usr/sbin/iptables -I INPUT -p udp --dport 500 -j ACCEPT
/usr/sbin/iptables -I INPUT -p udp --dport 4500 -j ACCEPT
/usr/sbin/iptables -I INPUT -p esp -j ACCEPT
/usr/sbin/iptables -t nat -I PREROUTING -p udp --dport 500 -j ACCEPT
N/usr/sbin/iptables -t nat -I PREROUTING -p udp --dport 4500 -j ACCEPT
/usr/sbin/iptables -t nat -I PREROUTING -p esp -j ACCEPT
/bin/echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
/usr/sbin/ipsec tncfg --attach --virtual ipsec0 --physical eth1
/sbin/ifconfig ipsec0 xx.xx.xx.xx broadcast xx.255.255.255 netmask 255.255.255.252
/usr/sbin/ipsec pluto --secretsfile /etc/ipsec.secrets --nat_traversal --debug-none --uniqueids --adns /usr/local/libexec/ipsec/_pluto_adns
vpn_up_null up.
/usr/sbin/ssl_server &
/usr/bin/killall IGMPProxy >/dev/null 2>&1
Jan 1 00:00:34 pluto[412]: Starting Pluto (Openswan Version cvs2006Jan12_11:29:56 X.509-1.5.4 PLUTO_SENDS_VENDORID PLUTO_USES_KEYRR; Vendor ID OE@ECqImzhFD)
Jan 1 00:00:34 pluto[412]: @(#) built on Sep 17 2010:19:46:38:
Jan 1 00:00:34 pluto[412]: Setting NAT-Traversal port-4500 floating to on
Jan 1 00:00:34 pluto[412]: port floating activation criteria nat_t=1/port_fload=1
Jan 1 00:00:34 pluto[412]: including NAT-Traversal patch (Version 0.6c)
Jan 1 00:00:34 pluto[412]: ike_alg_register_enc(): Activating OAKLEY_AES_CBC: Ok (ret=0)
Jan 1 00:00:34 pluto[412]: starting up 1 cryptographic helpers
Jan 1 00:00:34 pluto[412]: started helper pid=417 (fd:4)
/usr/bin/killall utelnetd > /dev/null 2>&1
the function is main,the line is 94,the file is serv.c
the function is main,the line is 100,the file is serv.c
the function is main,the line is 104,the file is serv.c
the function is main,the line is 108,the file is serv.c
the function is main,the line is 111,the file is serv.c
Jan 1 00:00:34 pluto[412]: Using KLIPS IPsec interface code on 2.4.27-star
Jan 1 00:00:34 pluto[412]: Changing to directory '/etc/ipsec.d/cacerts'
Jan 1 00:00:34 pluto[412]: Changing to directory '/etc/ipsec.d/aacerts'
Jan 1 00:00:34 pluto[412]: Changing to directory '/etc/ipsec.d/ocspcerts'
Jan 1 00:00:34 pluto[412]: Changing to directory '/etc/ipsec.d/crls'
Jan 1 00:00:34 pluto[412]: Warning: empty directory
iptables: Bad rule (does a matching rule exist in that chain?)
/bin/echo "I" > /proc/led
sh: cannot create /proc/led: Directory nonexistent
iptables: Bad rule (does a matching rule exist in that chain?)
/sbin/rmmod ip_nat_sip
rmmod: ip_nat_sip: No such file or directory
/sbin/rmmod ip_conntrack_sip
rmmod: ip_conntrack_sip: No such file or directory
start the server
the user-pass is ++++++
the function is set_user_pass_to_flash,the line is 191,the file is data.c
the usr_pass str is +++++
cp /etc/crontab.policy /etc/crontab
iptables -F ip_filter
iptables -t filter -A ip_filter -i eth1 -p udp --dport 23:23 -m state --state new -j LOG --log-prefix "[Access Log telnet attempt]D "
iptables -t filter -A ip_filter -i eth1 -p tcp --dport 23:23 -m state --state new -j LOG --log-prefix "[Access Log telnet attempt]D "
iptables -t filter -A ip_filter -i eth1 -p udp --dport 23:23 -j DROP
iptables -t filter -A ip_filter -i eth1 -p tcp --dport 23:23 -j DROP
iptables -t filter -A ip_filter -i eth1 -p udp --dport 2022:2022 -m state --state new -j LOG --log-prefix "[Access Log utelnetd external ac]D "
iptables v1.2.8: Maximum prefix length 29 for --log-prefix
Try `iptables -h' or 'iptables --help' for more information.
the function is delete_iptables,the line is 1225,the file is data.c
delete iptables demon is being on.
the function is main,the line is 245,the file is serv.c
i am listing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
iptables -t filter -A ip_filter -i eth1 -p tcp --dport 2022:2022 -m state --state new -j LOG --log-prefix "[Access Log utelnetd external ac]D "
iptables v1.2.8: Maximum prefix length 29 for --log-prefix
Try `iptables -h' or 'iptables --help' for more information.
iptables -t filter -A ip_filter -i eth1 -p udp --dport 2022:2022 -j DROP
iptables -t filter -A ip_filter -i eth1 -p tcp --dport 2022:2022 -j DROP
iptables -I ip_filter -m state --state ESTABLISHED,RELATED -j RETURN
iptables -A ip_filter -j RETURN
ip link set dev eth1 multicast on
rc starting dhcp-fwd...
rc starting ddns...
rc starting ripd...
rc starting natpt...
rc starting syslogd...
/sbin/syslogd -f /etc/syslog.conf
rc starting LicMgm...
killall: LicMgm: no process killed
/usr/bin/killall -SIGUSR2 udhcpd
=> AcquireBasicData(UDI=CA8A331185003EBFD367C8442F79081E145B18AA4BD71687794FC50468BB2C2E06DE7E)
/etc/rcS: 77: /usr/sbin/wizd: not found
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=upnp action=start
/bin/cp /proc/uptime /tmp/var/run/rc.upnp.run
rc starting upnp...
/bin/echo "lanip 192.168.48.1" >/proc/star9100_shnat_setting
/bin/echo "wanip xx.xx.xx.xx" >/proc/star9100_shnat_setting
/usr/bin/killall -9 upnpd
killall: upnpd: no process killed
route add -net 239.0.0.0 netmask 255.0.0.0 br0
/usr/sbin/upnpd eth1 br0 30 4&
Using /usr/sbin/led.o
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=ips action=start
/bin/cp /proc/uptime /tmp/var/run/rc.ips.run
rc starting ips...
Using /root/kris.o
UPnP Initialized
/bin/echo i1 > /proc/led
kris daemon version 1.7
the function is main,the line is 94,the file is serv.c
the function is main,the line is 100,the file is serv.c
the function is main,the line is 104,the file is serv.c
the function is main,the line is 108,the file is serv.c
the function is main,the line is 111,the file is serv.c
Intialized UPnP
with fullurl=http://192.168.48.1:49152/gateway.xml
ipaddress=192.168.48.1 port=49152
web_dir_path=/usr/upnp/
desc_doc_url=http://192.168.48.1:49152
Specifying the webserver root directory -- /usr/upnp/
Registering the RootDevice
RootDevice Registered
Initializing State Table
fullurl http://192.168.48.1:49152/gateway.xml
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=radvd action=start
/bin/cp /proc/uptime /tmp/var/run/rc.radvd.run
rc starting radvd...
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=snmp action=start
/bin/cp /proc/uptime /tmp/var/run/rc.snmp.run
rc starting snmp...
/usr/bin/killall snmp
Sum=0x01BF49B9,InvSum=0xFE40B647,Result=0x00000000
killallbind: Address already in use
: snmp: no process killed
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=LicMgm action=start
/bin/cp /proc/uptime /tmp/var/run/rc.LicMgm.run
rc starting LicMgm...
Kris Rule Version 1.50
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=http_HNAT action=start
/bin/cp /proc/uptime /tmp/var/run/rc.http_HNAT.run
rc starting http_HNAT...
echo "table alg add sport:80" > /proc/star9100_shnat_setting
=> AcquireBasicData(UDI=C25EB6C5E3EFEB052D277EBFFE92D8B4EA58179F0F0884A45079B3EAA1BECF04A02438)
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=wlan action=create
/bin/cp /proc/uptime /tmp/var/run/rc.wlan.run
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=wlan action=start
/bin/cp /proc/uptime /tmp/var/run/rc.wlan.run
rc starting wlan...
/usr/sbin/sendcmd /tmp/start.sh /tmp/start.sh
Send File's Name success!
Send File's Data success!
/usr/sbin/sendcmd /tmp/RT2860AP.dat /tmp/RT2860AP.dat
Send File's Name success!
Send File's Data success!
/usr/sbin/sendcmd "/bin/chmod +x /tmp/start.sh"
/usr/sbin/sendcmd "/tmp/start.sh"
Advertisements Sent
Using /lib/modules/2.4.27-star/net/rt2860ap.o
Using /usr/lib/led.o
Ralink DOT1X daemon, version = '2.3.0.0'
Ralink DOT1X daemon, version = '2.3.0.0'
/bin/brctl ipv6_dis br0
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=sigmail action=start
/bin/cp /proc/uptime /tmp/var/run/rc.sigmail.run
rc starting sigmail...
Donot send signature email duto no email information!
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=vpn_netbios action=start
/bin/cp /proc/uptime /tmp/var/run/rc.vpn_netbios.run
rc starting vpn_netbios...
Starting pid 618, console /dev/ttyS0: '/bin/sh'
BusyBox v1.00 (2010.09.17-11:43+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
Unmodified STR9109
ARMboot 1.1.0 (Nov 24 2008 - 14:05:27) Star maintain version 0.14.100000000 ARMboot code: 00000000 -> 0006a2e0 STR9100 CPU Clock: 250 MHz regular_reg: 3130 DDR Bank #0: 00000000 16 MB DDR Controller Data Bus Width: 16 bits Now bootup on 9109 *** Using default environment Hit any key to stop autoboot: 0 Now bootup on 9109 copy 9109 bootpImage to SDRAM,file size is 1343872 len is 1343872 done. set gpio9 to be 1 ## Starting application at 0x00d00000 ... Uncompressing Linux............................................... done, booting the kernel. request_standard_resources()....OK trap_init().....OK init_IRQ().....OK sched_init().....OK softirq_init().....OK time_init().....OK Linux version 2.4.27-star (root@localhost) (gcc version 3.3.6) #1 Fri Sep 17 19:50:17 CST 2010 CPU: FA526id(wb) revision 1 ICache:16KB enabled, DCache:16KB enabled, BTB support Machine: STAR_STR9100 MM: not creating mapping for 0x10000000 at 0x10000000 in user region On node 0 totalpages: 4096 zone(0): 4096 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/ram0 MEM=32 I-base_addr : c013d400 STR9100 CPU Clock: 250 MHz IRQ Timer1 at interrupt number 0x0 and clock 125000000(Hz) console_init().....OK kmem_cache_init().....OK Calibrating delay loop... 192.10 BogoMIPS Memory: 16MB = 16MB total Memory: 13992KB available (1085K code, 207K data, 224K init) mem_init().....OK pgtable_cache_init().....OK proc_caches_init().....OK Dentry cache hash table entries: 2048 (order: 2, 16384 bytes) Inode cache hash table entries: 1024 (order: 1, 8192 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) vfs_caches_init().....OK Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) buffer_init().....OK Page-cache hash table entries: 4096 (order: 2, 16384 bytes) page_cache_init().....OK signals_init().....OK POSIX conformance testing by UNIFIX PCI 33M PCI: bus0: Fast back to back transfers disabled pci bridge found Got resources ... name=PCI device 1814:0601 start=b0000000 end=b000ffff Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket do initcalls start Starting kswapd pty: 256 Unix98 ptys configured Str9100 Serial Driver version 5.05c (2001-07-08) with no serial options enabled ttyS00 at 0xf7800000 (irq = 10) is a Star_UART Str9100 Real Time Clock Driver v1.20 rxring.vir_addr=C1800000 rxring.phy_addr=009BB000 txring.vir_addr=C1802000 txring.phy_addr=009AA000 eth0: Switch Type: GENERAL(Two Macs mode) eth0: STAR9100 LAN Port Initial Finished RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) Intel(R) PRO/1000 Network Driver - version 5.7.6-k1-NAPI Copyright (c) 1999-2004 Intel Corporation. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 1024 bind 2048) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Ethernet Bridge 008 for NET4.0 NetWinder Floating Point Emulator V0.97 (double precision) do initcalls end RAMDISK: Compressed image found at block 0 Freeing initrd memory: 597K VFS: Mounted root (ext2 filesystem) readonly. Freeing init memory: 224K UART IRQ_ports = c01747f8 UART IRQ at interrupt number 0xa init started: BusyBox v1.00 (2010.09.17-11:49+0000) multi-call binary init started: BusyBox v1.00 (2010.09.17-11:49+0000) multi-call binary Starting pid 9, console /dev/ttyS0: '/etc/init.d/rc.sysinit' Mounting root fs rw ... Mounting other filesystems ... insmod: ap85.o: no module by that name found =================================================== PORT0 TX : 4C020000 eth0:star9100_gsw1000_lan_open star9100_gsw1000_lan_open Exit!! install_isr device eth0 entered promiscuous mode br0: port 1(eth0) entering learning state Starting pid 28, console /dev/ttyS0: '/bin/sh' BusyBox v1.00 (2010.09.17-11:49+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. # br0: port 1(eth0) entering forwarding state br0: topology change detected, propagating The primary RSNIE: c189223a, len = 26 0x0000 : 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 0x0010 : 00 50 f2 04 01 00 00 50 f2 02 The secondary RSNIE: c1892339, len = 24 0x0000 : 01 00 00 0f ac 02 02 00 00 0f ac 02 00 0f ac 04 0x0010 : 01 00 00 0f ac 02 00 00 0x1300 = 00064380 device ra0 entered promiscuous mode br0: port 2(ra0) entering learning state Received RSNIE in Assoc-Req: c1898dbf, len = 24 0x0000 : dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 0x0010 : f2 02 01 00 00 50 f2 02 concatenation=: c0157cc8, len = 76 0x0000 : 00 1c 10 fc b7 90 00 1f 29 2a 35 48 43 98 55 0e 0x0010 : 72 0a 4b 1a 2f 4e 3e d7 01 c1 c9 a7 8d 75 13 3a 0x0020 : 78 23 e5 e3 21 16 98 d0 d6 34 ac 22 cf 12 dd f7 0x0030 : e7 02 65 9d d6 9b 73 85 60 a0 cd 2d c0 4d 00 94 0x0040 : 9d 7a 25 36 7a f7 0d 0d 0a 73 1f 09 Received RSNIE in Assoc-Req: c189beba, len = 22 0x0000 : 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 0x0010 : 00 0f ac 02 00 00 concatenation=: c0157cc8, len = 76 0x0000 : 00 1c 10 fc b7 90 ec 55 f9 c7 78 6a 60 f8 4a a7 0x0010 : 30 34 99 c7 15 21 70 29 b8 00 7a f6 0a 37 e3 c9 0x0020 : aa 46 e0 6c 6e a9 83 14 73 00 db 23 b3 ea eb 0d 0x0030 : 5e 67 fc 87 d0 bc 02 fd 93 08 b8 86 6e b7 46 0b 0x0040 : a8 1c e9 9c 26 6a d9 69 35 ca eb 3a br0: port 2(ra0) entering forwarding state br0: topology change detected, propagating
Tags
For some Help with the Tags, please have a look here: tags
toh/cisco/wrvs4400n_v2.txt · Last modified: 2012/06/15 16:08 by d0




