Jump to content
XPEnology Community

N54L DSM 4.2 build 3202 맥어드레스 고정하기


ossboard

Recommended Posts

**** 테스트해보니 맥어드레스는 변경되나, WOL로 전원켜는건 동작안하네요. 참고만해주세요.....******

아마도 나중에 변경한거다 보니, 다른가봅니다...

 

 

* 현재의 값 확인

DiskStation> ifconfig

eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55

.....

.....

00:11:22:33:44:55 <= 요부분이 mac address 입니다. 아무값이나 변경해도 상관은없습니다^^

 

* macaddress.sh 파일을생성

DiskStation> vi /usr/local/etc/rc.d/macaddress.sh

#!/bin/sh

/sbin/ifconfig eth0 down

/sbin/ifconfig eth0 hw ether 00:11:22:33:44:55

/sbin/ifconfig eth0 up

:wq

* macaddress.sh 파일의 퍼미션을 변경

DiskStation> chmod 755 /usr/local/etc/rc.d/macaddress.sh

 

이후 웹에서 재시작

Edited by Guest
Link to comment
Share on other sites

새로운 방법이군요. : )

 

기존에는 크게 두가지 방법이 있었습니다.

 

1. vender file을 수정하는 방법

viewtopic.php?f=2&t=6#p41

부트용 USB에 있는 verder 파일을 직접 binary editor로 수정하여 mac address를 수정하는 방법이지요.

 

2. vender file을 무시하게 바꾼 뒤, grub file에서 직접 mac address를 넣어주는 방법

바로 아래에도 있는 내용입니다. : )

viewtopic.php?f=12&t=826&sid=7dd4d485f4aff398212183752c55d71f#p3674

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...