[ previous ] [ next ] [ threads ]
 From:  "Frank Edwards" <fedwards at internode dot on dot net>
 To:  "'Manuel Kasper'" <mk at neon1 dot net>
 Cc:  <m0n0wall dash dev at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall-dev] WPA Problem on 1.3b3
 Date:  Sat, 11 Aug 2007 19:57:48 +1000

OK, yes that's an issue with PID. 

0.5.5 included a change to use the -P switch.



-----Original Message-----
From: Manuel Kasper [mailto:mk at neon1 dot net] 
Sent: Saturday, 11 August 2007 5:55 PM
To: Frank Edwards
Cc: m0n0wall dash dev at lists dot m0n0 dot ch
Subject: Re: [m0n0wall-dev] WPA Problem on 1.3b3

On 11.08.2007, at 04:39, Frank Edwards wrote:

> I think this may be related to use of nohup and/or the rc process 
> environment. I've altered interfaces.inc to include the hostapd -B 
> flag (run as a daemon process), and included changes to start/stop 
> hostapd the same way as  racoon in vpn.inc.

Ah, that's a good clue, thanks - I'll try to figure out what exactly it is
that hostapd doesn't like about the environment during boot.

> Suggested fix...

Unfortunately that will fail if WPA is used on more than one wireless
interface (hostapd can't write its PID to a file after forking, unlike most
other daemons), which is why I chose the nohup solution.

- Manuel