problem while enabling Wi-Fi for android OS

324 views
Skip to first unread message

Ask

unread,
Jan 4, 2010, 6:46:10 AM1/4/10
to Beagle Board
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

Ask

unread,
Jan 6, 2010, 12:53:04 AM1/6/10
to Beagle Board
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

Ahmed Ammar

unread,
Jan 6, 2010, 4:19:53 AM1/6/10
to beagl...@googlegroups.com
On Tue, 2010-01-05 at 21:53 -0800, Ask wrote:
> 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 my experience with the rt drivers you still need to add a firmware
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.

Ask

unread,
Jan 6, 2010, 6:19:50 AM1/6/10
to Beagle Board
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

Paul Menzel

unread,
Jan 6, 2010, 6:38:41 AM1/6/10
to beagl...@googlegroups.com
[Please do not top post.]


Am Mittwoch, den 06.01.2010, 03:19 -0800 schrieb Ask:
> 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..

Does the adapter work on a different system?


Thanks,

Paul

signature.asc

Ask

unread,
Jan 6, 2010, 7:28:12 AM1/6/10
to Beagle Board
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

>  signature.asc
> < 1KViewDownload

Ask

unread,
Jan 6, 2010, 7:40:11 AM1/6/10
to Beagle Board
tried to give udhcpc but gives following error,

# udhcpc wlan0
udhcpc: SIOCGIFINDEX: No such device

Frans Meulenbroeks

unread,
Jan 6, 2010, 7:47:25 AM1/6/10
to beagl...@googlegroups.com
2010/1/6 Ask <asif...@gmail.com>:

> 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


>
> Thanks,
> Asif
>
> On Jan 6, 4:38 pm, Paul Menzel <pm.deb...@googlemail.com> wrote:
>> [Please do not top post.]
>>
>> Am Mittwoch, den 06.01.2010, 03:19 -0800 schrieb Ask:
>>
>> > 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..
>>
>> Does the adapter work on a different system?
>>
>> Thanks,
>>
>> Paul
>>
>>  signature.asc
>> < 1KViewDownload
>

> --
> You received this message because you are subscribed to the Google Groups "Beagle Board" group.
> To post to this group, send email to beagl...@googlegroups.com.
> To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.
>
>
>
>

Paul Menzel

unread,
Jan 6, 2010, 4:34:17 PM1/6/10
to beagl...@googlegroups.com
Am Mittwoch, den 06.01.2010, 04:28 -0800 schrieb Ask:
> Yes it is working on different system..

Just for clarity. Did this system run Android?


Thanks,

Paul

signature.asc

Ask

unread,
Jan 7, 2010, 12:51:44 AM1/7/10
to Beagle Board

> Just for clarity. Did this system run Android?

No it is local desktop (windows XP)

sanju More

unread,
Jan 7, 2010, 12:56:15 AM1/7/10
to beagl...@googlegroups.com
Hi,

Is Angstrom support Java? What is the Java Version?

Regards,
Sanjeev

Ask

unread,
Jan 7, 2010, 1:13:41 AM1/7/10
to Beagle Board

> 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

Paul Menzel

unread,
Jan 7, 2010, 4:22:17 AM1/7/10
to beagl...@googlegroups.com
Am Mittwoch, den 06.01.2010, 21:51 -0800 schrieb Ask:
> > Just for clarity. Did this system run Android?
>
> No it is local desktop (windows XP)

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.

signature.asc

Ask

unread,
Jan 7, 2010, 6:17:25 AM1/7/10
to Beagle Board
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

>  signature.asc
> < 1KViewDownload

ecdl.edv...@gmail.com

unread,
Apr 26, 2016, 6:02:52 PM4/26/16
to BeagleBoard
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.

Keith Conger

unread,
Apr 27, 2016, 11:02:20 AM4/27/16
to BeagleBoard, ecdl.edv...@gmail.com
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
Reply all
Reply to author
Forward
0 new messages