FriendlyARM USB WiFi Kits

mindee
hi, all
FriendlyARM have released a USB WiFi kits for mini2440, with the kits, it's
easy to use USB Wifi module.
here is the download link:
http://arm9download.cncncn.com/download/usb-wifi-kits-for-mini2440-linux...

how to use
==========
be sure your mini2440 linux version is : linux-2.6.32.x 
1. unzip the package at the "/" directory
#tar xvzf usb-wifi-kits-for-mini2440-linux-2.6.32.2-20100728.tar.gz -C /
2. plug the USB WiFi module into mini2440/micro2440
3. scan the avaiable WiFi nearby.
#scan-wifi
4. connect the WiFi
#start-wifi wpa WiFi-Test pass1234
the IP address will be assigned automatically with dhcp. 
5. stop it.
#stop-wifi

support USB WiFi module list:
* TL-WN321G+
* TL-WN322G+
* QCOM LR802UKG

more tpyes will be supported in the future.

midee

andreo
i have an other usb dongle and get this errors:

modprobe: 'net/wireless/cfg80211.ko': invalid parameter
modprobe: 'net/mac80211/mac80211.ko': invalid parameter
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
modprobe: 'drivers/net/wireless/rt2x00/rt2x00lib.ko': unknown symbol in
module or invalid parameter

mindee
just test the following type is avaiable on mini2440:

* TL-WN422G+
* TL-WN721N
* TL-WN722N

Bruno Henrique Viecelli
Hi mindee...
I have tried to connect with some different kinds of USB modules, and with
TL-WN721N I haven't sucess...
When I plug the USB adapter, and I write "scan-wifi" the console returns:

___________________________________________________________________________
[root@FriendlyARM /]# scan-wifi
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
mac80211: module is already loaded
modprobe: 'net/mac80211/mac80211.ko': invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
rt2x00lib: Unknown symbol led_classdev_suspend
rt2x00lib: Unknown symbol led_classdev_unregister
rt2x00lib: Unknown symbol led_classdev_resume
rt2x00lib: Unknown symbol ieee80211_beacon_get_tim
rt2x00lib: Unknown symbol led_classdev_register
modprobe: 'drivers/net/wireless/rt2x00/rt2x00lib.ko': unknown symbol in
module o
r invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
mac80211: module is already loaded
modprobe: 'net/mac80211/mac80211.ko': invalid parameter
rt2x00usb: exports duplicate symbol rt2x00usb_disconnect (owned by kernel)
modprobe: 'drivers/net/wireless/rt2x00/rt2x00usb.ko': invalid module format
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
mac80211: module is already loaded
modprobe: 'net/mac80211/mac80211.ko': invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
rt2x00lib: Unknown symbol led_classdev_suspend
rt2x00lib: Unknown symbol led_classdev_unregister
rt2x00lib: Unknown symbol led_classdev_resume
rt2x00lib: Unknown symbol ieee80211_beacon_get_tim
rt2x00lib: Unknown symbol led_classdev_register
modprobe: 'drivers/net/wireless/rt2x00/rt2x00lib.ko': unrt73usb: module is
alrea
dy loaded
known symbol in module or invalid parameter
modprobe: 'drivers/net/wireless/rt2x00/rt73usb.ko': invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
ath: exports duplicate symbol ath_rxbuf_alloc (owned by kernel)
modprobe: 'drivers/net/wireless/ath/ath.ko': invalid module format
ath9k_hw: Unknown symbol ath_hw_setbssidmask
modprobe: 'drivers/net/wireless/ath/ath9k/ath9k_hw.ko': unknown symbol in
module
 or invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
