IPW2100 Driver Problem
I just installed Fedora Core 2, and I was trying to get my wireless card working on my Dell 600m laptop. I followed the ipw2100 mini-HOWTO found at http://jrblevin.freeshell.org/linux/ipw2100 verbatim. I saw that I was getting alot of errors while following, but I thought maybe I could follow through anyway, and get it working. I guess I was wrong. Does anyone have a simpler tutorial that I can follow to do this? Here is some information about my installation:
When I try to make ipw2100, I get this: [root@mobile ipw2100-0.49]# make make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/usr/src/ipw2100-0.49 MODVERDIR=/usr/src/ipw2100-0.49 modules make[1]: Entering directory `/lib/modules/2.6.5-1.358/build' CC [M] /usr/src/ipw2100-0.49/ieee80211_module.o /usr/src/ipw2100-0.49/ieee80211_module.c:54:24: ieee802_11.h: No such file or directory In file included from /usr/src/ipw2100-0.49/ieee80211_module.c:55: /usr/src/ipw2100-0.49/ieee80211.h:48:24: ieee802_11.h: No such file or directoryIn file included from /usr/src/ipw2100-0.49/ieee80211_module.c:55: /usr/src/ipw2100-0.49/ieee80211.h: In function `ieee80211_get_hdrlen': /usr/src/ipw2100-0.49/ieee80211.h:407: error: `IEEE802_11_FCTL_FTYPE' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:407: error: (Each undeclared identifier is reported only once /usr/src/ipw2100-0.49/ieee80211.h:407: error: for each function it appears in.) /usr/src/ipw2100-0.49/ieee80211.h:408: error: `IEEE802_11_FTYPE_DATA' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:409: error: `IEEE802_11_FCTL_FROMDS' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:409: error: `IEEE802_11_FCTL_TODS' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:412: error: `IEEE802_11_FTYPE_CTL' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:413: error: `IEEE802_11_FCTL_STYPE' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:414: error: `IEEE802_11_STYPE_CTS' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:415: error: `IEEE802_11_STYPE_ACK' undeclared (first use in this function) make[2]: *** [/usr/src/ipw2100-0.49/ieee80211_module.o] Error 1 make[1]: *** [/usr/src/ipw2100-0.49] Error 2 make[1]: Leaving directory `/lib/modules/2.6.5-1.358/build' make: *** [modules] Error 2 When I try to make HOSTAP I get the following: [root@mobile ipw2100-0.49]# make HOSTAP=/usr/src/hostap-driver-0.1.3 make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/usr/src/ipw2100-0.49 MODVERDIR=/usr/src/ipw2100-0.49 modules make[1]: Entering directory `/lib/modules/2.6.5-1.358/build' CC [M] /usr/src/ipw2100-0.49/ieee80211_module.o /usr/src/ipw2100-0.49/ieee80211_module.c:54:24: ieee802_11.h: No such file or directory In file included from /usr/src/ipw2100-0.49/ieee80211_module.c:55: /usr/src/ipw2100-0.49/ieee80211.h:48:24: ieee802_11.h: No such file or directoryIn file included from /usr/src/ipw2100-0.49/ieee80211_module.c:55: /usr/src/ipw2100-0.49/ieee80211.h: In function `ieee80211_get_hdrlen': /usr/src/ipw2100-0.49/ieee80211.h:407: error: `IEEE802_11_FCTL_FTYPE' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:407: error: (Each undeclared identifier is reported only once /usr/src/ipw2100-0.49/ieee80211.h:407: error: for each function it appears in.) /usr/src/ipw2100-0.49/ieee80211.h:408: error: `IEEE802_11_FTYPE_DATA' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:409: error: `IEEE802_11_FCTL_FROMDS' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:409: error: `IEEE802_11_FCTL_TODS' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:412: error: `IEEE802_11_FTYPE_CTL' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:413: error: `IEEE802_11_FCTL_STYPE' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:414: error: `IEEE802_11_STYPE_CTS' undeclared (first use in this function) /usr/src/ipw2100-0.49/ieee80211.h:415: error: `IEEE802_11_STYPE_ACK' undeclared (first use in this function) make[2]: *** [/usr/src/ipw2100-0.49/ieee80211_module.o] Error 1 make[1]: *** [/usr/src/ipw2100-0.49] Error 2 make[1]: Leaving directory `/lib/modules/2.6.5-1.358/build' make: *** [modules] Error 2 Any ideas what is wrong? Running Fedora Core 2, with a fresh installation. |
Did you goto http://ipw2100.sf.net ?
I used the RPMS from http://atrpms.net/dist/fc2 and got the ipw2100 to work on my Dell Inspiron8600. The Rpms I downloaded were : atrpms.i385.rpm hostapd.at.i386.rpm hostap-driver.at.i386.rpm hostap-utils.at.i386.rpm ipw2100.i386.at.rpm ipw2100-firmware.at.noarch.rpm kernel-module-hostap.at.i386.rpm (For the kernel version you are using) kernel-module-ipw2100.at.i386.rpm (For the kernel version you are using) /sbin/lsmod the three modules that must load, is: ipw2100 hostap hostap_crypt_wep A lot of people have been trying to compile with no luck. Another problem you will run if you use ID authenication with a AP modem. Here is a copy of my /etc/sysconfig/network-scripts/ifcfg-eth1 . # Intel Corp.|PRO/Wireless LAN 2100 3B Mini PCI Adapter DEVICE=eth1 ONBOOT=yes BOOTPROTO=dhcp NETMASK= DHCP_HOSTNAME=mickey IPADDR= DOMAIN= HWADDR=00:04:23:99:06:48 USERCTL=no PEERDNS=yes GATEWAY= TYPE=Wireless IPV6INIT=no ESSID=2WIRE783 CHANNEL=6 MODE=Auto RATE=Auto IWCONFIG="key open 8950431075" |
Im giving it another try. I just downloaded all of these files:
atrpms.i385.rpm hostapd.at.i386.rpm hostap-driver.at.i386.rpm hostap-utils.at.i386.rpm ipw2100.i386.at.rpm ipw2100-firmware.at.noarch.rpm kernel-module-hostap.at.i386.rpm (For the kernel version you are using) kernel-module-ipw2100.at.i386.rpm (For the kernel version you are using) Now what do I do with them? I know I must have to install them via the rpm command, but Im unsure what parameters I should pass. Also, should I install them in this order? Or a different specific order? Are there any other actions I should perform during this installation, other than just rpming all of the packages? Thank you very much for all of your help so far. |
Just be sure that you do have the correct kernel-modules for your kernel.
Put all the files in one directory, do SU and passwd and cd to that directory. Do a : rpm -ivh *.rpm I did have to do: rpm -ivh --force *.rpm one time. You shouldn't have any dependency problems, I did not. If you have any problems just email. Jim Tate |
I got 2 failed dependencies:
[root@mobile wireless]# ls atrpms-56-1.rhfc2.at.i386.rpm hostapd-0.1.3-1.rhfc2.at.i386.rpm hostap-driver-0.1.3-4.rhfc2.at.i386.rpm hostap-utils-0.1.3-2.rhfc2.at.i386.rpm ipw2100-0.49-12.rhfc2.at.i386.rpm ipw2100-firmware-1.1-2.at.noarch.rpm kernel-module-hostap-2.6.7-1.456_4.rhfc2.atsmp-0.1.3-4.rhfc2.at.i686.rpm kernel-module-ipw2100-2.6.7-1.456_4.rhfc2.at-0.49-12.rhfc2.at.i686.rpm [root@mobile wireless]# rpm -ivh *.rpm warning: atrpms-56-1.rhfc2.at.i386.rpm: V3 DSA signature: NOKEY, key ID 66534c2berror: Failed dependencies: /boot/vmlinuz-2.6.7-1.456_4.rhfc2.atsmp is needed by kernel-module-hostap-2.6.7-1.456_4.rhfc2.atsmp-0.1.3-4.rhfc2.at kernel-smp = 2.6.7-1.456_4.rhfc2.at is needed by kernel-module-hostap-2.6.7-1.456_4.rhfc2.atsmp-0.1.3-4.rhfc2.at [root@mobile wireless]# |
Is your dell 600m a dual Cpu's?
Those kernel-modules-smp is for a dual CPU's |
No, its not dual CPU. I just redownloaded the correct module, and it seemed to work a bit better. However, Im not sure if it was successful or not. Here is the output from the command this time:
[root@mobile wireless]# rpm -ivh *.rpm warning: atrpms-56-1.rhfc2.at.i386.rpm: V3 DSA signature: NOKEY, key ID 66534c2bPreparing... ########################################### [100%] 1:atrpms ########################################### [ 13%] 2:kernel-module-hostap-2.########################################### [ 25%] 3:ipw2100-firmware ########################################### [ 38%] 4:kernel-module-ipw2100-2########################################### [ 50%] 5:hostapd ########################################### [ 63%] 6:hostap-driver ########################################### [ 75%] 7:hostap-utils ########################################### [ 88%] 8:ipw2100 ########################################### [100%] [root@mobile wireless]# After that point, it was done, but it looked to me like it didnt finish installing all of the parts.. some were still not even halfway done when it dropped me back to the shell? EDIT: Also, here is the new output of lsmod: [root@mobile root]# lsmod Module Size Used by snd_mixer_oss 13824 2 snd_intel8x0 26280 3 snd_ac97_codec 50436 1 snd_intel8x0 snd_pcm 68872 1 snd_intel8x0 snd_timer 17156 1 snd_pcm snd_page_alloc 7940 2 snd_intel8x0,snd_pcm gameport 3328 1 snd_intel8x0 snd_mpu401_uart 4864 1 snd_intel8x0 snd_rawmidi 17184 1 snd_mpu401_uart snd_seq_device 6152 1 snd_rawmidi snd 38372 10 snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_devi ce soundcore 6112 3 snd parport_pc 19392 1 lp 8236 0 parport 29640 2 parport_pc,lp autofs4 10624 0 ds 12292 4 yenta_socket 15104 1 pcmcia_core 46792 2 ds,yenta_socket sunrpc 101064 1 tg3 62596 0 ipt_REJECT 4736 1 ipt_state 1536 1 ip_conntrack 24968 1 ipt_state iptable_filter 2048 1 ip_tables 13440 3 ipt_REJECT,ipt_state,iptable_filter sg 27552 0 scsi_mod 91344 1 sg microcode 4768 0 radeon 92464 2 ipv6 184288 8 ext3 102376 3 jbd 40216 1 ext3 dm_mod 33184 0 joydev 6976 0 uhci_hcd 23708 0 ehci_hcd 21896 0 button 4504 0 battery 6924 0 asus_acpi 8472 0 ac 3340 0 Also, I cant seem to add any of the modules.. it seems as though the installation was unsuccessful... [root@mobile root]# modprobe ipw2100 FATAL: Module ipw2100 not found. [root@mobile root]# modprobe hostap FATAL: Module hostap not found. [root@mobile root]# modprobe hostap_crypt_wep FATAL: Module hostap_crypt_wep not found. |
Then you are going you accidently downloaded the wrong kernel-modules.
Go back and get the two that don't say smp. just be sure they are for your kernel version. |
Yeah, I fixed that, check out my last post.
|
do a rpm -ivh --force kernel-module ,on each of the ipw2100 and hostap kernel-modules.
Reboot you laptop and check to see if three modules loaded. |
Just did a "rpm -ivh --force" on both of these files:
kernel-module-hostap-2.6.7-1.456_4.rhfc2.at-0.1.3-4.rhfc2.at.i686.rpm kernel-module-ipw2100-2.6.7-1.456_4.rhfc2.at-0.49-12.rhfc2.at.i686.rpm Im rebooting now... Ill edit when I find out if they loaded. EDIT: No new modules are loaded. I cant even modprobe them in either. EDIT 2: Also, I tried to go back into the directory containing all of the rpms, and I did "rpm -ivh *.rpm" and it gave me this: [root@mobile wireless]# rpm -ivh *.rpm warning: atrpms-56-1.rhfc2.at.i386.rpm: V3 DSA signature: NOKEY, key ID 66534c2bPreparing... ########################################### [100%] package atrpms-56-1.rhfc2.at is already installed package kernel-module-hostap-2.6.7-1.456_4.rhfc2.at-0.1.3-4.rhfc2.at is already installed package ipw2100-firmware-1.1-2.at is already installed package kernel-module-ipw2100-2.6.7-1.456_4.rhfc2.at-0.49-12.rhfc2.at is already installed package hostapd-0.1.3-1.rhfc2.at is already installed package hostap-driver-0.1.3-4.rhfc2.at is already installed package hostap-utils-0.1.3-2.rhfc2.at is already installed package ipw2100-0.49-12.rhfc2.at is already installed They are all already installed... but why arent they working? |
I got it sort of working now. I redid a --force rpm on all of the rpms, not just the kernel ones, and that seemed to go well. I rebooted, and the modules werent loaded, but now I am able to modprobe ipw2100, hostap, and hostap_crypt_wep. Then when I lsmod, they all show up. I guess that part is working. Now I just need to figure out how to get them to automatically load at boot time, and then I need to figure out how to configure my wireless connection...
|
Do a rpm -q on the following rpm's
atrpms hostapd hostap-utils hostap-driver ipw2100 ipw2100-firmware kernel-module-hostap #these last two files may say not installed, but if you did kernel-modules-ipw2100 # a rpm -ivh --force on both of them they most likely #are installed. they show not installed on my laptop,but #they would have to be , before the ipw2100 wireless to #work and mine works ,great # What is critical is that they are of the same kernel version #that linux is running. the ipw2100 , ipw2100-0.46_3-7.rhfc2.at.i386.rpm is what is loaded on my laptop, I think the latest is ipw2100-0.47 or 48 . If everything I have listed above is installed I can't imagine why the three modules do not load. |
be sure there is a line in your /etc/modprobe.conf as:
alias eth1 ipw2100 # the eth1 is on my laptop, yours could be eth0,wlan0 . Do the network setup in /menu/system settings/network and be sure you set wireles to run at bootup. And check your setting in /etc/sysconfig/network-scripts/ifcfg-eth1 and compare with mine. Do you know your AP hostname "ESSID" and if you need to use a encrypt-authenication with your AP which is the last line in my /ifcfg-eth1. Also if you have a network nic eth0 be sure it's shutoff at bootup LOL Jim |
Quote:
Next, I tried to run the menu -> system settings -> network application, and it didnt work. I clicked on "new", then chose wireless connection, and my device isnt listed. Its listed under ethernet only. So I tried configuring it that way, and it told me the device couldnt be found. Next, when I tried to edit my ifcfg-eth1 file, I realized I didnt even have one. As for the rpm -q thing that was suggested, it said I had everything but the kernel modules. At least now Ive got all the modules loading auotmatically at boot time, but Im still far from being done... |
All times are GMT -5. The time now is 12:37 AM. |