{"blog_url":"https://red9999.hatenablog.com/","type":"rich","categories":["Mac"],"width":"100%","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fred9999.hatenablog.com%2Fentry%2F2016%2F09%2F05%2F220431\" title=\"Mac OS X \u306e\u7121\u7ddaLAN\u63a5\u7d9a\u8a2d\u5b9a\u30b9\u30af\u30ea\u30d7\u30c8 - \u96d1\u7528\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u96d1\u8a18\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Mac OS X \u306e\u7121\u7ddaLAN\u63a5\u7d9a\u8a2d\u5b9a\u30b9\u30af\u30ea\u30d7\u30c8","blog_title":"\u96d1\u7528\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u96d1\u8a18\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","description":"Mac OS X \u3067\u3001\u7121\u7ddaLAN\u306eSSID\u30fb\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u8a2d\u5b9a\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002networksetup\u30b3\u30de\u30f3\u30c9\u3067\u3001\u7121\u7ddaLAN\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001\u6a5f\u7a2e\u306b\u4f9d\u5b58\u305b\u305a\u306b\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u6301\u3063\u3066\u304f\u308b\u3088\u3046\u306b\u3057\u3066\u307e\u3059\u3002 #!/bin/shWIFI_DEV_NAME=$(networksetup -listallhardwareports | grep -w Wi-Fi -A1 | awk '/^Device:/{ print $2 }') if [ -z \"${WIFI_DEV_NAME}\" ]; then echo \"Wi-Fi device not found\" \u2026","author_name":"red9999","url":"https://red9999.hatenablog.com/entry/2016/09/05/220431","image_url":null,"published":"2016-09-05 22:04:31","height":"190","author_url":"https://blog.hatena.ne.jp/red9999/","version":"1.0"}