Last active
May 7, 2024 22:19
-
-
Save mzyy94/589e1a1177036df883ae3e91ef0132de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clients.conf b/clients.conf | |
index d5b1f74..036e053 100644 | |
--- a/clients.conf | |
+++ b/clients.conf | |
@@ -98,7 +98,7 @@ client localhost { | |
# The default secret below is only for testing, and should | |
# not be used in any real environment. | |
# | |
- secret = testing123 | |
+ secret = eap-sim | |
# | |
# Old-style clients do not send a Message-Authenticator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>AutoJoin</key> | |
<true/> | |
<key>CaptiveBypass</key> | |
<false/> | |
<key>EAPClientConfiguration</key> | |
<dict> | |
<key>AcceptEAPTypes</key> | |
<array> | |
<integer>18</integer> | |
</array> | |
</dict> | |
<key>EncryptionType</key> | |
<string>WPA2</string> | |
<key>HIDDEN_NETWORK</key> | |
<false/> | |
<key>IsHotspot</key> | |
<false/> | |
<key>PayloadDescription</key> | |
<string>Wi-Fi 設定を構成します</string> | |
<key>PayloadDisplayName</key> | |
<string>Wi-Fi</string> | |
<key>PayloadIdentifier</key> | |
<string>com.apple.wifi.managed.4C34CC5C-D910-436A-BFB7-0C0F68788848</string> | |
<key>PayloadType</key> | |
<string>com.apple.wifi.managed</string> | |
<key>PayloadUUID</key> | |
<string>2BC7B753-5A69-41E3-8372-CD71CEA00F80</string> | |
<key>PayloadVersion</key> | |
<integer>1</integer> | |
<key>ProxyType</key> | |
<string>None</string> | |
<key>SSID_STR</key> | |
<string>EAP-SIM_AP</string> | |
</dict> | |
</array> | |
<key>PayloadDisplayName</key> | |
<string>EAP-SIM AP</string> | |
<key>PayloadIdentifier</key> | |
<string>eap-sim.local.8C30668A-86CA-49C3-BF44-BF1877C737A4</string> | |
<key>PayloadRemovalDisallowed</key> | |
<false/> | |
<key>PayloadType</key> | |
<string>Configuration</string> | |
<key>PayloadUUID</key> | |
<string>F8F4D763-3F7B-46F3-A320-D373D96A1FDB</string> | |
<key>PayloadVersion</key> | |
<integer>1</integer> | |
</dict> | |
</plist> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/eap.conf b/eap.conf | |
index 797130d..435f7e6 100644 | |
--- a/eap.conf | |
+++ b/eap.conf | |
@@ -15,6 +15,8 @@ | |
# See experimental.conf for documentation. | |
# | |
eap { | |
+ sim { | |
+ } | |
# Invoke the default supported EAP type when | |
# EAP-Identity response is received. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface=wlan0 | |
bridge=br0 | |
driver=nl80211 | |
ctrl_interface=/var/run/hostapd | |
ctrl_interface_group=0 | |
ssid=EAP-SIM_AP | |
hw_mode=g | |
channel=8 | |
eap_server=0 # Disable embedded eap server | |
# WPA2 Enterprise | |
wpa=2 | |
ieee8021x=1 | |
wpa_key_mgmt=WPA-EAP | |
rsn_pairwise=CCMP | |
# RADIUS authentication | |
auth_algs=1 | |
auth_server_addr=127.0.0.1 | |
auth_server_port=1812 | |
auth_server_shared_secret=eap-sim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source /etc/network/interfaces.d/* | |
auto lo | |
iface lo inet loopback | |
allow-hotplug eth0 | |
iface eth0 inet manual | |
allow-hotplug wlan0 | |
iface wlan0 inet manual | |
auto br0 | |
iface br0 inet dhcp | |
bridge_ports eth0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment