pavan,
 I saw you r posts and followed the steps. After that only I got
wpa_supplicant and dhcpcd got working. It was vrey helpfull.
My development kit does not have keypad. So I plan to place preconfigured
wpa_supplicant.conf in /sdcard and make entry into init.rc with
wpa_supplicant and dhcpcd service.

With these Wifi setting is enabling adn wpa_supplicant is also starting.
later systen is going to scanning mode which I do not want. instead it
should shoot up dodhcprequest (). My wifi interface is eth1 and it is not
getting created in "/data/system/wpa_supplicant".

As suggested by andrew, I wil try with settig wifi.interface property with
eth1.
BR,
-vinay

On Wed, Jan 28, 2009 at 9:19 AM, pavan savoy <[email protected]> wrote:

> Hi,
>
> Please look into the earlier posts, like Wifi and wpa_supplicant, I faced
> all these set of issues & its been discussed there.
>
> You need to create a few directories, change the path in few places, add
> few services like dhcpcd & all to get it working all together.
>
> regards,
> Pavan
>
>
> On Tue, Jan 27, 2009 at 7:59 PM, AndyM <[email protected]> wrote:
>
>>
>> Vinay,
>>
>> In wifi.c check your wifi_connect_to_supplicant function. There is a
>> line that looks like this:
>>
>>  property_get("wifi.interface", iface, "sta");
>>
>> Change "sta" to the interface you use. (ex: wlan0 or tiwlan0, you can
>> find out with netcfg). Or better yet use setprop to set a value for
>> "wifi.interface".
>>
>> As for making the directory, you will probably need to make the /data/
>> system/wpa_supplicant directories.
>>
>>
>> You have a few other questions, I can't answer them though because I'm
>> not sure I'm there yet :P
>>
>>
>>
>>
>>
>>
>> On Jan 27, 5:05 am, vinay <[email protected]> wrote:
>> > hi,
>> > Custom wifi driver is configured and installed.  hardware/wifi.c is
>> > modified little bit for proper path for configration and driver .ko
>> > files. From the GUI when wifi is enabled below error is coming
>> > continously,
>> > D/WifiHW  ( 1560): Unable to open connection to supplicant on "/data/
>> > system/wpa_supplicant/sta": No such file or directory
>> >  who is supposed to create directory and interface sta inetrface?? my
>> > system inetrface is eth1
>> > and
>> >
>> > how to cancel wifi netowrk scanning?
>> >
>> > I am going to provide pre-configured wpa_suuplicant.conf and system
>> > should force statetracker with event EVENT_DHCP_START. how to acheive
>> > this?
>> >
>> > -vinay
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to