<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_38892883的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_38892883</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_38892883]]></copyright><item><title><![CDATA[小白都能看明白的VLAN原理解释（超详细）]]></title><link>https://blog.csdn.net/qq_38892883/article/details/104501484</link><guid>https://blog.csdn.net/qq_38892883/article/details/104501484</guid><author>qq_38892883</author><pubDate>Tue, 25 Feb 2020 17:30:28 +0800</pubDate><description><![CDATA[小白都能看明白的VLAN原理解释（超详细）

为什么需要VLAN

　　1. 什么是VLAN?

　　VLAN(Virtual LAN)，翻译成中文是“虚拟局域网”。LAN可以是由少数几台家用计算机构成的网络，也可以是数以百计的计算机构成的企业网络。VLAN所指的LAN特指使用路由器分割的网络——也就是广播域。

　　在此让我们先复习一下广播域的概念。广播域，指的是广播帧(目标MAC地址全部为1)...]]></description><category></category></item><item><title><![CDATA[VMware 虚拟机 Ubuntu 登录后蓝屏问题]]></title><link>https://blog.csdn.net/qq_38892883/article/details/90449863</link><guid>https://blog.csdn.net/qq_38892883/article/details/90449863</guid><author>qq_38892883</author><pubDate>Wed, 22 May 2019 18:48:54 +0800</pubDate><description><![CDATA[VMware 虚拟机 Ubuntu 登录后蓝屏问题

问题起因

在一次下班收工时关闭虚拟机 Ubuntu，出现异常：关机好久没有完成，进而导致 VMware 软件卡死。后来强行杀死 VMware。第二天上班，启动 VMware 后开启 Ubuntu，输入密码登录后整个 Ubuntu 蓝屏（非 Windows 蓝屏）。重启多次结果还是一样。

VMware 版本：10.0.0

Ubuntu 版本...]]></description><category></category></item><item><title><![CDATA[嵌入式Linux系统时间设置]]></title><link>https://blog.csdn.net/qq_38892883/article/details/81700107</link><guid>https://blog.csdn.net/qq_38892883/article/details/81700107</guid><author>qq_38892883</author><pubDate>Wed, 15 Aug 2018 10:44:46 +0800</pubDate><description><![CDATA[Linux系统的很多功能都需要读取时间为基础。比如：日志系统需要时间戳以记录log，为后期的问题排查提供支撑；cron服务需要正确的时间设置以支撑周期性、特定时间点执行某个任务；等等。大多数Linux桌面系统都提供了丰富、友好的时间设置接口，很方便用户进行时间设置，但是在定制化、特殊性很强的嵌入式设备中，时间的设置有时不是那么容易。本文全面剖析linux-arm嵌入式设备的时间设置细节。

硬件时...]]></description><category></category></item><item><title><![CDATA[iptables的规则表和链]]></title><link>https://blog.csdn.net/qq_38892883/article/details/81252915</link><guid>https://blog.csdn.net/qq_38892883/article/details/81252915</guid><author>qq_38892883</author><pubDate>Fri, 27 Jul 2018 19:16:42 +0800</pubDate><description><![CDATA[参考地址：https://www.cnblogs.com/kevingrace/p/6265113.html

