[Avila] wpa_supplicant
Joel Lindsay
joel at waveteq.com
Tue Dec 12 19:13:19 EST 2006
Hong,
As far as I remember you will need the following.
entry in /modules/config.in to point to new module
You need a config.in the modules/"name" directory that looks somwthing like
this:
#############################################################################
mainmenu_option next_comment
comment 'Atheros Module'
dep_bool ' Atheros 802.11(a/b/g) PCI/Cardbus support' CONFIG_ATHEROS
if [ "$CONFIG_ATHEROS" = "y" ]; then
define_bool CONFIG_NET80211 y
choice ' Atheros: Rate Control Algorithm' \
"Sample CONFIG_ATHEROS_RATE_SAMPLE \
Onoe CONFIG_ATHEROS_RATE_ONOE \
AMRR CONFIG_ATHEROS_RATE_AMRR" Sample
fi
endmenu
#############################################################################
I don't know if you need anything else.
Joel Lindsay, B.Eng
Project Engineer
Waveteq Communications
(250) 766-9229
----- Original Message -----
From: "hong zhang" <henryzhang at arrowspan.com>
To: "Avila" <avila at lists.unixstudios.net>
Sent: Tuesday, December 12, 2006 3:36 PM
Subject: Re: [Avila] wpa_supplicant
Subject: [Avila] > Joel,
>
> I added my cumtom module to snapgear drivers/net/wireless and modified
> Makefiles. But my module is not built. Do you know what should I modify
> except Makefiles?
>
> Thanks.
>
> ---henry
>
> Joel Lindsay <joel at waveteq.com> wrote: Hong,
>
> On question 1, yes, just make sure the entry in config.in corresponds to
> the
> entry in the users directory Makefile.
>
> I had many problems putting any more atheros stuff into the kernel. I
> ended
> up ripping the madwifi from the kernel and adding a new version under the
> modules directory. It took a little bit of massaging, but I did get it
> done.
>
> Joel Lindsay, B.Eng
> Project Engineer
> Waveteq Communications
> (250) 766-9229
> ----- Original Message -----
> From: "hong zhang"
> To: "Avila"
> Sent: Monday, December 11, 2006 11:57 AM
> Subject: Re: [Avila] wpa_supplicant
>
>
>> Joel,
>>
>> Thanks for information. I have two more questions.
>>
>> 1. May I simply add "bool 'wpa_supplicant'
>> CONFIG_USER_WPA_SUPPLICANT" in config.in?
>> Is it enough?
>>
>> 2. I have some custom modules working with atheros drivers which locate
>> in drivers/net/wireless. If I want to put my own modules in the
>> driver/net/wirelss subdirectory, what should I modifiy?
>>
>> Thanks for great help!
>>
>> ---henry
>>
>> Joel Lindsay wrote:
>> Henry,
>>
>> Just download wpa supplicant for yourself and follow the instructions for
>> adding a new package that you can get from the uClinux mailing list.
>> Basically it involves:
>>
>> Putting package in user directory
>> Modifying the user/Makefile to add package
>> Modifying the config/config.in to add variable flag for compiling
>> Modifying the config/config.help to add help test
>> Modifying the wpa_supplicant Makefile to include a romfs target.
>>
>> I think you can get away with only adding the following to the
>> wpa_supplicant/Makefile
>>
>> romfs:
>> mkdir -p $(ROMFSINST)/usr/local/sbin/
>> $(ROMFSINST) -e CONFIG_USER_WPA_SUPPLICANT
>> /usr/sbin/wpa_supplicant
>> $(ROMFSINST) -e CONFIG_USER_WPA_SUPPLICANT
>> /usr/sbin/wpa_passphrase
>>
>> Hope that helps.
>>
>> Joel Lindsay, B.Eng
>> Project Engineer
>> Waveteq Communications
>> (250) 766-9229
>> ----- Original Message -----
>> From: "hong zhang"
>> To: "Avila"
>> Sent: Friday, December 01, 2006 4:18 PM
>> Subject: [Avila] wpa_supplicant
>>
>>
>>> Dear folks,
>>>
>>> When will snapgear contain wpa_supplicant tool?
>>> I need it to configure my GW2348 board.
>>>
>>> Please let me know!
>>> Thanks!!!
>>>
>>> ---henry
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
>> For additional commands, e-mail: avila-help at lists.unixstudios.net
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
> For additional commands, e-mail: avila-help at lists.unixstudios.net
>
>
>
More information about the Avila
mailing list