码迷,mamicode.com
首页 >  
搜索关键字:ifconfig route    ( 6486个结果
用树莓派做无线路由器
原理:Pi使用有线连入网络,然后接USB无线网卡作为热点,提供Wifi接入。 1、有线网络,如果是自动获取IP的,直接接上网线即可。 2、关于USB无线网卡驱动问题。 如果接上USB无线网卡,使用ifconfig命令,能直接看到wlan0,那么恭喜你,可以直接跳过这一步。 官方推荐的无线网卡是TL-...
分类:其他好文   时间:2014-07-12 13:16:32    阅读次数:352
CentOS Linux解决Device eth0 does not seem to be present
VMware里克隆出来的CentOS Linux。。ifconfig...没有看到eth0.。然后重启网卡又报下面错误。故障现象:service network restartShutting down loopback insterface: ...
分类:系统相关   时间:2014-07-10 11:40:11    阅读次数:301
Windows CMD下一些有用的命令
2014.06.27C:\Users\wsc>route print===========================================================================接口列表 12...08 10 76 c1 5c 56 ......Realtek...
分类:Windows程序   时间:2014-07-07 22:42:59    阅读次数:309
Problem Gas Station
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
虚拟Linux系统设置静态局域网地址与主机实现Samba服务
本篇文章的环境背景为: 在Win7下创建虚拟机,安装Linux系统,如何建立局域网环境,使得主机Win7可以通过Samba服务器实现与虚拟机上的Linux系统进行访问交互。 诚然,动态的局域网IP地址每次都要去 ifconfig 一下,用Putty访问也虚拟终端也需要每次都输入IP,很麻烦。本文将介绍如何设置静态的IP,这将给上述操作带来很大方便。...
分类:系统相关   时间:2014-07-02 08:41:45    阅读次数:261
Gas Station
题目 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如何添加路由表(转)
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
Gas Station
题目 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,转化为求最大序列的解法,和更简单简单的Jump解法。
LeetCode上 Gas Station是比较经典的一题,它的魅力在于算法足够优秀的情况下,代码可以简化到非常简洁的程度。原题如下Gas StationThere areNgas stations along a circular route, where the amount of gas at...
分类:其他好文   时间:2014-06-30 11:13:40    阅读次数:244
Choose the best route(迪杰斯特拉)
通过做这题,发现了自己的问题很大,做题不是贴代码,而是要了解思想;这题考的是有一个起点的集合,求起点集合到一个终点的最短距离,本来想用Floy的但一看map[1000][1000]超时,有向图,逆序建邻接矩阵,这样就成了一个终点到所有点的最短路了。 1 #include 2 #include ...
分类:其他好文   时间:2014-06-29 18:40:11    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!