Networking Forums

Networking Forums > Computer Networking > Linux Networking > wireless-tools problem on embedded linux

Reply
Thread Tools Display Modes

wireless-tools problem on embedded linux

 
 
sabine.hauert@gmail.com
Guest
Posts: n/a

 
      05-31-2007, 09:37 AM
Hi everyone,

My problem is that my wireless-tools (iwconfig, iwlist) return strange
Bit Rate and Frequency values.

I'm trying to set up a wireless ad-hoc network using a DWL-G122verC1
USB dongle and colibri linux board with a pxa270 arm processor. I'm
using the rt73.ko module downloadable from here:http://
http://www.ralinktech.com/ralink/Hom...ort/Linux.html.

I compiled the newest wireless-tools.28 with the flag BUILD_NOLIBM = y
to make it runnable on my embedded linux platform (otherwise I get an
illegal instruction).


This is the output of iwconfig for my usb wireless interface:
---------
>iwconfig rausb0


rausb0 RT73 WLAN ESSID:"MAVnet"
Mode:Ad-Hoc Frequency=-2.50749e-116 G Cell: 2A:
22:A4:3D:C2:B3
Bit Rate=5.31729e-315 Mb/s
RTS thrff Fragment thrff
Encryption keyff
Link Quality=91/100 Signal level:-50 dBm Noise level:-79
dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
---------

Additional info:
---------
>iwconfig --version


iwconfig Wireless-Tools version 28
Compatible with Wireless Extension v11 to v20.

Kernel Currently compiled with Wireless Extension v17.

eth0 Recommend Wireless Extension v0 or later,
Currently compiled with Wireless Extension v0.

rausb0 Recommend Wireless Extension v14 or later,
Currently compiled with Wireless Extension v17.

>uname -r

2.6.12.4-col2
-----------

As you saw, Bit rate=5.31729e-315 Mb/s and Frequency=-2.50749e-116 G.
Could this be a format problem? I've tried ">iwconfig rausb0 rate 11M"
without result.

Any ideas would be welcome!!
Sabine

 
Reply With Quote
 
 
 
 
Iwo Mergler
Guest
Posts: n/a

 
      06-01-2007, 12:20 PM
(E-Mail Removed) wrote:

> Hi everyone,
>
> My problem is that my wireless-tools (iwconfig, iwlist) return strange
> Bit Rate and Frequency values.
>
> I'm trying to set up a wireless ad-hoc network using a DWL-G122verC1
> USB dongle and colibri linux board with a pxa270 arm processor. I'm
> using the rt73.ko module downloadable from here:http://
> http://www.ralinktech.com/ralink/Hom...ort/Linux.html.
>
> I compiled the newest wireless-tools.28 with the flag BUILD_NOLIBM = y
> to make it runnable on my embedded linux platform (otherwise I get an
> illegal instruction).
>


You may want to double check that the driver and the kernel have
been compiled against the exact same version of wireless extensions
as your tools.

The wireless extension APIs have changed significantly between
versions.

Kind regards,

Iwo

 
Reply With Quote
 
Larry Finger
Guest
Posts: n/a

 
      06-01-2007, 05:23 PM
Iwo Mergler wrote:
> (E-Mail Removed) wrote:
>
>> Hi everyone,
>>
>> My problem is that my wireless-tools (iwconfig, iwlist) return strange
>> Bit Rate and Frequency values.
>>
>> I'm trying to set up a wireless ad-hoc network using a DWL-G122verC1
>> USB dongle and colibri linux board with a pxa270 arm processor. I'm
>> using the rt73.ko module downloadable from here:http://
>> http://www.ralinktech.com/ralink/Hom...ort/Linux.html.
>>
>> I compiled the newest wireless-tools.28 with the flag BUILD_NOLIBM = y
>> to make it runnable on my embedded linux platform (otherwise I get an
>> illegal instruction).
>>

>
> You may want to double check that the driver and the kernel have
> been compiled against the exact same version of wireless extensions
> as your tools.
>
> The wireless extension APIs have changed significantly between
> versions.


Although Iwo is correct that WEXT has changed significantly, it is unlikely that this is your
problem. Would your bit rates and frequency values make sense if they were rescaled by 100000, or
some other power of 10? If so, the driver or MAC layer, whichever is handling the WEXT ioctl's, has
just such a scaling problem.

Which kernel are you using?

Larry
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A few places left at Embedded LInux Workshop richard@energi-tech.co.uk Linux Networking 0 03-22-2008 03:32 PM
Embedded Linux Workshop richard@energi-tech.co.uk Linux Networking 0 02-11-2008 05:45 PM
RJ45 extender + embedded Linux? Gilles Ganault Linux Networking 5 05-12-2007 05:48 AM
Does Linux and embedded Linux provides RAW socket? GS Linux Networking 3 04-14-2007 05:26 AM
Embedded tools are 10% off to celebrate 25th Aniversary Chris Stephens Windows Networking 0 12-02-2004 11:18 AM



1 2 3 4 5 6 7 8 9 10 11