Search Linux Wireless

Re: Setting up an AP @ 5 GHz 802.11a - hostapd refuses [Could not select hw_mode and channel. (-1)]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alfonso Fiore schrieb:
> On Tue, Feb 7, 2012 at 11:15 PM, Pavel Roskin <proski@xxxxxxx> wrote:
>>
>> On Tue, 7 Feb 2012 09:20:53 +0100
>> Alfonso Fiore <alfonso.fiore@xxxxxxxxx> wrote:
>>
>>> I also found out about ath_info
>>> http://madwifi-project.org/wiki/UserDocs/AthInfo and I rewrote my
>>> regdomain:
>>> ./ath_info -v -g 4:0 -w 0xeffd0000 regdomain 0x68
>>
>> That may be dangerous.  Not all cards work with ath_info, and some can
>> be broken by it permanently.  It's much safer to adjust
>> ath_regd_sanitize() in drivers/net/wireless/ath/regd.c.
> 
> Hi Pavel and thank you,
> 
> I tried for days and finally I realized that when I do "make install"
> still my box does not run my new code.
> The only way I managed to use 5 GHz channels was setting my regdomain
> to 0x00 with ath_info.
> 
> I really would like to know why my debian based box does not run my
> modified compat-wireless code after "make install".

I always have to issue a "depmod -a" after make install. You can check
if the new modules are used afterwards with
"modinfo modname[without .ko]" and check the given path. It should
contain "updates".
Sometimes, it is necessary for me to insert a "depmod -a" even before
make install, because of missing files, which are needed by the
installation and which are created by depmod -a.


Kind regards,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux