On Wed, Mar 12, 2014 at 04:42:44PM -0500, Hugh McLenaghan wrote:
Yeah. Strange thing is that I'm sure I had it working at one point. Doesn't really make sense to me. It appears to be doing what it's supposed to be, but for some reason the packet isn't being sent out by the card or being seen on the card/interface.
Going to try it on another Pi to see if somehow some library somewhere got mixed up.
OK, that was a long build - about 45 minutes from configure to installed...! Unfortunately, it proves nothing. FreeRADIUS will quite happily serving DHCP on either eth0 or wlan0 on the Pi. O/S here is a slightly not up to date raspbian (Linux raspberrypi 3.6.11+ #456 PREEMPT Mon May 20 17:42:15 BST 2013 armv6l GNU/Linux, Debian 7.1) Same wlan card that worked on the desktop PC. I assume you have no firewall running? Apart from that, I'm not sure there's much more I can check, with it working fine here :( Cheers, Matthew
----------------------------------------
Date: Wed, 12 Mar 2014 21:14:22 +0000 From: mcn4@leicester.ac.uk To: freeradius-users@lists.freeradius.org Subject: Re: Issue with DHCP with Wireless card
On Wed, Mar 12, 2014 at 02:44:37PM -0500, Hugh McLenaghan wrote:
I'm hoping that the issue is something simple I've done wrong or missing.
Doesn't help much, but I just tested with a WLAN card in my Linux desktop (TP-LINK TL-WN772N, Atheros AR9271) and it worked straight away; assigned an IP to my tablet, and saw the packets in tcpdump.
It also worked on a Netgear WLAN card, also supposedly the same chipset, though it's not a good card. When a DHCP Discover got through, though, the Offer was successfully sent.
I'll see if I can dig out the Pi to test, but this may take a while as I've not fired it up for a bit.
So it doesn't look like a problem with DHCP over a wireless interface in general.
Matthew
----------------------------------------
Date: Wed, 12 Mar 2014 14:00:07 -0400 From: aland@deployingradius.com To: freeradius-users@lists.freeradius.org Subject: Re: Issue with DHCP with Wireless card
Hugh McLenaghan wrote:
Starting FreeRADIUS:Wed Mar 12 11:10:22 2014 : Info: radiusd: FreeRADIUS Version 3.1.0 (git #b71e353), for host armv6l-unknown-linux-gnu, built on Mar 12 2014 at 01:50:59
Please use v3.0.2 branch. The "master" branch is undergoing heavy development. And also use "radiusd -X". Using "-Xx" doesn't help.
Are you running this as root? The DHCP code requires that for proper operation. You should also set the "interface" entry in the listen section for dhcp. That will tell it to receive / send packets on the correct interface.
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>