Remote Desktop์ networksetup์ ๊ดํ์ฌ
networksetup
๋ช
๋ น์ด-๋ผ์ธ ๋๊ตฌ๋ ํด๋ผ์ด์ธํธ์ ๋คํธ์ํฌ ์ค์ ์ ๊ตฌ์ฑํ๋๋ฐ ์ฌ์ฉ๋ฉ๋๋ค.
networksetup
์ ์ฌ์ฉํ๋ ๋ชจ๋ ๋ช
๋ น์ UNIX ๋ช
๋ น ๋ณด๋ด๊ธฐ ์์
์ ์ฌ์ฉํ์ฌ Remote Desktop์์ ์ฌ์ฉํ ์ ์์ต๋๋ค.
๋๊ตฌ์ help ํ๋กฌํํธ์์ ๋ช ๋ น์ด ๋ผ์ธ ๊ตฌ๋ฌธ, ์ค๋ช ๋ฐ ์์ ๋ฅผ ์ฐพ์ผ์ญ์์ค.
networksetup -help
์๋ ๋์ด๋ ๊ฒ์ networksetup
์ ์ผ๋ถ ๊ธฐ๋ฅ์
๋๋ค.
๊น๋ฐ | ์ค๋ช |
---|---|
-listallnetworkservices | ์ปดํจํฐ์ ํ๋์จ์ด ํฌํธ์ ์๋ ๋ชจ๋ ๋คํธ์ํฌ ์๋น์ค ๋ชฉ๋ก์ ํ์ํฉ๋๋ค. ๋ณํ(*)๋ ๋คํธ์ํฌ ์๋น์ค๊ฐ ๊ฐ๋ฅํ์ง ์์์ ์๋ฏธํฉ๋๋ค. |
-setmanual networkservice ip subnet router | ๋คํธ์ํฌ ์๋น์ค์ TCP/IP ๊ตฌ์ฑ์ ์๋์ผ๋ก ์ค์ ํ์ญ์์ค(IP ์ฃผ์๋ฅผ networksetup -setmanual "Ethernet" 192.168.100.100 255.255.255.0 192.168.100.1 |
-setdhcp networkservice [clientid] | DHCP๋ฅผ ์ฌ์ฉํ๋๋ก ์ง์ ๋ ๋คํธ์ํฌ ์๋น์ค์ ๋ํ TCP/IP ๊ตฌ์ฑ์ ์ค์ ํฉ๋๋ค. ํด๋ผ์ด์ธํธ ID๋ ์ ํ์ฌํญ์ ๋๋ค. DHCP ํด๋ผ์ด์ธํธ id๋ฅผ ์ง์ฐ๋ ค๋ฉด [clientid]๋ฅผ โ๋น์ด ์์โ์ผ๋ก ์ง์ ํฉ๋๋ค. ์: networksetup -setdhcp "Ethernet" |
-setbootp networkservice | BOOTP๋ฅผ ์ฌ์ฉํ๋๋ก ์ง์ ๋ ๋คํธ์ํฌ ์๋น์ค์ ๋ํ TCP/IP ๊ตฌ์ฑ์ ์ค์ ํฉ๋๋ค. ์: networksetup -setbootp "Ethernet" |
-setmanualwithdhcprouter networkservice ip | ์ง์ ๋ ๋คํธ์ํฌ ์๋น์ค์ ๋ํ DHCP์ ์ฌ์ฉํ๋๋ก ์๋ IP ์ฃผ์๋ฅผ ์ง์ ํฉ๋๋ค. ์: networksetup -setmanualwithdhcprouter "Ethernet" 192.168.100.120 |
-setdnsservers networkservice dns1 [dns2] | ์ง์ ๋ ๋คํธ์ํฌ ์๋น์ค๊ฐ ๋๋ฉ์ธ ์ด๋ฆ์ ๊ฒฐ์ ํ๋๋ฐ ์ฌ์ฉ๋๊ธธ ์ํ๋ ์๋ฒ์ IP ์ฃผ์๋ฅผ ์ง์ ํฉ๋๋ค. ์ผ๋ง๋ ์ง ๋ง์ ์๋ฒ๋ฅผ ๋์ดํ ์ ์์ต๋๋ค( networksetup -setdnsservers "Ethernet" 192.168.100.100 192.168.100.12 |
-setsearchdomains networkservice domain1 [domain2] | ์ง์ ๋ ๋คํธ์ํฌ ์๋น์ค์ ๊ฒ์ ๋๋ฉ์ธ์ ์ง์ ํฉ๋๋ค. ์ผ๋ง๋ ์ง ๋ง์ ๊ฒ์ ๋๋ฉ์ธ์ ๋์ดํ ์ ์์ต๋๋ค( networksetup -setsearchdomains "Ethernet" example.com foo.com |
-setwebproxy networkservice domain portnumber (on | off) [username password] | ๋๋ฉ์ธ๊ณผ ํฌํธ ๋ฒํธ๋ก ๋คํธ์ํฌ ์๋น์ค์ ์น ํ๋ก์๋ฅผ ์ค์ ํฉ๋๋ค. ํ๋ก์๋ฅผ ์ผญ๋๋ค. ์ ํ์ฌํญ์ผ๋ก networksetup -setwebproxy "Ethernet" proxy.company.com 80 on steve mypassword |
-help | ๋คํธ์ํฌ ์ค์ ๋๊ตฌ์์ ๊ฐ๋ฅํ ๋ชจ๋ ๋ช ๋ น ๋ชฉ๋ก์ด ์ค๋ช ์ ๋ณด์ ํจ๊ป ํ์๋ฉ๋๋ค. |