Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Mac OSX Terminal – Disable IPv6

Posted on June 22, 2016June 23, 2016 By David Kittell

This will first disable IPv6 for Wi-Fi then go through all Ethernet hardware and disable the IPv6

networksetup -setv6off Wi-Fi
networksetup -listallnetworkservices | sed "1 d" | grep "Ethernet" | while read output ;do networksetup -setv6off "$output";done

Similar to before this will first enable IPv6 for Wi-Fi then go through all Ethernet hardware and enable the IPv6

networksetup -setv6automatic Wi-Fi
networksetup -listallnetworkservices | sed "1 d" | grep "Ethernet" | while read output ;do networksetup -setv6automatic "$output";done
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code Mac OS X Shell Mac OSX UNIX UNIX Shell Scripts

Post navigation

Previous post
Next post

Related Posts

Coding Standards

Posted on July 11, 2013October 26, 2015

=============================== MercuryBoard Coding Standards =============================== Please follow these guidelines when modifying or adding to the MercuryBoard source. They are slightly modified PEAR (http://pear.php.net) coding standards. Indenting and Space ===================== Use an indent of 1 tab. After the first non-tab character on a line, spaces should be used for whitespace. There…

Read More

Column Name Search

Posted on February 25, 2013February 8, 2016

An extension of Table/View Column Information In the event that you need to find a table that has a specific column name. SELECT t.name AS table_name, SCHEMA_NAME(schema_id) AS schema_name, c.name AS column_name FROM sys.tables AS t INNER JOIN sys.columns c ON t.OBJECT_ID = c.OBJECT_ID WHERE c.name LIKE ‘%requestNumber%’ ORDER BY…

Read More

C# Get URL Details From Browser

Posted on March 15, 2014October 26, 2015

string sURL = ""; sURL += "Host: " + HttpContext.Current.Request.Url.Host + Environment.NewLine; sURL += "Host: " + HttpContext.Current.Request.Url.Authority + Environment.NewLine; sURL += "Path: " + HttpContext.Current.Request.Url.AbsolutePath + Environment.NewLine; sURL += "Application Path: " + HttpContext.Current.Request.ApplicationPath + Environment.NewLine; sURL += "URL: " + HttpContext.Current.Request.Url.AbsoluteUri + Environment.NewLine; sURL += "Path With Query:…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
  • Mac OS X Terminal - Parallels - Reset Windows User Password
  • PowerShell - IPv4 Range

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
  • Mac OS X Terminal - Parallels - Reset Windows User Password
  • PowerShell - IPv4 Range
©2025 David Kittell | WordPress Theme by SuperbThemes