Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 4th, 2012  |  syntax: None  |  size: 1.10 KB  |  hits: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. root@qmpa5:/# cat /etc/config/network
  2. config interface 'lan'
  3.         option ifname 'eth0 wlan1'
  4.         option type 'bridge'
  5.         option proto 'static'
  6.         option ipaddr '172.30.22.1'
  7.         option netmask '255.255.0.0'
  8.         option dns '141.1.1.1 85.126.4.170 202.83.95.227'
  9.  
  10. root@qmpa5:/# /etc/init.d/network restart
  11. [  119.250000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
  12. command failed: Invalid argument (-22)
  13. [  119.280000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  14. Command failed: Not found
  15. [  119.590000] ADDRCONF(NETDEV_UP): wlan1: link is not ready
  16. command failed: Invalid argument (-22)
  17. [  119.610000] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
  18. Command failed: Not found
  19.  
  20. root@qmpa5:/# netifd
  21. proto_shell_add_handler(842): Add handler for script ./6in4.sh: 6in4
  22. proto_shell_add_handler(842): Add handler for script ./6to4.sh: 6to4
  23. proto_shell_add_handler(842): Add handler for script ./dhcp.sh: dhcp
  24. netifd_ubus_init(302): connected as 20c479d6
  25. Segmentation fault
  26.  
  27. root@qmpa5:/# brctl show
  28. bridge name     bridge id               STP enabled     interfaces