原理:Pi使用有线连入网络,然后接USB无线网卡作为热点,提供Wifi接入。 1、有线网络,如果是自动获取IP的,直接接上网线即可。 2、关于USB无线网卡驱动问题。 如果接上USB无线网卡,使用ifconfig命令,能直接看到wlan0,那么恭喜你,可以直接跳过这一步。 官方推荐的无线网卡是TL-...
分类:
其他好文 时间:
2014-07-12 13:16:32
阅读次数:
352
VMware里克隆出来的CentOS Linux。。ifconfig...没有看到eth0.。然后重启网卡又报下面错误。故障现象:service network restartShutting down loopback insterface: ...
分类:
系统相关 时间:
2014-07-10 11:40:11
阅读次数:
301
2014.06.27C:\Users\wsc>route print===========================================================================接口列表 12...08 10 76 c1 5c 56 ......Realtek...
Problem Description:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas ta...
分类:
其他好文 时间:
2014-07-07 15:52:25
阅读次数:
231
本篇文章的环境背景为: 在Win7下创建虚拟机,安装Linux系统,如何建立局域网环境,使得主机Win7可以通过Samba服务器实现与虚拟机上的Linux系统进行访问交互。
诚然,动态的局域网IP地址每次都要去 ifconfig 一下,用Putty访问也虚拟终端也需要每次都输入IP,很麻烦。本文将介绍如何设置静态的IP,这将给上述操作带来很大方便。...
分类:
系统相关 时间:
2014-07-02 08:41:45
阅读次数:
261
题目
There are N gas stations along a circular route, where the amount of gas at station i is gas[i].
You have a car with an unlimited gas tank and it costs cost[i] of gas
to travel from s...
分类:
其他好文 时间:
2014-07-01 11:02:24
阅读次数:
158
linux下静态路由修改命令方法一:添加路由route add -net 192.168.0.0/24 gw 192.168.0.1route add -host 192.168.1.1 dev 192.168.0.1删除路由route del -net 192.168.0.0/24 gw 192....
分类:
系统相关 时间:
2014-07-01 10:23:01
阅读次数:
278
题目
There are N gas stations along a circular route, where the amount of gas at station i is gas[i].
You have a car with an unlimited gas tank and it costs cost[i] of gas
to travel from s...
分类:
其他好文 时间:
2014-06-30 16:57:25
阅读次数:
231
LeetCode上 Gas Station是比较经典的一题,它的魅力在于算法足够优秀的情况下,代码可以简化到非常简洁的程度。原题如下Gas StationThere areNgas stations along a circular route, where the amount of gas at...
分类:
其他好文 时间:
2014-06-30 11:13:40
阅读次数:
244
通过做这题,发现了自己的问题很大,做题不是贴代码,而是要了解思想;这题考的是有一个起点的集合,求起点集合到一个终点的最短距离,本来想用Floy的但一看map[1000][1000]超时,有向图,逆序建邻接矩阵,这样就成了一个终点到所有点的最短路了。 1 #include 2 #include ...
分类:
其他好文 时间:
2014-06-29 18:40:11
阅读次数:
170