Closed johankool closed 10 months ago
Configure for passpoint by logging into the router and running:
cat > /etc/config/wireless << 'EOF'
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/a000000.wifi'
option band '2g'
option hwmode '11g'
option htmode 'HT20'
option require_mode 'n'
option country 'NL'
option cell_density '0'
option channel 'auto'
option legacy_rates '0'
option disabled '0'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/a800000.wifi'
option band '5g'
option hwmode '11a'
option htmode 'VHT20'
option require_mode 'ac'
option country 'NL'
option cell_density '0'
option channel 'auto'
option channels '36,40,44,48'
option legacy_rates '0'
option disabled '0'
config wifi-iface 'passpoint_radio0'
option network 'lan'
option auth_server '127.0.0.1'
option ssid '#passpoint'
option device 'radio0'
option mode 'ap'
option auth_port '1812'
option auth_secret 'loopback123'
option encryption 'wpa2+ccmp'
option iw_enabled '1'
option iw_access_network_type '0'
option iw_venue_group '0'
option iw_venue_type '0'
list iw_roaming_consortium '001bc50460'
list iw_venue_name 'eng:'
list iw_venue_url '0:'
option hs20 '1'
option hs20_oper_friendly_name 'eng:'
option disabled '0'
config wifi-iface 'passpoint_radio1'
option network 'lan'
option auth_server '127.0.0.1'
option ssid '#passpoint'
option device 'radio1'
option mode 'ap'
option auth_port '1812'
option auth_secret 'loopback123'
option encryption 'wpa2+ccmp'
option iw_enabled '1'
option iw_access_network_type '0'
option iw_venue_group '0'
option iw_venue_type '0'
list iw_roaming_consortium '001bc50460'
list iw_venue_name 'eng:'
list iw_venue_url '0:'
option hs20 '1'
option hs20_oper_friendly_name 'eng:'
option disabled '0'
config wifi-iface 'eduroam_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option disabled '0'
option auth_server '127.0.0.1'
option ssid 'eduroam'
option encryption 'wpa2+ccmp'
option auth_port '1812'
option auth_secret 'loopback123'
config wifi-iface 'eduroam_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option disabled '0'
option auth_server '127.0.0.1'
option ssid 'eduroam'
option encryption 'wpa2+ccmp'
option auth_port '1812'
option auth_secret 'loopback123'
EOF
wifi
Running wifi
activates the config in openwrt.
After having setup my router with the above the app still successfully connects to the network.
We should verify this works as expected. My test environment doesn't currently support this. @pauldekkers can you test or help with getting a test environment?