Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2004 10:20:37 +0200
From:      "Christoph P. Kukulies" <kuku@kukulies.org>
To:        Lewis Thompson <lewiz@fajita.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: firewall settings and dhcpd
Message-ID:  <20040426082037.GA3561@kukulies.org>
In-Reply-To: <20040425120145.GA41946@fajita.org>
References:  <200404251133.i3PBXMlV094799@www.kukulies.org> <20040425114452.GA41600@fajita.org> <20040425115209.GA95240@kukulies.org> <20040425120145.GA41946@fajita.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 25, 2004 at 01:01:45PM +0100, Lewis Thompson wrote:
> On Sun, Apr 25, 2004 at 01:52:09PM +0200, Christoph P. Kukulies wrote:
> > On Sun, Apr 25, 2004 at 12:44:52PM +0100, Lewis Thompson wrote:
> > > On Sun, Apr 25, 2004 at 01:33:22PM +0200, Christoph Kukulies wrote:
> > > > I'm getting this in my log/messages:
> > > > 
> > > > Apr 25 13:25:42 mybox dhcpd: send_packet: Permission denied
> > > > 
> > > > Could it be that a certain firewall setting or something missing
> > > > would be causing this?
> > > 
> > > Possibly.  It might be worth including some details of your current
> > > firewall settings.
> > 
> > 	wiif="wi0"
> > 	winet="192.168.254.0"
> > 	wimask="255.255.255.0"
> > 	wiip="192.168.254.1"
> > 	setup_loopback
> 
> Which interface are you running dhcpd on?  If it is wi0 then I don't see
> any rule that lets wi0 send out DHCP packets (i.e. allow all from
> ${wiip} to any via ${wiif}).  It might be worth trying this (or similar,
> if it's a different if) and then narrowing it down.
> 
> -lewiz.

Thanks. I'm running ICS (?) dhcpd (not wide-dhcp) and I have two
subnet entries in /usr/local/etc/dhcpd.conf, one for 192.168.254 (wi0)
and the other on the local wire (192.168.0)

DHCP itself works. I'm getting an IP via DHCP on my notebook (wireless).
It's just that after a minute or two, the wireless connection
gets disrupted and the only thing I can correlate this, is the
dhcp permission denied error in /var/log/messages.

--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040426082037.GA3561>