LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   WMP54Gv2 on Ndiswrapper 1.1 not connecting to DCHP (FC3) (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wmp54gv2-on-ndiswrapper-1-1-not-connecting-to-dchp-fc3-307947/)

Irob 03-30-2005 04:04 PM

WMP54Gv2 on Ndiswrapper 1.1 not connecting to DCHP (FC3)
 
I installed ndiswrapper per instruction on the ndiswrapper installation wiki. It set up fine, and I installed the bcmwl5.inf driver. I did the whole RadioState|1 thing, but whenever I do ifup wlan0, it can never find my IP address.
Here's some information that I copied that could possibly be helpful for finding the problem.

Code:

[root@localhost]# iwlist wlan0 scan
wlan0    Scan completed :
          Cell 01 - Address: E6:E0:D9:36:B7:4D
                    ESSID:"essid"
                    Protocol:IEEE 802.11b
                    Mode:Ad-Hoc
                    Frequency:2.462GHz (Channel 11)
                    Quality:0  Signal level:0  Noise level:0
                    Encryption key:off
                    Bit Rate:1Mb/s
                    Bit Rate:2Mb/s
                    Bit Rate:5.5Mb/s
                    Bit Rate:6Mb/s
                    Bit Rate:9Mb/s
                    Bit Rate:11Mb/s
                    Bit Rate:12Mb/s
                    Bit Rate:18Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0

Code:

[root@localhost net]# iwconfig wlan0
wlan0    IEEE 802.11g  ESSID:"essid"  Nickname:"localhost.localdomain"
          Mode:Ad-Hoc  Frequency:2.462GHz  Cell: E6:E0:D9:36:B7:4D
          Bit Rate=54Mb/s  Tx-Power:14 dBm
          RTS thr=2347 B  Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-57 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:105  Missed beacon:0

After trying to ifup wlan0, I did dmesg and this appeared:
ndiswrapper (iw_set_bitrate:413): setting bit rate failed (C00000BB)

Here is my .conf file that the driver runs on:
Code:

NdisVersion|0x50001
Environment|1
BusType|5
mac_address|XX:XX:XX:XX:XX:XX
ndis_version|Linksys,07/17/2003, 3.30.15.0

antdiv|-1
Authentication|1
BadFramePreempt|0
BTCoexist|1
Channel|11
EnableAutoConnect|0
EnableLeap|0
EnableSoftAP|0
frag|2346
FrameBursting|0
gpio0|-1
gpio1|-1
gpio2|-1
gpio3|-1
IBSSGProtection|2
Interference_Mode|-1
Locale|15
NetworkAddress|
NetworkType|-1
PLCPHeader|0
PowerSaveMode|0
PwrOut|100
RadioState|1
Rate|0
RoamTrigger|-70
rts|2347
scan_channel_time|-1
scan_home_time|-1
scan_passes|-1
scan_unassoc_time|-1
SSID|
WEP|

Any other information that might possibly be useful:
Every time I uninstall and reinstall the driver, the MAC address for my router seems to change. This might be something related to the router's settings, but I really don't think that should be happening.
The antenna for my card was "half-broken". I honestly don't know if my computer recognizes the fact that there's an antenna or not. My card seems to still be sending and recieving packets on my Windows partiton, though (and I'm currently connected to the internet).

Thanks in advance for any help.

mrGenixus 03-30-2005 07:16 PM

double-check your driver, make sure its EXACTLY the correct driver for your card. Broadcom wireless cards are very sensitive to this.

Also, how does your google searching fair?

Irob 03-30-2005 08:09 PM

Searching up "ndiswrapper (iw_set_bitrate:413): setting bit rate failed (C00000BB)" brought up one result, but to see the answer, I would have to subscribe to the forums. I'm trying to use an older version of ndiswrapper (1.0 instead of 1.1), which is known to work. Also, I am certain this is the correct driver for the correct card. It's a linksys card that uses the bcmwl5 driver.

mrGenixus 03-30-2005 08:14 PM

There are aprox 30 versions of the bcmwl5 driver that I have personally used. Get the exact one for your linksys card

Irob 03-30-2005 08:17 PM

I have the one that the ndiswrapper site told me to get (I also have it on CD)

mrGenixus 03-30-2005 08:25 PM

have you tried the newer version of ndis wrapper as well?

Irob 03-30-2005 09:19 PM

1.1 is the latest version (unless you're counting CVS, and I don't think that would help).
I looked at the distrobution-specific installation instructions on the ndiswrapper wiki and I've noticed that I've made some mistakes, but I'm still not sure if I'm doing it right. I'll give an update tomorrow if it works.

Harriskaver 03-31-2005 12:37 AM

I had this problem with mine. To solve it:
1) Goto Applications->System Settings-> Network.
2) Click edit on the device used for wlan0.
3) Under the general tab, check 'Activate device when computer starts'.
4) Reboot your computer.

It worked for me, hope it works for you.
- Dan

dping 03-31-2005 12:43 AM

Oops. Question was answered while I typed. Here's my post anyway...


The site that comes up in google is trying to trick people into signing up. The answer to the question is actually farther down the page. Here it is again if you want to take another look.

I didn't think it was very helpful, but you may get something out of it.

This, however, may explain that error:
Quote:

> ndiswrapper (iw_set_bitrate:413): setting bit rate failed
Accroding to ndiswrapper FAQ:
http://ndiswrapper.sourceforge.net/p.../index.php/FAQ
-----------
Not all wireless settings in Linux are supported by NDIS drivers (e.g., promiscuous mode, above). As of now, all settings that are possible with NDIS drivers are implemented. Some settings are implemented, but most NDIS drivers give errors when setting them; e.g., setting bit rate gives errors, but as per NDIS, one doesn't need to set the rate - the card will pick what is best.
------------
So it should be ok

mrGenixus 03-31-2005 12:19 PM

that's actually kindof funny...


All times are GMT -5. The time now is 03:04 PM.