OpenWrt Forum Archive

Topic: Neufbox4 (Foxconn) - bcm4318 Wireless Configuration Help

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, i've successfully compiled the latest release 15.05 "Chaos Calmer" SMP and need a hint to activate the wireless card. I followed the steps from : https://wiki.openwrt.org/doc/uci/wireless and i'm not able to activate via LuCI the wireless card. The last try i made, was to regenerate the /etc/config/wireless with no success.
What is suspicious for me: If i request the status via "wifi status", one parameter shows "up: false"
Via "iw phy0 info" i can get some information and "iwinfo"  and "iwinfo scan".

Any hint or help would be great smile

Regards
Mike

Edit: Code-Tags inserted, added logread and installed packages

Via LuCI i get the information under Network > WiFi:

Generic MAC80211 802.11bg (radio0)
0% SSID: dgf45fe | Mode: Master
Wireless is disabled or not associated

The function here is enabled.

More details:

root@OpenWrt:~# uname -a
Linux OpenWrt 3.18.23 #1 SMP Sun Feb 28 12:44:27 CET 2016 mips GNU/Linux

Model    SFR Neuf Box 4 (Foxconn)
Firmware Version    OpenWrt Chaos Calmer 15.05 / LuCI 15.05-201-ga03a846 Release (git-16.043.44305-e2f9172)
Kernel Version    3.18.23

logread