本文内容是参考的以上链接，做了一下版式的整理，由于在我的本地笔记上已经做过了。所以就贴图了。























 

 ...]]></description><category></category></item><item><title><![CDATA[linux下socket keep alive讲解]]></title><link>https://blog.csdn.net/qq_38892883/article/details/80109268</link><guid>https://blog.csdn.net/qq_38892883/article/details/80109268</guid><author>qq_38892883</author><pubDate>Fri, 27 Apr 2018 15:57:58 +0800</pubDate><description><![CDATA[【需求】不影响服务器处理的前提下，检测客户端程序是否被强制终了。【现状】服务器端和客户端的Socket都设定了keepalive属性。服务器端设定了探测次数等参数，客户端、服务器只是打开了keepalive机能服务器端起了一个监视线程，利用select来检测socket是否被关闭。。。下面这是我的一点肤浅理解。1.关于keep alive无论windows,还是linux,keepalive就三个...]]></description><category></category></item><item><title><![CDATA[一个不错的shell 脚本教程]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79846134</link><guid>https://blog.csdn.net/qq_38892883/article/details/79846134</guid><author>qq_38892883</author><pubDate>Sat, 07 Apr 2018 22:54:03 +0800</pubDate><description><![CDATA[一个很不错的bash脚本编写教程，至少没接触过BASH的也能看懂！建立一个脚本　　Linux中有好多中不同的shell，但是通常我们使用bash (bourne again shell) 进行shell编程，因为bash是免费的并且很容易使用。所以在本文中笔者所提供的脚本都是使用bash（但是在大多数情况下，这些脚本同样可以在 bash的大姐，bourne shell中运行）。　　如同其他语言一样...]]></description><category></category></item><item><title><![CDATA[CGI编程学习]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79781676</link><guid>https://blog.csdn.net/qq_38892883/article/details/79781676</guid><author>qq_38892883</author><pubDate>Sun, 01 Apr 2018 21:00:14 +0800</pubDate><description><![CDATA[首先感谢此文原创的作者(转载的别人转载的)，学习了。一．基本原理CGI：通用网关接口（Common Gateway Interface）是一个Web服务器主机提供信息服务的标准接口。通过CGI接口，Web服务器就能够获取客户端提交的信息，转交给服务器端的CGI程序进行处理，最后返回结果给客户端。组成CGI通信系统的是两部分：一部分是html页面，就是在用户端浏览器上显示的页面。另一部分则是运行在服...]]></description><category></category></item><item><title><![CDATA[iptables命令详解和举例]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79709023</link><guid>https://blog.csdn.net/qq_38892883/article/details/79709023</guid><author>qq_38892883</author><pubDate>Tue, 27 Mar 2018 10:25:47 +0800</pubDate><description><![CDATA[    防火墙，其实说白了讲，就是用于实现Linux下访问控制的功能的，它分为硬件的或者软件的防火墙两种。无论是在哪个网络中，防火墙工作的地方一定是在网络的边缘。而我们的任务就是需要去定义到底防火墙如何工作，这就是防火墙的策略，规则，以达到让它对出入网络的IP、数据进行检测。	目前市面上比较常见的有3、4层的防火墙，叫网络层的防火墙，还有7层的防火墙，其实是代理层的网关。	对于TCP/IP的七层模...]]></description><category></category></item><item><title><![CDATA[NUC972交叉工具链安装]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79621072</link><guid>https://blog.csdn.net/qq_38892883/article/details/79621072</guid><author>qq_38892883</author><pubDate>Tue, 20 Mar 2018 09:58:45 +0800</pubDate><description><![CDATA[虽然很简单的操作，但还是要记录一下。首先在新唐提供的bsp开发包里面包含，install.sh脚本，如下图所示：直接执行此脚本：sudo ./install.sh就会自动将交叉工具链安装到/usr/local/arm-linux-4.3/目录下。工具链在/usr/local/arm_linux_4.3/usr/bin目录下。同时在/etc/profile.d目录下生成nvt_arm_linux.s...]]></description><category></category></item><item><title><![CDATA[Linux串口驱动解析之s3c2440]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79607261</link><guid>https://blog.csdn.net/qq_38892883/article/details/79607261</guid><author>qq_38892883</author><pubDate>Mon, 19 Mar 2018 11:46:56 +0800</pubDate><description><![CDATA[一、Linux TTY子系统软件架构参考文档1、前言    在Linux kernel中，TTY就是各类终端（Terminal）的简称。为了简点击打开链接化终端的使用，以及终端驱动程序的编写，Linux kernel抽象出了TTY framework：对上，向应用程序提供使用终端的统一接口；对下，提供编写终端驱动程序（如serial driver）的统一框架。2、软件架构Linux kernel ...]]></description><category></category></item><item><title><![CDATA[Linux平台设备驱动模型（platform）-以tq2440的按键为例]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79566165</link><guid>https://blog.csdn.net/qq_38892883/article/details/79566165</guid><author>qq_38892883</author><pubDate>Thu, 15 Mar 2018 15:19:29 +0800</pubDate><description><![CDATA[弄懂平台设备驱动模型对字符设备驱动的理解是非常有帮助的。在linux2.6设备模型中，关心总线，设备，驱动这三个实体，总线将设备和驱动绑定，在系统每注册一个设备的时候，会寻找与之匹配的驱动。相反，在系统每注册一个驱动的时候，寻找与之匹配的设备，匹配是由总线来完成的。    一个现实的Linux 设备和驱动通常都需要挂接在一种总线上，对于本身依附于PCI、USB、I2C、SPI 等的设备而言，这自然...]]></description><category></category></item><item><title><![CDATA[防火墙技术原理学习笔记]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79562396</link><guid>https://blog.csdn.net/qq_38892883/article/details/79562396</guid><author>qq_38892883</author><pubDate>Thu, 15 Mar 2018 00:20:20 +0800</pubDate><description><![CDATA[防火墙技术原理一、防火墙的定义防火墙（FireWall）：一种高级访问控制设备，位于两个或多个网络间，实施网络之间访问控制的组件集合。对于普通用户来说，所谓“防火墙”，指的就是一种被放置在自己的计算机与外界网络之间的防御系统，从网络发往计算机的所有数据都要经过它的判断处理后，才会决定能不能把这些数据交给计算机，一旦发现有害数据，防火墙就会拦截下来，实现了对计算机的保护功能。 二、防火墙的核心技术1...]]></description><category></category></item><item><title><![CDATA[Linux源码目录结构和Linux文件系统目录结构]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79557715</link><guid>https://blog.csdn.net/qq_38892883/article/details/79557715</guid><author>qq_38892883</author><pubDate>Wed, 14 Mar 2018 18:03:34 +0800</pubDate><description><![CDATA[学习Linux也有一段时间了，具体来整理一下Linux源码的目录结构和文件系统的目录结构，以便加深记忆。一、Linux源码的目录结构首先上一张截图，如下所示：再看各个文件的介绍，借用一下其他资源。arch：这个为目录是架构相关，里面存放了许多CPU架构，比如arm，x86，MIPS，PPC等，处理器原厂提供一套Linux内核的源码，那么在这个目录下都有一套针对具体处理器CPU的子目录。每个CPU的...]]></description><category></category></item><item><title><![CDATA[openWrt各目录分析]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79549508</link><guid>https://blog.csdn.net/qq_38892883/article/details/79549508</guid><author>qq_38892883</author><pubDate>Wed, 14 Mar 2018 08:59:55 +0800</pubDate><description><![CDATA[前言这段时间总是在和openwrt打交道,之前也零零散散地写过一点，还是希望能有点体系。还记得我刚看到源代码的时候，觉得无从下手.我想从Makefile的整个执行过程入手,搞清楚编译源代码的几个小时中,到底发生了哪些故事. 本文是这个系列的第一篇.主要讲一下我对openwrt整个目录结构的理解.我们将源代码从官方下载而来的目录称之为原始目录,将编译后生成的目录称之为生成目录,分两部分介绍各个目录....]]></description><category></category></item><item><title><![CDATA[openwrt中br-lan,eth0,eth0.1,eth0.2]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79547731</link><guid>https://blog.csdn.net/qq_38892883/article/details/79547731</guid><author>qq_38892883</author><pubDate>Tue, 13 Mar 2018 22:11:04 +0800</pubDate><description><![CDATA[转自：https://blog.phpgao.com/openwrt-interface.html




