2016/4/20

错误代码: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

解决方法:连接设备太多,禁用无用。
虚拟机选择桥接模式

window本地连接的IP地址 MAC均无关系。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值