I will send you a complete set of modules, madwifi.lrp and wireless.lrp
with the latest HAL update from yesterday.


Yahoo!!!!! it works! (sort of).
THANK YOU, THANK YOU, THANK YOU!
Eric, after you sent me the newest packages and modules I loaded them on my backup router. When I loaded the modules manually I no longer received an error message when passing the autocreate option to the module so I knew we were on the right track. The AP still didn't seem to work correctly though. The mode was not being setup properly. Then I decided to try this on my production router using all the same options. This one works perfectly (so, there must be something odd about the old machine hardware I have). I can scan, find and connect to my AP from my laptop. Now the last hurdle I have is to be able to get on the internet with it. For starters, I can't even ping my AP. Here are the paticulars-

Laptop-

IP 172.16.1.11
Mask 255.255.0.0
Gateway 172.16.1.10
DNS 172.16.1.10

-set to ESSID "test" with no WEP
-it finds AP in infrastructure mode (just as it should)

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.

ath0      IEEE 802.11g  ESSID:"test"
         Mode:Master  Frequency:2.412 GHz  Access Point: 00:13:46:6E:E5:DF
         Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
         Retry:off   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality=0/94  Signal level=-95 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

firewall# ip -s addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
   inet 127.0.0.1/8 scope host lo
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
   link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
   link/ether 00:a0:24:bf:7c:44 brd ff:ff:ff:ff:ff:ff
   inet 69.217.55.23/24 brd 69.217.55.255 scope global eth0
4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
   link/ether 00:01:02:c2:65:6d brd ff:ff:ff:ff:ff:ff
   inet 172.16.1.1/16 brd 172.16.1.255 scope global eth1
5: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
   link/ether 00:01:03:dd:fd:e1 brd ff:ff:ff:ff:ff:ff
   inet 172.16.2.1/16 brd 172.16.2.255 scope global eth2
6: wifi0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 199
   link/ether 00:13:46:6e:e5:df brd ff:ff:ff:ff:ff:ff
7: ath0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
   link/ether 00:13:46:6e:e5:df brd ff:ff:ff:ff:ff:ff
   inet 172.16.1.10/16 brd 172.16.1.255 scope global ath0

# Step 7 (optional): configure wireless AP (Madwifi)
auto ath0
iface ath0 inet static
       address 172.16.1.10
       netmask 255.255.0.0
       broadcast 172.16.1.255
       madwifi-base wifi0
       wireless-channel 1
       wireless-essid test
       wireless-mode master

# Wireless AP (Madwifi)
wlan
wlan_scan_ap
ath_hal
ath_rate_sample
ath_pci autocreate=none

firewall# lsmod
Module                  Size  Used by    Tainted: P
ath_pci                60424   1
ath_rate_sample         6376   0 [ath_pci]
ath_hal               172400   1 [ath_pci ath_rate_sample]
wlan_scan_ap            1964   0 (unused)
wlan                  122972   1 [ath_pci ath_rate_sample wlan_scan_ap]
softdog                 1360   1
ipt_state                272  18
ipt_helper               400   0 (unused)
ipt_conntrack            692   0
ipt_REDIRECT             480   0 (unused)
ipt_MASQUERADE          1024   3
ip_nat_irc              1704   0 (unused)
ip_nat_ftp              2152   0 (unused)
iptable_nat 14452 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_REDIREC T ipt_MASQUERADE ip_nat_irc ip_nat_ftp iptable_nat ip_conntrack_irc ip_conntrack _ftp]
3c59x                  23768   3
isofs                  15700   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]

BTW, I notice wlan_scan_ap is unused. I guess this module is for running wireless as a client not the AP, correct?

# Shorewall version 2.4 - Zones File
#ZONE   DISPLAY         COMMENTS
net     Net             Internet
loc     Local           Local networks
dmz     DMZ             Demilitarized zone
wls     Wireless        Wireless
#LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE

# Shorewall version 2.4 - Interfaces File
#ZONE   INTERFACE       BROADCAST       OPTIONS
net     eth0            detect          dhcp,routefilter,norfc1918
loc     eth1            detect          dhcp
wls     ath0            detect
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

# Shorewall version 2.4 - Rules File
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/ # PORT PORT(S) DEST LIMIT GROUP

#       Accept DNS connections from the firewall to the network
# and from the local network to the firewall (in case dnsmasq is running)
AllowDNS    fw          net
AllowDNS    loc         fw
AllowDNS    wls         fw
#       Accept SSH connections from the local network for administration
#
AllowSSH    loc         fw

#       Allow Ping to firewall
#
AllowPing   net         fw
AllowPing   loc         fw
AllowPing   wls         fw
#       Allow all ICMP types (including ping) from firewall
ACCEPT      fw          loc                     icmp
ACCEPT      fw          net                     icmp

#       Allow local network to access weblet/webconf
#
AllowWeb    loc         fw

#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

# Shorewall version 2.4 - Masq file
#INTERFACE SUBNET ADDRESS PROTO PORT(S) IPSEC
eth0                    eth1
eth0                    eth2
eth0                    ath0
#LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE

I suppose I have missed something obvious so I won't be offended if you tell me I have an "ID10T" error. (It has been a long day for me as I'm in the process of moving). Also, I may not be able to respond quickly as my phone service is being moved. My provider won't even be able to tell me if my DSL will work until the line is acutally conncected at my new location and they run some tests so here's hoping for the best.

Finally, as promised before if I can get this all to work I will be glad to write up a chapter for the Bering User Guide.

Thanks everyone!
-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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to