본문 바로가기

LIKE

OS별 머신넘버(machine number)알아내는 방법

매틀랩을 설치할 때면 항상 머신넘버를 물어봅니다.
윈도우에서는 쉽게 구할 수 있지만
맥에서는 쉽지 않네요.
이것은 아마 익숙하지 않아서이겠죠. 나중엔 맥이 쉽구나 할 수도 있겠죠. 하하.

이게 윈도우에서는 할 수 있는데
맥으로 갈아타니 전혀 감도 안오더라구요.
그래서 결국 mathwork에 메일을 보내서 알아냈습니다.

윈도우 Windows: 1) Click the “Start Menu” (Usually located in the lower left corner)
2) Scroll over “All Programs”
3) Scroll over “Accessories”
4) Select “Command Prompt”
5) Type “vol c:” and press Enter Your Host ID is the Volume Serial Number.
 

매킨토시 Macintosh (OSX): 1) Open terminal window
2) Enter the following command:     ifconfig en0 Your Host ID is the "ether" information and should be entered as your Host ID without the colons.



For Linux: 1) Open terminal window
2) Enter the following command:     ifconfig eth0 Your Host ID is the "HWaddr" information and should be entered as your Host ID without the colons. 


알고나니 맥이 훨씬 간단하군요.
사실 윈도우에서도 '실행'을 이용한 방법이 있긴하지만
윈도우를 안쓴지 꽤나 지나다보니 기억이 가물가물해서 이번에는 패스하도록 하겠습니다.
머신넘버는 상당히 중요하기 때문에 유출에 주의하셔야해요