[leaf-user] madwifi and wpa and Thanks!

2006-05-07 Thread Jim Munro
Trying to get wpa to work with the madwifi drivers.  I have been able to get 
the madwifi drivers to work with my NIC and have verifiyed WEP and the 
master (ap) mode.  When I load and configure the hostapd daemon I notice 
there is no ath0ap device.  Does the daemon not work with some madwifi 
devices?  I have tested wpa using a differnet NIC and verifyed the config.


Thanks Eric and Charles for the DWL 520 rev e bug fix.

# hostapd configuration file 
##

# Empty lines and lines starting with # are ignored

# AP netdevice name (without 'ap' prefix, i.e., wlan0 uses wlan0ap for
# management frames); ath0 for madwifi
interface=ath0

# In case of madwifi driver, an additional configuration parameter, bridge,
# must be used to notify hostapd if the interface is included in a bridge. 
This

# parameter is not used with Host AP driver.
#bridge=br0

# Driver interface type (hostap/wired/madwifi/prism54; default: hostap)
driver=madwifi

..

/etc/shorewall/interfaces
#
#ZONE   INTERFACE   BROADCAST   OPTIONS
neteth0192.168.1.255
loc ath010.0.0.255
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

...

# /etc/network/interfaces -- configuration file for LEAF network

auto ath0
iface ath0 inet static
   address 10.0.0.1
   netmask 255.255.255.0
   broadcast 10.0.0.255
   madwifi-base wifi0
   wireless_mode master
   wireless_essid jim
   wireless_channel 5

.

/etc/modules

hostap
hostap_crypt_ccmp
hostap_crypt_tkip
hostap_crypt_wep
hostap_pci
wlan
wlan_scan_sta
wlan_scan_ap
wlan_wep
wlan_ccmp
wlan_xauth
wlan_acl
ath_hal
ath_rate_sample
ath_pci

_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.




leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] madwifi and wpa and Thanks!

2006-05-07 Thread Eric Spakman
Hello Jim,

There are 2 documents on the madwifi site that describes the hostapd setup:
http://madwifi.org/wiki/UserDocs/WPA_PSK_on_Both_Ends  (the Now do the AP
side part)
and
http://madwifi.org/wiki/UserDocs/HostAP

I followed the last document to setup hostapd on my atheros NIC.
The hostapd should support all cards that are suported by madwifi AFAIK.

This are the modules I have loaded:
# Atheros
wlan
wlan_wep
wlan_scan_ap
wlan_tkip
wlan_xauth
ath_hal
ath_rate_sample
ath_pci autocreate=none

I think you missed the wlan_tkip module.
If you have an Atheros based NIC, you don't have to load the hostap modules.

Eric


 Trying to get wpa to work with the madwifi drivers.  I have been able to
 get the madwifi drivers to work with my NIC and have verifiyed WEP and the
  master (ap) mode.  When I load and configure the hostapd daemon I notice
  there is no ath0ap device.  Does the daemon not work with some madwifi
 devices?  I have tested wpa using a differnet NIC and verifyed the
 config.

 Thanks Eric and Charles for the DWL 520 rev e bug fix.


 # hostapd configuration file
 ##
 # Empty lines and lines starting with # are ignored


 # AP netdevice name (without 'ap' prefix, i.e., wlan0 uses wlan0ap for
 # management frames); ath0 for madwifi
 interface=ath0

 # In case of madwifi driver, an additional configuration parameter,
 bridge, # must be used to notify hostapd if the interface is included in a
 bridge. This
 # parameter is not used with Host AP driver.
 #bridge=br0


 # Driver interface type (hostap/wired/madwifi/prism54; default: hostap)
 driver=madwifi

 ..


 /etc/shorewall/interfaces
 #
 #ZONE   INTERFACE   BROADCAST   OPTIONS
 neteth0192.168.1.255 loc ath010.0.0.255
 #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE


 ...


 # /etc/network/interfaces -- configuration file for LEAF network


 auto ath0 iface ath0 inet static address 10.0.0.1 netmask 255.255.255.0
 broadcast 10.0.0.255 madwifi-base wifi0 wireless_mode master wireless_essid
 jim wireless_channel 5

 .


 /etc/modules


 hostap hostap_crypt_ccmp hostap_crypt_tkip hostap_crypt_wep hostap_pci wlan
 wlan_scan_sta wlan_scan_ap wlan_wep wlan_ccmp wlan_xauth wlan_acl ath_hal
 ath_rate_sample ath_pci

 _
 Take advantage of powerful junk e-mail filters built on patented
 Microsoft®
 SmartScreen Technology.
 http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=h
 ttp://hotmail.com/encaHL=Market_MSNIS_Taglines
 Start enjoying all the benefits of MSN® Premium right now and get the
 first two months FREE*.


 
 leaf-user mailing list: leaf-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/leaf-user
 Support Request -- http://leaf-project.org/







leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] madwifi and wpa and Thanks!

2006-05-07 Thread Jim Munro


Thanks! I added wlan_tkip and ath_pci autocreate=none to /etc/modules and 
success :)


Sometimes another pair of eyes helps...

Jim



There are 2 documents on the madwifi site that describes the hostapd setup:
http://madwifi.org/wiki/UserDocs/WPA_PSK_on_Both_Ends  (the Now do the AP
side part)
and
http://madwifi.org/wiki/UserDocs/HostAP

I followed the last document to setup hostapd on my atheros NIC.
The hostapd should support all cards that are suported by madwifi AFAIK.

This are the modules I have loaded:
# Atheros
wlan
wlan_wep
wlan_scan_ap
wlan_tkip
wlan_xauth
ath_hal
ath_rate_sample
ath_pci autocreate=none

I think you missed the wlan_tkip module.
If you have an Atheros based NIC, you don't have to load the hostap 
modules.


Eric


 Trying to get wpa to work with the madwifi drivers.  I have been able to
 get the madwifi drivers to work with my NIC and have verifiyed WEP and 
the
  master (ap) mode.  When I load and configure the hostapd daemon I 
notice

  there is no ath0ap device.  Does the daemon not work with some madwifi
 devices?  I have tested wpa using a differnet NIC and verifyed the
 config.

 Thanks Eric and Charles for the DWL 520 rev e bug fix.


 # hostapd configuration file
 ##
 # Empty lines and lines starting with # are ignored


 # AP netdevice name (without 'ap' prefix, i.e., wlan0 uses wlan0ap for
 # management frames); ath0 for madwifi
 interface=ath0

 # In case of madwifi driver, an additional configuration parameter,
 bridge, # must be used to notify hostapd if the interface is included in 
a

 bridge. This
 # parameter is not used with Host AP driver.
 #bridge=br0


 # Driver interface type (hostap/wired/madwifi/prism54; default: hostap)
 driver=madwifi

 ..


 /etc/shorewall/interfaces
 #
 #ZONE   INTERFACE   BROADCAST   OPTIONS
 neteth0192.168.1.255 loc ath010.0.0.255
 #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE


 ...


 # /etc/network/interfaces -- configuration file for LEAF network


 auto ath0 iface ath0 inet static address 10.0.0.1 netmask 255.255.255.0
 broadcast 10.0.0.255 madwifi-base wifi0 wireless_mode master 
wireless_essid

 jim wireless_channel 5

 .


 /etc/modules


 hostap hostap_crypt_ccmp hostap_crypt_tkip hostap_crypt_wep hostap_pci 
wlan
 wlan_scan_sta wlan_scan_ap wlan_wep wlan_ccmp wlan_xauth wlan_acl 
ath_hal

 ath_rate_sample ath_pci



_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.




leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/