mac80211: module is already loaded
modprobe: 'net/mac80211/mac80211.ko': invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
ath: exports duplicate symbol ath_rxbuf_alloc (owned by kernel)
modprobe: 'drivers/net/wireless/ath/ath.ko': invalid module format
ath9k_hw: Unknown symbol ath_hw_setbssidmask
modprobe: 'drivers/net/wireless/ath/ath9k/ath9k_hw.ath9k_common: Unknown
symbol
ath9k_hw_keyreset
ath9k_common: Unknown symbol ath9k_hw_set_keycache_entry
ko': unknown symbol in module or invalid parameter
modprobe: 'drivers/net/wireless/ath/ath9k/ath9k_common.ko': unknown symbol
in mo
dule or invalcfg80211: module is already loaded
id parameter
modprobe: 'net/wireless/cfg80211.kath: exports duplicate symbol
ath_rxbuf_alloc
(owned by kernel)
o': invalid parameter
modprobe: 'drivers/net/wireless/ath/ath.ko': invalid module format
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
ath9k_htc: Unknown symbol ath9k_hw_set_txpowerlimit
ath9k_htc: Unknown symbol ath9k_hw_reset_calvalid
ath9k_htc: Unknown symbol ath9k_hw_reset
ath9k_htc: Unknown symbol ath9k_hw_setuptxqueue
ath9k_htc: Unknown symbol ath9k_hw_startpcureceive
ath9k_htc: Unknown symbol ath9k_cmn_key_delete
ath9k_htc: Unknown symbol ath9k_cmn_key_config
ath9k_htc: Unknown symbol ath9k_hw_keyreset
ath9k_htc: Unknown symbol ath9k_hw_setmcastfilter
ath9k_htc: Unknown symbol led_classdev_unregister
ath9k_htc: Unknown symbol ath9k_hw_setpower
ath9k_htc: Unknown symbol __ieee80211_get_radio_led_name
ath9k_htc: Unknown symbol ath9k_hw_phy_disable
ath9k_htc: Unknown symbol ath9k_cmn_padpos
ath9k_htc: Unknown symbol ath_hw_setbssidmask
ath9k_htc: Unknown symbol __ieee80211_get_tx_led_name
ath9k_htc: Unknown symbol ath9k_hw_beaconinit
ath9k_htc: Unknown symbol ath9k_hw_settsf64
ath9k_htc: Unknown symbol ath9k_cmn_count_streams
ath9k_htc: Unknown symbol ath9k_hw_init_global_settings
ath9k_htc: Unknown symbol __ieee80211_get_rx_led_name
ath9k_htc: Unknown symbol ath9k_hw_disable_mib_counters
ath9k_htc: Unknown symbol ath9k_hw_beaconq_setup
ath9k_htc: Unknown symbol ath9k_hw_htc_resetinit
ath9k_htc: Unknown symbol ath9k_hw_write_associd
ath9k_htc: Unknown symbol ath9k_cmn_update_ichannel
ath9k_htc: Unknown symbol ath9k_hw_getrxfilter
ath9k_htc: Unknown symbol ath9k_hw_set_sta_beacon_timers
ath9k_htc: Unknown symbol ath9k_hw_gettsf64
ath9k_htc: Unknown symbol ath9k_hw_resettxqueue
ath9k_htc: Unknown symbol ath9k_hw_disable
ath9k_htc: Unknown symbol ath9k_hw_setopmode
ath9k_htc: Unknown symbol ath9k_hw_cfg_gpio_input
ath9k_htc: Unknown symbol __ieee80211_get_assoc_led_name
ath9k_htc: Unknown symbol ath9k_hw_reset_tsf
ath9k_htc: Unknown symbol ath9k_hw_releasetxqueue
ath9k_htc: Unknown symbol ath9k_hw_get_txq_props
ath9k_htc: Unknown symbol ath9k_hw_setrxfilter
ath9k_htc: Unknown symbol ath9k_cmn_get_curchannel
ath9k_htc: Unknown symbol ath9k_hw_gpio_get
ath9k_htc: Unknown symbol ieee80211_beacon_get_tim
ath9k_htc: Unknown symbol ath9k_hw_getchan_noise
ath9k_htc: Unknown symbol ath9k_cmn_get_hw_crypto_keytype
ath9k_htc: Unknown symbol ath9k_hw_wait
ath9k_htc: Unknown symbol led_classdev_register
ath9k_htc: Unknown symbol ath9k_hw_set_gpio
ath9k_htc: Unknown symbol ath9k_hw_cfg_output
ath9k_htc: Unknown symbol ath9k_hw_deinit
ath9k_htc: Unknown symbol ath9k_hw_init
ath9k_htc: Unknown symbol ath9k_hw_set_txq_props
modprobe: 'drivers/net/wireless/ath/ath9k/ath9k_htc.ko': unknown symbol in
modul
e or invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
mac80211: module is already loaded
modprobe: 'net/mac80211/mac80211.ko': invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
rt2x00lib: Unknown symbol led_classdev_suspend
rt2x00lib: Unknown symbol led_classdev_unregister
rt2x00lib: Unknown symbol led_classdev_resume
rt2x00lib: Unknown symbol ieee80211_beacon_get_tim
rt2x00lib: Unknown symbol led_classdev_register
modprobe: 'drivers/net/wireless/rt2x00/rt2x00lib.ko': unknown symbol in
module o
r invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
mac80211: module is already loaded
modprobe: 'net/mac80211/mac80211.ko': invalid parameter
rt2x00usb: exports duplicate symbol rt2x00usb_disconnect (owned by kernel)
modprobe: 'drivers/net/wireless/rt2x00/rt2x00usb.ko': invalid module format
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
mac80211: module is already loaded
modprobe: 'net/mac80211/mac80211.ko': invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
rt2x00lib: Unknown symbol led_classdev_suspend
rt2x00lib: Unknown symbol led_classdev_unregister
rt2x00lib: Unknown symbol led_classdev_resume
rt2x00lib: Unknown symbol ieee80211_beacon_get_tim
rt2x00lib: Unknown symbol led_classdev_register
modprobe: 'drivers/net/wireless/rt2x00/rt2x00lib.ko': unrt73usb: module is
alrea
dy loaded
known symbol in module or invalid parameter
modprobe: 'drivers/net/wireless/rt2x00/rt73usb.ko': invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
ath: exports duplicate symbol ath_rxbuf_alloc (owned by kernel)
modprobe: 'drivers/net/wireless/ath/ath.ko': invalid module format
ath9k_hw: Unknown symbol ath_hw_setbssidmask
modprobe: 'drivers/net/wireless/ath/ath9k/ath9k_hw.ko': unknown symbol in
module
 or invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
