<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>red9999</author_name>
  <author_url>https://blog.hatena.ne.jp/red9999/</author_url>
  <blog_title>雑用エンジニアの雑記ブログ</blog_title>
  <blog_url>https://red9999.hatenablog.com/</blog_url>
  <categories>
    <anon>Mac</anon>
  </categories>
  <description>Mac OS X で、無線LANのSSID・パスフレーズを設定するスクリプトです。networksetupコマンドで、無線LANインターフェースを指定する必要があるので、機種に依存せずに、スクリプトでインターフェースを持ってくるようにしてます。 #!/bin/shWIFI_DEV_NAME=$(networksetup -listallhardwareports | grep -w Wi-Fi -A1 | awk '/^Device:/{ print $2 }') if [ -z &quot;${WIFI_DEV_NAME}&quot; ]; then echo &quot;Wi-Fi device not found&quot; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fred9999.hatenablog.com%2Fentry%2F2016%2F09%2F05%2F220431&quot; title=&quot;Mac OS X の無線LAN接続設定スクリプト - 雑用エンジニアの雑記ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-05 22:04:31</published>
  <title>Mac OS X の無線LAN接続設定スクリプト</title>
  <type>rich</type>
  <url>https://red9999.hatenablog.com/entry/2016/09/05/220431</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
