Forums

Resolved
0 votes
App-Wireless has been working great for months. utilizing a belkin USB wireless and zd1211 firmware. on the 5th of august my kernel was upgraded from
2.6.32-504.23.4.v6.x86_64 to 2.6.32-573.1.1.v6.x86_64. after the upgrade wireless cannot be activated.

 ifup wlan0
Error: Connection activation failed: The connection is not for this device.



wireless will scan networks and appears to be loading in kernel correctly.. I guess my next step would be attempting to boot to previous kernel and check...

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 002 Device 002: ID 050d:705c Belkin Components F5D7050 Wireless G Adapter v4000 [Zydas ZD1211B]


service hostapd start
Starting hostapd: /etc/hostapd/hostapd.confConfiguration file: /etc/hostapd/hostapd.conf
nl80211: Could not add multicast membership for scan events: -2 (No such file or directory)
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
[FAILED]



My SYSTEM:

Version ClearOS Community release 6.6.0 (Final)
Kernel Version 2.6.32-573.1.1.v6.x86_64
System Time Mon Sep 7 16:47:39 EDT 2015
CPU Model AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
Memory Size 3.49 GB
Uptime 0 Days 1.9 Hours
Load 0.23 0.23 0.19
Monday, September 07 2015, 08:44 PM
Share this post:
Responses (17)
  • Accepted Answer

    Wednesday, February 24 2016, 09:16 AM - #Permalink
    Resolved
    0 votes
    @Dave,
    There is nothing yet in clearos-updates-testing that I can see.

    BTW, is a kernel update in clearos-centos-updates safe to install? It appears to be an el6 kernel so I'm not sure.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 24 2016, 06:19 AM - #Permalink
    Resolved
    1 votes
    Here is the answer :
    Hi, I have seen the same problem with my wifi card RT2790.
    It's not a problem of wifi card but a bug between this kernel and hostapd.
    It's corrected on the kernel 2.6.32-593 but I don't find this kernel for teh clearod/centos 6.7
    So I have installed the kernel-lt 3.10.96 for elrepo and youpi it works.
    You can see all the process (in french sorry) here :https://www.prestaopen.com/informatique-prestaopen/clearos-correction-maj.html
    Regards
    Gilbert
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 24 2016, 06:16 AM - #Permalink
    Resolved
    0 votes
    Hi
    did you read the post I said?
    I have repaired the web site.
    You can put a version 3 kernel on your clearos installation :
    https://www.clearos.com/clearfoundation/social/community/wireless-ap-broken-after-update
    regards
    Gilbert
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 23 2016, 08:50 PM - #Permalink
    Resolved
    0 votes
    The kernel from upstream with the wireless fixes is in the updates-testing repo and will go out to the community on next Tuesday unless there are any issues. I will be testing this against ClearBOX and other devices I have but would sure love some feedback before this goes to the community. In particular, does it resolve the wireless issues reported in this thread with hostapd?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 19 2016, 03:44 PM - #Permalink
    Resolved
    0 votes
    Hi all,

    It looks like upstream resolved the problem with their February 9 kernel update. If you scroll down to second last bullet on the Details section of the update announcement:

    * The kernel was incorrectly assigning multicast groups for the nl80211
    protocol, causing problems with nl80211 wireless drivers. For example,
    preventing hostapd from starting and initializing wireless devices in Access
    Point mode. This update fixes multicast group assignments for nl80211 and allows
    wireless devices to be managed correctly. (BZ#1259870)


    I pushed the update through the build system a couple of days ago, but it failed to build. I'm fairly sure this was because of the work that was done to fix the problem before upstream. When the auto-patch system fails, the issue gets handed off to a developer -- that's where we stand today.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 19 2016, 12:34 PM - #Permalink
    Resolved
    0 votes
    Sorry - no Version 7 running here to look at. A ClearOS Version 7 repository mirror has kernel-3.10.0-327.3.1.el7.x86_64.rpm in "RPMS", but I am not sure if this is the current production version... Good luck with the current problem... I use an D-Link AP.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 19 2016, 12:13 PM - #Permalink
    Resolved
    0 votes
    Tony - thanks for that, that older kernel (from about a year ago) fixes the problem. I still can't add the wireless interface to the LAN bridge, which is strange as the hardware is the same and the network config scripts are backup copies from the original system, but no doubt I'll get that fixed soon. I assume Clearos 7 uses a version 3 kernel so the problem won't persist there?

    Gilbert - thanks for the link but I couldn't open it. :(

    Thanks,
    Andrew
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 19 2016, 06:04 AM - #Permalink
    Resolved
    0 votes
    Hi
    did you read the post I said?
    You can put a version 3 kernel on your clearos installation :
    https://www.clearos.com/clearfoundation/social/community/wireless-ap-broken-after-update
    regards
    Gilbert
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 19 2016, 12:16 AM - #Permalink
    Resolved
    0 votes
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, February 18 2016, 11:02 PM - #Permalink
    Resolved
    0 votes
    I find myself nicely stuffed by just this issue.

    I have had to reinstall Clearos (6.6.0 Final) from CD following a system disk failure. That installs kernel 2.6.32-279, following which I did a general yum upgrade which took me to 2.6.32-573.

    My wireless NIC is an Alfa AWUS036NH, which uses Ralink RT2870/RT3070 chipset, which in turn needs the rt2800usb kernel driver.

    2.6.32-279 doesn't contain rt2800usb, so the wlan0 device cannot be initialised. 2.6.32-573 does contain rt2800usb, but then for the reasons above I can't start hostapd. I don't know what kernel version the system was on previously, but as the Alfa NIC worked fine when I installed it last August I guess I was on a version slightly earlier than 2.6.32-573.

    Does anyone know how I can install an older kernel, ideally the version immediately prior to 2.6.32-573, so I can get the best of both worlds? I don't really fancy having to compile the kernel on the firewall, and will be moving to Clearos 7 a.s.a.p.

    Thanks for any advice,
    Andrew
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, February 04 2016, 05:20 PM - #Permalink
    Resolved
    0 votes
    You can see this post with my answer.
    https://www.clearos.com/clearfoundation/social/community/wireless-ap-broken-after-update
    Regards
    Gilbert Marin
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, September 09 2015, 01:16 PM - #Permalink
    Resolved
    0 votes
    Yeah, I think this bug is transitory. Redhat knows about it and we have a patch to test. I will update this thread with a patch to try as soon as it is available in clearos-test.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 08 2015, 08:14 PM - #Permalink
    Resolved
    0 votes
    This isn't mission critical in my application (it maybe for others) I was just adding a HOT LAN for guests on my home network. I would be afraid of bricking my box (I've never patched my Kernel)

    reminds me of an old linux flash... And patch your kernel. Compile your binaries. Check your version dependencies. Probably do that once or twice... I have more friends now...

    Thanks for the Update

    -J
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 08 2015, 05:08 PM - #Permalink
    Resolved
    0 votes
    You will want to back up the kernel that is working and the initrd file that goes with it. There is a newer kernel coming down the pipe and it will cause the system to remove the previous kernel. Whether this newer kernel addresses your specific issue or not, I cannot say. I know that Redhat has this bug in their bug tracker. I don't believe that they have added it into their main kernel so this will likely bite you harder and make it difficult to roll back once 6.7 is out (which is very, very soon)

    Here is the bug on RHEL:

    https://bugzilla.redhat.com/show_bug.cgi?id=1251726
    https://bugzilla.redhat.com/show_bug.cgi?id=1259870

    The good news is that there is a patch for this:

    https://bugzilla.redhat.com/attachment.cgi?id=1069994

    I'm headed into a meeting and will see if our kernel team can, at the very least, add the patch to a testing kernel for the 6.7 release. If so, then you will be able to use that patch version. But like I said, you will want to have a backup copy of the older kernel and init in case this doesn't work out so well.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 07 2015, 09:45 PM - #Permalink
    Resolved
    0 votes
    Yes, wireless works on previous Kernel .. the ip settings do not allow edits to hostap.conf but service does start with hostap.config that is already there.

    OK... I guess that nails it down.. Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 07 2015, 09:22 PM - #Permalink
    Resolved
    0 votes
    I have heard some anecdotes about certain wireless failing on the new kernel. This problem seems to exist in the Redhat and CentOS world as well.

    The thing to test is the kernel here. Can you load the system with the previous kernel (should still be on the list). If so, does the wireless work with then new packages and the old kernel?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 07 2015, 08:54 PM - #Permalink
    Resolved
    0 votes
    added start of a scan to show wireless is on and working as hardware.. just not able to configure as interface

    iwlist wlan0 scan
    wlan0 Scan completed :
    Cell 01 - Address: 00:1C:DF:EF:97:AF
    Channel:6
    Frequency:2.437 GHz (Channel 6)
    Quality=37/100 Signal level=37/100
    Encryption key:on
    ESSID:"Ratzel"
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
    24 Mb/s; 36 Mb/s; 54 Mb/s
    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
    Mode:Master
    Extra:tsf=00000001eccd680c
    The reply is currently minimized Show
Your Reply