problem while enabling Wi-Fi for android OS

Hi all,

   I want to enable wifi on BB using DLink DWA-110 USB adaper. To
detect this adpter on the board I had loaded rt73 driver in android
kernel and rebuilt the kernel.

  Thus, this USB adpater got detected and netcfg shows the
configuration wlan0.

Now I had used command iwconfig wlan0 essid "ready" to connect to the
AP ready.

But after that iwconfig gives following output,

# iwconfig
wlan0
Warning: Driver for device wlan0 has been compiled with version
22
of Wireless Extension, while this program is using version
16.
Some things may be
broken...

wlan0 IEEE 802.11bg
ESSID:"ready"
          Mode:Managed Frequency:2.412GHz Access Point:
00:00:00:00:00:00
          Tx-Power=0
dBm
          Retry min limit:7 RTS thr:off Fragment thr=2352
B
          Encryption
key:off
          Power Management:off

Here BB is getting the MAC address of AP, and thus not connected...

Can anyone please tell me where I am going wrong??

Thanks,
Asif

I had selected the rt2500,rt2570,rt73 drivers from "make menuconfig"
and rebuilt the kernel. By then, when booted on the board, board
detects the adpapter with wlan0 interface.

  But when I tried to "up" the WiFI using command " ifconfig wlan0
up", it gives following error,

# ifconfig wlan0
up
rt73usb 1-2:1.0: firmware: requesting
rt73.bin
init: untracked pid 859
exited
phy0 -> rt2x00lib_request_firmware: Error - Failed to request
Firmware.
error: SIOCSIFFLAGS (No such file or directory)

From google arround, I found that it is related to permission problem
but could not found the solution. Can anyone please tell the issue. I
will be really grateful.

Waiting for reply..
Asif

blob to /lib/firmware. I haven't used them in a while so I can't give
more details but search on google for it.

A.

I downloaded the rt73.bin file from net and kept under FS : /system/
lib/firmware/rt73.bin

and then given the command "ifconfig wlan0 up"...but no success, same
error..

rt73usb 1-2:1.0: firmware: requesting
rt73.bin
init: untracked pid 862
exited
phy0 -> rt2x00lib_request_firmware: Error - Failed to request
Firmware.
error: SIOCSIFFLAGS (No such file or directory)

Please help..
Asif

[Please do not top post.]

Yes it is working on different system..

I kept rt73.bin in /etc/firware dir and it got detected and netcfg is
showing wlan0 "up" now.

then, iwconfig wlan0 essid "ready" also worked and got MAC address of
AP.

But problem occurs when I tried to get IP from DHCP using dhcpcd
command,

following error arises,

# dhcpcd -d wlan0
wlan0: open `/data/misc/dhcp/dhcpcd-wlan0.pid': No such file or
directory

Thanks,
Asif

tried to give udhcpc but gives following error,

# udhcpc wlan0
udhcpc: SIOCGIFINDEX: No such device

Yes it is working on different system..

I kept rt73.bin in /etc/firware dir and it got detected and netcfg is
showing wlan0 "up" now.

location is important. different systems have different locations on
where to store their firmware

then, iwconfig wlan0 essid "ready" also worked and got MAC address of
AP.

But problem occurs when I tried to get IP from DHCP using dhcpcd
command,

following error arises,

# dhcpcd -d wlan0
wlan0: open `/data/misc/dhcp/dhcpcd-wlan0.pid': No such file or
directory

Obviously this error is given because this file/dir does not exist.
Either create it or tell dhcpd to put its pid file elsewhere

Frans

Just for clarity. Did this system run Android?

Thanks,

Paul

Just for clarity. Did this system run Android?

No it is local desktop (windows XP)

Hi,

Is Angstrom support Java? What is the Java Version?

Regards,
Sanjeev
|

Is Angstrom support Java? What is the Java Version?

Please create a separate post for the topics that are not at all
relavant....

Frans :

Obviously this error is given because this file/dir does not exist.
Either create it or tell dhcpd to put its pid file elsewhere

can u please elaborate on how to use dhcpd for pid??

Thanks,
Asif

Maybe you should try it with a GNU/Linux mainstream distribution first.

If it works there, I would guess it is an Android problem and more
people could help you, if you ask this on an Android list.

Sorry, to not be able to help you further.

I tried with connectig the ssid "Simple", which is not connected to
dhcp server.

Si I had assigned a static ip using ifconfig and works fine...

When I had assigned the static ip to "wmaster" interface, then after
it is not connecting again.....

I had restarted the board.. but not success..

Thanks,
Asif

Hi,

I am trying to do the same Thing so that i can use my car multimedia with wifi or wlan. but I couldn´t succeed.
If you do succeed, could you send me the file for the tablet.

thanks very much.

Hi All,

I have a modified version of Andrew’s bbbandroid with support for Wifi, Bluetooth, Serial GPS along with some other changes. Its available at http://development.thecongers.org/home/bbbandroid-bluez

You may need to adjust the kernel modules loaded and if needed add firmware to the build.

Keith