Mon Feb 29 20:20:54 2016 kern.debug kernel: [    0.236000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
Mon Feb 29 20:20:54 2016 kern.debug kernel: [    0.236000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
Mon Feb 29 20:20:54 2016 kern.debug kernel: [    0.236000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
Mon Feb 29 20:20:54 2016 kern.debug kernel: [    0.236000] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
Mon Feb 29 20:20:54 2016 kern.warn kernel: [    0.272000] ssb: WARNING: Using fallback SPROM failed (err -2)
Mon Feb 29 20:20:54 2016 kern.warn kernel: [    0.276000] ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)
Mon Feb 29 20:20:54 2016 kern.warn kernel: [    0.284000] ssb: Unsupported SPROM revision 0 detected. Will extract v1
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.312000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.320000] NET: Registered protocol family 2
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.328000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.336000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.344000] TCP: Hash tables configured (established 1024 bind 1024)
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.348000] TCP: reno registered
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.352000] UDP hash table entries: 256 (order: 1, 8192 bytes)
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.360000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.368000] NET: Registered protocol family 1
Mon Feb 29 20:20:54 2016 kern.debug kernel: [    0.372000] PCI: CLS 0 bytes, default 16
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.376000] futex hash table entries: 256 (order: 0, 4096 bytes)
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.384000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.392000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.400000] msgmni has been set to 53
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.412000] io scheduler noop registered
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.416000] io scheduler deadline registered (default)
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.424000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.436000] console [ttyS0] enabled
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.440000] bootconsole [early0] disabled
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.452000] physmap platform flash device: 02000000 at 1e000000
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.460000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
Mon Feb 29 20:20:54 2016 kern.debug kernel: [    0.472000] physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
Mon Feb 29 20:20:54 2016 kern.debug kernel: [    0.472000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
Mon Feb 29 20:20:54 2016 kern.debug kernel: [    0.472000] physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.472000] Amd/Fujitsu Extended Query Table at 0x0040
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.476000]   Amd/Fujitsu Extended Query version 1.1.
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.480000] number of CFI chips: 1
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.484000] bcm63xxpart: CFE boot tag found with version 6 and board type 96358VW
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.492000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.500000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 13695d
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.508000] bcm63xxpart: Partition 2 is rootfs offset 146a5d and length 6a95a3
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.516000] bcm63xxpart: Partition 3 is nvram offset 7f0000 and length 10000
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.524000] bcm63xxpart: Partition 4 is linux offset 10000 and length 7e0000
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.528000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.536000] Creating 5 MTD partitions on "physmap-flash.0":
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.544000] 0x000000000000-0x000000010000 : "CFE"
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.552000] 0x000000010100-0x000000146a5d : "kernel"
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.560000] 0x000000146a5d-0x0000007f0000 : "rootfs"
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.564000] mtd: device 2 (rootfs) set to be root filesystem
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.572000] 1 squashfs-split partitions found on MTD device rootfs
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.580000] 0x000000460000-0x0000007f0000 : "rootfs_data"
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.588000] 0x0000007f0000-0x000000800000 : "nvram"
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.596000] 0x000000010000-0x0000007f0000 : "linux"
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.612000] bcm63xx-spi bcm63xx-spi: at 0xfffe0800 (irq 9, FIFOs size 542)
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.620000] spi_gpio spi-gpio: gpio-miso property not found, switching to no-rx mode
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.656000] libphy: bcm63xx_enet MII bus: probed
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.728000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (2)]
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.740000] libphy: bcm63xx_enet MII bus: probed
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.812000] b53_common: found switch: BCM5325, rev 0
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.820000] bcm63xx_enet bcm63xx_enet.1: attached PHY at address 0 [Broadcom B53 (1)]
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.828000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.844000] TCP: cubic registered
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.844000] NET: Registered protocol family 17
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.852000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    0.864000] Bridge firewalling registered
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.868000] 8021q: 802.1Q VLAN Support v1.8
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.900000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Mon Feb 29 20:20:54 2016 kern.info kernel: [    0.924000] Freeing unused kernel memory: 1308K (80399000 - 804e0000)
Mon Feb 29 20:20:54 2016 user.info kernel: [    2.996000] init: Console is alive
Mon Feb 29 20:20:54 2016 user.info kernel: [    3.000000] init: - watchdog -
Mon Feb 29 20:20:54 2016 kern.notice kernel: [    3.152000] random: kmodloader urandom read with 11 bits of entropy available
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.820000] usbcore: registered new interface driver usbfs
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.828000] usbcore: registered new interface driver hub
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.832000] usbcore: registered new device driver usb
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.856000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.864000] ehci-platform: EHCI generic platform driver
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.872000] ehci-platform ehci-platform: EHCI Host Controller
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.876000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.884000] ehci-platform ehci-platform: irq 18, io mem 0xfffe1300
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.904000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.912000] hub 1-0:1.0: USB hub found
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.920000] hub 1-0:1.0: 2 ports detected
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.932000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.940000] ohci-platform: OHCI generic platform driver
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.948000] ohci-platform ohci-platform: Generic Platform OHCI controller
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.956000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
Mon Feb 29 20:20:54 2016 kern.info kernel: [    5.964000] ohci-platform ohci-platform: irq 13, io mem 0xfffe1400
Mon Feb 29 20:20:54 2016 kern.info kernel: [    6.028000] hub 2-0:1.0: USB hub found
Mon Feb 29 20:20:54 2016 kern.info kernel: [    6.036000] hub 2-0:1.0: 2 ports detected
Mon Feb 29 20:20:54 2016 user.info kernel: [    6.204000] init: - preinit -
Mon Feb 29 20:20:54 2016 kern.notice kernel: [   10.820000] jffs2: notice: (272) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Mon Feb 29 20:20:54 2016 user.info kernel: [   10.840000] mount_root: switching to jffs2 overlay
Mon Feb 29 20:20:54 2016 user.info kernel: [   10.900000] procd: - early -
Mon Feb 29 20:20:54 2016 user.info kernel: [   10.904000] procd: - watchdog -
Mon Feb 29 20:20:54 2016 user.info kernel: [   12.044000] procd: - ubus -
Mon Feb 29 20:20:54 2016 user.info kernel: [   13.060000] procd: - init -
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.040000] NET: Registered protocol family 10
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.100000] ip6_tables: (C) 2000-2006 Netfilter Core Team
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.160000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.168000] Backport generated by backports.git backports-20150129-0-gdd4a670
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.232000] Ebtables v2.0 registered
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.244000] ip_tables: (C) 2000-2006 Netfilter Core Team
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.284000] nf_conntrack version 0.5.0 (445 buckets, 1780 max)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.404000] Netfilter messages via NETLINK v0.30.
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.548000] xt_time: kernel timezone is -0000
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.628000] cfg80211: Calling CRDA to update world regulatory domain
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.688000] cfg80211: World regulatory domain updated:
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.692000] cfg80211:  DFS Master region: unset
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.696000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.708000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.716000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.724000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.732000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.744000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.752000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.760000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.768000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.948000] ctnetlink v0.93: registering with nfnetlink.
Mon Feb 29 20:20:54 2016 kern.info kernel: [   16.984000] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
Mon Feb 29 20:20:54 2016 kern.info kernel: [   17.072000] PPP generic driver version 2.4.2
Mon Feb 29 20:20:54 2016 kern.info kernel: [   17.084000] NET: Registered protocol family 24
Mon Feb 29 20:20:54 2016 kern.info kernel: [   17.120000] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
Mon Feb 29 20:20:54 2016 kern.info kernel: [   17.160000] b43-phy0: Found PHY: Analog 3, Type 2 (G), Revision 7
Mon Feb 29 20:20:54 2016 kern.info kernel: [   17.164000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2050, Revision 8, Version 0
Mon Feb 29 20:20:54 2016 kern.info kernel: [   17.184000] Broadcom 43xx driver loaded [ Features: PL ]
Mon Feb 29 20:20:54 2016 kern.debug kernel: [   17.204000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Mon Feb 29 20:21:03 2016 authpriv.info dropbear[861]: Not backgrounding
Mon Feb 29 20:21:06 2016 user.emerg syslog: setting up led WAN-LED
Mon Feb 29 20:21:06 2016 user.emerg syslog: setting up led WLAN-LED
Mon Feb 29 20:21:06 2016 user.emerg syslog: setting up led Status-Green
Mon Feb 29 20:21:06 2016 kern.notice kernel: [   33.116000] random: nonblocking pool is initialized
Mon Feb 29 20:21:07 2016 daemon.info procd: - init complete -
Mon Feb 29 20:21:08 2016 kern.info kernel: [   34.908000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mon Feb 29 20:21:08 2016 daemon.notice netifd: Interface 'lan' is enabled
Mon Feb 29 20:21:08 2016 daemon.notice netifd: Interface 'lan1' is enabled
Mon Feb 29 20:21:08 2016 daemon.notice netifd: Interface 'lan1' is setting up now
Mon Feb 29 20:21:08 2016 kern.info kernel: [   34.924000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Mon Feb 29 20:21:08 2016 daemon.notice netifd: Interface 'lan1' is now up
Mon Feb 29 20:21:08 2016 daemon.notice netifd: Interface 'loopback' is enabled
Mon Feb 29 20:21:08 2016 daemon.notice netifd: Interface 'loopback' is setting up now
Mon Feb 29 20:21:08 2016 daemon.notice netifd: Interface 'loopback' is now up
Mon Feb 29 20:21:08 2016 daemon.notice netifd: Network device 'lo' link is up
Mon Feb 29 20:21:08 2016 daemon.notice netifd: Interface 'loopback' has link connectivity 
Mon Feb 29 20:21:09 2016 user.notice firewall: Reloading firewall due to ifup of lan1 (eth1)
Mon Feb 29 20:21:09 2016 kern.info kernel: [   36.248000] eth1: link UP - 100/full - flow control off
Mon Feb 29 20:21:09 2016 kern.info kernel: [   36.252000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Mon Feb 29 20:21:09 2016 daemon.notice netifd: Network device 'eth1' link is up
Mon Feb 29 20:21:09 2016 daemon.notice netifd: Interface 'lan1' has link connectivity 
Mon Feb 29 20:21:10 2016 kern.info kernel: [   37.088000] eth0: link UP - 100/full - flow control rx&tx
Mon Feb 29 20:21:10 2016 kern.info kernel: [   37.096000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mon Feb 29 20:21:10 2016 daemon.notice netifd: Network device 'eth0' link is up
Mon Feb 29 20:21:10 2016 daemon.notice netifd: Interface 'lan' has link connectivity 
Mon Feb 29 20:21:10 2016 daemon.notice netifd: Interface 'lan' is setting up now
Mon Feb 29 20:21:11 2016 daemon.info pppd[992]: Plugin rp-pppoe.so loaded.
Mon Feb 29 20:21:11 2016 daemon.info pppd[992]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Mon Feb 29 20:21:11 2016 daemon.notice pppd[992]: pppd 2.4.7 started by root, uid 0
Mon Feb 29 20:21:11 2016 daemon.info pppd[992]: PPP session is 8917
Mon Feb 29 20:21:11 2016 daemon.warn pppd[992]: Connected to 00:30:88:1f:22:83 via interface eth0
Mon Feb 29 20:21:11 2016 kern.info kernel: [   38.596000] pppoe-lan: renamed from ppp0
Mon Feb 29 20:21:12 2016 daemon.info pppd[992]: Using interface pppoe-lan
Mon Feb 29 20:21:12 2016 daemon.notice pppd[992]: Connect: pppoe-lan <--> eth0
Mon Feb 29 20:21:13 2016 authpriv.info dropbear[1018]: Child connection from 192.168.1.15:43692
Mon Feb 29 20:21:15 2016 daemon.notice pppd[992]: PAP authentication succeeded
Mon Feb 29 20:21:15 2016 daemon.notice pppd[992]: peer from calling number 00:30:88:1F:22:83 authorized
Mon Feb 29 20:21:15 2016 daemon.notice pppd[992]: local  IP address 78.55.133.54
Mon Feb 29 20:21:15 2016 daemon.notice pppd[992]: remote IP address 62.52.200.150
Mon Feb 29 20:21:15 2016 daemon.notice pppd[992]: primary   DNS address 62.109.121.2
Mon Feb 29 20:21:15 2016 daemon.notice pppd[992]: secondary DNS address 62.109.121.1
Mon Feb 29 20:21:15 2016 daemon.notice netifd: Network device 'pppoe-lan' link is up
Mon Feb 29 20:21:15 2016 daemon.notice netifd: Interface 'lan' is now up
Mon Feb 29 20:21:16 2016 daemon.notice netifd: Network alias 'pppoe-lan' link is up
Mon Feb 29 20:21:16 2016 daemon.notice netifd: Interface 'lan_6' is enabled
Mon Feb 29 20:21:16 2016 daemon.notice netifd: Interface 'lan_6' has link connectivity 
Mon Feb 29 20:21:16 2016 daemon.notice netifd: Interface 'lan_6' is setting up now
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq[1045]: started, version 2.73 cachesize 150
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq[1045]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq[1045]: DNS service limited to local subnets
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq-dhcp[1045]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq[1045]: using local addresses only for domain lan
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq[1045]: reading /tmp/resolv.conf.auto
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq[1045]: using local addresses only for domain lan
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq[1045]: using nameserver 8.8.8.8#53
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq[1045]: using nameserver 8.8.4.4#53
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq[1045]: read /etc/hosts - 1 addresses
Mon Feb 29 20:21:17 2016 daemon.info dnsmasq-dhcp[1045]: read /etc/ethers - 0 addresses
Mon Feb 29 20:21:22 2016 user.notice firewall: Reloading firewall due to ifup of lan (pppoe-lan)
Mon Feb 29 20:21:30 2016 authpriv.notice dropbear[1018]: Password auth succeeded for 'root' from 192.168.1.15:43692
Mon Feb 29 20:30:53 2016 daemon.info pppd[992]: System time change detected.
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): Configuration file: /var/run/hostapd-phy0.conf
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): Could not set interface wlan0 flags (UP): Cannot assign requested address
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): nl80211: Could not set interface 'wlan0' UP
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): nl80211 driver initialization failed.
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): wlan0: interface state UNINITIALIZED->DISABLED
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): wlan0: AP-DISABLED 
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): hostapd_free_hapd_data: Interface wlan0 wasn't started
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): cat: can't open '/var/run/wifi-phy0.pid': No such file or directory
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): Command failed: Invalid argument
Mon Feb 29 20:33:51 2016 daemon.notice netifd: radio0 (1573): Device setup failed: HOSTAPD_START_FAILED

