I have a 32-bit openSUSE 11.4 (2.6.37.6-0.5-default) installation with a
WNBA3100v2 wireless USB card and a 100Base-TX NIC running on a Dell 4700c:
BCM4401-B0 100Base-TX (Not connected)
MAC : YY:YY:YY:YY:YY:YY
BusID : 0000:04:07.0
Device Name: eth0
Started automatically at boot
Remote Download Wireless Adapter
MAC : XX:XX:XX:XX:XX:XX
BusID : 1-7:1.0
Device Name: wlan0
Started automatically at boot
IP address assigned using DHCP
Regardless of whether eth0 is plugged-in or not, wlan0 does not automatically
start at boot. I have tried using ifup and network managers for KDE, Gnome, and Plasmoid,
which appear to behave the same, i.e., wlan0 does not start on boot. The firmware I have tried (/lib/firmware):
ar9170-1.fw
ar9170-2.fw
ar9170.fw
carl9170-1.fw
with the NetGear W32 driver loaded via ndiswrapper. I don’t see much awry in /var/log/message in boot, but once I do:
iwlist wlan0 scan
I see this:
Jul 24 12:55:34 linux-dpot kernel: 200.626385] Disabling lock debugging due to kernel taint
Jul 24 12:55:34 linux-dpot kernel: 200.635770] ndiswrapper version 1.56 loaded (smp=yes, preempt=no)
Jul 24 12:55:34 linux-dpot kernel: 200.776025] usb 1-7: reset high speed USB device using ehci_hcd and address 4
Jul 24 12:55:34 linux-dpot kernel: 200.945110] ndiswrapper (import:233): unknown symbol: ntoskrnl.exe:'IoUnregisterPlugPlayNotification'
Jul 24 12:55:34 linux-dpot kernel: 200.945518] ndiswrapper: driver bcmwlhigh5 (Netgear,11/05/2009, 5.60.180.11) loaded
Jul 24 12:55:35 linux-dpot kernel: 201.584043] ------------ cut here ]------------
Jul 24 12:55:35 linux-dpot kernel: 201.584069] WARNING: at /usr/src/linux-2.6.37.1-1.2/include/linux/netdevice.h:1557 set_media_state+0x133/0x150 [ndiswrapper]()
Jul 24 12:55:35 linux-dpot kernel: 201.584073] Hardware name: Dimension 4700c
Jul 24 12:55:35 linux-dpot kernel: 201.584076] Modules linked in: ndiswrapper(+) fuse ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit mperf snd_pcm_oss snd_mixer_oss snd_seq edd ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables dm_mod hdj_mod snd_rawmidi snd_seq_device b44 ssb mmc_core snd_intel8x0m snd_intel8x0 pcmcia snd_ac97_codec sr_mod usbhid ac97_bus sg snd_pcm hid iTCO_wdt iTCO_vendor_support i2c_i801 pcspkr snd_timer serio_raw shpchp pcmcia_core cdrom dcdbas snd pci_hotplug soundcore snd_page_alloc preloadtrace ext4 jbd2 crc16 uhci_hcd ehci_hcd i915 drm_kms_helper drm i2c_algo_bit rtc_cmos i2c_core video rtc_core rtc_lib output button usbcore fan processor thermal thermal_sys hwmon ata_generic ata_piix ahci libahci libata [last unloaded: speedstep_lib]
Jul 24 12:55:35 linux-dpot kernel: 201.584165] Pid: 69, comm: kworker/u:2 Tainted: P 2.6.37.6-0.5-default #1
Jul 24 12:55:35 linux-dpot kernel: 201.584169] Call Trace:
Jul 24 12:55:35 linux-dpot kernel: 201.584186] <c02060e3>] try_stack_unwind+0x173/0x190
Jul 24 12:55:35 linux-dpot kernel: 201.584195] <c0204e8f>] dump_trace+0x3f/0xe0
Jul 24 12:55:35 linux-dpot kernel: 201.584201] <c020614b>] show_trace_log_lvl+0x4b/0x60
Jul 24 12:55:35 linux-dpot kernel: 201.584207] <c0206178>] show_trace+0x18/0x20
Jul 24 12:55:35 linux-dpot kernel: 201.584215] <c05fa06f>] dump_stack+0x6d/0x72
Jul 24 12:55:35 linux-dpot kernel: 201.584223] <c0243a38>] warn_slowpath_common+0x78/0xb0
Jul 24 12:55:35 linux-dpot kernel: 201.584230] <c0243a8b>] warn_slowpath_null+0x1b/0x20
Jul 24 12:55:35 linux-dpot kernel: 201.584248] <f8268173>] set_media_state+0x133/0x150 [ndiswrapper]
Jul 24 12:55:35 linux-dpot kernel: 201.584365] <f82582bc>] NdisMIndicateStatus+0x13c/0x2e0 [ndiswrapper]
Jul 24 12:55:35 linux-dpot kernel: 201.584409] <f82d44db>] 0xf82d44db
Jul 24 12:55:35 linux-dpot kernel: 201.584419] DWARF2 unwinder stuck at 0xf82d44db
Jul 24 12:55:35 linux-dpot kernel: 201.584421]
Jul 24 12:55:35 linux-dpot kernel: 201.584422] Leftover inexact backtrace:
Jul 24 12:55:35 linux-dpot kernel: 201.584424]
Jul 24 12:55:35 linux-dpot kernel: 201.584455] <f8251a80>] ? KfReleaseSpinLock+0x0/0x40 [ndiswrapper]
Jul 24 12:55:35 linux-dpot kernel: 201.584479] <f8256fb5>] ? ndis_worker+0x35/0x70 [ndiswrapper]
Jul 24 12:55:35 linux-dpot kernel: 201.584484] <c025c2f3>] ? process_one_work+0xf3/0x350
Jul 24 12:55:35 linux-dpot kernel: 201.584490] <c025b45c>] ? maybe_create_worker+0xbc/0xd0
Jul 24 12:55:35 linux-dpot kernel: 201.584506] <f8256f80>] ? ndis_worker+0x0/0x70 [ndiswrapper]
Jul 24 12:55:35 linux-dpot kernel: 201.584511] <c025c85c>] ? worker_thread+0x12c/0x2c0
Jul 24 12:55:35 linux-dpot kernel: 201.584515] <c025c730>] ? worker_thread+0x0/0x2c0
Jul 24 12:55:35 linux-dpot kernel: 201.584519] <c025ff74>] ? kthread+0x74/0x80
Jul 24 12:55:35 linux-dpot kernel: 201.584523] <c025ff00>] ? kthread+0x0/0x80
Jul 24 12:55:35 linux-dpot kernel: 201.584527] <c0203526>] ? kernel_thread_helper+0x6/0x10
Jul 24 12:55:35 linux-dpot kernel: 201.584530] --- end trace 2790b2e3eb03d5bf ]---
Jul 24 12:55:35 linux-dpot kernel: 201.584533] netif_stop_queue() cannot be called before register_netdev()
Jul 24 12:55:35 linux-dpot kernel: 201.587689] wlan0: ethernet device c4:3d:c7:cf:61:8c using NDIS driver: bcmwlhigh5, version: 0x53cb40b, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 0846:9011.F.conf
Jul 24 12:55:35 linux-dpot kernel: 201.593633] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
Jul 24 12:55:35 linux-dpot kernel: 201.594672] usbcore: registered new interface driver ndiswrapper
Jul 24 12:55:35 linux-dpot kernel: 201.595413] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Use CAP_NET_ADMIN and alias netdev-wlan0 instead
Jul 24 12:55:35 linux-dpot ifup: wlan0 name: Remote Download Wireless Adapter
Jul 24 12:55:35 linux-dpot ifup-wireless: wlan0 starting wpa_supplicant
Jul 24 12:55:35 linux-dpot kernel: 201.949801] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jul 24 12:55:36 linux-dpot kernel: 202.043643] NET: Registered protocol family 17
Jul 24 12:55:37 linux-dpot ifup-dhcp: Starting DHCP4+DHCP6 client on wlan0
Jul 24 12:55:37 linux-dpot dhcpcd[3361]: wlan0: dhcpcd 3.2.3 starting
Jul 24 12:55:37 linux-dpot dhcpcd[3361]: wlan0: hardware address = c4:3d:c7:cf:61:8c
Jul 24 12:55:37 linux-dpot dhcpcd[3361]: wlan0: broadcasting for a lease
Jul 24 12:55:37 linux-dpot ifup-dhcp: .
Jul 24 12:55:38 linux-dpot dhclient: Bound to *:546
Jul 24 12:55:39 linux-dpot dhclient: XMT: Solicit on wlan0, interval 1070ms.
Jul 24 12:55:39 linux-dpot dhclient: send_packet6: Network is unreachable
Jul 24 12:55:39 linux-dpot dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 24 12:55:40 linux-dpot dhclient: XMT: Solicit on wlan0, interval 2240ms.
Jul 24 12:55:40 linux-dpot dhclient: send_packet6: Network is unreachable
Jul 24 12:55:40 linux-dpot dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 24 12:55:40 linux-dpot ifup-dhcp: .
Jul 24 12:55:41 linux-dpot kernel: 207.156338] ndiswrapper (iw_set_auth:1602): invalid cmd 12
Jul 24 12:55:41 linux-dpot kernel: 207.763370] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Jul 24 12:55:42 linux-dpot dhclient: XMT: Solicit on wlan0, interval 4340ms.
Jul 24 12:55:42 linux-dpot dhclient: send_packet6: Cannot assign requested address
Jul 24 12:55:42 linux-dpot dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 24 12:55:43 linux-dpot avahi-daemon[1575]: Registering new address record for fe80::c63d:c7ff:fecf:618c on wlan0.*.
Jul 24 12:55:43 linux-dpot ifup-dhcp: .
Jul 24 12:55:46 linux-dpot ifup-dhcp: .
Jul 24 12:55:46 linux-dpot dhclient: XMT: Solicit on wlan0, interval 8710ms.
Jul 24 12:55:49 linux-dpot ifup-dhcp: .
Jul 24 12:55:52 linux-dpot kernel: 218.312009] wlan0: no IPv6 routers present
Jul 24 12:55:52 linux-dpot ifup-dhcp: .
Jul 24 12:55:55 linux-dpot dhclient: XMT: Solicit on wlan0, interval 17660ms.
Jul 24 12:55:55 linux-dpot ifup-dhcp: .
Jul 24 12:55:57 linux-dpot dhcpcd[3361]: wlan0: timed out
Jul 24 12:55:57 linux-dpot dhcpcd[3361]: wlan0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-wlan0.info'
Jul 24 12:55:57 linux-dpot dhcpcd[3361]: wlan0: adding IP address 192.168.1.6/24
Jul 24 12:55:57 linux-dpot dhcpcd[3361]: wlan0: adding default route via 192.168.1.1 metric 0
Jul 24 12:55:57 linux-dpot avahi-daemon[1575]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.6.
Jul 24 12:55:57 linux-dpot avahi-daemon[1575]: New relevant interface wlan0.IPv4 for mDNS.
Jul 24 12:55:57 linux-dpot avahi-daemon[1575]: Registering new address record for 192.168.1.6 on wlan0.IPv4.
Jul 24 12:55:57 linux-dpot ifdown: wlan0 name: Remote Download Wireless Adapter
Jul 24 12:55:58 linux-dpot dhcpcd[3361]: wlan0: Failed to lookup hostname via DNS: Name or service not known
Jul 24 12:55:58 linux-dpot ifup: wlan0 name: Remote Download Wireless Adapter
Jul 24 12:55:58 linux-dpot SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
Jul 24 12:55:58 linux-dpot SuSEfirewall2: using default zone 'ext' for interface eth0
Jul 24 12:55:59 linux-dpot SuSEfirewall2: Firewall rules successfully set
Jul 24 12:55:59 linux-dpot dhcpcd[3361]: wlan0: exiting
Jul 24 12:55:59 linux-dpot ifup-dhcp: .
Jul 24 12:56:00 linux-dpot ifup-dhcp:
Jul 24 12:56:00 linux-dpot ifup-dhcp: wlan0 DHCP4 continues in background
Jul 24 12:56:00 linux-dpot ifup-dhcp: wlan0 DHCP6 continues in background
…and then things seem to work. I’m puzzled. Any ideas on how to get wlan0 to actually start “automatically at boot”?