problem with madwifi drivers

Oscar p reeopp
Mon Nov 29 10:57:35 PST 2004


Hi YenJung,

I already did so however there must be something else I'm trying to find 
out....
I'll let you know whenever I find it....

Thanks
Oscar

>From: YenJung Chang <yenjung at gmail.com>
>Reply-To: YenJung Chang <yenjung at gmail.com>
>To: Oscar p <reeopp at hotmail.com>
>CC: hostap at shmoo.com
>Subject: Re: problem with madwifi drivers
>Date: Mon, 29 Nov 2004 10:41:14 +0800
>
>Sorry for reply so late. I took two days vacation. :)
>
>If you did not setup ath0 as dhcp client, it would not get IP 
>automatically.
>You can setup its ip manually after it connected to a AP.
>Moreover, I don't how Mandrake configures and set network interface at
>system starting, I have no suggestion for this.
>
>yj.
>
>On Sat, 27 Nov 2004 21:25:16 +0100, Oscar p <reeopp at hotmail.com> wrote:
> > Hi all
> > It looks like finally solved, I have installed Mandrake instead of SuSE 
>and
> > compiled madwifi again. Fortunately there is a wpa_supplicant rpm for
> > mandrake which I instlled. Now everything seems to work, do not aske me
> > exactly why....
> >
> > I'm facing a different problem now, everything seems to work but I'm not
> > getting any IP, look:
> > [root at Compaq network-scripts]# wpa_supplicant -Bd -iath0
> > -c/etc/wpa_supplicant.conf -Dmadwifi
> >
> >
> > Configuration file '/etc/wpa_supplicant.conf' -> 
>'/etc/wpa_supplicant.conf'
> > Reading configuration file '/etc/wpa_supplicant.conf'
> > ctrl_interface='/var/run/wpa_supplicant'
> > ctrl_interface_group=0
> > eapol_version=1
> > ap_scan=1
> > Priority group 5
> >    id=0 ssid='OSCARLAN'
> > Using existing control interface directory.
> > EAPOL: SUPP_PAE entering state DISCONNECTED
> > EAPOL: KEY_RX entering state NO_KEY_RECEIVE
> > EAPOL: SUPP_BE entering state INITIALIZE
> > EAP: EAP entering state DISABLED
> > EAPOL: External notification - portEnabled=0
> > EAPOL: External notification - portValid=0
> > wpa_driver_madwifi_set_wpa: enabled=1
> > wpa_driver_madwifi_del_key: keyidx=0
> > wpa_driver_madwifi_del_key: keyidx=1
> > wpa_driver_madwifi_del_key: keyidx=2
> > wpa_driver_madwifi_del_key: keyidx=3
> > wpa_driver_madwifi_set_countermeasures: enabled=0
> > wpa_driver_madwifi_set_drop_unencrypted: enabled=1
> > Setting scan request: 0 sec 100000 usec
> > Daemonize..
> > [root at Compaq network-scripts]# iwconfig
> > lo        no wireless extensions.
> >
> > eth0      no wireless extensions.
> >
> > ath0      IEEE 802.11g  ESSID:"OSCARLAN"  Nickname:"Compaq"
> >           Mode:Managed  Frequency:2.437GHz  Access Point: 
>00:80:5A:22:AA:54
> >           Bit Rate=54Mb/s   Tx-Power:50 dBm   Sensitivity=0/3
> >           Retry:off   RTS thr:off   Fragment thr:off
> >           Encryption key:20EE-672E-ABA4-1854-6EB3-C34F-5480-ACDA   
>Security
> > mode:restricted
> >           Power Management:off
> >           Link Quality:23/94  Signal level:-72 dBm  Noise level:-95 dBm
> >           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
> >           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> >
> > but :
> >
> > [root at Compaq network-scripts]# ifconfig
> > ath0      Link encap:Ethernet  HWaddr 00:80:5A:22:11:78
> >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >           RX packets:32 errors:6 dropped:0 overruns:0 frame:6
> >           TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:199
> >           RX bytes:4025 (3.9 Kb)  TX bytes:2216 (2.1 Kb)
> >           Interrupt:11 Memory:d1ad5000-d1ae5000
> >
> > I've updated ifcfg-ath0 and wireless:
> >
> >     if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then
> >         /usr/local/bin/wpa_supplicant -Bw -c/etc/wpa_supplicant.conf \
> >                 -Dmadwifi -i$DEVICE
> >     fi
> > and wireless.opt:
> >
> >     MODE="Managed"
> >     WPA="y"
> >     ;;
> >
> > For some reason when the system is started wireless doesn't work and I 
>have
> > to restart wpa_supplicant and the network itself....
> >
> > I don't know if I should ask or help in a new thread or is it ok here, 
>so in
> > case I should let me know!!!
> >
> > Thanks a lot
> > Oscar
> >
> > >From: "Oscar p" <reeopp at hotmail.com>
> > >To: yenjung at gmail.com
> > >CC: hostap at shmoo.com
> > >Subject: Re: problem with madwifi drivers
> > >Date: Fri, 26 Nov 2004 16:04:36 +0100
> > >
> > >Hi
> > >
> > >This is what I did:
> > >
> > >1.- remove all driver files from /lib/modules/2.6.4-52-default/net
> > >2.- reboot the machine without wireless card
> > >3.- compile the madwifi again
> > >4.- copy wlan.o, ath_hal.o, ath_pci.o, wlan_acl.o, wlan_wep.o, 
>wlan_tkip.o,
> > >wlan_ccmp.o, into  /lib/modules/2.6.4-52-default/net
> >
> >
> > >5.- try insmod on wlan.o, wlan_acl.o, wlan_wep.o, wlan_tkip.o, 
>wlan_ccmp.o,
> > >ath_hal.o, ath_pci.o, all of them were properly loaded but ath_pci:
> > >
> > >Compaq:/home/oscar/madwifi/madwifi-20041021 # insmod ath/ath_pci.o
> > >insmod: error inserting 'ath/ath_pci.o': -1 Unknown symbol in module
> > >
> > >dmesg messages:
> > >
> > >
> > >Nov 26 15:50:33 Compaq kernel: wlan: no version for "struct_module" 
>found:
> > >kernel tainted.
> > >Nov 26 15:50:33 Compaq kernel: wlan: no version magic, tainting kernel.
> > >Nov 26 15:50:33 Compaq kernel: wlan: 0.8.4.4 (EXPERIMENTAL)
> > >Nov 26 15:50:51 Compaq kernel: wlan_acl: no version magic, tainting 
>kernel.
> > >Nov 26 15:50:51 Compaq kernel: wlan: mac acl policy registered
> > >Nov 26 15:51:05 Compaq kernel: wlan_wep: no version magic, tainting 
>kernel.
> > >Nov 26 15:51:17 Compaq kernel: wlan_tkip: no version magic, tainting
> > >kernel.
> > >Nov 26 15:51:30 Compaq kernel: wlan_ccmp: no version magic, tainting
> > >kernel.
> > >Nov 26 15:51:38 Compaq kernel: ath_hal: no version magic, tainting 
>kernel.
> > >Nov 26 15:51:38 Compaq kernel: ath_hal: module license 'Proprietary' 
>taints
> > >kernel.
> > >Nov 26 15:51:38 Compaq kernel: ath_hal: 0.9.12.14 (AR5210, AR5211, 
>AR5212)
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: no version magic, tainting 
>kernel.
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol 
>ath_rate_tx_complete
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_attach
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol 
>ath_rate_newassoc
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol 
>ath_rate_node_copy
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol
> > >ath_rate_node_cleanup
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_detach
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol 
>ath_rate_node_init
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol 
>ath_rate_findrate
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol 
>ath_rate_newstate
> > >Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol
> > >ath_rate_setupxtxdesc
> > >
> > >6.- I inserted the pmcia with the following messages:
> > >
> > >
> > >Nov 26 15:52:11 Compaq /etc/hotplug/pci.agent[5742]: FATAL: Error 
>inserting
> > >ath_pci (/lib/modules/2.6.4-52-default/extra/ath_pci.ko): Unknown 
>symbol in
> > >module, or unknown parameter (see dmesg)
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_encap
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_encap
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_input
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_input
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_ifattach
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_ifattach
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >_ath_hal_attach
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol _ath_hal_attach
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_ifdetach
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_ifdetach
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ath_hal_computetxtime
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol
> > >ath_hal_computetxtime
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_dump_pkt
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_dump_pkt
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ath_hal_detach
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ath_hal_detach
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_media_change
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol
> > >ieee80211_media_change
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_add_xrates
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_iterate_nodes
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol
> > >ieee80211_iterate_nodes
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_find_node
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_find_node
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_next_scan
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_next_scan
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_media_init
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_media_init
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_new_state
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_get_rssi
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_media_status
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol
> > >ieee80211_media_status
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_add_rates
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_chan2ieee
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_chan2ieee
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ath_hal_init_channels
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol
> > >ath_hal_init_channels
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of 
>symbol
> > >ieee80211_chan2mode
> > >Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
>ieee80211_chan2mod
> > >
> > >it seems there is something wrong with ath_pci but I do not know what 
>it
> > >is....
> > >
> > >Thanks a lot for your help!
> > >Oscar
> > >
> > >>From: YenJung Chang <yenjung at gmail.com>
> > >>Reply-To: YenJung Chang <yenjung at gmail.com>
> > >>To: Oscar p <reeopp at hotmail.com>
> > >>CC: hostap at shmoo.com
> > >>Subject: Re: problem with madwifi drivers
> > >>Date: Fri, 26 Nov 2004 21:30:13 +0800
> > >>
> > >>Oscar,
> > >>
> > >>Maybe you should recompile madwifi and try it again.
> > >>I can not make sense of why ath_pci.o failed to insert.
> > >>
> > >>In addition, please remove inserted modules before you insert again.
> > >>
> > >>yj.
> > >>
> > >>
> > >
> >
> > _________________________________________________________________
> > Express yourself instantly with MSN Messenger! Download today it's FREE!
> > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> >

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





More information about the Hostap mailing list