opkg list-installed

root@OpenWrt:/etc/config# opkg list-installed
base-files - 157.2-r48792
busybox - 1.23.2-1
conntrack-tools - 1.4.2-1
dnsmasq - 2.73-1
dropbear - 2015.67-1
ebtables - 2.0.10-4-3
ebtables-utils - 2.0.10-4-3
ethtool - 3.18-1
firewall - 2015-07-27
fstools - 2016-01-10-96415afecef35766332067f4205ef3b2c7561d21
hostapd - 2015-03-25-1
hostapd-common - 2015-03-25-1
hostapd-utils - 2015-03-25-1
ip6tables - 1.4.21-1
iptables - 1.4.21-1
iputils-arping - 20101006-1
iputils-ping - 20101006-1
iw - 3.17-1
iwinfo - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
jshn - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
kernel - 3.18.23-1-05e773e21364b43e910bae62c07a25ea
kmod-8021q - 3.18.23-1
kmod-b43 - 3.18.23+2015-03-09-3
kmod-bcm63xx-udc - 3.18.23-1
kmod-bcma - 3.18.23-1
kmod-bridge - 3.18.23-1
kmod-cfg80211 - 3.18.23+2015-03-09-3
kmod-crypto-aes - 3.18.23-1
kmod-crypto-arc4 - 3.18.23-1
kmod-crypto-core - 3.18.23-1
kmod-ebtables - 3.18.23-1
kmod-ebtables-ipv4 - 3.18.23-1
kmod-ebtables-watchers - 3.18.23-1
kmod-gpio-button-hotplug - 3.18.23-1
kmod-ip6tables - 3.18.23-1
kmod-ipt-compat-xtables - 3.18.23+2.5-1
kmod-ipt-condition - 3.18.23+2.5-1
kmod-ipt-conntrack - 3.18.23-1
kmod-ipt-conntrack-extra - 3.18.23-1
kmod-ipt-core - 3.18.23-1
kmod-ipt-extra - 3.18.23-1
kmod-ipt-filter - 3.18.23-1
kmod-ipt-iface - 3.18.23+2.5-1
kmod-ipt-ipmark - 3.18.23+2.5-1
kmod-ipt-iprange - 3.18.23-1
kmod-ipt-ipv4options - 3.18.23+2.5-1
kmod-ipt-logmark - 3.18.23+2.5-1
kmod-ipt-nat - 3.18.23-1
kmod-ipt-nat-extra - 3.18.23-1
kmod-ipt-nflog - 3.18.23-1
kmod-ipv6 - 3.18.23-1
kmod-lib-crc-ccitt - 3.18.23-1
kmod-lib-textsearch - 3.18.23-1
kmod-llc - 3.18.23-1
kmod-mac80211 - 3.18.23+2015-03-09-3
kmod-macvlan - 3.18.23-1
kmod-nf-conntrack - 3.18.23-1
kmod-nf-conntrack-netlink - 3.18.23-1
kmod-nf-conntrack6 - 3.18.23-1
kmod-nf-ipt - 3.18.23-1
kmod-nf-ipt6 - 3.18.23-1
kmod-nf-nat - 3.18.23-1
kmod-nf-nathelper - 3.18.23-1
kmod-nf-nathelper-extra - 3.18.23-1
kmod-nfnetlink - 3.18.23-1
kmod-nfnetlink-log - 3.18.23-1
kmod-nft-core - 3.18.23-1
kmod-nft-nat - 3.18.23-1
kmod-nls-base - 3.18.23-1
kmod-pcmcia-bcm63xx - 3.18.23-1
kmod-pcmcia-core - 3.18.23-1
kmod-pcmcia-rsrc - 3.18.23-1
kmod-pcmcia-yenta - 3.18.23-1
kmod-ppp - 3.18.23-1
kmod-pppoe - 3.18.23-1
kmod-pppox - 3.18.23-1
kmod-slhc - 3.18.23-1
kmod-stp - 3.18.23-1
kmod-usb-core - 3.18.23-1
kmod-usb-gadget - 3.18.23-1
kmod-usb-ohci - 3.18.23-1
kmod-usb2 - 3.18.23-1
libblobmsg-json - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
libc - 0.9.33.2-1
libgcc - 4.8-linaro-1
libgmp - 6.0.0-1
libip4tc - 1.4.21-1
libip6tc - 1.4.21-1
libiwinfo - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libiwinfo-lua - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libjson-c - 0.12-1
libjson-script - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
liblua - 5.1.5-1
libmnl - 1.0.3-2
libnetfilter-conntrack - 1.0.4-1
libnetfilter-cthelper - 1.0.0-1
libnetfilter-cttimeout - 1.0.0-1
libnetfilter-queue - 1.0.2-1
libnettle - 3.1.1-1
libnfnetlink - 1.0.1-1
libnftnl - 1.0.3-1
libnl-tiny - 0.1-4
libssp - 4.8-linaro-1
libsysfs - 2.1.0-2
libubox - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
libubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libubus-lua - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libuci - 2015-08-27.1-1
libuci-lua - 2015-08-27.1-1
libxtables - 1.4.21-1
lua - 5.1.5-1
luci - git-16.043.44305-e2f9172-1
luci-app-firewall - git-16.043.44305-e2f9172-1
luci-base - git-16.043.44305-e2f9172-1
luci-i18n-base-en - git-16.043.44305-e2f9172-1
luci-i18n-firewall-en - git-16.043.44305-e2f9172-1
luci-lib-ip - git-16.043.44305-e2f9172-1
luci-lib-nixio - git-16.043.44305-e2f9172-1
luci-mod-admin-full - git-16.043.44305-e2f9172-1
luci-proto-ipv6 - git-16.043.44305-e2f9172-1
luci-proto-ppp - git-16.043.44305-e2f9172-1
luci-theme-bootstrap - git-16.043.44305-e2f9172-1
mtd - 21
netifd - 2015-12-16-245527193e90906451be35c2b8e972b8712ea6ab
nftables - 0.4+2015-04-09-1
odhcp6c - 2015-07-13-024525798c5f6aba3af9b2ef7b3af2f3c14f1db8
odhcpd - 2015-11-19-01d3f9d64486ac1daa144848944e877e7f0cb762
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-9
ppp - 2.4.7-6
ppp-mod-pppoe - 2.4.7-6
procd - 2015-10-29.1-d5fddd91b966424bb63e943e789704d52382cc18
rpcd - 2015-01-10-f00890cd6eb47ad9bb5da0fb6c50aedc8406e7c5
swconfig - 10
ubox - 2015-11-22-c086167a0154745c677f8730a336ea9cf7d71031
ubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
ubusd - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
uci - 2015-08-27.1-1
uhttpd - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
uhttpd-mod-ubus - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
usign - 2015-05-08-cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
wifitoggle - 1-4
wireless-tools - 29-5
zlib - 1.2.8-1


