我有一个Raspberry Pi Zero,连接了以太网板 link to guide。当我第一次连接所有东西时,我工作正常,但在重新启动Pi后,它再也没有恢复过来。
ifconfig -a,显示缺少MAC地址
docker0.....
lo.......
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 Mask:255.255.255.0
inet6 ....
UP POINTTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:528 (528.0 B)
我试过这个:
ifdown tun0
but get error: interface tun0 not configured
并尝试了这个:
sodo ifconfig tun0 hw ether aa:bb:cc:dd:ee:ff
SIOCSIFHADDR: operation not supported
此外:
ifup tun0, gives error: unsupported device type 65534 for tun0
当前配置/ etc / network / interfaces配置
source-directory /etc/network/intefaces.d
auto lo
iface lo net loopback
auto tun0
iface tun0 net dhcp
如何更改MAC地址,让它再次运行?