Skip to content

Instantly share code, notes, and snippets.

@mngyuan
Last active November 3, 2022 18:45
Show Gist options
  • Save mngyuan/d84d205cdf47bc51ac82efc5d6979873 to your computer and use it in GitHub Desktop.
Save mngyuan/d84d205cdf47bc51ac82efc5d6979873 to your computer and use it in GitHub Desktop.
Connect to Virgin Media hotspot on a MacOS/iOS device using .mobileconfig
<?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">
<!--
Adapted from the .mobileconfig which the Virgin Media iOS app downloads. Essentially removed the
signing payload. This approach is necessary because AFAIK it's the only way to select MSCHAPv2
as the auth method for EAP TTLS in macOS.
Replace VIRGINUSER with your Virgin login email and VIRGINPASSWORD with your password,
then open and then open System Preferences to install.
-->
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>AutoJoin</key>
<true/>
<key>CaptiveBypass</key>
<false/>
<key>DisableAssociationMACRandomization</key>
<false/>
<key>EAPClientConfiguration</key>
<dict>
<key>AcceptEAPTypes</key>
<array>
<integer>21</integer>
</array>
<key>TLSMaximumVersion</key>
<string>1.2</string>
<key>TLSMinimumVersion</key>
<string>1.0</string>
<key>TTLSInnerAuthentication</key>
<string>MSCHAPv2</string>
<key>UserName</key>
<string>vmedwifi/VIRGINUSER</string>
<key>UserPassword</key>
<string>VIRGINPASSWORD</string>
</dict>
<key>EncryptionType</key>
<string>WPA</string>
<key>HIDDEN_NETWORK</key>
<false/>
<key>IsHotspot</key>
<false/>
<key>PayloadDescription</key>
<string>Configures Wi-Fi settings</string>
<key>PayloadDisplayName</key>
<string>Wi-Fi</string>
<key>PayloadIdentifier</key>
<string>com.apple.wifi.managed.41B7811D-B0FB-4DCD-82F7-E71BB2E07FC6</string>
<key>PayloadType</key>
<string>com.apple.wifi.managed</string>
<key>PayloadUUID</key>
<string>41B7811D-B0FB-4DCD-82F7-E71BB2E07FC6</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>ProxyType</key>
<string>None</string>
<key>SSID_STR</key>
<string>Virgin Media</string>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Untitled</string>
<key>PayloadIdentifier</key>
<string>DEVICENAME.BCE46CFC-DE68-4DAD-A2C9-CD6DFACDC2AA</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>83178C1C-154F-44CB-B557-AD86C73286FC</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment