All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Hartmann <andihartmann@01019freenet.de>
To: Alfonso Fiore <alfonso.fiore@gmail.com>
Cc: Pavel Roskin <proski@gnu.org>, linux-wireless@vger.kernel.org
Subject: Re: Setting up an AP @ 5 GHz 802.11a - hostapd refuses [Could not select hw_mode and channel. (-1)]
Date: Fri, 10 Feb 2012 07:54:52 +0100	[thread overview]
Message-ID: <4F34BF3C.9030809@01019freenet.de> (raw)
In-Reply-To: <CAO=xpBGRs_kYtt_w6aG2dFjO4Pgd9MrjPwn7YfuLe7bw3mGiPg@mail.gmail.com>

Alfonso Fiore schrieb:
> On Tue, Feb 7, 2012 at 11:15 PM, Pavel Roskin <proski@gnu.org> wrote:
>>
>> On Tue, 7 Feb 2012 09:20:53 +0100
>> Alfonso Fiore <alfonso.fiore@gmail.com> 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

  reply	other threads:[~2012-02-10  6:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-03 18:46 Setting up an AP @ 5 GHz 802.11a - hostapd refuses [Could not select hw_mode and channel. (-1)] Alfonso Fiore
2012-02-07  8:20 ` Alfonso Fiore
2012-02-07 22:15   ` Pavel Roskin
2012-02-09 23:06     ` Alfonso Fiore
2012-02-10  6:54       ` Andreas Hartmann [this message]
2012-02-10 17:47         ` Alfonso Fiore
2012-02-10 21:15           ` Andreas Hartmann
2012-02-11  1:26             ` Alfonso Fiore
2012-02-11 11:59               ` Andreas Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F34BF3C.9030809@01019freenet.de \
    --to=andihartmann@01019freenet.de \
    --cc=alfonso.fiore@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=proski@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.