自己试着弄了一下,没保存下来。 0 J3 G# L. R. h1,telnet 192.168.3.59 % s4 J; K# x: X2 j; ^7 o$ D* v7 |2,vi chmac3 B' _2 C! u4 e' n* Z. p
ip link set eth0 down% E% s* {0 c* n: B) R
ip link set eth0 address 00:07:63:63:F5:d3 ; U6 r: ?% ?* s7 kip link set eth0 up9 m0 ]& I) ], O h5 D: J. L
:wq3 Z% R. D( K5 S. E ], V: ?) |
3.chmod +x chmac $ y k0 ^$ e5 U& N4./chmac& y; ]8 M3 U% U2 Y V. e
用ifconfig eth0查看了一下。mac地址改过来了,重启一下机顶盒,结果又恢复啦。