mac80211: module is already loaded
modprobe: 'net/mac80211/mac80211.ko': invalid parameter
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
ath: exports duplicate symbol ath_rxbuf_alloc (owned by kernel)
modprobe: 'drivers/net/wireless/ath/ath.ko': invalid module format
ath9k_hw: Unknown symbol ath_hw_setbssidmask
modprobe: 'drivers/net/wireless/ath/ath9k/ath9k_hw.ko': ath9k_common:
Unknown sy
mbol ath9k_hw_keyreset
ath9k_common: Unknown symbol ath9k_hw_set_keycache_entry
unknown symbol in module or invalid parameter
modprobe: 'drivers/net/wireless/ath/ath9k/ath9k_common.ko': unknown symbol
in mo
dule or invalid pcfg80211: module is already loaded
arameter
modprobe: 'net/wireless/cfg80211.ko': ath: exports duplicate symbol
ath_rxbuf_al
loc (owned by kernel)
invalid parameter
modprobe: 'drivers/net/wireless/ath/ath.ko': invalid module format
cfg80211: module is already loaded
modprobe: 'net/wireless/cfg80211.ko': invalid parameter
ath9k_htc: Unknown symbol ath9k_hw_set_txpowerlimit
ath9k_htc: Unknown symbol ath9k_hw_reset_calvalid
ath9k_htc: Unknown symbol ath9k_hw_reset
ath9k_htc: Unknown symbol ath9k_hw_setuptxqueue
ath9k_htc: Unknown symbol ath9k_hw_startpcureceive
ath9k_htc: Unknown symbol ath9k_cmn_key_delete
ath9k_htc: Unknown symbol ath9k_cmn_key_config
ath9k_htc: Unknown symbol ath9k_hw_keyreset
ath9k_htc: Unknown symbol ath9k_hw_setmcastfilter
ath9k_htc: Unknown symbol led_classdev_unregister
ath9k_htc: Unknown symbol ath9k_hw_setpower
ath9k_htc: Unknown symbol __ieee80211_get_radio_led_name
ath9k_htc: Unknown symbol ath9k_hw_phy_disable
ath9k_htc: Unknown symbol ath9k_cmn_padpos
ath9k_htc: Unknown symbol ath_hw_setbssidmask
ath9k...stripped-down

Bruno Henrique Viecelli
Continues:

