Hi Savoy,

I got a similar error before. but that has to do with file
permissions. This time its different. File has all the required
permissions.

In supplicant i have mentioned the control interface as /data/misc/
wifi/. And wpa_supplicant creates a socket file eth0 there which has
all the required permissions. This i guess is the local socket. Sorry,
I didn't get what you meant by remote socket.. In hardware/libhardware/
wifi.c i have mentioned the interface dir as /data/misc/wifi/ so that
the app should communicate with supplicant. I have done this few
months ago and i had GUI working with this. But now when i do the same
thing, i get this error.


Thanks,

JJ.

On Feb 5, 7:46 pm, pavan savoy <[email protected]> wrote:
> Humn, Didn't you get the same error earlier ....
>
> Is the local unix domain sockets being created. Last time I checked on Wifi,
> it checks for a path called /data/misc/wifi/sockets directory to create
> local sockets & the below mentioned path to the remote socket.
>
> look in wpa_ctrl_open function, or _unix.c inside wpa_supplicant library.
>
> regards,
> Pavan
>
> On Thu, Feb 5, 2009 at 4:05 PM, >> Jith911 <[email protected]> wrote:
>
> > I am getting the following error
>
> > D/WifiHW  (   63): Unable to open connection to supplicant on "/data/
> > misc/wifi/e
> > th0": No such file or directory : 2
> > "
>
> > But the socket exists at the above said location. And i have given all
> > permissions for that. Also i checked the path in /hardware/libhardware/
> > wifi/wifi.c . Both are matching. Still I am getting the error. Also
> > the interface name is also correct.
>
> > Any idea??
>
> > Thanks,
>
> > JJ.
>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to