rendered paste body# ifconfig
br0 Link encap:Ethernet HWaddr 00:13:10:8A:C8:C9
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:7623 (7.4 kb)
eth0 Link encap:Ethernet HWaddr 00:13:10:8A:C8:C9
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:6346 (6.1 kb)
Base address:0x2800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wlan0 Link encap:Ethernet HWaddr 00:13:10:8A:C8:C9
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:92 (92.0 b)
# ps ax
PID Uid Stat Command
1 0 S init
2 0 S [keventd]
3 0 R [ksoftirqd_CPU0]
4 0 S [kswapd]
5 0 S [bdflush]
6 0 S [kupdated]
7 0 S [mtdblockd]
8 0 S [mail]
12 0 S resetbutton
28 0 S cron
31 0 S tftpd -a 192.168.1.1 -s /tmp -c -l
34 0 S httpd
37 0 S httpd -S
43 0 S dnsmasq -h -i br0 -r /tmp/resolv.conf
46 0 S udhcpd /tmp/udhcpd.conf
49 0 S syslogd
52 0 S upnpd-igd br0
54 0 S klogd
56 0 S /tmp/adslpolling
62 0 S /bin/sh
66 0 R ps ax
# brctl
commands:
addbr <bridge> add bridge
addif <bridge> <device> add interface to bridge
delbr <bridge> delete bridge
delif <bridge> <device> delete interface from bridge
show show a list of bridges
showbr <bridge> show bridge info
showmacs <bridge> show a list of mac addrs
setageing <bridge> <time> set ageing time
setbridgeprio <bridge> <prio> set bridge priority
setfd <bridge> <time> set bridge forward delay
setgcint <bridge> <time> set garbage collection interval
sethello <bridge> <time> set hello time
setmaxage <bridge> <time> set max message age
setpathcost <bridge> <port> <cost> set path cost
setportprio <bridge> <port> <prio> set port priority
stp <bridge> <state> {dis,en}able stp
# brctl
commands:
addbr <bridge> add bridge
addif <bridge> <device> add interface to bridge
delbr <bridge> delete bridge
delif <bridge> <device> delete interface from bridge
show show a list of bridges
showbr <bridge> show bridge info
showmacs <bridge> show a list of mac addrs
setageing <bridge> <time> set ageing time
setbridgeprio <bridge> <prio> set bridge priority
setfd <bridge> <time> set bridge forward delay
setgcint <bridge> <time> set garbage collection interval
sethello <bridge> <time> set hello time
setmaxage <bridge> <time> set max message age
setpathcost <bridge> <port> <cost> set path cost
setportprio <bridge> <port> <prio> set port priority
stp <bridge> <state> {dis,en}able stp
# brctl show
bridge name bridge id STP enabled
br0 8000.0013108ac8c9 no
# brctl showbr br0
br0
STP disabled
# brctl showmacs br0
port no mac addr is local? ageing timer
2 00:13:10:8a:c8:c9 yes 0.00
# lsmod
Module Size Used by
tiap 705056 1
tiatm 129040 0 (unused)
# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 30765056 13156352 17608704 0 1388544 4562944
Swap: 0 0 0
MemTotal: 30044 kB
MemFree: 17196 kB
MemShared: 0 kB
Buffers: 1356 kB
Cached: 4456 kB
SwapCached: 0 kB
Active: 2444 kB
Inactive: 4636 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 30044 kB
LowFree: 17196 kB
SwapTotal: 0 kB
SwapFree: 0 kB
# ls /proc/Cybertan/
wl_management wan_ip_addr lan_netmask stb_info
bridge_only_enable lan_ip_addr stb_enabled
pppoe_pass lan_mac_addr stb_network
half_bridge_enable local_lan_mac_addr stb_netmask