- 博客(132)
- 资源 (4)
- 收藏
- 关注
原创 wireshark RTP流分析崩溃
Wireshark在分析RTP流时崩溃,原因是Windows系统中msvcp140.dll文件损坏。解决方法是通过微软官方提供的重装方法修复该动态链接库文件。参考链接:https://learn.microsoft.com/zh-cn/answers/questions/3866296/msvcp140-dll(45字)
2026-04-04 13:27:31
47
原创 EMMC RPMB分区介绍
RPMB(Replay Protected Memory Block重放保护内存块)Partition 是 eMMC 中的一个具有安全特性的分区。eMMC 在写入数据到 RPMB 时,会校验数据的合法性,只有指定的 Host 才能够写入,同时在读数据时,也提供了签名机制,保证 Host 读取到的数据是 RPMB 内部数据,而不是攻击者伪造的数据。RPMB 在实际应用中,通常用于存储一些有防止非法篡改需求的数据,例如手机上指纹支付相关的公钥、序列号等。
2025-11-06 10:20:29
705
原创 win10/11家庭版windows11 安装rdpwrap远程桌面
win10/11家庭版windows11 无法作为服务端进行远程,方法如下。
2025-10-09 16:03:05
819
原创 mineru处理后的文档生成对应层级的标题
mineru把pdf文档转换为markdown文档,但标题都是一级标题。对mineru处理后的文档进行再处理,生成对应层级的标题。
2025-10-06 16:36:45
397
原创 Dify Markdown 转换器插件安装失败
插件环境初始化失败,报错显示缺少pkg-config、CMake和cairo依赖。从日志可见,系统无法自动找到这些必需组件。临时解决方案是进入容器手动安装:首先更新apt源,然后安装pkg-config、cmake和libcairo2-dev,最后通过清华镜像源安装pycairo 1.28.0。该问题可能由网络不稳定或包损坏引起,建议检查网络状况和软件包完整性。
2025-10-02 00:59:27
1683
2
原创 ollama Modelfile 文件生成
根据如下TEMPLATE和params写一个modelfile文件,TEMPLATE为:{{- $lastUserIdx := -1 -}}{{- end }}{{- end }}
2025-08-20 16:56:30
1174
原创 Qwen2.5-Coder模型的训练、评测、压缩与部署实践
Qwen2.5-Coder模型的训练、评测、压缩与部署实践:https://www.alibabacloud.com/help/zh/pai/use-cases/training-evaluation-compression-and-deployment-of-qwen2-5-coder-model
2025-08-17 20:57:14
222
原创 apt-cache工具
如: apt-get -y install redis=5:6.0.16-1+deb11u2~bionic-proposed。
2024-10-26 10:04:59
498
原创 dpkt 处理linux cooked capture
filename=‘a_linux_cooked_capture.pcap’f = open(filename, ‘rb’)pcap = dpkt.pcap.Reader(f)for ts, buf in pcap:eth = dpkt.sll.SLL(buf)ip = eth.datatcp = ip.dataf.close()为帮助您在优快云创作的文章获得更多曝光和关注,我们为您提供了专属福利:已注册且未在优快云平台发布过文章的用户,9月1日—9月30日期间发布首篇文章可享大额首篇流量
2023-09-06 19:01:46
1081
原创 git仓库创建
安装ssh如果已经安装不需要再安装安装:sudo apt-get install openssh-server启动:sudo service ssh start查询:sudo ps -e | grep ssh安装gitsudo apt-get install git创建一个git用户,用来运行git服务:sudo adduser git创建/home/git/.ssh/authorized_keys .ssh文件夹及authorized_keys文件(可以把所有者改为git用户拥
2022-03-25 11:50:27
392
原创 android bpf流程
以dhcpd使用bpf为例进行分析通过PF_PACKET,SOCK_DGRAM socket直接从kernel 网卡设备层把原始整个以太网数据原始数据读到用空空间。为了只读取感兴趣的数据包类型,例如ARP包,可以通过配置bpf进行过滤。用户空间 attch bpfintopen_socket(struct interface *iface, int protocol){ int s; union sockunion { struct sockaddr sa; struct sockad
2021-10-07 21:43:41
1350
原创 android busybox telnetd设置登录密码
init.rc 中添加/bin软链接on initsymlink /system/bin /bin对应命令ln -s /system/bin /binbusybox login创建软链接symlink /system/xbin/busybox /system/xbin/login对应命令 ln -s /system/xbin/busybox /system/xbin/login添加用户和密码/etc/目录下创建passwd文件内容为:root:RPWLUGS6bIKC2:0:0:root:
2021-10-05 21:57:50
1703
原创 音频基本概念
音频设备Handset 听筒Headset 耳机Headphone 耳机,不带micSpeaker 扬声器Microphone 麦克风mono 单声道stereo 立体声相关概念Sample:样本长度,音频数据最基本的单位,常见的有8位和16位。Channel:声道数,分为单声道mono和立体声stereo。Frame:帧,构成一个完整的声音单元,Frame = Sample * channel。Rate:又称Sample rate,采样率,即每秒的采样次数,针对帧而言。In
2021-08-22 21:31:05
2151
原创 linux can socket
https://www.kernel.org/doc/Documentation/networking/can.txtcan.txtReadme file for the Controller Area Network Protocol Family (aka SocketCAN)This file contains1 Overview / What is SocketCAN2 Motivation / Why using the socket API3 SocketCAN concept3.
2021-06-05 15:33:45
1429
原创 ubuntu源码
ubuntu源码http://cdimage.ubuntu.com/releases/18.04/release/source/http://cdimage.ubuntu.com/ubuntu-base/releases/14.04/release/https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/179142663/Booting+Ubuntu+image+for+2019.1+release
2021-04-03 21:37:30
470
原创 ubuntu下android ndk编译环境搭建方法
下载ndk13http://developer.android.com/sdk/ndk/index.html解压cd /home/ubuntu/ndk/tar -xzvf android-ndk-r13b.tgz安装交叉编译环境运行在arm64 cpuubuntu@ubuntu:~/ndk/android-ndk-r13b/build/tools$ ./make-standalone-toolchain.sh --arch=arm64 --platform=android-21 --i
2021-02-17 23:05:30
2211
原创 小米4 hostapd配置热点
hostapdadb shell:hostapd -i wlan0 /data/misc/wifi/hostapd.conf配置ip地址ifconfig wlan0 192.168.2.15 uphw_mode表示采用哪种协议模式,其中a = IEEE 802.11a支持5.0Ghz,默认g = IEEE 802.11g 2.4G频段#Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g,#n = IEEE
2021-01-30 23:29:22
27132
4
原创 linux perf
http://www.brendangregg.com/perf.htmlThe kernel stack traces are incomplete. Now a similar profile with CONFIG_FRAME_POINTER=y
2020-11-28 00:01:56
276
原创 网卡驱动设备watchdog-dev_watchdog
文章目录初始化开启watchdog超时处理dev_watchdog发送时间trans_start 更新usbnet驱动网络设备watchdog用于监控网卡驱动发送数据是否异常,如果异常就报错,并调用网卡驱动提供的超时处理函数。基本原理:网卡设备初始化时,初始化watchdog定时器,用户空间打开网卡设备时,同时开启watchdog定时器,每次watchdog定时器超时,就检查网卡设备的发送队列发送数据是否超时,如果超时报错并调用网卡驱动提供的超时处理函数。然后重启watchdog定时器超时。linu
2020-11-22 20:41:49
2756
原创 linux socket poll io处理-udp
文章目录udp_poll读io事件唤醒linux socket中定义了多种io事件,io事件发生时会调用它们处理函数。struct sock { //sock wait queue and async head struct socket_wq __rcu *sk_wq; // socket等待事件队列,用于io事件异步通知 atomic_t sk_wmem_alloc; void (*sk_state_change)(struct sock *sk);//callback
2020-10-18 22:58:13
1112
1
原创 linux select io处理
先看一下select机制select需要驱动程序的支持,驱动程序实现fops内的poll函数。select通过每个设备文件对应的poll函数提供的信息判断当前是否有资源可用(如可读或写),如果有的话则返回可用资源的文件描述符个数,没有的话则睡眠,等待有资源变为可用时再被唤醒继续执行。select系统调用int select(int maxfdp, fd_set *readset, fd_set *writeset, fd_set *exceptset,struct timeval *timeout);
2020-10-18 21:13:10
388
原创 linux socket-recvfrom系统调用
recvfrom库函数应用程序调用recv或recvfrom库函数接收数据。recv和recvfrom主要区别是是否设置socket地址。__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);ssize_t recv(int, void*, size_t, int);ssize_t recv(int socket, void *buf, size_t len, int f
2020-10-11 21:39:23
2817
原创 linux kernel/ubuntu等资源国内镜像
清华:https://mirror.tuna.tsinghua.edu.cn/kernel/v5.x/https://mirror.tuna.tsinghua.edu.cn/网易:http://mirrors.163.com/ubuntu-releaseshttp://mirrors.163.com/阿里:https://developer.aliyun.com/mirror/https://mirrors.aliyun.com/linux-kernel/?spm=a2c6h.1365110
2020-10-08 16:38:44
2367
原创 Ubuntu20.04 添加右键新建文件
1,在主文件夹–模板目录下创建一个文件,如下指令ubuntu@ubuntu:~/Templates$ sudo gedit2,创建了文件后,直接点击保存即可3,这时在其他目录下点击右键就可以看到新建文档
2020-10-08 12:55:42
9050
4
原创 Ubuntu20.04 linux core dump设置
root@ubuntu:/proc/sys/kernel# echo /usr/share/apport/core-%p-%e > core_patternroot@ubuntu:echo 1 > core_uses_pidroot用户下运行su转为root改core文件大小root@ubuntu:/home/ubuntu/study# ulimit -c 1024测试程序root@ubuntu:/home/ubuntu/study# ./core_dump...
2020-10-08 01:01:43
2626
原创 linux内核网络框架
SYSCALL_DEFINE3(socket, int, family, int, type, int, protocol){ int retval; struct socket *sock; int flags; /* Check the SOCK_* constants for consistency. */ BUILD_BUG_ON(SOCK_CLOEXEC != O_CLOEXEC); BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK
2020-10-07 22:27:16
1179
原创 gitee加速下载github项目
1,登录gitee2,找到如下+位置,选择从github导入仓库3,把github中git地址复制到gitee。
2020-10-07 11:29:56
1404
原创 ndk交叉编译python
arm64体系ndk r13#!/bin/bashCOMPILE_ROOT=`pwd`ANDROID_NDK_ROOT=/home/xx/ndk/android-ndk-r13bANDROID_GCC_ROOT=${ANDROID_NDK_ROOT}/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64ANDROID_GCC_PATH=${ANDROID_GCC_ROOT}/binBUILD_PATH=${COMPILE_ROO
2020-09-30 13:16:30
1505
1
showdoc-node-modules的nodejs模块
2025-07-21
android-arm平台ndk交叉编译python
2020-09-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