ath9k_htc: Unknown symbol __ieee80211_get_tx_led_name
ath9k_htc: Unknown symbol ath9k_hw_beaconinit
ath9k_htc: Unknown symbol ath9k_hw_settsf64
ath9k_htc: Unknown symbol ath9k_cmn_count_streams
ath9k_htc: Unknown symbol ath9k_hw_init_global_settings
ath9k_htc: Unknown symbol __ieee80211_get_rx_led_name
ath9k_htc: Unknown symbol ath9k_hw_disable_mib_counters
ath9k_htc: Unknown symbol ath9k_hw_beaconq_setup
ath9k_htc: Unknown symbol ath9k_hw_htc_resetinit
ath9k_htc: Unknown symbol ath9k_hw_write_associd
ath9k_htc: Unknown symbol ath9k_cmn_update_ichannel
ath9k_htc: Unknown symbol ath9k_hw_getrxfilter
ath9k_htc: Unknown symbol ath9k_hw_set_sta_beacon_timers
ath9k_htc: Unknown symbol ath9k_hw_gettsf64
ath9k_htc: Unknown symbol ath9k_hw_resettxqueue
ath9k_htc: Unknown symbol ath9k_hw_disable
ath9k_htc: Unknown symbol ath9k_hw_setopmode
ath9k_htc: Unknown symbol ath9k_hw_cfg_gpio_input
ath9k_htc: Unknown symbol __ieee80211_get_assoc_led_name
ath9k_htc: Unknown symbol ath9k_hw_reset_tsf
ath9k_htc: Unknown symbol ath9k_hw_releasetxqueue
ath9k_htc: Unknown symbol ath9k_hw_get_txq_props
ath9k_htc: Unknown symbol ath9k_hw_setrxfilter
ath9k_htc: Unknown symbol ath9k_cmn_get_curchannel
ath9k_htc: Unknown symbol ath9k_hw_gpio_get
ath9k_htc: Unknown symbol ieee80211_beacon_get_tim
ath9k_htc: Unknown symbol ath9k_hw_getchan_noise
ath9k_htc: Unknown symbol ath9k_cmn_get_hw_crypto_keytype
ath9k_htc: Unknown symbol ath9k_hw_wait
ath9k_htc: Unknown symbol led_classdev_register
ath9k_htc: Unknown symbol ath9k_hw_set_gpio
ath9k_htc: Unknown symbol ath9k_hw_cfg_output
ath9k_htc: Unknown symbol ath9k_hw_deinit
init
ath9k_htc: Unknown symbol ath9k_hw_set_txq_props
modprobe: 'drivers/net/wireless/ath/ath9k/ath9k_htc.ko': unknown symbol in
modul
e or invalid parameter
ifconfig: SIOCGIFFLAGS: No such device
0 Access Point Found

___________________________________________________________________________

Yes, I Cross-Compiled my own Kernel, the most of USB wifi modules is
enabled...
Any Idea?
Thanks

mindee
To use the USB WiFi Kits, you need the new kernel 

The latest Linux kernel source code:
http://arm9download.cncncn.com/mini2440/linux/linux-2.6.32.2-mini2440-20...
And the binary files:
http://arm9download.cncncn.com/mini2440/mini2440-linux-images-20100729.zip

Please try.

Mindee

Bruno Henrique Viecelli
Mindee
do you have another mirror to the binary files? I'm in Brazil and the
download speed is 4kb/s! :S
Thanks

mindee
Sorry, only this now.

yigitalp
hello,

has anybody successed to use TL-WN721N on mini2440? I'm also trying to
download a kernel but with the kernel on friendlyarm-downloads it doesn't
work. I hope it works with 'Mindee's link. It's downloading with 7kb/sec.

Still no more mirrors?

thanks.

Bruno Henrique Viecelli
yigitalp, 
Use a download manager, like Orbit...
^^

yigitalp
hello,

Thanks Viecelli, i've downloaded with DAP, i refreshed the kernel and
qtopia rootfs but my TL-WN721N still doesn't work. Only, it doesn't give
these long error lines, it only says;

"ifconfig: SIOCGIFFLAGS: No such device
0 Access Point Found"

I guess this driver support doesn't cover TL-WN721N, does it? Anyone made
it work?

unknowN
I've the same problem...

mindee
hi, yigitalp

please try with  a longer usb extension cable, or use TL-WN722N which can
search more WiFi spot.  

