LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ndiswrapper with intel pro/wireless 2200BG Fedora 1 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ndiswrapper-with-intel-pro-wireless-2200bg-fedora-1-a-201789/)

patrickclay 07-06-2004 12:54 PM

ndiswrapper with intel pro/wireless 2200BG Fedora 1
 
I'm having problems configuring ndiswrapper to work with my Intel PRO/wireless 2200BG card. I'm not sure what the problem is, so I'll explain the process which i followed.

Downloaded ndiswrapper. Compiled.

Downloaded Intel windows driver from linuxant.com

./ndiswrapper -i w22n51.INF

./ndiswrapper -l

Installed ndis drivers:
w22n51 present

./modprobe ndiswrapper

/dmesg

ndiswrapper version 0.7 loaded
ndiswrapper adding w22n51.sys
divert: allocating divert_blk for wlan0
wlan0: ndiswrapper ethernet device 00:0e:35:14:72:9d using driver w22n51.sys

This is where I get lost.

./iwconfig

lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11b ESSID:"" Nickname:"localhost.localdomain"
Mode:Managed Access Point: FF:FF:FF:FF:FF:FF Bit Rate=54Mb/s
RTS thr=1600 B Fragment thr=2304 B
Encryption key:off
Power Management:off
Link Quality:0/100 Signal level:24/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

when I try ./ifup wlan0 I get the message:

Error for wireless request "Set Frequency" (8B04) :
SET failed on device wlan0 ; Invalid argument.

Determining IP information for wlan0... failed.

Any suggestions? Thank you!

Atmchicago 07-09-2004 08:48 PM

I'm basically where you are, although I'm running slackware.

My access point is ff:ff:ff... and I can't change it using
Code:

iwconfig wlan0 ap <mac address>
I get:
Code:

Error for wireless request "set AP Address" (8B14)  :
    SET failed on device wlan0 ; Invalid argument.

When I boot I turn off my lan card using ifconfig eth0 down, and I turn on my wireless using ifconfig wlan0 up. I can manually assign wlan0 its ip or netmask using ifconfig, but I can't get online.

I also can't change the essid using iwconfig, same deal.

Anyone able to get ipw2200 (or even 2100 I suppose) intel centrino wireless working using ndiswrapper windows drivers?

Hangdog42 07-10-2004 07:40 AM

Patrick,
It looks like your driver is installed properly, you just need to configure your card and request an IP address. Something like this might do the trick:

iwconfig wlan0 key XXXXXX (If you use WEP. I've found it usefu to set the WEP key first)
iwconfig wlan0 essid YYYYYYY
iwconfig mode Managed
dhclient wlna0 (this requests an IP from your DHCP server)
ifup wlan0

Atmchicago,
I don't think you need to set your AP MAC address. If you're using WEP, try setting the key first. Also be sure you are su (root) when using iwconfig.

Atmchicago 07-10-2004 12:38 PM

Ok, I've been running as root when using iwconfig the whole time. But isn't it strange that I can't change the essid/ap mac adress :confused: ? Also, not using WEP yet - want to keep things simple.

Edit: I forgot to use my 8k stacks kernel when testing, so I'll recompile and see how it goes.

Edit2: Nope, 8k stacks give the same result.

patrickclay 07-10-2004 03:51 PM

I also can't set ESSID. I try using iwconfig and editing the ifcfg-wlan0 file but it doens't still doensn't show up.

lucas2676 07-11-2004 04:08 AM

I saw the same thing as both of you. I ran ifconfig wlan0 up 192.168.x.xxx and set it up as a static ip. Then I added the route for the default gw(route add default gw <gwipaddress>) and I set up just fine.

Hangdog42 07-11-2004 08:20 AM

OK, a couple of things to try:

Turn on SSID broadcast from your router. Some people here have reported that they can't connect to their router unless this is on. Weird, but apparently it happens.

You might look for an older set of windows drivers (for win 98 even). If windows drivers came with your card try those instead of downloading new ones. This may be one of those cases where going with the latest and greatest may be causing trouble.


For what it's worth, this is a pretty common problem and unfortunately I haven't seen a single, clear answer.

Atmchicago 07-11-2004 10:54 PM

I have a truemobile 1170 router from dell. Not sure who actually makes it (maybe dell gives me gimp firmware that has fewer options than the actual?), but the only option I have for SSID is to give it a name. How can I have it broadcast?

As for the win98 drivers, I doubt they would exist - the centrino is brand new, and win98 is ooold... The cd that has drivers on it only has win2k and wixp drivers on it (I actually already tried the win2k drivers and it didn't even work as well as the winxp ones).

Lucas, I tried your route command, and it didn't give any errors, but didn't fix the problem.

Thanks for the help, I hope I can get this working soon.

Hangdog42 07-12-2004 10:33 AM

I was looking at the ndiswrapper help forums on sourceforge and for probelms setting the ESSID, try switching your mode to Auto instead of Managed. Apparently this trick works well for Broadcom chipsets. Maybe it works for others as well.

Atmchicago 07-12-2004 12:17 PM

Ok well it just looks to me like the status of the driver is still in beta development, because I tried changing the mode with
Code:

% iwconfig wlan0 mode Auto (or auto)
and it didn't change it from managed. So when a new version of ndiswrapper, or the ipw2200 drivers come out, then it might work. The reason I say this is because I can change some things, like static ip, nick name, but not others - they either don't do anything or give errors.

Oh well, guess i'll have to stick to using my ethernet.


All times are GMT -5. The time now is 06:30 AM.