All pastes #2062796 Raw Edit

Stuff

public text v1 · immutable
#2062796 ·published 2011-05-17 20:00 UTC
rendered paste body
config 'interface' 'loopback'                                                                                                                                                                                                                
        option 'ifname' 'lo'                                                                                                                                                                                                                 
        option 'proto' 'static'                                                                                                                                                                                                              
        option 'ipaddr' '127.0.0.1'                                                                                                                                                                                                          
        option 'netmask' '255.0.0.0'                                                                                                                                                                                                         
                                                                                                                                                                                                                                             
config 'interface' 'lan'                                                                                                                                                                                                                     
        option 'ifname' 'eth0'                                                                                                                                                                                                               
        option 'type' 'bridge'                                                                                                                                                                                                               
        option 'proto' 'static'                                                                                                                                                                                                              
        option 'ipaddr' '10.0.0.1'                                                                                                                                                                                                           
        option 'netmask' '255.255.0.0'                                                                                                                                                                                                       
        option 'defaultroute' '0'     
        option 'peerdns' '0'          
        option 'ip6addr' '2001:0470:b1ab:1:1::2/80'

config 'interface' 'wan'
        option 'ifname' 'eth1'
        option 'proto' 'static'
        option 'ipaddr' '192.168.1.33'
        option 'netmask' '255.255.255.0'
        option 'gateway' '192.168.1.1'  
        option 'defaultroute' '0'       
        option 'peerdns' '0'            
        option 'ip6addr' '2001:0470:b1ab:1:1::1/80'

config 'switch'
        option 'name' 'rtl8366s'
        option 'reset' '1'      
        option 'enable_vlan' '1'

config 'switch_vlan'
        option 'device' 'rtl8366s'
        option 'vlan' '1'
        option 'ports' '0 1 2 3 5'

root@OpenWrt:/etc/config# ps
  PID USER       VSZ STAT COMMAND
    1 root      1364 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [events/0]
    5 root         0 SW   [khelper]
    8 root         0 SW   [async/mgr]
   43 root         0 SW   [sync_supers]
   45 root         0 SW   [bdi-default]
   47 root         0 SW   [kblockd/0]
   76 root         0 SW   [kswapd0]
   77 root         0 SW   [aio/0]
   78 root         0 SW   [crypto/0]
   90 root         0 SW   [mtdblockd]
   96 root         0 SW   [ar71xx-spi]
  315 root         0 SW   [ipolldevd]
  379 root      1364 S    init
  436 root      1368 S    syslogd -C16
  438 root      1348 S    klogd
  452 root       780 S    /sbin/hotplug2 --override --persistent --set-worker /
  617 root         0 SW   [cfg80211]
  636 root         0 SW   [khubd]
  679 root         0 SW   [phy0]
  686 root         0 SW   [phy1]
 1063 root      1356 S    telnetd -l /bin/login.sh
 1071 root      1188 S    /usr/sbin/uhttpd -f -h /www -r OpenWrt -x /cgi-bin -t
 1119 root         0 SWN  [jffs2_gcd_mtd4]
 1156 root      1140 S    /usr/sbin/dropbear -p 22 -P /var/run/dropbear.1.pid
 1158 root      1360 S    watchdog -t 5 /dev/watchdog
 1935 root      1372 S    udhcpc -t 0 -i eth1 -r 192.168.1.122 -b -p /var/run/d
 5028 nobody     912 S    /usr/sbin/dnsmasq -D -y -Z -b -E -s lan -S /lan/ -l /
 5525 root      1196 S    /usr/sbin/dropbear -p 22 -P /var/run/dropbear.1.pid
 5526 root      1368 S    -ash
 5543 root      1356 R    ps