CPU의 시리얼 번호를 기반으로 MAC을 생성 하는 듯?
그나저나.. BogoMIPS가 멋대로 바뀌네? ㄷㄷㄷ
타이머로 변경되면서 클럭 변경되면 다르게 나오려나?
$ cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 |
$ cat /proc/cpuinfo processor : 3 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 57.60 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 Hardware : BCM2709 Revision : a21041 Serial : 00000000a37ce24e |
$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq; cat /proc/cpuinfo 900000 processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 57.60 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 $ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq; cat /proc/cpuinfo 600000 processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 |
---
라즈 B
# cat /proc/cpuinfo processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7 Hardware : BCM2708 Revision : 000e Serial : 0000000055593a15 |
# ifconfig eth0 Link encap:Ethernet HWaddr B8:27:EB:59:3A:15 |
---
$ ifconfig eth0 Link encap:Ethernet HWaddr b8:27:eb:7c:e2:4e inet addr:192.168.10.23 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1685 errors:0 dropped:2 overruns:0 frame:0 TX packets:358 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:107201 (104.6 KiB) TX bytes:52547 (51.3 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1104 (1.0 KiB) TX bytes:1104 (1.0 KiB) |
$ cat /sys/class/net/eth0/address b8:27:eb:7c:e2:4e |
[링크 : http://www.robert-drummond.com/2013/05/23/how-to-find-the-mac-address-of-your-raspberry-pi/]
'embeded > raspberry pi' 카테고리의 다른 글
라즈베리 파이 - dht11 device tree (0) | 2015.09.03 |
---|---|
라즈베리 파이 - 초음파 + 온도 센서? (0) | 2015.09.03 |
ㅠㅠ 액정 깨먹음 (0) | 2015.08.27 |
라즈베리 파이 i2c ADXL345 3축 가속도 센서 (0) | 2015.08.24 |
라즈베리 파이 i2c 사용하기 (0) | 2015.08.24 |