I will post a picture later.

unknowN
mindee,

my device's model is VNT6656AU. When i enter with "scan-wifi" only says:

"ifconfig: SIOCGIFFLAGS: No such device
0 Access Point Found"


What can i do now?

Thanks

Bruno Henrique Viecelli
yigitalp:
I have this problem, and isn't solved...
The driver for TL-WN721N isn't OK...
the error: "SIOCGIFFLAGS: No such device" occurs when the device wasn't
acknowledged... the firmware wasn't carregado...

When you plug a device that have a driver, the kernel replies like:
Loading rt73.bin ...

:D

I'll wait for a kernel with the correct driver... Thanks

mindee
hi,

here is the snapshot of my mini2440 with USB WiFi:

mini2440 + TL-WN722N
http://arm9download.cncncn.com/mini2440/usb-wifi/mini2440-TL-WN722N.jpg

mini2440 + TL-WN721N
http://arm9download.cncncn.com/mini2440/usb-wifi/mini2440-TL-WN721N.jpg

mindee

mindee
and here is the linux version I use:
http://arm9download.cncncn.com/mini2440/usb-wifi/mini2440-linux-version.jpg

Bruno Henrique Viecelli
Hi again Mindee,
So, I don't got success with TL-WN721N..
I downloaded the latest version of the kernel that you post here, and I
will cross-compile, I will to lunch, and upload on my board... in a few
hours I reply on forum..

Thanks... ^^

Bruno Henrique Viecelli
Well, thank you Mindee...
The TL-WN721N works fine... *-*
And I'm sorry for doubting you... :)

cya

unknowN
Help me Mindee,

See:

[root@FriendlyARM /home]# scan-wifi 
ifconfig: SIOCGIFFLAGS: No such device
0 Access Point Found
[root@FriendlyARM /home]# cat /proc/version 
Linux version 2.6.32.2-FriendlyARM (root@russell-work-pc) (gcc version
4.4.3 (ctng-1.6.1) ) #3 Wed Jul 28 16:44:54 CST 2010


My USB WiFi module:
http://www.friendlyarm.net/products/accessories

unknowN
Bruno, if you are brazilian give me your email to talk about this prob. i
need to solve it xD

Thanks

Bruno Henrique Viecelli
Rapaz, sou Brasileiro sim...
Yeah dude my email is bviecelli(at)gmail.com
^^

Bruno Henrique Viecelli
Criei um tópico para o problema em português:
http://www.friendlyarm.net/forum/topic/1527

---------------------------------------------------------------------------

The topic http://www.friendlyarm.net/forum/topic/1527 is in Brazilian
Portuguese...

Thanks

Andreo
hey,

something new for the wifi support for VNT6656AU??

thanks
Andreo

Nicolas
Hello,

i'mm french, my english will not be very good...
i'm trying to connect my mini2440 board to a wifi wlan using a TL-WN321G
usb key... my network is not escurised and his name is ROBIRIS, on channel
6...

when i use scan-wifi command i obtain :


100% ROBIRIS

1 Acces Point Found

i think it's normal...

i try to connect using :
start-wifi none ROBIRIS

and i obtain :
socket(PF_PACKET): Address family not supported by protocol
udhcpc (v1.13.3) started
udhcpc: socket : Address family not supported by protocol


what is the problem please?

thank you very much !

David Kaplan
I have problems with the rt2070 chip in the TL-WN321G. I compiled the 32
kernel with all rtlink drivers included. The rt2050 chip works. I installed
the kit and ran scan-wifi:
=======================================================
RT2050 148F:2573
=======================================================
When plugged in
  usb 1-1: USB disconnect, address 3
  usb 1-1: new full speed USB device using s3c2410-ohci and address 4
  usb 1-1: New USB device found, idVendor=148f, idProduct=2573
  usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  usb 1-1: Product: 54M.USB.......
  usb 1-1: Manufacturer: Ralink
  usb 1-1: SerialNumber: 12345
  usb 1-1: configuration #1 chosen from 1 choice
  phy3 -> rt2x00_set_chip: Info - Chipset detected - rt: 1201, rf: 0000,
rev: 00000000.
  phy3 -> rt2500usb_init_eeprom: Error - Invalid RT chipset detected.
  phy3 -> rt2x00lib_probe_dev: Error - Failed to allocate device.
  phy4 -> rt2x00_set_chip: Info - Chipset detected - rt: 1300, rf: 0002,
