Modify

Opened 9 years ago

Closed 8 years ago

Last modified 4 years ago

#4240 closed enhancement (fixed)

Small documentation patch

Reported by: anonymous Owned by: agb
Priority: normal Milestone: Barrier Breaker 14.07
Component: documentation Version:
Keywords: documentation patch Cc:

Description

I documented the passphrase option in the wireless configuration. I have attached the patch.

Attachments (1)

0001-Add-documentation-for-passphrase-option.patch (1.6 KB) - added by wt@… 9 years ago.
doc patch adding documentation for passphrase

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by wt@…

doc patch adding documentation for passphrase

comment:1 Changed 9 years ago by agb

  • Owner changed from developers to agb
  • Status changed from new to assigned

This documentation looks to be correct for wpa_supplicant but hostapd appears to detect an encoded passphrase by the number of characters, as seen in the current version of hostapd.sh (same code in 8.09 and trunk) https://dev.openwrt.org/browser/branches/8.09/package/hostapd/files/hostapd.sh?rev=14040

        case "$enc" in
                *psk*|*PSK*)
                        config_get psk "$vif" key
                        if [ ${#psk} -eq 64 ]; then
                                append hostapd_cfg "wpa_psk=$psk" "$N"
                        else
                                append hostapd_cfg "wpa_passphrase=$psk" "$N"
                        fi
                ;;

IMO we should consolidate on one convention or the other; my preference is autodetecting based on the key length. I'm going to cross-link with the mailing list thread on the same topic and see who bites in either location. http://lists.openwrt.org/pipermail/openwrt-devel/2008-November/003382.html

comment:2 Changed 9 years ago by florian

  • Component changed from other to documentation

comment:3 Changed 8 years ago by nbd

  • Resolution set to fixed
  • Status changed from assigned to closed

patch added in r17712

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.