Hi all,
I recently upgraded my router because I made a mistake and lost all of my 
setup I had on a 2.4 version.  Consequently I lost all my setup 
configuration I had previously working.  Currently, the 3.x setup is working 
well and I want to add a wireless AP which I had used previously.  I think 
some of my documentation is out of date though because the AP won't come up. 
  Here's what I am doing.

# /etc/network/interfaces -- configuration file for LEAF network
#
# Step 7 (optional): configure wireless AP (Madwifi)
auto ath0
iface ath0 inet static
        address 192.168.2.1
        netmask 255.255.0.0
        broadcast 192.168.2.255
        madwifi-base wifi0
        wireless-channel 1
        wireless-essid test
        wireless-mode master
        up /sbin/iwpriv/ ath0 mode 3

# /etc/modules: kernel modules to load at boot time.
# Wireless AP (Madwifi)
wlan
wlan_scan_ap
ath_hal
ath_rate_sample
ath_pci_autocreate=none

# Shorewall version 3.2 - Zones File
###############################################################################
#ZONE   TYPE            OPTIONS         IN                      OUT
#                                       OPTIONS                 OPTIONS
fw      firewall
net    ipv4
loc    ipv4
#wls    ipv4
#dmz   ipv4

# Shorewall version 3.2 - Interfaces File
###############################################################################
#ZONE   INTERFACE       BROADCAST       OPTIONS
net    eth0            detect          dhcp,routefilter,norfc1918
loc    eth1            detect          dhcp
#wls    ath0              detect

# Shorewall version 3.2 - Rules File
##############################################################################################################
#ACTION SOURCE          DEST            PROTO   DEST    SOURCE          
ORIGINAL        RATE            USER/
#                                               PORT(S) PORT(S)         DEST    
        LIMIT           GROUP
#SECTION ESTABLISHED
#SECTION RELATED
SECTION NEW
#      Accept DNS connections from the firewall to the network
#      and from the local network to the firewall (in case dnsmasq is 
running)
DNS/ACCEPT   fw          net
DNS/ACCEPT   loc         fw
#DNS/ACCEPT     wls         fw

# Shorewall version 3.2 - Masq file
###############################################################################
#INTERFACE              SUBNET          ADDRESS         PROTO   PORT(S) IPSEC
eth0                     eth1
#eth0                       ath0


I know I have commented out all my shorewall entries for now.  I am trying 
to get the card up and running as stage 1 of fixing this problem.  When 
running ip address show I don't even see any mention of ath0 (or is it 
wifi0).

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,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast qlen 
1000
    link/ether 00:a0:24:bf:7c:44 brd ff:ff:ff:ff:ff:ff
    inet 24.208.38.228/21 brd 255.255.255.255 scope global eth0
4: eth1: <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 192.168.1.254/24 brd 192.168.1.255 scope global eth1
5: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:a0:24:75:b2:50 brd ff:ff:ff:ff:ff:ff

Either way, I know that needs to be fixed first.  Once that is done than I 
can take care of the shorewall portion of this.  Thanks in advance for your 
help.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
------------------------------------------------------------------------
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