/etc/config/wireless

---------------------
config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:01.0/ssb0:0'
        option channel '5'
        option txpower '50'
        option country '00'
        option disabled '0'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option ssid 'dgf45fe'
        option encryption 'psk-mixed+tkip+ccmp'
        option key '$1234$'

lsmod

------
root@OpenWrt:~# lsmod | grep b43
b43                   177771  0 
cfg80211              215985  2 b43
compat                  1316  3 b43
mac80211              387363  1 b43

uci

root@OpenWrt:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.hwmode='11g'
wireless.radio0.path='pci0000:00/0000:00:01.0/ssb0:0'
wireless.radio0.channel='5'
wireless.radio0.txpower='14'
wireless.radio0.country='00'
wireless.radio0.disabled='0'
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device='radio0'
wireless.@wifi-iface[0].mode='ap'
wireless.@wifi-iface[0].ssid='dgf45fe'
wireless.@wifi-iface[0].encryption='psk-mixed+tkip+ccmp'
wireless.@wifi-iface[0].key='$1234$'

wifi

root@OpenWrt:~# wifi status
{
    "radio0": {
        "up": false,
        "pending": false,
        "autostart": false,
        "disabled": false,
        "config": {
            "hwmode": "11g",
            "path": "pci0000:00\/0000:00:01.0\/ssb0:0",
            "channel": "5",
            "txpower": 14,
            "country": "00",
            "disabled": false
        },
        "interfaces": [
            {
                "section": "@wifi-iface[0]",
                "config": {
                    "mode": "ap",
                    "ssid": "dgf45fe",
                    "encryption": "psk-mixed+tkip+ccmp",
                    "key": "$1234$",
                    "mode": "ap"
                }
            }
        ]
    }
}