rev: 0002573a.
  Registered led device: rt73usb-phy4::radio
  Registered led device: rt73usb-phy4::assoc
  Registered led device: rt73usb-phy4::quality
scan-wifi<CR>
  .......
  phy1 -> rt2x00lib_request_firmware: Info - Loading firmware file
'rt73.bin'.
  rt73usb 1-1:1.0: firmware: requesting rt73.bin
  phy1 -> rt2x00lib_request_firmware: Info - Firmware detected - version:
1.7.
  phy1 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3,
CWmax: 4, Aifs: 2, TXop: 102.
  phy1 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4,
CWmax: 5, Aifs: 2, TXop: 188.
  phy1 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5,
CWmax: 10, Aifs: 3, TXop: 0.
  phy1 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5,
CWmax: 10, Aifs: 7, TXop: 0.
           97% STOREROOMKIRYAT8(Security)
           60% Bezeq_Wireless(Security)
           37% orange-46R3(Security)
  3 Access Point Found
=======================================================
RT2070 148F:2070
=======================================================
When plugged in
  usb 1-1: USB disconnect, address 4
  usb 1-1: new full speed USB device using s3c2410-ohci and address 5
  usb 1-1: New USB device found, idVendor=148f, idProduct=2070
  usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  usb 1-1: Product: 802.11 g WLAN
  usb 1-1: Manufacturer: Ralink
  usb 1-1: SerialNumber: 1.0
  usb 1-1: configuration #1 chosen from 1 choice
  phy5 -> rt2x00_set_chip: Info - Chipset detected - rt: 1600, rf: 0006,
rev: 30700201.
  Registered led device: rt2800usb-phy5::radio
  Registered led device: rt2800usb-phy5::assoc
  Registered led device: rt2800usb-phy5::quality
scan-wifi<CR>
  .......
  phy5 -> rt2x00lib_request_firmware: Info - Loading firmware file
'rt2870.bin'.
  rt2800usb 1-1:1.0: firmware: requesting rt2870.bin
  phy5 -> rt2x00lib_request_firmware: Info - Firmware detected - version:
0.22.
  phy5 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3,
CWmax: 4, Aifs: 2, TXop: 102.
  phy5 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4,
CWmax: 5, Aifs: 2, TXop: 188.
  phy5 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5,
CWmax: 10, Aifs: 3, TXop: 0.
  phy5 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5,
CWmax: 10, Aifs: 7, TXop: 0.
  0 Access Point Found
===============================================

Any help would be appreciated!

David Kaplan
I recompiled the 2.6.32.2 kernel from the default T35 settings just adding
DHCP support and ran the scan-wifi tests again.
I also checked on a Win7 laptop that the rt2070 dongle works.
Also help would be extra nice.
=======================================================
With only DHCP changed in 2.6.32.2 kernel:
=======================================================
RT2050 148F:2573
=======================================================
scan-wifi
cfg80211: Calling CRDA to update world regulatory domain
Registered led device: rt73usb-phy0::radio
Registered led device: rt73usb-phy0::assoc
Registered led device: rt73usb-phy0::quality
usbcore: registered new interface driver rt73usb
usbcore: registered new interface driver ath9k_hif_usb
         80% STOREROOMKIRYAT8(Security)
1 Access Point Found
=======================================================
RT2070 148F:2070
=======================================================
scan-wifi
cfg80211: Calling CRDA to update world regulatory domain
usbcore: registered new interface driver rt73usb
usbcore: registered new interface driver ath9k_hif_usb
ifconfig: SIOCGIFFLAGS: No such device
0 Access Point Found

David Kaplan
I found that link that writes how to compile for the micro2440 + emdebian a
TL-WN321Gv4 driver. The link is in Thai but by Google Translate I could
understand most of it. My problem is how to cross compile this for the
standard FriendlyArm 2.6.32.2 or 2.6.29. kernel. We have a stock of 80 v4
dongles that we need to get to work and deliver. 
 The link is http://www.electoday.com/bbs/archiver/?tid-10317.html.
 Any help on this or getting the v4 to work in a different manner would be
appreciated.
 Thanks

