Junker さんから eth1addr に値が入っている との情報もいただいた。
root@LS-XHLA1F:~# nvram -c set 'ethaddr=00:1D:73:E4:48:DF' Err: invalid arg. root@LS-XHLA1F:~#初めて nvram コマンドを使うので、使い方が良くわからない。
root@LS-XHLA1F:~# nvram -c set ethaddr '00:1D:73:E4:48:DF' >nvram_set:ethaddr = 00:1D:73:E4:48:DF root@LS-XHLA1F:~# nvram -c printenv 1: [bootdelay=3] 2: [baudrate=115200] 3: [loads_echo=0] 4: [ipaddr=192.168.11.150] 5: [serverip=192.168.11.1] 6: [rootpath=/mnt/ARM_FS/] 7: [netmask=255.255.255.0] 8: [ethaddr=00:1D:73:E4:48:DF] root@LS-XHLA1F:~#できた。
おっと、ethaddr じゃなくて、eth1addr だった。
やり直し。
root@LS-XHLA1F:~# nvram -c del ethaddr root@LS-XHLA1F:~# nvram -c printenv 1: [bootdelay=3] 2: [baudrate=115200] 3: [loads_echo=0] 4: [ipaddr=192.168.11.150] 5: [serverip=192.168.11.1] 6: [rootpath=/mnt/ARM_FS/] 7: [netmask=255.255.255.0] root@LS-XHLA1F:~# nvram -c set eth1addr '00:1D:73:E4:48:DF' >nvram_set:eth1addr = 00:1D:73:E4:48:DF root@LS-XHLA1F:~# nvram -c printenv 1: [bootdelay=3] 2: [baudrate=115200] 3: [loads_echo=0] 4: [ipaddr=192.168.11.150] 5: [serverip=192.168.11.1] 6: [rootpath=/mnt/ARM_FS/] 7: [netmask=255.255.255.0] 8: [eth1addr=00:1D:73:E4:48:DF] root@LS-XHLA1F:~#
root@LS-XHLA1F:~# shutdown -r now root@LS-XHLA1F:~# Message from syslogd@LS-XHLA1F at Thu Nov 1 00:21:14 2007 ... LS-XHLA1F clientUtil_server[1227]: ap_serv_exit() exit ap_servd. code=15
DHCP サーバである HS-DHGL の /var/log/daemon.log を監視。
yasunari@sil:~$ tail -f /var/log/daemon.log : : Feb 8 12:17:45 sil dhcpd: DHCPREQUEST for 192.168.2.207 from 00:1d:73:e4:48:df via eth0 Feb 8 12:17:45 sil dhcpd: DHCPNAK on 192.168.2.207 to 00:1d:73:e4:48:df via eth0 Feb 8 12:17:45 sil dhcpd: DHCPDISCOVER from 00:1d:73:e4:48:df via eth0 Feb 8 12:17:46 sil dhcpd: DHCPOFFER on 192.168.2.208 to 00:1d:73:e4:48:df via eth0 Feb 8 12:17:46 sil dhcpd: DHCPREQUEST for 192.168.2.208 from 00:1d:73:e4:48:df via eth0 Feb 8 12:17:46 sil dhcpd: DHCPACK on 192.168.2.208 to 00:1d:73:e4:48:df via eth0 Feb 8 12:17:46 sil dhcpd: DHCPDISCOVER from 00:1d:73:e4:48:df via eth0 Feb 8 12:17:46 sil dhcpd: DHCPOFFER on 192.168.2.208 to 00:1d:73:e4:48:df via eth0 Feb 8 12:17:46 sil dhcpd: DHCPREQUEST for 192.168.2.201 from 00:1d:73:e4:48:df via eth0 Feb 8 12:17:46 sil dhcpd: DHCPACK on 192.168.2.201 to 00:1d:73:e4:48:df via eth0見事 00:1d:73:e4:48:df が付いたようだ。
: : # 192.168.2.49 LS-XHL host brick { hardware ethernet 00:1d:73:e4:48:df; fixed-address 192.168.2.49; } : :
sil:~# /etc/init.d/dhcp restart Stopping DHCP server: dhcp. Starting DHCP server: dhcpd. sil:~#
sil:~# tail -f /var/log/daemon.log : : Feb 8 12:41:36 sil dhcpd: DHCPREQUEST for 192.168.2.201 from 00:1d:73:e4:48:df via eth0 Feb 8 12:41:36 sil dhcpd: DHCPNAK on 192.168.2.201 to 00:1d:73:e4:48:df via eth0 Feb 8 12:41:36 sil dhcpd: DHCPDISCOVER from 00:1d:73:e4:48:df via eth0 Feb 8 12:41:36 sil dhcpd: DHCPOFFER on 192.168.2.49 to 00:1d:73:e4:48:df via eth0 Feb 8 12:41:36 sil dhcpd: DHCPREQUEST for 192.168.2.49 from 00:1d:73:e4:48:df via eth0 Feb 8 12:41:36 sil dhcpd: DHCPACK on 192.168.2.49 to 00:1d:73:e4:48:df via eth0無事 192.168.2.49 が付いた。
|
← ディザスタバックアップ |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ RAID の解除 |