> Make sure that you have 'wlan0' defined in your 'zones' file.

Are you sure?  I have the following zones file and it works fine when
using madwifi (ath0) instead of ath5k (wlan0).

fw      firewall
net     ipv4
loc     ipv4

- Grant


>> >> I'm switching my router/AP from the wireless madwifi driver to the
>> >> in-kernel ath5k driver.  Everything seems to work, except I need
>> >> shorewall for NAT and it won't start because it says the
>> loc zone is
>> >> empty.
>> >
>> > That is a Shorewall configuration blunder
>> >
>> >> The only interface in the loc zone is wlan0, which is started by
>> >> hostapd and is up and making connections.  Does anyone know why
>> >> shorewall doesn't know wlan0 is up?  Shorewall started when I was
>> >> using the madwifi driver and starting the Gentoo
>> >> /etc/init.d/net.wlan0 script, but hostapd needs to start
>> wlan0 when
>> >> using ath5k in master mode.
>> >
>> > If Shorewall is truly telling you that 'loc' is empty, then
>> >
>> > a) That doesn't stop Shorewall from starting.
>> > b) It means that you have NO hosts defined to be in the loc zone.
>> >
>> > -Tom
>>
>> I get the following when trying to start shorewall:
>>
>> WARNING: Zone loc is empty
>> ERROR: Unable to determine the routes through interface "wlan0"
>>
>> My interfaces file has:
>>
>> loc   wlan0   detect   tcpflags,detectnets,nosmurfs
>>
>> Where do I need to look for my error?
>>
>> - Grant

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to