ZeroZero
Hi mindee,
I can't download by
http://arm9download.cncncn.com/download/usb-wifi-kits-for-mini2440-linux...
Is there any problem with this link?

Andreas Watterott
http://www.friendlyarm.net/downloads -> Linux

ZeroZero
Thanks Andreas. I found it.

dlk289
I installed everything, and did start-wifi with the credintials but it just
says:

udhcpc (v1.13.1) started
sending discover...
sending discover...
sending discover...
sending discover...
sending discover...

and repeats
any suggestions?

aureca
Hi all,

I followed the instructions and I obtain an error when the TL-WN721N is
inserted...

root@mini2440:~# usb 1-1: new full speed USB device using s3c2410-ohci and
address 2
usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271
usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
usb 1-1: Product: USB2.0 WLAN
usb 1-1: Manufacturer: ATHEROS
usb 1-1: SerialNumber: 12345
usb 1-1: configuration #1 chosen from 1 choice
cfg80211: Calling CRDA to update world regulatory domain
usb 1-1: ath9k_htc: Firmware - ar9271.fw not found
ath9k_hif_usb: probe of 1-1:1.0 failed with error -22
usbcore: registered new interface driver ath9k_hif_usb

I used the 2.6.32.2 kernel and Wifi Kit, any idea what is the problem?

Thanks

Crapapal
Is possible that in the last friendlyarm kernel (2.6.32.2 - 2011-04-13)
there's not ATH9K tag ????

see --->

http://www.friendlyarm.net/forum/topic/3166

ever_so
@dlk289
I also followed the procedure:

1. scan-wifi
2. start-wifi wep ssid pass

but I realized that it immediately starts udhcpc, which is a dhcp client
app, that by default takes eth0 as interface... sending discover packets
through ethernet would take a long long time to get WLAN IP address :D


A slightly longer, but easier approach is to perform the following (for
WEP, but I guess for WPA would be similar):

1. scan-wifi   (sometimes it takes a few retries, until sees Access Point).
2. iwconfig        (see what interface name is assigned to your wifi  
                       dongle).
3. iwconfig wlan0 mode managed
4. iwconfig wlan0 key restricted <KEY OR PASSWORD>
5. iwconfig wlan0 essid <ACCESS POINT NAME>
6. ifconfig wlan0 up
7. udhcpc -iwlan0

And right away it will assign you an IP address... 

You can also modify /usr/share/udhcpc/default.script  to perform dhcp
discover also on wifi, but under your own risk.

Regards...

ever_so
Forgot one thing:

just after step scan-wifi,  you need to either remove eth0 interface with 

#ifconfig eth0 down

or remove default route

#route del default

Hope it helps you.

Regards

Nitheesh PD
Hi all,
       I have recently caught with promblem with wifi module used in
friendlyARM module. I am using Netgear's usb to wifi module(rtl8192 chip).
I tried with both GUI and commands (scan-wifi) but it displays 'no access
points'.When i give 'lsmod' it gives a list of wifi driver modules
including my rtl8192.But wifi doesn't work. Will you please help me to
solve issue or will you please tell me the steps to configure usb-wifi
driver of rtl8192.

Thanks in advance

Sushant Bhangale
Hello sir i am using rt2800usb wi-fi module for mini2440.
How to start Wi-fi on MINI2440.
msg from dmesg:-
[12398.577674] ieee80211 phy1: Selected rate control algorithm
'minstrel_ht'
[12398.578194] Registered led device: rt2800usb-phy1::radio
[12398.578216] Registered led device: rt2800usb-phy1::assoc
[12398.578243] Registered led device: rt2800usb-phy1::quality
[12398.578336] usbcore: registered new interface driver rt2800usb
[12399.161829] cfg80211: Calling CRDA for country: IN
[12399.261096] cfg80211: Current regulatory domain intersected:
[12399.261104] cfg80211:   (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[12399.261108] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
2000 mBm)
[12399.261111] cfg80211:   (5270000 KHz - 5330000 KHz @ 40000 KHz), (N/A,
1700 mBm)
[12399.261114] cfg80211:   (5735000 KHz - 5815000 KHz @ 40000 KHz), (N/A,
2000 mBm)

thanx in advance

smith
Hello,
This line is repeat show
===>rt_ioctl_giwscan. 6(6) BSS returned, data->length = 932