首先盗openwrt-wiki中的一张图，这张图对理解这些接口很重要！



网络配置

有线网配置

openwrt的有线网络配置文件位于/etc/config/network，配置如下：

config interface 'loopback'
    op]]></description><category></category></item><item><title><![CDATA[C++：使用VS2013编写第一个C++程序]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79360782</link><guid>https://blog.csdn.net/qq_38892883/article/details/79360782</guid><author>qq_38892883</author><pubDate>Sat, 24 Feb 2018 13:31:00 +0800</pubDate><description><![CDATA[C++学习笔记：使用VS2013编写第一个C++程序。1.打开VS2013，选择新建—&amp;gt;项目： 2.选择C++，然后选择空项目，当然本项目依然从打印Hello World开始，所以名称输入“HelloWorld”，点击确定。3.在解决方案中的源文件文件夹下单击鼠标右键，选择添加—&amp;gt;新建项。4.如下图所示，文件名称改成Hello.cpp，点击确定。5.在编辑框中输入以下代码。#inclu...]]></description><category></category></item><item><title><![CDATA[MQTT物联网协议详解]]></title><link>https://blog.csdn.net/qq_38892883/article/details/79136339</link><guid>https://blog.csdn.net/qq_38892883/article/details/79136339</guid><author>qq_38892883</author><pubDate>Tue, 23 Jan 2018 10:09:45 +0800</pubDate><description><![CDATA[MQTT物联网协议详解








MQTT（Message Queuing Telemetry Transport，消息队列遥测传输协议），是一种基于发布/订阅（publish/subscribe）模式的“轻量级”通讯协议，该协议构建于TCP/IP协议上，由IBM在1999年发布。MQTT最大优点在于，可以以极少的代码和有限的带宽，为连接远程设备提供实时可靠的消息服务。做为]]></description><category></category></item><item><title><![CDATA[Qt下载地址]]></title><link>https://blog.csdn.net/qq_38892883/article/details/78862370</link><guid>https://blog.csdn.net/qq_38892883/article/details/78862370</guid><author>qq_38892883</author><pubDate>Thu, 21 Dec 2017 12:21:19 +0800</pubDate><description><![CDATA[上Qt官网http://www.qt.io/download/想下载Qt，速度很慢，在这里记录下在Qt官网看到的镜像下载地址：

