View Single Post
  #5   (View Single Post)  
Old 4th July 2014
EverydayDiesel EverydayDiesel is offline
Shell Scout
 
Join Date: Jan 2009
Posts: 124
Default

That does help alot.

Here are the steps that i have done but it is still not working. dhcpd says (failed)
when cat /var/log/messages
i get
Code:
Cant listen on athn0 - dhcpd.conf has no subnet declaration for 10.2.0.1
/etc/hostname.athn0
Code:
up media autoselect mediaopt hostap mode 11g chan 7 nwid MY_SSID wpa wpakey MY_PWD_GOES_HERE
10.2.0.1
/etc/hostname.xl0
Code:
inet 10.1.0.1 255.0.10.0
/etc/dhcpd.conf
Code:
        option  domain-name "my.domain";
        option  domain-name-servers 4.4.4.4;

        subnet 192.168.1.0 netmask 255.255.255.0 {
                option routers 10.1.0.1

                range 192.168.1.32 192.168.1.127;
        }
Code:
echo 'dhcpd_flags="athn0"' >>/etc/rc.conf.local
/etc/sysctl.conf was edited for
Code:
net.inet.ip.forwarding=1
/etc/pf.conf (this is really open for now)
Code:
EXT_IF = "xl0"
WRLS_IF = "athn0"

match out on egress inet from !(egress:network) to any nat-to (egress:0)

pass out on $EXT_IF from any to any
pass out on $WRLS_IF from any to any
pass in on $WRLS_IF from any to any
Can you tell me where my subnets are wrong please?
Reply With Quote