Hello Jeremy,

Yesterday I updated the madwifi drivers and usertools in CVS and also
updated the hostapd and wpa-tools. The wlanconfig program is part of the
madwifi.lrp package. The modules and most of the packages are
Bering-uClibc-2.4beta1 (kernel 2.4.32) material. If you don't want to
upgrade, you can try the madwifi.lrp package which should work with
Bering-uClibc-2.3 too. Maybe you don't need the hostapd at all to enable
AP mode, but I don't have any experience with it.

The modules you loaded seem correct, I think it's only a matter of
bringing up the interface with wlanconfig. Please report succes or failure
and your final setup.

The latest 2.4.32! modules (madwifi-ng) can be found in:
http://cvs.sourceforge.net/viewcvs.py/leaf/bin/bering-uclibc/packages/
You need Bering-uClibc_modules_2.4.32.tar.gz

The madwifi.lrp package (which included wlanconfig) can be found in:
http://cvs.sourceforge.net/viewcvs.py/leaf/bin/packages/uclibc-0.9/20/testing/
(there is also a "maddebug.lrp" package available with madwifi debugging
tools)

The hostapd package, which support madwifi-ng AP can be found in:
http://cvs.sourceforge.net/viewcvs.py/leaf/bin/packages/uclibc-0.9/20/2.4.32/

There is also a wpasupp package with madwifi-ng support (WPA supplicant):
http://cvs.sourceforge.net/viewcvs.py/leaf/bin/packages/uclibc-0.9/20/testing/

Information about Host AP and WPA can be found at:
http://hostap.epitest.fi/

Arne's genmodules doesn't contain the latest madwifi modules yet.
Arne, can you update the 2.4.32 modules in genpage (sorry ;))

Eric

> I posted a few months ago regarding trying to get madwifi working on my
> router.  It turns out the card I was using is too new and unsupported
> (MIMO).  I decided to go ahead and purchase a different card.  I bought
> the D Link DWLG520.  According to the Madwifi site this card is supported.
> My
> end goal is to use the card as an AP.  It seems that my card is loading up
>  ok and the drivers are working but I cannot connect to it.  Here is some
> of the needed info-
>
> # /etc/network/interfaces -- configuration file for LEAF network
> <snip>
> # Step 7 (optional): configure wireless AP (Madwifi)
> auto wifi0 iface wifi0 inet static address 192.168.3.1 netmask
255.255.255.0
> broadcast 192.168.3.255 wireless-mode master wireless-rate 54M
> wireless-essid default up /sbin/iwpriv/ ath0 mode 3
>
>
> firewall# cat /proc/modules ath_pci                56820   1 ath_rate_onoe
> 2900   0 [ath_pci]
> ath_hal               179184   1 [ath_pci] wlan_xauth               216   0
> (unused)
> wlan_tkip               8368   0 (unused) wlan_acl                1784   0
> (unused)
> wlan                  116530   1 [ath_pci ath_rate_onoe wlan_xauth
> wlan_tkip wlan_acl] softdog                 1360   1 ipt_state
> 272  17
> ipt_helper               400   0 (unused) ipt_conntrack            692   0
> ipt_REDIRECT             480   0 (unused) ipt_MASQUERADE          1024   2
>  ip_nat_irc              1704   0 (unused) ip_nat_ftp              2152
> 0 (unused) iptable_nat            14332   3 [ipt_REDIRECT ipt_MASQUERADE
> ip_nat_irc ip_nat_ftp] ip_conntrack_irc        2484   1 ip_conntrack_ftp
> 3132   1
> ip_conntrack           16516   2 [ipt_state ipt_helper ipt_conntrack
> ipt_REDIRECT ipt_MASQUERADE ip_nat_irc ip_nat_ftp iptable_nat
> ip_conntrack_irc ip_conntrack_ftp] 3c59x                  23768   2
> 3c515                  11052   1
> isofs                  15732   0 (unused) ide-detect               132   0
> (unused)
> ide-cd                 26748   0 ide-disk               11308   0 ide-core
> 80476   0 [ide-detect ide-cd ide-disk]
> cdrom                  25344   0 [ide-cd]
>
> firewall# dmesg <snip>
>
>
> wlan: 0.8.4.2 (Atheros/multi-bss)
> wlan: mac acl policy registered
> ath_hal: 0.9.15.1 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
>  ath_rate_onoe: 1.0
> ath_pci: 0.9.4.5 (Atheros/multi-bss)
> wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> 24Mbps 36Mbps 48Mbps 54Mbps
> wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> wifi0: mac 7.9 phy 0.0 radio 5.6
> wifi0: Use hw queue 1 for WME_AC_BE traffic
> wifi0: Use hw queue 0 for WME_AC_BK traffic
> wifi0: Use hw queue 2 for WME_AC_VI traffic
> wifi0: Use hw queue 3 for WME_AC_VO traffic
> wifi0: Use hw queue 8 for CAB traffic
> wifi0: Use hw queue 9 for beacons
> wifi0: Atheros 5212: mem=0xfcff0000, irq=9
>
>
>
> firewall# iwconfig lo        no wireless extensions.
>
> dummy0    no wireless extensions.
>
> eth0      no wireless extensions.
>
> eth1      no wireless extensions.
>
> eth2      no wireless extensions.
>
> wifi0     no wireless extensions.
>
> So where do I start to bring the interface up?  I looked at the Madwifi
> site and it suggests- wlanconfig ath0 create wlandev wifi0 wlanmode ap but
> it seems wlanconfig isn't a supported command for Bering, or am I wrong?
> Maybe there are some other packages or modules I need to load...  Thanks
> for your help!
>
> Jeremy
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
>  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ------------------------------------------------------------------------
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>
>




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to