1. 所有Qt版本下载地址：

http://download.qt.io/archive/qt/





2. 所有Qt Creator下载地址：

http://download.qt.io/archive/qtcreator/


]]></description><category></category></item><item><title><![CDATA[C++面试出现频率最高的30道题目]]></title><link>https://blog.csdn.net/qq_38892883/article/details/78504144</link><guid>https://blog.csdn.net/qq_38892883/article/details/78504144</guid><author>qq_38892883</author><pubDate>Fri, 10 Nov 2017 23:43:10 +0800</pubDate><description><![CDATA[出处：http://blog.csdn.net/wangshihui512/article/details/9092439






1.new、delete、malloc、free关系


delete会调用对象的析构函数,和new对应free只会释放内存，new调用构造函数。malloc与free是C++/C语言的标准库函数，new/delete是C++的运算符。它们都可]]></description><category></category></item><item><title><![CDATA[linux RTC 驱动模型分析]]></title><link>https://blog.csdn.net/qq_38892883/article/details/78351356</link><guid>https://blog.csdn.net/qq_38892883/article/details/78351356</guid><author>qq_38892883</author><pubDate>Thu, 26 Oct 2017 11:13:54 +0800</pubDate><description><![CDATA[linux RTC 驱动模型分析



        RTC(real time clock)实时时钟，主要作用是给Linux系统提供时间。RTC因为是电池供电的，所以掉电后时间不丢失。Linux内核把RTC用作“离线”的时间与日期维护器。当Linux内核启动时，它从RTC中读取时间与日期，作为基准值。在运行期间内核完全抛开RTC，以软件的形式维护系统的当前时间与日期，并在需要时将时间回]]></description><category></category></item></channel></rss>