How to restart hostapd correctly

Jar jar at pcuf.fi
Mon Dec 28 15:12:03 EST 2009


On 28.12.2009 21:56, Jouni Malinen wrote:
> On Mon, Dec 28, 2009 at 09:46:23PM +0200, Jar wrote:
>
>> I am currently using hostapd-0.6.9 with prism 2.5 card. When I changed
>> the line 'wpa_pairwise=CCMP' to 'wpa_pairwise=CCMP TKIP' in the
>> hostapd.conf and then kill hostapd and start it again neither WPA/TKIP
>> nor WPA2/AES clients can connect. But if I reboot the whole PC all
>> clients can connect perfectly.
>
> As far as hostapd is concerned, it should be enough to just kill the
> process and start it again..
>
>> My question is, how to re-start hostapd daemon correctly so that it
>> reads the changed .conf file so that clients could connect after that
>> change without rebooting.
>
> This sounds like a driver issue to me.. You could try resetting the
> driver with iwpriv command (iwpriv wlan0 reset 0; and if that is not
> enough, change 0 to 1). Do this after having killed hostapd, but before
> starting it again.
>

Thanks, I try that next time.

-- 
Best Regards, Jar


More information about the HostAP mailing list