错误代码:arm-linux-gcc:Command not found
解决觉方法:权限问题,使用了sudo su root 进入了root
网络不通
ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:47:8f:4c
inet addr:192.168.20.128 Bcast:192.168.20.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe47:8f4c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:330 errors:0 dropped:0 overruns:0 frame:0
TX packets:471 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:40899 (40.8 KB) TX bytes:26892 (26.8 KB)
Interrupt:19 Base address:0x2024
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:538 errors:0 dropped:0 overruns:0 frame:0
TX packets:538 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:56322 (56.3 KB) TX bytes:56322 (56.3 KB)
wuminsong@ubuntu:~$ sudo ifconfig eth0 192.168.20.128 down
[sudo] password for wuminsong:
Sorry, try again.
[sudo] password for wuminsong:
wuminsong@ubuntu:~$ sudo ifconfig eth0 192.168.20.128 up
wuminsong@ubuntu:~$ ping 192.168.20.254
PING 192.168.20.254 (192.168.20.254) 56(84) bytes of data.
From 192.168.20.128 icmp_seq=1 Destination Host Unreachable
From 192.168.20.128 icmp_seq=2 Destination Host Unreachable
From 192.168.20.128 icmp_seq=3 Destination Host Unreachable
From 192.168.20.128 icmp_seq=4 Destination Host Unreachable
From 192.168.20.128 icmp_seq=5 Destination Host Unreachable
From 192.168.20.128 icmp_seq=6 Destination Host Unreachable
eth0 Link encap:Ethernet HWaddr 00:0c:29:47:8f:4c
inet addr:192.168.20.128 Bcast:192.168.20.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe47:8f4c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:330 errors:0 dropped:0 overruns:0 frame:0
TX packets:471 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:40899 (40.8 KB) TX bytes:26892 (26.8 KB)
Interrupt:19 Base address:0x2024
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:538 errors:0 dropped:0 overruns:0 frame:0
TX packets:538 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:56322 (56.3 KB) TX bytes:56322 (56.3 KB)
wuminsong@ubuntu:~$ sudo ifconfig eth0 192.168.20.128 down
[sudo] password for wuminsong:
Sorry, try again.
[sudo] password for wuminsong:
wuminsong@ubuntu:~$ sudo ifconfig eth0 192.168.20.128 up
wuminsong@ubuntu:~$ ping 192.168.20.254
PING 192.168.20.254 (192.168.20.254) 56(84) bytes of data.
From 192.168.20.128 icmp_seq=1 Destination Host Unreachable
From 192.168.20.128 icmp_seq=2 Destination Host Unreachable
From 192.168.20.128 icmp_seq=3 Destination Host Unreachable
From 192.168.20.128 icmp_seq=4 Destination Host Unreachable
From 192.168.20.128 icmp_seq=5 Destination Host Unreachable
From 192.168.20.128 icmp_seq=6 Destination Host Unreachable
解决方法:连接设备太多,禁用无用。
虚拟机选择桥接模式
window本地连接的IP地址 MAC均无关系。