#17698: netifd segfault and sometimes eats all cpu
--------------------------------+-----------------------------------
  Reporter:  cz <chengzhicn@…>  |      Owner:  developers
      Type:  defect             |     Status:  new
  Priority:  highest            |  Milestone:  Barrier Breaker 14.07
 Component:  base system        |    Version:  Barrier Breaker 14.07
Resolution:                     |   Keywords:  netifd
--------------------------------+-----------------------------------

Comment (by cz <chengzhicn@…>):

 /etc/config/network
 {{{
 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 '192.168.0.1'
         option netmask '255.255.255.0'
         option ip6assign '60'

 config interface 'guest'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.93.1'
         option netmask '255.255.255.0'

 config interface 'wan'
         option ifname 'eth1'
         option 'proto' 'pppoe'
         option 'username' 'xxxxxxx'
         option 'password' 'xxxxxxx'

 config 'interface' 'office'
         option 'proto' 'pptp'
         option 'server' 'office.example.com'
         option 'username' 'xxxxxxx'
         option 'password' 'xxxxxxx'
         option 'defaultroute' '0'
         option 'mtu' '1404'
         option 'auto' '1'

 config 'interface' 'vpn'
         option 'proto' 'pptp'
         option 'server' 'vpn.example.com'
         option 'username' 'xxxxxxx'
         option 'password' 'xxxxxxx'
         option 'defaultroute' '0'
         option 'auto' '1'

 config 'interface' 'vpn2'
         option 'proto' 'pptp'
         option 'server' 'vpn2.example.com'
         option 'username' 'xxxxxxx'
         option 'password' 'xxxxxxx'
         option 'defaultroute' '0'
         option 'mtu' '1404'
         option 'auto' '0'

 config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'

 config globals 'globals'
         option ula_prefix 'fd5a:9273:657f::/48'
 }}}

 /etc/config/wireless
 {{{
 config wifi-device  radio0
         option type     mac80211
         option channel  11
         option hwmode   11g
         option path
 'pci0000:00/0000:00:11.0/0000:02:04.0/usb1/1-1/1-1:1.0'
         #option htmode  HT20
         # REMOVE THIS LINE TO ENABLE WIFI:
         option disabled 0

 config wifi-iface
         option device   radio0
         option ifname   wlanap
         option network  lan
         option mode     ap
         option ssid     "OpenWrt"
         option encryption psk2
         option pairwise CCMP
         option wmm      0
         option wpa_group_rekey 3600
         option key      "xxxxxx"
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/17698#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to