Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98574 - rt2500-1.1.0_beta2-r2 - Source config file is in DOS format
Summary: rt2500-1.1.0_beta2-r2 - Source config file is in DOS format
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-10 10:07 UTC by Kevin Parent
Modified: 2005-07-11 10:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Parent 2005-07-10 10:07:40 UTC
RT2500STA.dat in the Modules/ directory of the source tarball is in DOS format.
 I  reported my suspicions to Mark at serialmonkey and he confirmed it.  Here's
the thread - http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=96 .  He's
corrected the problem in CVS, but the beta tarballs still contain the DOS
formated config file RT2500STA.dat.

To correct the problem for the ebuild, RT2500STA.dat could be manually extracted
from the CVS tarball and added the the rt2500 ebuilds' "files/" directory and
have the ebuild copy the file from there upon installation.

The new beta tarballs will contain the fix.



Reproducible: Always
Steps to Reproduce:
1.  emerge rt2500
2.  Try to configure the module by manually editing RT2500STA.dat file
3.  modprobe rt2500
4.  config file isn't correctly parsed by system because it is a DOS format file.

Actual Results:  
Config file isn't correctly parsed by system because it is a DOS format file.

iwconfig shows:

eth0      no wireless extensions.

lo        no wireless extensions.

"         RT2500 Wireless  ESSID:"homenet
          Mode:Managed  Frequency=2.437 GHz  Bit Rate:54 Mb/s
          RTS thr=2312 B   Fragment thr=2312 B
          Encryption key:off
          Link Quality:60  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Notice the first line of the wireless section.  Strange use of quotes and no ra0
interface.

Expected Results:  
Passed the manually edited RT2500STA.dat config file thru "dos2unix" and voila
it works:

eth0      no wireless extensions.

lo        no wireless extensions.

ra0       RT2500 Wireless  ESSID:"homenet"
          Mode:Managed  Frequency=2.437 GHz  Access Point: XX:XX:XX:XX:XX:XX
          Bit Rate:54 Mb/s
          RTS thr=2312 B   Fragment thr=2312 B
          Encryption key:off
          Link Quality=81/100  Signal level:-202 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2005-07-11 10:01:34 UTC
thanks, fixed