View Full Version : HOWTO: madwifi in FC2 (& FC2T3)
Picomp314
2004-05-19, 05:21 PM CDT
First off, I spent many many hours trying to get this to work on my friend's Fujitsu Laptop with his WPC55AG based on the atheros (5212?) chipset. It took a lot of tinkering but I got it to work, and I think those results are reproduceable.
1) (This is extremely crucial and took me awhile to figure out) download and install the sharutils rpm (check to see if you have it installed with rpm -qa | grep shar)
2) Install the kernel-source rpm for your particular kernel
3) Do a cvs checkout of madwifi with the command
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi
4) cd /usr/src/linux-2.6.5-1.358 (adjust for your particular kernel
5)make oldconfig
make all
6) ln -s /usr/src/linux-2.6.5-1.358/vmlinux /lib/modules/2.6.5-1.358/build/vmlinux
7)cd into the directory that you did the cvs checkout of madwifi
8)make
make install
9)insmod wlan/wlan.ko
insmod ath_hal/ath_hal.ko
insmod driver/ath_pci.ko
10)ifconfig ath0 up
EDIT:
11)create a file named ifcfg-ath0 in /etc/sysconfig/network-scripts
with the contents:
STARTMODE=hotplug
DEVICE=ath0
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ESSID=any
KEY=
12)type ifup ath0
13) good luck...
Hopefully everything is correct
blahrus
2004-05-20, 02:27 PM CDT
try this for the cvs build
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi
wierd I guess that is the same thing . . . .
blahrus
2004-05-20, 05:14 PM CDT
WAY TO GO Picomp314 IT WORKS
STiAT
2004-05-21, 06:58 AM CDT
Thank you :)
It doesn't work here ...
I've problems compiling madwifi, and get that the opt_ah.h was not found. in compile time. Seems to be incomplete on the CVS at the moment.
I've tried to compile then with the version of madwifi-20030802. This one exits with a Memory Access violation. It seems as some guys have been able to compile this version with gcc32, which is not included in Fedora Core2 anymore...
Not my day :(
// STi
Picomp314
2004-05-21, 04:50 PM CDT
download and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmv
STiAT
2004-05-22, 05:01 AM CDT
I personally installed the sharutils from the FC2 CD3 ;)...
// STi
Picomp314
2004-05-22, 07:36 AM CDT
alright then, can you give the entire output after you issued 'make'??
STiAT
2004-05-22, 01:34 PM CDT
Well, here is the output i get from the compile:
for i in ./ath_hal ./wlan ./driver; do \
(cd $i; make); \
done
make[1]: Entering directory `/root/madwifi-cvs/ath_hal'
uudecode ./../hal/linux/i386-elf.hal.o.uu
make[1]: Leaving directory `/root/madwifi-cvs/ath_hal'
make[1]: Entering directory `/root/madwifi-cvs/wlan'
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/root/madwifi-cvs/wlan modules
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make[1]: Leaving directory `/root/madwifi-cvs/wlan'
make[1]: Entering directory `/root/madwifi-cvs/driver'
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/root/madwifi-cvs/driver modules
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
CC [M] /root/madwifi-cvs/driver/if_ath_module.o
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make[1]: Leaving directory `/root/madwifi-cvs/driver'
uudecode: ./../hal/linux/i386-elf.hal.o.uu: No `end' line
make[1]: *** [hal.o] Error 1
/root/madwifi-cvs/driver/if_ath_module.c:39:20: opt_ah.h: No such file or directory
make[3]: *** [/root/madwifi-cvs/driver/if_ath_module.o] Error 1
make[2]: *** [/root/madwifi-cvs/driver] Error 2
make[1]: *** [all] Error 2
make: *** [all] Fehler 2
Thank you for your help, Picomp314 ... really nice there are people as you around.
// STi
Picomp314
2004-05-22, 10:03 PM CDT
This is extremely unusual, i also tried a cvs checkout on one of my desktops, and it failed with the same error...
I think this must be a bug in the code, hopefully it will be resolved in a couple of days
STiAT
2004-05-23, 05:44 AM CDT
Thank you, Picomp314. At least i know now that it definitely is what i already thought ... an error in the code itself.
Hopefully it will be solved soon :)
// STi
blahrus
2004-05-24, 06:12 PM CDT
yayayayay thanks again,
now I just have to ifup ath0 and it goes and does all the work :)
STiAT
2004-05-25, 01:52 PM CDT
hmm blahrus, you still got the files you downloaded from CVS? May you can tar them and put them somewhere? Because the current CVS-Version seems to be broken, and i'd need the files...´
I'd be very thankful...
// STi
danacook
2004-05-25, 06:09 PM CDT
Looks like you checked out the code on windows...
try doing a dos2unix on all the files, otherwise
the newlines are screwed up.
Picomp314
2004-05-26, 01:41 PM CDT
i just did a new cvs checkout, and i am not getting the problem any longer; also, try doing a make clean just to make sure that you are doing a clean compile
oh yeah
BTW: http://atrpms.net/dist/fc2/madwifi/
:D
STiAT
2004-05-26, 03:02 PM CDT
I just did a checkout and still get the same error.
I also tried to install the modules from atrpms, some days ago..
The problem there is that i got 3 *.o files in /lib/modules/<kernelverson/updates
but when i insmod them it says "invalid module format".
I dont know how to handle them anyways.
Any further suggestions?
// STi
STiAT
2004-05-26, 04:07 PM CDT
Okay, i finally got it running. Yea, right, i :D
Well, for the ones searching:
I compiled madwifi with the tarball of gentoo linux.
ftp://gentoo.inode.at/source/distfiles/madwifi-driver-0.1_pre20040514.tar.bz2
Thanks to gentoo i could build the driver. I am now up on fc2 using madwifi driver. And the cvs responsitory does still not work here.
Anyways Picomp314. Thank you for the great HowTo, your support and the time you spent for me, and lot of others. That the madwifi CVS responsitory is not complete at the moment - nothing to blame you for. You did a great job. Thank you again for the How-To!
// STi
STiAT
2004-05-26, 04:13 PM CDT
stopandgo
2 hours after my first retry on the cvs, i just checked out again - now it works with the CVS-Version too.
Picomp314
2004-05-27, 01:10 PM CDT
awesome.
mattg1981
2004-06-26, 12:01 PM CDT
Hey, PiComp .. i have a problem ... I followed all your steps, and everything compiled fine and if I run iwconfig it shows ath0. However, when I run ifup ath0 ... it says Determing IP information for ath0 ... failed.
I cant seem to connect ...
Can you please provide additional information perhaps?
Here is what I know (according to Windows):
adapterSSID="GimblWireless"
adapterChannel="6"
adapterWepKeys="xxxxxxxxxxxxxxxx"
hostWorkgroupName="WORKGROUP"
I am almost certain I have it in Ad-Hoc mode ...
can you give me a cutom config script or anything that will help
<edit>
after a quick reboot ... Kudzo (the new hardware detector) detected it and asked if I wanted to configure it .. and I hit yes .. but when i got back to gnome ... i still have no luck.
mattg1981
2004-06-26, 12:14 PM CDT
oh .. I have a Atheros AR5001X+ Wireless Network Adapter and apparently this chipset doesnt have a working driver yet :(
dalamar
2004-06-28, 03:53 AM CDT
first, i'd like to thank picomp314 and stiat for their directions in getting my wireless connection working.
second, matt, this method works with ATHEROS AR5001X in FC2. i have Linksys WMP55AG which uses this chip.
lastly, i just wanted to point out that if you're using WEP, your network cannot be on a channel other than 1.
my network was originally on channel 4, so i had this in my ifcfg-ath0:
MODE=Managed
CHANNEL=4
this didn't work and i don't know why. i did noticed, however, that whenever the mode is set to Managed in FC's Network Configuration tool, the Channel and Transmit rate settings are faded out and unsettable.
once i changed my network to channel 1, everything worked flawlessly.
some other tips:
- if you get pass picomp314's insmod step and you're still having problems, it's probably a wireless setting. try diabling wep, etc., to reduce the number of variables that might be causing your problem.
- if you use WEP, don't put KEY in ifcfg-ath0. create a file keys-ath0 readable only by root and insert the setting in there (e.g. KEY=X)
here's my ifcfg-ath0 settings:
DEVICE=ath0
BOOTPROTO=dhcp
HWADDR=
ONBOOT=yes
TYPE=Wireless
USERCTRL=no
PEERDNS=yes
IPV6INIT=no
MODE=Managed
CHANNEL=1
ESSID=
RATE=Auto
good luck!
STiAT
2004-06-28, 12:51 PM CDT
This version should work for all wireless networks around.
I dont recommend to set the channel in your ifcfg-ath0, but anyways, i'll have to take a look lateron to know what exactly could cause this problem.
ifcfg-ath0
STARTMODE=hotplug
DEVICE=ath0
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ESSID=any
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=no
// STi
mattg1981
2004-06-29, 11:15 AM CDT
FINALLY!!!!!!!!!
After about 2 hours! and many many months in the waiting!!!!
THANK ALL YOU GUYS SOOOOOO MUCH!!!!!
One thing I had to do for some reason was go to System Setting -> Network and activate it from there ... that was kinda odd, and I was about ready to give up too.
THANKS AGAIN GUYS ... I REALLY MEAN IT.
mattg1981
2004-06-29, 11:25 AM CDT
here is my ifcfg-ath0 btw .... WEP disabled and I had to knock it down the base station down from wireless-g to wireless-b. I will tinker with the settings later, but I got it working now :)
DEVICE=ath0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Wireless
USERCTL=yes
PEERDNS=no
IPV6INIT=no
MODE=Managed
STARTMODE=hotplug
ESSID=
RATE=Auto
WIRELESS=yes
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
HWADDR=
GATEWAY=
CHANNEL=1
Lotta stuff in here :)
STiAT
2004-06-29, 11:32 AM CDT
Well, madwifi itself isn't out of testing phase yet. Could be that it has some troubles with the support of your card / chipset, and therefore you had to knock it down to 802.11b
Anyways, good luck all others with their wlan-cards. I hope madwifi will be included one day into the kernel as well. That would make it a bit easier to handle.
// STi
mattg1981
2004-06-29, 11:46 AM CDT
btw .. what is the difference between 802.11g and 802.11b .... it doesnt make my internet go slower, it just makes wireless file sharing between computers on your network slower right?
Picomp314
2004-06-29, 07:10 PM CDT
lots of activity, wow, i guess i havent been paying attention
ty mattg1981 for the heads up about the 802.11 g, my friend was having probs with that, I will see if it solves some problems
dalamar
2004-06-30, 01:03 AM CDT
btw .. what is the difference between 802.11g and 802.11b .... it doesnt make my internet go slower, it just makes wireless file sharing between computers on your network slower right?
G transfers data at 54Mbs and B transfers data at 11Mbs... so unless you're internet connection is faster than 11Mbs, you won't notice anything different when accessing the internet. however, the connection among your computers within your network will be slower.
mattg1981
2004-06-30, 01:51 AM CDT
my connection doesnt seem to activate or what have you at boot time ... What I mean is if the computer starts, I cant just open up the web browser and start surfing, I have to manually type ifup ath0 to activate my internet.
Is there any way that this can be automated?
superbnerd
2004-06-30, 02:21 AM CDT
they shoud be *.ko files not .o becuase its kernel 2.6 not 2.4. you should check for a different rpm built for 2.6.
Picomp314
2004-06-30, 07:18 PM CDT
mattg1981: you could probably create a script to do it automatically in /etc/rc.d/rc5.d, i guess i'll look at writing one
FXRS
2004-07-08, 11:40 AM CDT
Well I could get this going very easily in Slack, but man Im having a bear of a time in Fedora.
For one, the /etc/sysconfig/network-scripts/ifcfg-ath0 script keeps getting rewritten on me, changing the ip values and such. When I have everything setup right, it still will not work. If I do a "iwconfig" it will show up.
I really don't know what Im doing wrong here. I used the rpms from atrpms for the install.
Anyone give me a hint or two?
I can get driverloader working fine, but it will not work with samba. :(
FX
Picomp314
2004-07-08, 07:15 PM CDT
try compiling it yourself
the rpms seem to be messing something up
FXRS
2004-07-08, 11:36 PM CDT
Sorry for being so dense about this, but I've pretty much followed your instructions except I downloaded the source code and I am trying to compile it and I always get this error.
make[1]: Entering directory `/home/joe/madwifi/madwifi-20030802/driver'
/lib/modules/2.6.6-1.435.2.3smp/build/scripts/modpost /lib/modules/2.6.6-1.435.2.3smp/build/vmlinux if_ath.o
/lib/modules/2.6.6-1.435.2.3smp/build/vmlinux: No such file or directory
make[1]: *** [if_ath.mod.c] Aborted
make[1]: Leaving directory `/home/joe/madwifi/madwifi-20030802/driver'
make: *** [install] Error 2
[root@laptop madwifi-20030802]#
Not really sure what to do. Do I create a symlink some where or what?
FX
superbnerd
2004-07-09, 05:12 AM CDT
it looking for your kernel source code. to fix this you may need to compile your kernel.
FXRS
2004-07-09, 05:24 AM CDT
I believe I tried that. I went to the /usr/src/linux <kernel> and did a make old config and then make install.
FX
FXRS
2004-07-09, 11:12 AM CDT
Ok started from scratch and this is the error I get now.
make[3]: *** No rule to make target `vmlinux', needed by `__modpost'. Stop.
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/lib/modules/2.6.6-1.435.2.3smp/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/joe/madwifi/madwifi/driver'
make: *** [install] Error 2
I also got an error while doing the "make install" in the kernel too.
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.6-1.435.2.3/arch/i386/boot/install.sh 2.6.6-1.435.2.3custom arch/i386/boot/bzImage System.map ""
WARNING: Couldn't open directory /lib/modules/2.6.6-1.435.2.3custom: No such file or directory
FATAL: Could not open /lib/modules/2.6.6-1.435.2.3custom/modules.dep.temp for writing: No such file or directory
/lib/modules/2.6.6-1.435.2.3custom is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
Now what am I doing wrong?
FX
FXRS
2004-07-09, 10:59 PM CDT
One last question I guess? Could it be possible that the fedora kernel and madwifi don't like my HT (smp) processor I have. Like I said I could get it working fine with the vanilla kernel and Slack. I've never compiled a kernel from kernel.org for a rpm distro and I have heard that it can be a pain. If theres away around I would be interested.
I think in a last ditch effort I may try just booting into a reg kernel, non-smp one and try it that way.
FX
Picomp314
2004-07-10, 01:18 AM CDT
ok, first download the latest kernel from http://www.kernel.org (2.6.7)
extract to /usr/src/linux-2.6.7 go through and configure it for your system, if you have any questions message me over AIM (pi314pipi)
then use the command make && make modules_install && make install
if it works reboot into the new kernel
if you get a kernel panic edit /boot/grub/grub.conf so that root=/dev/<your_root_partition>
do you have sharutils installed?
FXRS
2004-07-10, 02:06 AM CDT
So its pretty much the same compiling for a rpm distro as it is for a non-rpm distro.
Yes I have sharutils installed. When I do an install I install everything. :D
FX
Picomp314
2004-07-10, 02:09 AM CDT
just making sure, the errors that the compiler outputs when it's not installed are not particularly descriptive
i compile a new kernel from kernel.org on FC2 almost weekly
FXRS
2004-07-10, 09:15 AM CDT
Well I got madwifi to install with the 2.6.7 kernel and the modules also.
Typed ath0 up after eth0 down and it will not go to the internet or local lan.
Tried to do a reboot and most of the settings in the ifcfg-ath0 config file is rewritten. Im really at a lost here.
FX
Pendragon
2004-07-23, 07:05 AM CDT
I have followed the instructions and found them very usfull, the little lights on my D-Limk DWL-G650 are flashing like crazy ( a good sign!) Thing is I would like to set it up using a static IP because of the way I have my network.
I'm guessing it requires editing the ifcfg-ath0 file, any suggestions would be very helpfull.
Picomp314
2004-07-23, 07:10 AM CDT
just post the ifcfg-ath0 u are using and i will tell you what to change
Pendragon
2004-07-23, 07:30 AM CDT
just post the ifcfg-ath0 u are using and i will tell you what to change
STARTMODE=hotplug
DEVICE=ath0
BOOTPROTO=dhcp
WIRELES=yes
MODE=Managed
ESSID=any
CHANNEL=6
IPV6INIT=no (I didn't put this line in)
ONBOOT=no (I didn't put this line in)
USERCTL=no (I didn't put this line in)
PEERDNS=no (I didn't put this line in)
TYPE=Unknown (I didn't put this line in)
Thing I would like to happen...
Stattic IP 192.168.0.5
Gateway 192.168.0.1
DNS 194.168.4.100
194.168.8.100
ESSID MSHOME (I know, one step at a time, the rest of the network will go Linux oneday) :D
Workgroup MSHOME
I would also like to enable 128 WEP I don't like running an open wireless connection
Picomp314
2004-07-23, 08:14 AM CDT
make sure you add your key to the 'KEY=' line at the bottom
alright your ifcfg-ath0 will be as follows:
STARTMODE=hotplug
DEVICE=ath0
WIRELES=yes
MODE=Managed
ESSID=MSHOME
CHANNEL=6
IPADDR=192.168.0.5
GATEWAY=192.168.0.1
KEY=
as far as DNS
edit the file /etc/resolv.conf, remove all lines, and add these:
nameserver 194.168.4.100
nameserver 194.168.8.100
as far as the workgroup... that is handled by samba, and is completely seperate
Pendragon
2004-07-23, 06:24 PM CDT
Thanks for your help...
Next question... When the card is busy the computer slows down, the mouse is most affected. If I was to guess it looks like an hardware interupt conflict. (going back to my DOS/Win3.1 days)
tinydancer
2004-07-27, 01:11 AM CDT
Hi there,
I've got a Netgear WG311 and I'm running Fedora Core 2. I've built madwifi from the most recent cvs source and the ath_pci, ath_lan and wlan modules are loaded, but when I try and bring up ath0 I get the following message:
Bringing up interface ath0: ath_pci device ath0 does not seem to be present, delaying initialization.
I've been searching the forum, and various faqs, but unfortuately I haven't been able to pinpoint where I'm going wrong. My settings are as follows:
/etc/sysconfig/network-scripts/ifcfg-ath0
STARTMODE=hotplug
DEVICE=ath0
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ONBOOT=yes
ESSID=any
KEY=<my-key>
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:2E:01:12:A4
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20e:2eff:fe01:12a4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25049 errors:0 dropped:0 overruns:0 frame:0
TX packets:23203 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16032142 (15.2 Mb) TX bytes:7437653 (7.0 Mb)
Interrupt:9 Base address:0xd400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1856 errors:0 dropped:0 overruns:0 frame:0
TX packets:1856 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1876884 (1.7 Mb) TX bytes:1876884 (1.7 Mb)
/sbin/iwconfig
lo no wireless extensions.
sit0 no wireless extensions.
eth0 no wireless extensions.
/sbin/lspci -v
00:0c.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
Subsystem: Netgear: Unknown device 4c00
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at dfffc000 (32-bit, non-prefetchable)
Memory at dffc0000 (32-bit, non-prefetchable) [size=128K]
Capabilities: <available only to root>
Thanks
Picomp314
2004-07-27, 05:33 AM CDT
this is not the driver for you.
http://acx100.sf.net
tinydancer
2004-07-27, 05:04 PM CDT
Thanks ever so much :-)
ravalox
2004-08-02, 10:56 PM CDT
I got the kernel source rpm installed and it dumped a whole mess of stuff in usr/src/redhat/SOURCES that hardly seem applicable to doing a make all or even a make oldconfig. Am I missing a vital install step like a -notatotalmess option in doing a source rpm?
emarquezarreaza
2004-08-31, 12:23 PM CDT
I tried the RPM http://www.fedoraforum.org/forum/showthread.php?p=96708#post96708, it didn't work because of Kernel incompatability and RPM for 2.6.8.1 are still experimental :(
Also, I tried to compile using this HOWTO. But, it didn't work either :confused:
Therefore, if someone could give a nice how-to, I would greatly appreciate it :D
Picomp314
2004-08-31, 04:56 PM CDT
there is a problem the current madwifi drivers have with kernel 2.6.8.x, several patches for the madwifi tree have been released
http://users.informatik.haw-hamburg.de/~gropp_v/madwifi-2.6.8_and_-mm-040821.patch.bz2 download that and etract within the madwifi directory
then apply the patch, and it should build fine
emarquezarreaza
2004-09-01, 07:50 AM CDT
Thank you again!
After a whole lot of reading and almost 5 hours all together. I am finally Wireless
:):):)
bohlke
2004-09-14, 06:41 PM CDT
Can anyone help me with this, I am hell bent to get this driver to compile with 2.6.7
Ok so I found through some digging that the IEEE_802.11 flag wasnt set in my kernel, which then of course explained the unresolved symbols. I am so close now however it appears that the modules are missing references to their own libraries?? Anyone have any idea why I am getting the following warnings when I try to compile the modules? FWIW the machine now reboots when I load the module which is better than a hard freeze
*** Warning: "ath_hal_init_channels" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_probe" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_detach" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_mhz2ieee" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_computetxtime" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "_ath_hal_attach" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
Hopefully someone can help me with this, I "think" that these symbols are in the uuencoded file as they dont show up in any of the .c files. Any help would be great.
aatc20
2004-09-14, 07:10 PM CDT
hello guys, I am a newbie to linux, even though I have been using it for a while now, what an irony. Anyhow,
I am trying to setup my proxim orinoco silver combo card chipset atheros 8461-05. I downloaed the madwifi, kernel source 2.6.5-1.358 and compiled them. Did insmod etc. After that whenever I type ifconfig ath0 up it keeps saying
ath0: unknown interface: No such device
ifup ath0 gives me
ath_pci
ath_pci device ath0 does not seem to be present, delaying initialization.
my ifcfg-ath0 file is as followed:
STARTMODE=hotplug
DEVICE=ath0
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ESSID=any
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=no
I added the alias ath0 ath_pci line in modprobes.conf, modules.conf
nothing seems to help me. When I boot the pc with the pc card in the slot, it gets stuck at
starting pcmcia
but boots fine if the pccard is not in the slot. Will anybody please help me?
BTW, I am using a hp ze1250 amd laptop if that matters at all.
bohlke
2004-09-14, 08:13 PM CDT
Can anyone help me with this, I am hell bent to get this driver to compile with 2.6.7
Ok so I found through some digging that the IEEE_802.11 flag wasnt set in my kernel, which then of course explained the unresolved symbols. I am so close now however it appears that the modules are missing references to their own libraries?? Anyone have any idea why I am getting the following warnings when I try to compile the modules? FWIW the machine now reboots when I load the module which is better than a hard freeze
*** Warning: "ath_hal_init_channels" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_probe" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_detach" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_mhz2ieee" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_computetxtime" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "_ath_hal_attach" [/home/bohlke/madwifi/tmp/madwifi/ath/ath_pci.ko] undefined!
Hopefully someone can help me with this, I "think" that these symbols are in the uuencoded file as they dont show up in any of the .c files. Any help would be great.
AAARRRRRRGHHHH!!!!!!
I finally got the thing to pseudo compile in the 2.6.7 kernel tree and it still locks my computer tight :( :(
I have a fujitsu 5020d does anyone have a tarball of a version of this driver that works with 2.6.7???
Please please please.......
sigh
Picomp314
2004-09-14, 08:28 PM CDT
bohlke: whenever i compile it i generally get like 30 things that are undefined
normally that doesnt cause any problems, i find it interesting that it does in your case
maybe they released some new code in the madwifi CVS
2.6.7 was by far the easiest that the madwifi source worked for me, with 2.6.8.x you had to patch the sourcecode
my best suggestion is to do a new checkout of the CVS, and hopefully any bugs are fixed
if this doesnt work PM me or AIM me and i can link you to a gzipped backup i have of some an older madwifi CVS
aatc20:
what commands are you using to bring the card up when you boot?
normally i do
ifconfig ath0 up
dhclient ath0
that seems to be the best combination
also, if there is another ethernet interface i.e. eth0 i would do ifconfig eth0 down: because sometimes they conflict with one another
aatc20
2004-09-15, 09:12 AM CDT
Picomp, thanks for your reply. When I manage to get the os loaded without the pcmcia card, I just type
ifconfig ath0 up
it says ath0: no such interface
if I type
ifup ath0 it says
ath0 does not seem to be present, delaying initialization.
I dont have the laptop with me right now so these are from my memory(no exact error msg) but you get the point.
Can you please tell me how I can get the OS to see the ath0 interface. I also tried the GUI system-network-config. It shows the ath0 interface but when I try to activate it, it says
ath0 does not seem to be present, delaying initialization.
Thanks for your help in advance. I greatly appreciate it.
bohlke
2004-09-15, 09:20 AM CDT
Picomp, thanks for your reply. When I manage to get the os loaded without the pcmcia card, I just type
ifconfig ath0 up
it says ath0: no such interface
if I type
ifup ath0 it says
ath0 does not seem to be present, delaying initialization.
I dont have the laptop with me right now so these are from my memory(no exact error msg) but you get the point.
Can you please tell me how I can get the OS to see the ath0 interface. I also tried the GUI system-network-config. It shows the ath0 interface but when I try to activate it, it says
ath0 does not seem to be present, delaying initialization.
Thanks for your help in advance. I greatly appreciate it.
FWIW I got the same type of error when I loaded an older version of madwifi, I looked in /var/log/messages and it said:
Sep 14 23:08:03 lifebook kernel: ath%%d: unable to attach hardware; HAL status 3488169984
which I assume means that the driver is loaded but isnt seeing the hardware correctly. Another thing I noticed is my laptop assigned eth2 to the ath_pci module, if you do an ifconfig -a it will list all of the adapters possibly its named something else
I am still having trouble but at least I am getting to reboot often :)
aatc20
2004-09-15, 10:29 AM CDT
BTW, I just wanted to point out that I cant even start pcmcia when the card is plugged into the laptop. It gets stuck. (as i mentioned earlier, it also gets stuck when trying to start pcmcia with the card in the slot during boot).
Thanks for your help guys.
Picomp314
2004-09-15, 05:37 PM CDT
do you have any other pcmcia cards that DO work??
because it sounds like that is what is broken
aatc20
2004-09-15, 06:14 PM CDT
Hmm, didnt try that. The pcmcia slot works with windows xp with the exact same wireless card. Is it possible that its not supported by linux? this pcmcia port is different than the other laptops i have used before. it has a slot for cardbus cards and a slot for the regular 16 bit cards. I cant fit the proxim card in the first slot.
BTW, I followed the how to step by step once again, still the same result. Should i try to upgrade to a newer kernel than 2.6.5-1.358(which is what i have now).
Surprisingly i got this working in my thinkpad 390E with redhat 9.0. it still works in it, but not in this hp. :(
bohlke
2004-09-15, 06:43 PM CDT
bohlke: whenever i compile it i generally get like 30 things that are undefined
normally that doesnt cause any problems, i find it interesting that it does in your case
maybe they released some new code in the madwifi CVS
2.6.7 was by far the easiest that the madwifi source worked for me, with 2.6.8.x you had to patch the sourcecode
my best suggestion is to do a new checkout of the CVS, and hopefully any bugs are fixed
if this doesnt work PM me or AIM me and i can link you to a gzipped backup i have of some an older madwifi CVS
:) It works now that I have the tarfile from you!!! Kismet seems to be working as well, no I will worry about DHCP
Thanks so much!!!
aatc20
2004-09-15, 10:46 PM CDT
I just tried my dlink pcmcia ethernet card. It was detected readily in no time. But no luck with the proxim wireless card yet. :(
aatc20
2004-09-16, 03:53 PM CDT
I must have screwed up something somewhere. Well, I decided not to play around with it anymore. Bought a cisco 340 card. it should work out of the box.
BTW, i also tried a compaq WL 100 card version 1. That worked right out of the box. No setup what so ever.
Picomp314
2004-09-18, 08:42 AM CDT
yeah, those are some very odd problems
it seems that the cardbus slot was allergic to the atheros stuff
it worked fine in my friend's laptop
cisco is the way to go if you can find them
besides the a/b/g capabilities of the atheros card
haojianguwm
2004-09-30, 10:18 PM CDT
how to make DWL 520 work on Fedora 2
try to make my DWL-520 (rev.b) working.
I installed Fedora 2 with kernel 2.6.8-1.521
I followed the madwifi rpm howto
walking through 1 to 7 with no problem
intalled atrpm, kenel-madwifi, and madwifi rpms.
However. I still can get my network working.
I can see ath0, but device type is unknown unlike eth0 known as eathernet.
When I try to add a new wireless network, I can not see ath0 in the device list.
can any one help me on this.
I really appreciate.
jwyse
2004-10-05, 12:06 AM CDT
First, let me apologize if this is not the correct thread for this question, or if this question has already been answered in another thread. I searched but was not able to find the answer in any other fedoraforum threads.
Second -- thanks to Picomp314 for his (?) information and "tutorials" for madwifi. I was finally successful installing madwifi after finding step-by-step instructions in another thread. (I'm pretty new to Linux).
Now, my question: It seems that my wireless card is up and running, but apps seem to be bound to the eth0 interface. When I unplug the ethernet cable (for a true test of wireless) I am unable to browse websites or ping local IP addresses. I was, however, able to ping a local net address when I specified the interface (ath0), so I know wireless is working. So -- how can I set it up so that apps (and the computer in general) will use ath0 whenever eth0 is disconnected/unavailable?
Also... during my first reboot after getting this working, the ath0 init failed (it seemed to be active by the time X was up and I started system-config-network though). Eth0 was next to be brought up (successfully) in the bootup process, and a few lines later, PCMCIA. My guess is that PCMCIA needs to be started before it can "see" the wireless card during the init phase. Is this correct, and how can I change the init order to make this happen automatically?
Thanks in advance.
By the way, I'm running Fedora Core 2.6.8-1.521 and using a Linksys WPC55AG wireless card in a Dell Inspiron notebook, if this helps.
Picomp314
2004-10-05, 05:27 PM CDT
ok first, the pcmcia startup order issue (i am assuming that you are using a graphical login (init 5))
the order is controlled by the numbering of filenames within a folder
change the number, and you change the order of startup
look for a file in /etc/rc.d/rc5.d/
S##pcmcia, you need to change the ## to one less than that of S##network, but make sure that the number is not already taken
as far as programs not recognizing the active card
from a terminal you can issue the command ifconfig ath0 down, and the programs should default to ath0
jwyse
2004-10-05, 06:53 PM CDT
Thanks a lot Picomp! Apparently I caused more harm than good trying to set up profiles within the system-config-network utility last night (need to research that some more), so I had to back out all of those changes before i could try your suggestion. It worked, and I laughed like a mad scientist / evil genius for several minutes.
Picomp314
2004-10-12, 08:04 PM CDT
that's what i like to hear :D
MrDew
2004-10-31, 07:38 PM CST
Help?
I Gave It a try/
Blitzz SuperG PCI Card
00:0a.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
I Went To Install The kernel-source
It Faild A Dep.
Package xorg-x11-libs needs xorg-x11-libs-data = 6.7.0-5, this is not available.
So I downloaded it. And Try To Install The Failed Dep.
[root@mrdew mrdew]# rpm -Uvh xorg-x11-libs-data-6.7.0-5.x86_64.rpm
Preparing... ########################################### [100%]
package xorg-x11-libs-data-6.7.0-5 is already installed
Weird? Fedora Core 2 | AMD 64BIT | x86_64 | 2.6.8-1.521
Picomp314
2004-10-31, 07:58 PM CST
ok, first off, how are you trying to install kernel-source are you just installing with yum or with rpm
if you are using rpm try using yum, if you are using yum try downloading the package directly and then using rpm
yum install kernel-source
yum will auto solve dependencies, so it will hopefully solve any problems you have installing kernel-source, but nothing is perfect and yum could choke thinking that there is no way to install a particular package
i assume that you have a working /etc/yum.conf, if not ask and i will help you make one
MrDew
2004-10-31, 09:15 PM CST
I Tryed "yum install kernel-source
Error:
[root@mrdew root]# yum install kernel-source
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - x86_64 - Base
Server: Fedora Core 2 - x86_64 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
........Unable to satisfy dependencies
Package xorg-x11-libs needs xorg-x11-libs-data = 6.7.0-5, this is not available.
/etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
I Also Downloaded Ths So Called Missing DEP. And It Says It's All Ready Installed
[root@mrdew mrdew]# rpm -Uvh /home/mrdew/xorg-x11-libs-data-6.7.0-5.x86_64.rpm
Preparing... ########################################### [100%]
package xorg-x11-libs-data-6.7.0-5 is already installed
Any Other Ideas?
MrDew
2004-10-31, 11:14 PM CST
ok, i went and updated EVERYTHING
then i ran that make all
it did a bunch of stuff
Then ERROED
ld: BFD 2.15.90.0.3 20040415 assertion fail ../../bfd/linker.c:619
fs/built-in.o(.text+0x6cadc): In function `presto_e3_trans_start':
include/linux/ext3_fs.h:469: undefined reference to `journal_start'
fs/built-in.o(.text+0x6cc91): In function `presto_e3_trans_commit':
fs/intermezzo/journal_ext3.c:218: undefined reference to `journal_stop'
make: *** [.tmp_vmlinux1] Error 1
Gonna Restart And See What Happens
MrDew
2004-11-01, 12:37 PM CST
Update.....
was using an old kernel-source
New ERROR:
[root@mrdew madwifi]# make
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/root/madwifi/ath_hal'
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/linux/i386-elf.hal.o.uu
make[1]: uudecode: Command not found
make[1]: *** [hal.o] Error 127
make[1]: Leaving directory `/root/madwifi/ath_hal'
make: *** [all] Error 1
Did I Miss a Package Or Something?
MrDew
2004-11-01, 02:57 PM CST
ok, i had to insyall sharutils even thoe it showed up
New Error:
ld: Relocatable linking with relocations from format elf32-i386 (/root/madwifi/ath_hal/hal.o) to format elf64-x86-64 (/root/madwifi/ath_hal/ath_hal.o) is not supported
make[3]: *** [/root/madwifi/ath_hal/ath_hal.o] Error 1
make[2]: *** [_module_/root/madwifi/ath_hal] Error 2
make[2]: Leaving directory `/lib/modules/2.6.8-1.521/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/madwifi/ath_hal'
make: *** [all] Error 1
Is Their A 64Bit CVS Version
Picomp314
2004-11-01, 07:32 PM CST
64bit madwifi... i dont have any experience with that
but my best advice is to edit the Makefile inside the madwifi cvs directory
there shouldnt be a problem with 32bit/64bit versions AMD64 (??) is backwards compatible
can you give me more of the output the latest error isnt telling me anything
MrDew
2004-11-04, 06:07 PM CST
AMD 64Bit 3400+ "2 Ghz"
/root/madwifi
make
[root@mrdew madwifi]# make
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/root/madwifi/ath_hal'
make -C /lib/modules/2.6.8-1.521/build SUBDIRS=/root/madwifi/ath_hal modules
make[2]: Entering directory `/lib/modules/2.6.8-1.521/build'
LD [M] /root/madwifi/ath_hal/ath_hal.o
ld: Relocatable linking with relocations from format elf32-i386 (/root/madwifi/ath_hal/hal.o) to format elf64-x86-64 (/root/madwifi/ath_hal/ath_hal.o) is not supported
make[3]: *** [/root/madwifi/ath_hal/ath_hal.o] Error 1
make[2]: *** [_module_/root/madwifi/ath_hal] Error 2
make[2]: Leaving directory `/lib/modules/2.6.8-1.521/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/madwifi/ath_hal'
make: *** [all] Error 1
padixon
2004-11-04, 09:10 PM CST
So I followed all the instructions and everythings gone smoothly until just now. Sharutils is installed, make oldconfig and makeall worked fine (took awhile, but went off without a hitch). Then, when I was creating the symbolic link from /usr/src/linux-2.6.5-1.358/vmlinux to /lib/modules/2.6.5-1.358/build/vmlinux I accidentally typed "ln -s /usr/src/linux-2.6.5-1.358/ /lib/modules/2.6.5-2.358/build/vmlinux" --basically I left out the vmlinux in the source of the command. Now, when trying to make inside the madwifi directory, I get this error:
---
make[1]: Entering directory `/root/madwifi/ath_hal'
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/root/madwifi/ath_hal modules
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
Building modules, stage 2.
MODPOST
vmlinux: No such device
make[3]: *** [__modpost] Error 134
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/madwifi/ath_hal'
make: *** [all] Error 1
-----
how do i fix this? can I just make oldconfig again and then makeall again?
can ya tell i'm a newbie yet?
thanks anyone for any help i can get on this...
padixon
2004-11-04, 11:58 PM CST
fixed the problem, completed the rest of the tasks....no luck, still. after typing in ifup ath0 tried to ping the router and got a straightforward msg: "connect: Network is unreachable"
any thoughts?
padixon
2004-11-05, 12:57 AM CST
Well, I'm done trying for the night - I've gotten awfully close - here's what I've got so far.
On startup, the computer recognizes the card and ath0 gets up and running. For a moment, the lights on the card start blinking like their sending/recieving info, but then they go dark for about three seconds and then they start blinking steadily like stoplights do in the middle of the night - obviously there isn't any data transfer going on.
When I try to ping I get this msg:
"connect: Network is unreachable"
When I type in "$iwconfig ath0" I get this:
ath0 IEEE 802.11g ESSID:(the name of our network) Nickname:"localhost.localdomain"
Mode: Managed Frequency:2.437 Ghz Access Point:(verified Mac addy is correct)
Bit Rate:11Mb/s Tx-Power:50 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption Key:(our WEP key) Security Mode: restricted
Power Managment:off
Link Quality:20/94 Signal level:-75dBm Noise level=-95dBm
Rx invalid nwid:1302 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
my ifcfg-ath0 looks like this:
STARTMODE=hotplug
DEVICE=ath0
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ONBOOT=yes
ESSID=(our network name)
CHANNEL=6
KEY=(our WEP key)
----
So that's what I got so far. Maybe I snagged a bum beta version of madwifi when I cvs-ed it earlier today. Btw, I'm running on 2.6.5-1.358 kernel at the moment...planning on compiling 2.6.9 tomorrow sometime. Perhaps the newer kernel will help me out?
It's quite frustrating to see the lights blink like the card is working while the screen tells me "Determining IP information for ath0..." and then have the damn card give up and blink meaninglessly. My router runs 802.11b and my IEEE setting is for 802.11g. Does this make a difference? I don't think it does but I figured i'd ask anyway.
anyway, any help whatsoever would be appreciated, Picomp, and I'd also like to echo everyone elses thank-yous regarding this How-To documentation. Quite amazing, I gotta say.
Picomp314
2004-11-05, 06:30 AM CST
padixon: ok, first off to try and help MrDew, how did you fix the error message you posted in your first post????
next, madwifi seems to be finickey with how the card and attached drivers are brought up
on my friend's laptop for whom i gained the expertise to write this how-to one has to start up the computer without the card in the slot and then manually do an 'ifup ath0'; after this i remember occasionally having to do an 'ifconfig eth0 down' and then 'dhclient ath0'
sometimes having more than one interface up at a time confuses the computer because it does not know where to route the information to, it may be necessary to edit /etc/resolv.conf as well
MrDew
2004-11-05, 03:12 PM CST
Which One.....
padixon
2004-11-05, 10:59 PM CST
Picomp: no luck. Tried to startup without the card in the laptop and it did the same thing when I did "ifup ath0" -- blinked like it was transferring packets then went kaput into meaningless-blink-mode. I wonder if I got a bum version of madwifi. Anyhow, I've spent all day trying to upgrade my kernel (in the process my HD crashed and I had to fsck in an uber-minimalist shell for like three hours to fix the funky sectors on the HD - possibly have to get a new one...oh drat - or perhaps not, kernel's compiling now faster than it was before the screwup this afternoon). Once the kernel question's out of the way, I'll return to madwifi. Do you have a link for a stable version of madwifi instead of the cvs, since it appears to not always be completely reliable as a source for stable source. At any rate, thanks for everything so far. I'll be back in either the next day or week.
thanks again, PiComp.
Picomp314
2004-11-06, 06:00 PM CST
yeah i do have another version that i saved for exactly this reason, because i found the madwifi cvs to be kind of finickey in providing sources that will always compile cleanly
instant message me and i will link you to it...
jbecerra
2004-11-18, 05:43 PM CST
I tyr to compile madwifi on my Linux Box
[root@jbecerra madwifi]# uname -a
Linux jbecerra 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux
But have some errors:
*** Warning: "ieee80211_iterate_nodes" [/home/jbecerra/atheros/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!
*** Warning: "ether_sprintf" [/home/jbecerra/atheros/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!
Any idea?
Thanks.
Joel Becerra
Picomp314
2004-11-18, 06:10 PM CST
are they causing your compile to fail?
if they aren't then they don't really mean anything
i always get like 30 ieee80211 errors when i compile
hatimad
2004-11-19, 09:52 AM CST
Hello,
I have been trying to get this to work with encryption on since last 2 weeks but no luck yet....
I have installed RPM's and it works with encryption off, It doesnt work when Encryption is on, I do see that machine is connected to in my access point but i dont seem to be able to get the dhcp lease....
and ifconfig ath0 shows errors in receiving packets and frames.....
I am on kernel 2.6.9-1.667smp
this is the config file which works without encryption
STARTMODE=hotplug
DEVICE=ath0
ONBOOT=no
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ESSID=any
KEY=off
CHANNEL=auto
RATE=auto
IPV6INIT=no
This is the config file I am using for encryption but it doesnt work.....
STARTMODE=hotplug
DEVICE=ath0
ONBOOT=no
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ESSID=MyNetwork
KEY='0000-0000-0000-0000-0000-0000-00 open'
CHANNEL=auto
RATE=auto
IPV6INIT=no
I have tried changing this to different values but the result is same, after a little while ifup ath0 fails with several pings
any help will be greatly appreciated
Thank you
Picomp314
2004-11-19, 05:10 PM CST
i believe when my friend connects to his home wireless network which is encrypted the key is in the format
key=00000000000000000000000000
i do not quite understand why you are appending the word 'open' to the end of the line (????)
hatimad
2004-11-19, 05:25 PM CST
Hi,
Thanks for your reply...
I have already tried key=00000000000000000000000000 but it doesnt work....
when i do iwconfig ath0, it shows me restricted mode where as my router is configured as open so after about 10 days i figured out how to do this in open mode....
it seems there is some program with the key.....i mean I have 128 bit encryption and I am using HEX keys....but somehow it has been interpeted as ASCII or something else....
is there any other way to use key in open mode without appending word 'open' and without using quotes around the key??
Picomp314
2004-11-20, 08:22 AM CST
my friend is also using HEX keys, although i am not experienced with 'open mode'
i don't really see why you would have a key that is a bunch of zeroes
are you sure you are entering the right value???
hatimad
2004-11-20, 10:46 AM CST
they are not bunch of zero on my system :D and yes i am entering the right values......
btw your point makes me wonder.... is entering all zeros is equivalent to encryption off??
Thanks for your time, I appreciate you helping me...I have been totally lost on this since last 2 weeks....
jbecerra
2004-11-22, 08:28 AM CST
Yes, is so bad, the compilation fails!
wlan/wlan.ko NOT GENERTATED.
ath_hal/ath_hal.ko generated!
insmod driver/ath_pci.ko NOT GENERATED
perhaps, someone have this compiled files for Fedora Core 2
[root@jbecerra madwifi]# cat /etc/redhat-release
Fedora Core release 2 (Tettnang)
[root@jbecerra madwifi]# uname -a
Linux jbecerra 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux
[root@jbecerra madwifi]#
Thanks.
Joel Becerra
I tyr to compile madwifi on my Linux Box
[root@jbecerra madwifi]# uname -a
Linux jbecerra 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux
But have some errors:
*** Warning: "ieee80211_iterate_nodes" [/home/jbecerra/atheros/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!
*** Warning: "ether_sprintf" [/home/jbecerra/atheros/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!
Any idea?
Thanks.
Joel Becerra
Picomp314
2004-11-22, 04:19 PM CST
i would update the kernel, because the kernel you have is quite old now
i would try to do a new CVS checkout of madwifi because the one you have seems to be bad
soka
2004-11-23, 03:24 PM CST
Hi All,
i need help ... I managed to get to the point where only the dhclient part left ...
Linux localhost.localdomain 2.6.9-1.681_FC3 #1 Thu Nov 18 15:10:10 EST 2004 i686 i686 i386 GNU/Linux
iwlist ath0 scanning - works and i can see my ESSID
iwconfig ath0 - shows correct info
BUT
dhclient ath0 failes all the time :(
and I don't have any idea where to 'debug' (+ I have another wlan card built in the machine, which works fine)
Any help appr.
thxn Soka
Picomp314
2004-11-23, 05:19 PM CST
dhclient ath0 may not be the command you want to use anyways, particularly if you do not use DHCP
try the command
ifup ath0
dongfang
2004-11-24, 11:00 AM CST
I am having problem with installing as the following commands arn't recognised:
insmod wlan/wlan.ko
insmod ath_hal/ath_hal.ko
insmod driver/ath_pci.ko
bash: insmod: commmand not found
please help
soka
2004-11-24, 11:45 AM CST
First of all thanks for your answer. The point is to use dhcp. Anyway since the card is set up to obtain IP through DHCP ,ifup ath0 is causing the same problem as dhclient. The reason why I did iwlist and iwconfig is to see if the card is functioning. Since I see wireless networks around me and i can see my ESSID in the list, I guess the card works. Then I decided to continue to see if I could obtain an address with dhclient, that failed, and I wonder why? ;)
Nov 24 19:23:18 localhost dhclient: DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
Nov 24 19:23:19 localhost dhclient: No DHCPOFFERS received.
Picomp314
2004-11-24, 12:26 PM CST
dongfang: use the command /sbin/insmod
soka: can you attach your /etc/sysconfig/network-scripts/ifcfg-ath0 ???
soka
2004-11-24, 12:51 PM CST
here you go
DEVICE=ath0
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=00:80:C8:12:87:7C
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
USERCTL=no
PEERDNS=yes
GATEWAY=
TYPE=Wireless
IPV6INIT=no
ESSID=Valhalla
CHANNEL=6
MODE=Managed
RATE=54Mb/s
soka
2004-11-24, 12:52 PM CST
and some additional info
iwlist ath0 scanning
ath0 Scan completed :
Cell 01 - Address: 00:80:C8:14:87:79
ESSID:"Valhalla"
Mode:Master
Frequency:2.437GHz (Channel 6)
Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Encryption key:on
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5Mb/s
Bit Rate:6Mb/s
Bit Rate:9Mb/s
Bit Rate:11Mb/s
Bit Rate:12Mb/s
Bit Rate:18Mb/s
Bit Rate:24Mb/s
Bit Rate:36Mb/s
Bit Rate:48Mb/s
Bit Rate:54Mb/s
Extra:bcn_int=100
dongfang
2004-11-24, 03:27 PM CST
got insmod working with your help.... thanks
but it now gives me the folllowing error message:
[root@localhost /]# /sbin/insmod ath_hal/ath_hal.ko
insmod: can't read 'ath_hal/ath_hal.ko': No such file or directory
i gathered that it can't find the file... where do i find the file or what do i have to do to get it?
dongfang
2004-11-24, 03:48 PM CST
I found the files apart from wlan/wlan.ko
however I still get the same error message when i try to run insmod on them...
also i just re-made it...
and I saw that alot of Warnings where issued:
*** Warning: "ath_hal_getwirelessmodes" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwtxpow" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_setupxtxdesc" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_newstate" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_chan2mode" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwessid" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_vlan_register" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_crypto_encap" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwscan" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ath_hal_init_channels" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwessid" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_findrate" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_getoptie" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwmode" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_ioctl_siwscan" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ath_rate_node_init" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_state_name" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwnickn" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwretry" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_chan2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwtxpow" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_delkey" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_iwaplist" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_setkey" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_announce" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_media_status" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_delmac" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_iwsetup" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_media_init" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_next_scan" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwencode" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_vlan_kill_vid" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_ioctl_giwfrag" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ath_rate_detach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_node_cleanup" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_addmac" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_iw_getstats" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwrts" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwnickn" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwretry" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwrange" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_probe" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_mhz2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_find_node" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwpower" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwap" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwfreq" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_ioctl_siwfrag" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_beacon_alloc" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwfreq" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_media_change" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwsens" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_ioctl_siwpower" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_setparam" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_node_copy" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_detach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwname" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_ioctl_siwrts" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_mhz2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwrate" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_dump_pkt" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_getparam" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_chanlist" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_notify_michael_failure" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_computetxtime" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_newassoc" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwsens" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_free_node" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ifdetach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ether_sprintf" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_attach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwmode" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_ioctl_setoptie" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_setmlme" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_beacon_update" [/root/madwifi/ath/ath_pci.ko] undefined!*** Warning: "ieee80211_ioctl_siwencode" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_sysctl_register" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "_ath_hal_attach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ifattach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwap" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_input" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_encap" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_tx_complete" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwrate" [/root/madwifi/ath/ath_pci.ko] undefined! CC /root/madwifi/ath/ath_pci.mod.o
LD [M] /root/madwifi/ath/ath_pci.ko
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make[1]: Leaving directory `/root/madwifi/ath'
Picomp314
2004-11-24, 05:33 PM CST
soka: you might want to clean up your ifcfg-ath0 a bit, there is quite a bit of stuff in there that you probably don't need
[root@localhost /]# /sbin/insmod ath_hal/ath_hal.ko
insmod: can't read 'ath_hal/ath_hal.ko': No such file or directory
dongfang: you are not running the command correctly, you cannot just run the command from anywhere you have to be within the madwifi cvs directory
it is possible that wlan.ko got moved, look around hopefully the compilation didnt fail
by the way, did you install the sharutils rpm???
dongfang
2004-11-25, 10:24 AM CST
I have installed sharutils.rpm, and I have been running the command from inside the cvs directory.
the directory currently sits in
/root/madwifi
but still it returns the same error message:
[root@localhost madwifi]# /sbin/insmod wlan/wlan.ko
insmod: can't read 'wlan/wlan.ko': No such file or directory
[root@localhost madwifi]# /sbin/insmod ath_hal/ath_hal.ko
insmod: error inserting 'ath_hal/ath_hal.ko': -1 File exists
[root@localhost madwifi]# /sbin/insmod driver/ath_pci.ko
insmod: can't read 'driver/ath_pci.ko': No such file or directory
Files contained in madwifi:
ath ath_rate CVS hal Makefile net80211 README tools
ath_hal COPYRIGHT driver include Makefile.inc patches release.h wlan
Picomp314
2004-11-26, 10:03 AM CST
dongfang: can you give me the entire output of make so that i can try to find a reason why it is failing
arpi
2004-11-27, 06:10 PM CST
hey! this souns like my problem too
when i compile madwifi, i get NO errors but i am missing 2 module files (except for ath_hal.ko, which gives me error when installing). from the instructions i need three files
Linux 2.6
insmod wlan/wlan.ko
insmod ath_hal/ath_hal.ko
insmod driver/ath_pci.ko
(these instructions are run inside the madwidi folder)
# /sbin/insmod wlan/wlan.ko
insmod: can't read 'wlan/wlan.ko': No such file or directory
(the file wlan.ko is missisng in that location)
# /sbin/insmod ath_hal/ath_hal.ko
insmod: error inserting 'ath_hal/ath_hal.ko': -1 Invalid module format
(the file is there but something is wrong)
# /sbin/insmod driver/ath_pci.ko
insmod: can't read 'driver/ath_pci.ko': No such file or directory
(the file is missisng in that location)
(looks like there are some inside the subfolder net80211 , but i still get errors)
[root@localhost net80211]# /sbin/insmod wlan.ko
insmod: error inserting 'wlan.ko': -1 Invalid module format
[root@localhost madwifi]# make KERNELPATH=/usr/src/linux-2.6.9
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/home/rc/downloads/madwifi/ath_hal'
make -C /usr/src/linux-2.6.9 SUBDIRS=/home/rc/downloads/madwifi/ath_hal modules
make[2]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /home/rc/downloads/madwifi/ath_hal/ah_osdep.o
LD [M] /home/rc/downloads/madwifi/ath_hal/ath_hal.o
Building modules, stage 2.
MODPOST
CC /home/rc/downloads/madwifi/ath_hal/ath_hal.mod.o
LD [M] /home/rc/downloads/madwifi/ath_hal/ath_hal.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9'
make[1]: Leaving directory `/home/rc/downloads/madwifi/ath_hal'
make[1]: Entering directory `/home/rc/downloads/madwifi/ath_rate/onoe'
make -C /usr/src/linux-2.6.9 SUBDIRS=/home/rc/downloads/madwifi/ath_rate/onoe modules
make[2]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /home/rc/downloads/madwifi/ath_rate/onoe/onoe.o
LD [M] /home/rc/downloads/madwifi/ath_rate/onoe/ath_rate_onoe.o
Building modules, stage 2.
MODPOST
CC /home/rc/downloads/madwifi/ath_rate/onoe/ath_rate_onoe.mod.o
LD [M] /home/rc/downloads/madwifi/ath_rate/onoe/ath_rate_onoe.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9'
make[1]: Leaving directory `/home/rc/downloads/madwifi/ath_rate/onoe'
make[1]: Entering directory `/home/rc/downloads/madwifi/net80211'
make -C /usr/src/linux-2.6.9 SUBDIRS=/home/rc/downloads/madwifi/net80211 modules
make[2]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /home/rc/downloads/madwifi/net80211/if_media.o
CC [M] /home/rc/downloads/madwifi/net80211/rc4.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_crypto.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_input.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_node.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_output.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_proto.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_wireless.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_linux.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_crypto_none.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_acl.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_crypto_ccmp.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_crypto_tkip.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_crypto_wep.o
CC [M] /home/rc/downloads/madwifi/net80211/ieee80211_xauth.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_wep.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_tkip.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_ccmp.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_acl.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_xauth.o
Building modules, stage 2.
MODPOST
CC /home/rc/downloads/madwifi/net80211/wlan.mod.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan.ko
CC /home/rc/downloads/madwifi/net80211/wlan_acl.mod.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_acl.ko
CC /home/rc/downloads/madwifi/net80211/wlan_ccmp.mod.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_ccmp.ko
CC /home/rc/downloads/madwifi/net80211/wlan_tkip.mod.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_tkip.ko
CC /home/rc/downloads/madwifi/net80211/wlan_wep.mod.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_wep.ko
CC /home/rc/downloads/madwifi/net80211/wlan_xauth.mod.o
LD [M] /home/rc/downloads/madwifi/net80211/wlan_xauth.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9'
make[1]: Leaving directory `/home/rc/downloads/madwifi/net80211'
make[1]: Entering directory `/home/rc/downloads/madwifi/ath'
make -C /usr/src/linux-2.6.9 SUBDIRS=/home/rc/downloads/madwifi/ath modules
make[2]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /home/rc/downloads/madwifi/ath/if_ath.o
CC [M] /home/rc/downloads/madwifi/ath/if_ath_pci.o
LD [M] /home/rc/downloads/madwifi/ath/ath_pci.o
Building modules, stage 2.
MODPOST
CC /home/rc/downloads/madwifi/ath/ath_pci.mod.o
LD [M] /home/rc/downloads/madwifi/ath/ath_pci.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9'
make[1]: Leaving directory `/home/rc/downloads/madwifi/ath'
Picomp314
2004-11-27, 08:51 PM CST
ok now it appears the necessary commands are
insmod net80211/wlan.ko
insmod ath_hal/ath_hal.ko
insmod ath/ath_pci.ko
arpi
2004-11-27, 09:15 PM CST
i already tried that but it still won't work. the fact that the files are not in their correct locations means that something is wrong. i don't know if the madwifi patches for 2.6.8 will work for 2.6.9. anyway, here is the output.
[root@localhost madwifi]# /sbin/insmod net80211/wlan.ko
insmod: error inserting 'net80211/wlan.ko': -1 Invalid module format
[root@localhost madwifi]# /sbin/insmod ath_hal/ath_hal.ko
insmod: error inserting 'ath_hal/ath_hal.ko': -1 Invalid module format
[root@localhost madwifi]# /sbin/insmod ath/ath_pci.ko
insmod: error inserting 'ath/ath_pci.ko': -1 Invalid module format
i had similar problems whith FC1. after a while FC released new kernels and i kept trying. one day one of those worked (both the modem and the wireless worked). i may take 5 months before they get the kernel stuff straight and by that time they will have a FC4 on the window.
do you have the output of a correct make (to compare)?
i downloaded (CVS) the madwifi stuff over 10 times just in case there was something wrong with the download.
Picomp314
2004-11-28, 10:18 AM CST
i guess the best thing to do now is to revert to a madwifi cvs snapshot that does work
http://madwifi.otaku42.de/2004/09/
contains snapshots from september of this year
good luck
arpi
2004-11-28, 02:01 PM CST
nope. still having trouble.
i tried 3 different dates (9-24 9-27 9-29 ) and i obtained three different results
1- madwifi-cvs-snapshot-2004-09-24.tar
COMPILE ERRORS
2- madwifi-cvs-snapshot-2004-09-27
2 MODULES ARE IN THE WRONG PLACE & 3 ONE HAS INVALID FORMAT
3- madwifi-cvs-snapshot-2004-09-29.tar
NO COMPILE ERRORS BUT MODULES WON"T LOAD. FILES ARE IN THE CORRECT PLACE.
madwifi-cvs-snapshot-2004-09-29.tar.gz
NO COMPILE ERRORS BUT MODULES WON"T LOAD. FILES ARE IN THE CORRECT PLACE.
[rc@localhost madwifi]$ make KERNELPATH=/usr/src/linux-2.6.9
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/home/rc/madwifi/ath_hal'
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/linux/i386-elf.hal.o.uu
cp ./../hal/linux/i386-elf.opt_ah.h opt_ah.h
make -C /usr/src/linux-2.6.9 SUBDIRS=/home/rc/madwifi/ath_hal modules
make[2]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /home/rc/madwifi/ath_hal/ah_osdep.o
In file included from /home/rc/madwifi/ath_hal/../hal/ah.h:49,
from /home/rc/madwifi/ath_hal/ah_osdep.c:58:
/home/rc/madwifi/ath_hal/../hal/linux/ah_osdep.h:103:1: warning: "abs" redefined
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/rc/madwifi/ath_hal/ah_osdep.c:46:
include/linux/kernel.h:58:1: warning: this is the location of the previous definition
In file included from /home/rc/madwifi/ath_hal/../hal/ah.h:49,
from /home/rc/madwifi/ath_hal/ah_osdep.c:58:
/home/rc/madwifi/ath_hal/../hal/linux/ah_osdep.h:103:1: warning: "abs" redefined
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/rc/madwifi/ath_hal/ah_osdep.c:46:
include/linux/kernel.h:58:1: warning: this is the location of the previous definition
LD [M] /home/rc/madwifi/ath_hal/ath_hal.o
Building modules, stage 2.
MODPOST
CC /home/rc/madwifi/ath_hal/ath_hal.mod.o
LD [M] /home/rc/madwifi/ath_hal/ath_hal.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9'
make[1]: Leaving directory `/home/rc/madwifi/ath_hal'
make[1]: Entering directory `/home/rc/madwifi/ath_rate/onoe'
make -C /usr/src/linux-2.6.9 SUBDIRS=/home/rc/madwifi/ath_rate/onoe modules
make[2]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /home/rc/madwifi/ath_rate/onoe/onoe.o
In file included from /home/rc/madwifi/ath_rate/onoe/../../hal/ah.h:49,
from /home/rc/madwifi/ath_rate/onoe/../../ath/if_athvar.h:45,
from /home/rc/madwifi/ath_rate/onoe/onoe.c:60:
/home/rc/madwifi/ath_rate/onoe/../../hal/linux/ah_osdep.h:103:1: warning: "abs"redefined
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/rc/madwifi/ath_rate/onoe/onoe.c:44:
include/linux/kernel.h:58:1: warning: this is the location of the previous definition
In file included from /home/rc/madwifi/ath_rate/onoe/../../hal/ah.h:49,
from /home/rc/madwifi/ath_rate/onoe/../../ath/if_athvar.h:45,
from /home/rc/madwifi/ath_rate/onoe/onoe.c:60:
/home/rc/madwifi/ath_rate/onoe/../../hal/linux/ah_osdep.h:103:1: warning: "abs"redefined
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/rc/madwifi/ath_rate/onoe/onoe.c:44:
include/linux/kernel.h:58:1: warning: this is the location of the previous definition
LD [M] /home/rc/madwifi/ath_rate/onoe/ath_rate_onoe.o
Building modules, stage 2.
MODPOST
CC /home/rc/madwifi/ath_rate/onoe/ath_rate_onoe.mod.o
LD [M] /home/rc/madwifi/ath_rate/onoe/ath_rate_onoe.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9'
make[1]: Leaving directory `/home/rc/madwifi/ath_rate/onoe'
make[1]: Entering directory `/home/rc/madwifi/net80211'
make -C /usr/src/linux-2.6.9 SUBDIRS=/home/rc/madwifi/net80211 modules
make[2]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /home/rc/madwifi/net80211/if_media.o
CC [M] /home/rc/madwifi/net80211/rc4.o
CC [M] /home/rc/madwifi/net80211/ieee80211.o
CC [M] /home/rc/madwifi/net80211/ieee80211_crypto.o
CC [M] /home/rc/madwifi/net80211/ieee80211_input.o
CC [M] /home/rc/madwifi/net80211/ieee80211_node.o
CC [M] /home/rc/madwifi/net80211/ieee80211_output.o
CC [M] /home/rc/madwifi/net80211/ieee80211_proto.o
CC [M] /home/rc/madwifi/net80211/ieee80211_wireless.o
CC [M] /home/rc/madwifi/net80211/ieee80211_linux.o
CC [M] /home/rc/madwifi/net80211/ieee80211_crypto_none.o
CC [M] /home/rc/madwifi/net80211/ieee80211_acl.o
CC [M] /home/rc/madwifi/net80211/ieee80211_crypto_ccmp.o
CC [M] /home/rc/madwifi/net80211/ieee80211_crypto_tkip.o
CC [M] /home/rc/madwifi/net80211/ieee80211_crypto_wep.o
CC [M] /home/rc/madwifi/net80211/ieee80211_xauth.o
LD [M] /home/rc/madwifi/net80211/wlan.o
LD [M] /home/rc/madwifi/net80211/wlan_wep.o
LD [M] /home/rc/madwifi/net80211/wlan_tkip.o
LD [M] /home/rc/madwifi/net80211/wlan_ccmp.o
LD [M] /home/rc/madwifi/net80211/wlan_acl.o
LD [M] /home/rc/madwifi/net80211/wlan_xauth.o
Building modules, stage 2.
MODPOST
CC /home/rc/madwifi/net80211/wlan.mod.o
LD [M] /home/rc/madwifi/net80211/wlan.ko
CC /home/rc/madwifi/net80211/wlan_acl.mod.o
LD [M] /home/rc/madwifi/net80211/wlan_acl.ko
CC /home/rc/madwifi/net80211/wlan_ccmp.mod.o
LD [M] /home/rc/madwifi/net80211/wlan_ccmp.ko
CC /home/rc/madwifi/net80211/wlan_tkip.mod.o
LD [M] /home/rc/madwifi/net80211/wlan_tkip.ko
CC /home/rc/madwifi/net80211/wlan_wep.mod.o
LD [M] /home/rc/madwifi/net80211/wlan_wep.ko
CC /home/rc/madwifi/net80211/wlan_xauth.mod.o
LD [M] /home/rc/madwifi/net80211/wlan_xauth.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9'
make[1]: Leaving directory `/home/rc/madwifi/net80211'
make[1]: Entering directory `/home/rc/madwifi/ath'
make -C /usr/src/linux-2.6.9 SUBDIRS=/home/rc/madwifi/ath modules
make[2]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /home/rc/madwifi/ath/if_ath.o
In file included from /home/rc/madwifi/ath/../hal/ah.h:49,
from /home/rc/madwifi/ath/if_athvar.h:45,
from /home/rc/madwifi/ath/if_ath.c:67:
/home/rc/madwifi/ath/../hal/linux/ah_osdep.h:103:1: warning: "abs" redefined
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/rc/madwifi/ath/if_ath.c:47:
include/linux/kernel.h:58:1: warning: this is the location of the previous definition
CC [M] /home/rc/madwifi/ath/if_ath_pci.o
In file included from /home/rc/madwifi/ath/../hal/ah.h:49,
from /home/rc/madwifi/ath/if_athvar.h:45,
from /home/rc/madwifi/ath/if_ath_pci.c:60:
/home/rc/madwifi/ath/../hal/linux/ah_osdep.h:103:1: warning: "abs" redefined
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/rc/madwifi/ath/if_ath_pci.c:47:
include/linux/kernel.h:58:1: warning: this is the location of the previous definition
LD [M] /home/rc/madwifi/ath/ath_pci.o
Building modules, stage 2.
MODPOST
CC /home/rc/madwifi/ath/ath_pci.mod.o
LD [M] /home/rc/madwifi/ath/ath_pci.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9'
make[1]: Leaving directory `/home/rc/madwifi/ath'
[root@localhost madwifi]# /sbin/insmod net80211/wlan.ko
insmod: error inserting 'net80211/wlan.ko': -1 Invalid module format
[root@localhost madwifi]# /sbin/insmod ath_hal/ath_hal.ko
insmod: error inserting 'ath_hal/ath_hal.ko': -1 Invalid module format
[root@localhost madwifi]# /sbin/insmod ath/ath_pci.ko
insmod: error inserting 'ath/ath_pci.ko': -1 Invalid module format
Picomp314
2004-11-28, 02:06 PM CST
ok, a while ago i made a tarball of a cvs snapshot that has worked for a few people with problems similar to yours
here you go
http://picomp314.serveftp.net/madwifi.tar.gz
arpi
2004-11-28, 02:14 PM CST
i tried it and i get 2 errors
this is the last part of make:
/home/rc/madwifi/driver/if_ath.c: In function `ath_sysctl_handler':
/home/rc/madwifi/driver/if_ath.c:3341: error: too few arguments to function `proc_dointvec'
/home/rc/madwifi/driver/if_ath.c: In function `ath_sysctl_dump':
/home/rc/madwifi/driver/if_ath.c:3366: error: too few arguments to function `proc_dostring'
/home/rc/madwifi/driver/if_ath.c: At top level:
/home/rc/madwifi/driver/if_ath.c:3397: warning: initialization from incompatible pointer type
/home/rc/madwifi/driver/if_ath.c:3400: warning: initialization from incompatible pointer type
/home/rc/madwifi/driver/if_ath.c:3402: warning: initialization from incompatible pointer type
/home/rc/madwifi/driver/if_ath.c:3404: warning: initialization from incompatible pointer type
/home/rc/madwifi/driver/if_ath.c:3406: warning: initialization from incompatible pointer type
/home/rc/madwifi/driver/if_ath.c:3408: warning: initialization from incompatible pointer type
/home/rc/madwifi/driver/if_ath.c:3410: warning: initialization from incompatible pointer type
/home/rc/madwifi/driver/if_ath.c:3412: warning: initialization from incompatible pointer type
/home/rc/madwifi/driver/if_ath.c:3414: warning: initialization from incompatible pointer type
/home/rc/madwifi/driver/if_ath.c:3416: warning: initialization from incompatible pointer type
make[3]: *** [/home/rc/madwifi/driver/if_ath.o] Error 1
make[2]: *** [_module_/home/rc/madwifi/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.9'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rc/madwifi/driver'
make: *** [all] Error 2
Picomp314
2004-11-28, 02:38 PM CST
ugh this is driving me crazy
i take it you compiled your own kernel ???
i think that you must be missing something in the kernel necessary for madwifi; the following website has information over what needs to be in the kernel for it to work
http://www.mattfoster.clara.co.uk/madwifi-faq.htm
if you want i can send you my kernel config, which i used to build a kernel on my friend's computer, which works with madwifi
Picomp314
2004-11-28, 02:45 PM CST
i just found something new on the madwifi howto wiki
http://www.marcanoonline.com/downloads/repos/fc3/RPMS/
some one has made some new rpms concerning madwifi
arpi
2004-11-28, 02:46 PM CST
i used the kernel provided by fedora. i update the kernel using yum but i have to install the kernel source using an RPM. the fedora kernel is full of tricks and nobody knows what the heck they do to it (it is a modification od the vanilla kernel). that is why i think it will be about 4 months till i get the madwifi working on FC3.
[rc@localhost madwifi]$ uname -a
Linux localhost.localdomain 2.6.9-1.681_FC3 #1 Thu Nov 18 15:10:10 EST 2004 i686 i686 i386 GNU/Linux
Picomp314
2004-11-28, 02:58 PM CST
well, try that repository i just posted, and if it doesnt work then i suggest you compile your own kernel, that is how i got it working for my friend, i prefer pure vanilla kernels anyways
arpi
2004-11-28, 03:10 PM CST
i tried and it doen't work.
the rpm will install quietly but ath0 won't work.
i put in /etc/modprobe.conf:
alias ath0 ath_pci
/etc/sysconfig/network-scripts/ifcfg-ath0
STARTMODE=hotplug
DEVICE=ath0
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ESSID=any (or SSID if it is not broadcast)
IPV6INIT=no
ONBOOT=no
USERCTL=no
PEERDNS=yes
KEY="my key"
boot and the redhat wizard installs the hardware. but it won't work.
[root@localhost ~]# /sbin/ifup ath0
ath_pci device ath0 does not seem to be present, delaying initialization.
i think it was made for the first FC3 kernel
i'll try to download the vanilla kernel and see what hapens
Picomp314
2004-11-28, 03:21 PM CST
can you see the modules with lsmod???
if not add them with modprobe
arpi
2004-11-28, 03:33 PM CST
looks like ath_hal and wlan modules are there, but ath_pci is missing
[root@localhost ~]# lsmod
Module Size Used by
radeon 120517 2
parport_pc 24705 1
lp 11565 0
parport 41737 2 parport_pc,lp
autofs4 24005 0
i2c_dev 10433 0
i2c_core 22081 1 i2c_dev
sunrpc 160421 1
ds 16965 4
ipt_REJECT 6465 1
ipt_state 1857 1
ip_conntrack 40693 1 ipt_state
iptable_filter 2753 1
ip_tables 16193 3 ipt_REJECT,ipt_state,iptable_filter
dm_mod 54741 0
button 6481 0
battery 8517 0
ac 4805 0
md5 4033 1
ipv6 232705 8
yenta_socket 18881 0
pcmcia_core 59913 2 ds,yenta_socket
uhci_hcd 31449 0
ehci_hcd 31685 0
hw_random 5589 0
snd_intel8x0m 18185 0
snd_intel8x0 34829 0
snd_ac97_codec 64401 2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss 47608 0
snd_mixer_oss 17217 1 snd_pcm_oss
snd_pcm 97993 3 snd_intel8x0m,snd_intel8x0,snd_pcm_oss
snd_timer 29765 1 snd_pcm
snd_page_alloc 9673 3 snd_intel8x0m,snd_intel8x0,snd_pcm
gameport 4801 1 snd_intel8x0
snd_mpu401_uart 8769 1 snd_intel8x0
snd_rawmidi 26725 1 snd_mpu401_uart
snd_seq_device 8137 1 snd_rawmidi
snd 54053 10 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_ oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uar t,snd_rawmidi,snd_seq_device
soundcore 9889 1 snd
e1000 77389 0
ath_rate_onoe 7688 0
wlan 97756 1 ath_rate_onoe
ath_hal 131024 0
ext3 116809 2
jbd 74969 1 ext3
but when i try
[root@localhost ~]# modprobe ath_pci
FATAL: Error inserting ath_pci (/lib/modules/2.6.9-1.681_FC3/net/ath_pci.ko): Invalid module format
Picomp314
2004-11-29, 06:07 PM CST
i am really starting to thing that there is something wrong with that bloody fedora core kernel
i cant come up with another reason for the behavior
i think now is a good time to download a vanilla kernel from http://www.kernel.org and compile it
i can help you, it is probably for the best because you can make your computer run faster, increase security, and remove redundant drivers for things that you will never encounter anyways
arise
2004-12-01, 07:32 AM CST
i tried countless hours last night to compile madwifi + wpa_supplicant and i failed...i'm almost on the verge of giving up and going back to Suse 9.2 which supports my WG311 / WPA out of the box.
I am running FC3 with the default SMP Kernel (P4 w/HT) 2.6.9-1.667smp. There is NO /use/src/"kernel version", as there is no sharutils installed by default ;) So most how-tos are useless since here you sit staring at a step where it says "grab the latest CVS from, bla bla" and without Internet conection in the first place that's kind of retarded. So Win XP to the rescue, dloaded everything i needed but i still can't compile the damn thing.
After i get the "current-cvs-tarball", i tar zxvf it in madwifi, change to madwifi and (after installing sharutils, doh!) i try doing a make...it starts ok but when it gets to stage 2 or something it gives me all warnings/errors:
*** Warning: "ieee80211_state_name" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwnickn" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwretry" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_chan2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwtxpow" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_delkey" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_iwaplist" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_setkey" [/root/madwifi/ath/ath_pci.ko] undefined!
Everything undefined...can anyone please help on this?
whabee
2004-12-01, 09:58 AM CST
Hello I have been reading this forum awhile and its been a source of great help in countless times of need. I been using linux about a year and its awesome, but I been having trouble getting wireless to work on fedora core at all, but I was able to get it working on mandrake 10.1. I am currently running core 3 final with kernel 2.6.9-1.667. I been following the walk through on page 1 but having no luck at all so far I am stuck please help I downloaded installed the kernel source followed step 1-8 and heres the output after step 5.
[root@td-dc2fc03f488c linux-2.6.9]# ln -s /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/vmlinux /lib/modules/2.6.9-1.667/build/vmlinux
[root@td-dc2fc03f488c linux-2.6.9]# cd /madwifi
bash: cd: /madwifi: No such file or directory
[root@td-dc2fc03f488c linux-2.6.9]# cd /home/scott/madwifi
[root@td-dc2fc03f488c madwifi]# make
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/home/scott/madwifi/ath_hal'
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/linux/i386-elf.hal.o.uu
cp ./../hal/linux/i386-elf.opt_ah.h opt_ah.h
make -C /lib/modules/2.6.9-1.667smp/build SUBDIRS=/home/scott/madwifi/ath_hal modules
make[2]: Entering directory `/lib/modules/2.6.9-1.667smp/build'
CC [M] /home/scott/madwifi/ath_hal/ah_osdep.o
LD [M] /home/scott/madwifi/ath_hal/ath_hal.o
Building modules, stage 2.
MODPOST
CC /home/scott/madwifi/ath_hal/ath_hal.mod.o
LD [M] /home/scott/madwifi/ath_hal/ath_hal.ko
make[2]: Leaving directory `/lib/modules/2.6.9-1.667smp/build'
make[1]: Leaving directory `/home/scott/madwifi/ath_hal'
make[1]: Entering directory `/home/scott/madwifi/ath_rate/onoe'
make -C /lib/modules/2.6.9-1.667smp/build SUBDIRS=/home/scott/madwifi/ath_rate/onoe modules
make[2]: Entering directory `/lib/modules/2.6.9-1.667smp/build'
CC [M] /home/scott/madwifi/ath_rate/onoe/onoe.o
LD [M] /home/scott/madwifi/ath_rate/onoe/ath_rate_onoe.o
Building modules, stage 2.
MODPOST
*** Warning: "ieee80211_iterate_nodes" [/home/scott/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!
*** Warning: "ether_sprintf" [/home/scott/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!
CC /home/scott/madwifi/ath_rate/onoe/ath_rate_onoe.mod.o
LD [M] /home/scott/madwifi/ath_rate/onoe/ath_rate_onoe.ko
make[2]: Leaving directory `/lib/modules/2.6.9-1.667smp/build'
make[1]: Leaving directory `/home/scott/madwifi/ath_rate/onoe'
make[1]: Entering directory `/home/scott/madwifi/net80211'
make -C /lib/modules/2.6.9-1.667smp/build SUBDIRS=/home/scott/madwifi/net80211 modules
make[2]: Entering directory `/lib/modules/2.6.9-1.667smp/build'
CC [M] /home/scott/madwifi/net80211/if_media.o
CC [M] /home/scott/madwifi/net80211/rc4.o
CC [M] /home/scott/madwifi/net80211/ieee80211.o
CC [M] /home/scott/madwifi/net80211/ieee80211_crypto.o
CC [M] /home/scott/madwifi/net80211/ieee80211_input.o
CC [M] /home/scott/madwifi/net80211/ieee80211_node.o
CC [M] /home/scott/madwifi/net80211/ieee80211_output.o
CC [M] /home/scott/madwifi/net80211/ieee80211_proto.o
CC [M] /home/scott/madwifi/net80211/ieee80211_wireless.o
CC [M] /home/scott/madwifi/net80211/ieee80211_linux.o
CC [M] /home/scott/madwifi/net80211/ieee80211_crypto_none.o
CC [M] /home/scott/madwifi/net80211/ieee80211_acl.o
CC [M] /home/scott/madwifi/net80211/ieee80211_crypto_ccmp.o
CC [M] /home/scott/madwifi/net80211/ieee80211_crypto_tkip.o
CC [M] /home/scott/madwifi/net80211/ieee80211_crypto_wep.o
CC [M] /home/scott/madwifi/net80211/ieee80211_xauth.o
LD [M] /home/scott/madwifi/net80211/wlan.o
LD [M] /home/scott/madwifi/net80211/wlan_wep.o
LD [M] /home/scott/madwifi/net80211/wlan_tkip.o
LD [M] /home/scott/madwifi/net80211/wlan_ccmp.o
LD [M] /home/scott/madwifi/net80211/wlan_acl.o
LD [M] /home/scott/madwifi/net80211/wlan_xauth.o
Building modules, stage 2.
MODPOST
CC /home/scott/madwifi/net80211/wlan.mod.o
LD [M] /home/scott/madwifi/net80211/wlan.ko
CC /home/scott/madwifi/net80211/wlan_acl.mod.o
LD [M] /home/scott/madwifi/net80211/wlan_acl.ko
CC /home/scott/madwifi/net80211/wlan_ccmp.mod.o
LD [M] /home/scott/madwifi/net80211/wlan_ccmp.ko
CC /home/scott/madwifi/net80211/wlan_tkip.mod.o
LD [M] /home/scott/madwifi/net80211/wlan_tkip.ko
CC /home/scott/madwifi/net80211/wlan_wep.mod.o
LD [M] /home/scott/madwifi/net80211/wlan_wep.ko
CC /home/scott/madwifi/net80211/wlan_xauth.mod.o
LD [M] /home/scott/madwifi/net80211/wlan_xauth.ko
make[2]: Leaving directory `/lib/modules/2.6.9-1.667smp/build'
make[1]: Leaving directory `/home/scott/madwifi/net80211'
make[1]: Entering directory `/home/scott/madwifi/ath'
make -C /lib/modules/2.6.9-1.667smp/build SUBDIRS=/home/scott/madwifi/ath modules
make[2]: Entering directory `/lib/modules/2.6.9-1.667smp/build'
CC [M] /home/scott/madwifi/ath/if_ath.o
/home/scott/madwifi/ath/if_ath.c: In function `ath_beacon_setup':
/home/scott/madwifi/ath/if_ath.c:1694: warning: cast to pointer from integer of different size
/home/scott/madwifi/ath/if_ath.c: In function `ath_beacon_tasklet':
/home/scott/madwifi/ath/if_ath.c:1881: warning: cast to pointer from integer of different size
/home/scott/madwifi/ath/if_ath.c: In function `ath_desc_alloc':
/home/scott/madwifi/ath/if_ath.c:2031: warning: cast to pointer from integer of different size
/home/scott/madwifi/ath/if_ath.c: In function `ath_tx_start':
/home/scott/madwifi/ath/if_ath.c:2861: warning: unsigned int format, different type arg (arg 6)
/home/scott/madwifi/ath/if_ath.c:2861: warning: unsigned int format, different type arg (arg 6)
/home/scott/madwifi/ath/if_ath.c:3107: warning: cast to pointer from integer of different size
/home/scott/madwifi/ath/if_ath.c:3112: warning: cast to pointer from integer of different size
/home/scott/madwifi/ath/if_ath.c: In function `ath_printrxbuf':
/home/scott/madwifi/ath/if_ath.c:3912: warning: cast to pointer from integer of different size
/home/scott/madwifi/ath/if_ath.c: In function `ath_printtxbuf':
/home/scott/madwifi/ath/if_ath.c:3925: warning: cast to pointer from integer of different size
CC [M] /home/scott/madwifi/ath/if_ath_pci.o
LD [M] /home/scott/madwifi/ath/ath_pci.o
whabee
2004-12-01, 09:59 AM CST
Building modules, stage 2.
MODPOST
*** Warning: "ath_hal_getwirelessmodes" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwtxpow" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_setupxtxdesc" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_newstate" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_chan2mode" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwessid" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_vlan_register" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_crypto_encap" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwscan" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_init_channels" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwessid" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_findrate" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_getoptie" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwmode" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwscan" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_node_init" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_state_name" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwnickn" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwretry" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_chan2ieee" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwtxpow" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_delkey" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_iwaplist" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_setkey" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_announce" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_media_status" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_delmac" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_iwsetup" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_media_init" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_next_scan" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwencode" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_vlan_kill_vid" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwfrag" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_detach" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_node_cleanup" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_addmac" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_iw_getstats" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwrts" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwnickn" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwretry" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwrange" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_probe" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_mhz2ieee" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_find_node" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwpower" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwap" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwfreq" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwfrag" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_beacon_alloc" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwfreq" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_media_change" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwsens" [/home/scott/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ie