iw phy0 info

root@OpenWrt:~# iw phy0 info
Wiphy phy0
    max # scan SSIDs: 4
    max scan IEs length: 2285 bytes
    Retry short limit: 7
    Retry long limit: 4
    Coverage class: 0 (up to 0m)
    Available Antennas: TX 0x3 RX 0x3
    Configured Antennas: TX 0x3 RX 0x3
    Supported interface modes:
         * IBSS
         * managed
         * AP
         * AP/VLAN
         * WDS
         * monitor
         * mesh point
    Band 1:
        Frequencies:
            * 2412 MHz [1] (20.0 dBm)
            * 2417 MHz [2] (20.0 dBm)
            * 2422 MHz [3] (20.0 dBm)
            * 2427 MHz [4] (20.0 dBm)
            * 2432 MHz [5] (20.0 dBm)
            * 2437 MHz [6] (20.0 dBm)
            * 2442 MHz [7] (20.0 dBm)
            * 2447 MHz [8] (20.0 dBm)
            * 2452 MHz [9] (20.0 dBm)
            * 2457 MHz [10] (20.0 dBm)
            * 2462 MHz [11] (20.0 dBm)
            * 2467 MHz [12] (20.0 dBm) (no IR)
            * 2472 MHz [13] (20.0 dBm) (no IR)
            * 2484 MHz [14] (20.0 dBm) (no IR)
    interface combinations are not supported
    HT Capability overrides:
         * MCS: ff ff ff ff ff ff ff ff ff ff
         * maximum A-MSDU length
         * supported channel width
         * short GI for 40 MHz
         * max A-MPDU length exponent
         * min MPDU start spacing

iwconfig

root@OpenWrt:~# iwconfig phy0
phy0      No such device

iwinfo

root@OpenWrt:~# iwinfo phy0 info
phy0      ESSID: unknown
          Access Point: 00:00:00:00:00:00
          Mode: Unknown  Channel: unknown (unknown)
          Tx-Power: unknown  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11bg
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: no  PHY name: phy0

iwinfo scan

root@OpenWrt:~# iwinfo phy0 scan
Cell 01 - Address: XX:XX:XX:XX:XX:XX
          ESSID: "dk67ge"
          Mode: Master  Channel: 9
          Signal: -58 dBm  Quality: 52/70
          Encryption: WPA2 PSK (CCMP)

(Last edited by mpt on 29 Feb 2016, 20:37)

I can confirm this is still happening with latest build (15.05.1) out of the box.

Worked perfectly with Barrier Breaker (14.07)

Seems related to the lack of mac address in /sys/class/ieee80211/phy0/macaddress (mac address is 00:00:00:00:00:00 in this file)

(Last edited by Memphis007 on 30 Apr 2017, 10:59)

The OP didn't attach the wifi-iface to a network.
if the MAC address is still zero try an option macaddr using the factory MAC from the nameplate sticker.

config wifi-iface
    option network lan
    option macaddr '00:11:22:33:44:55'
    ...

(Last edited by mk24 on 30 Apr 2017, 13:17)

Thank you, I did, and after inserting mac address in /etc/config/wireless in the "iface" section it's working.

I still don't understand why mac address is empty in macaddress file.

(Last edited by Memphis007 on 1 May 2017, 09:11)

The discussion might have continued from here.