作者:Harrandi
发布时间:May 13, 2026
分类:arduino
No Comments
首先安装app,保正网络畅通。
运行后点击齿轮,最上方的安装plugin extras点一下等它装好。
然后最下方第三个Extensions,开启Remote web terminal(ttyd)
如果你想用齿轮那页的dropbear ssh也可以
最下方server,也就是首页,octoprint点下运行,成功后会出现ip地址,默认端口号5000
这时打开浏览器,输入这个ip地址但是端口号是5002,登陆,用户名root,密码可能是octoprint,或者是齿轮页你修改的dropbear里那个SSH密码
登录后,先wget 两个脚本
https://github.com/feelfreelinux/octo4a/raw/refs/heads/master/scripts/setup-octo4a.sh
https://github.com/feelfreelinux/octo4a/raw/refs/heads/master/scripts/setup-klipper-moonraker.sh
然后分别运行它们 bash -x your_script.sh 2>&1 | tee script.log
就搞定了。有错误可以阅读script.log
首页的USB连接一般选择 CDC 方式,比如我是连接bigtree的打印板。
作者:Harrandi
发布时间:May 13, 2026
分类:随便写写,微心情
No Comments
记录一下。以免哪天想不起来了。
第一个电脑
升技sa6 815ep 赛扬900 金邦金条 ibm40g NV GeForce 2 mx400?
第二个电脑
技嘉nf2换升技 紫巴顿2500+ OC 3200 盈通 ati9550
第三个电脑
升级ib9 酷睿2 2140或2160 蓝宝石Ati1950pro
升技p45deluxe Q8200 nv gt730
技嘉B75D3H 志强E3 1230 v2 orv3? nv Gtx950
第六个电脑
技嘉b450i amd ryzen2 3600 ati 5500xt & NV 2800Ti
Laptops
Dell D630 T7250 nv 显卡
X13 gen2a 5850U
Nuc
技嘉nuc pentium Gold 5005
ArmSBs
Raspberry 1B 2B 3 ZeroW
Radxa Zero3W
作者:Harrandi
发布时间:August 24, 2025
分类:FPV
No Comments
If you’re building a remote surveillance system, giving your camera cellular connectivity with a Quectel EC20 module is a powerful upgrade. Once configured in ECM (Ethernet Control Model) mode, the module acts like a virtual Ethernet card, pulling an IP address directly from your mobile carrier.
This guide will walk you through the setup process on an SSC338Q-based camera. A key pro tip: we’ll configure a VPN like WireGuard or ZeroTier first. This crucial step will save you from being locked out of your camera once it switches to the cellular network, allowing for secure remote access without complex router configurations.
Prerequisites & Planning
Hardware: A camera with an SSC338Q chipset and a Quectel EC20 module (specifically variant 0x2c7c:0x0125).
Initial Access: Physical access to the camera or a connection to its local network for the initial setup.
VPN Setup: A configured VPN server (e.g., WireGuard or ZeroTier) installed on a cloud server, Raspberry Pi, or your local network. Ensure your camera can reach it and that you know how to connect your laptop to it.
Why VPN First? Once the EC20 module is active, your camera’s network interface will change. It will be on your ISP’s cellular network, not your local Wi-Fi. Without a VPN already running on the camera, you will have no way to SSH into it to complete the setup. The VPN provides a secure “tunnel” back to your device.
Step 1: Verify EC20 Module Detection
Start by establishing an SSH connection to your camera over your local network.
Run the lsusb command to list all connected USB devices. You should see a line identifying your Quectel module:
bash
ssh root@your-camera-local-ip
lsusb
Expected Output:
Bus 001 Device 003: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC20 LTE modem
If you don’t see this device, stop here. Check your USB connections, cables, and power supply to the EC20 module.
Because the new config has been added so step2 is no longer needed.
Step 3: Apply the Configuration and Reboot
Now, we tell the system to use our new ec25 configuration and reboot.
Set the boot environment variable:fw_setenv wlandev ec25
Reboot the camera for the changes to take effect:reboot
⚠️ Important Note: After rebooting, the camera’s USB interface (usb0) will be assigned a static IP address: 192.168.2.10. To maintain SSH access during this phase:
You must set your computer’s Ethernet IP address to 192.168.2.1 (subnet 255.255.255.0).
Connect directly to the camera’s USB port or via a router configured for the 192.168.2.x subnet.
Step 4: Final Verification and VPN Connection
After the reboot and reconnection (via the 192.168.2.10 IP), SSH back into the camera.
Run ifconfig. You should now see a new network interface (likely usb0 or wwan0) that has obtained a public IP address from your cellular ISP. This means the EC20 module is working correctly!
Connect via VPN: Since you pre-configured your VPN, simply activate the VPN connection on your laptop. You should now be able to SSH directly to the camera’s VPN IP address from anywhere with an internet connection, no longer needing the 192.168.2.10 workaround.
Troubleshooting and Reverting
Something went wrong? If the configuration fails and you lose access, you may need a serial console connection to revert. If you can still access the camera, you can clear the wlandev setting:bashfw_setenv wlandev rebootThis will tell the camera to bypass the EC20 setup on the next boot.
No Internet on EC20? Check your APN settings. You may need to use udhcpc or additional scripts to handle the DHCP client process on the usb0 interface.
By following these steps and planning with a VPN, you’ve created a robust, remotely accessible cellular camera. Happy monitoring!
作者:Harrandi
发布时间:August 19, 2025
分类:FPV,微心情
No Comments
Looking back, the FPV hobby has been through so many ups and downs. Yeah, I feel like ranting a bit…When COVID hit in 2020, along with shifting international relations, we saw an STM32 chip shortage. Experts claimed it was just a simple supply-and-demand issue. But years later, we can see that AT32 chips have taken over a significant portion of STM32’s market share. Many ESCs and other microcontroller applications are now dominated by AT32 – not entirely, but substantially. Don’t get me wrong, this outcome isn’t necessarily bad. I’m just saying the chip shortage period was a really unsettling experience for FPV.Then there’s the MPU6000 gyro being discontinued – we never got a perfect replacement. Even though Betaflight and Fettec have made big improvements in ICM gyro support, it’s still a huge loss for high-performance freestyle quads. Nobody cares about FPV; our market is just too small.The war led to BLHeli32 shutting down development – another massive blow to FPV. Manufacturers had to switch to AM32. I know BLHeli32 isn’t completely gone, but development has stopped. And I’ll say it outright: AM32 ESCs with ICM gyros are a disaster. Thankfully, if you want top-tier ESC performance, Fettec is an option – expensive, but performance-wise it definitely holds up against BLHeli32. I’m talking about freestyle here; for racing you’ll need to test it yourself. Of course, ICM gyros on Fettec flight controllers perform the same as on Betaflight – still not matching the MPU6000.There are rumors that Rapidfire’s new version under Orca isn’t as good as the original. I haven’t verified this myself – hopefully it’s not true.That’s all I can think of for now. Really hope the FPV hobby gets the attention and protection it deserves.
回首过去,FPV运动经历了太多的坎坷。是的,我又想逼逼了。。2020年随着covid的开始,以及国际关系发生的变化,stm32出现了芯片短缺潮。专业人士认为这仅是供小于求的原因造成的。多年后的今天我们发现亚特力已经替代了stm32相当一部分的市场,很多电调包括其它用途的单片机都已经是亚特力的天下了,尽管这不是绝对的情况。当然这个结果并没有什么不好,我只是想说FPV经历的芯片短缺潮这段时期是一个令人不安的经历。姿态传感器,MPU6000停产,我们没能有完美的替代品。尽管最新的Betaflight和Fettec 都对icm的支持有了较大的进步,但是对于高性能的穿越机来说还是一个巨大的遗憾。没有人关心FPV,它的市场太小了。战争,BLHeli32关闭了项目,这是另外一个巨大的冲击对于FPV来说。厂商们不得不转向AM32,我知道bl32并没有完全消失,但它已经停止了开发。我可以大言不惭地说am32电调搭配ICM传感器是一个灾难。幸运的是,如果你想要最高性能的电调,可以考虑fettec,虽然它很贵,但是性能绝对不在bl32之下。我说的是花飞应用,能否满足竞速的需求需要自己测试。当然,icm传感器在Fettec飞控上的情况和betaflight 一样,不会超过MPU6000的性能。Rapidfire 被Orca收购后推出的新版接收机据说,没有之前的性能强劲,这个情况我没有亲自验证,但愿不是真的。暂时想起来这么多,希望FPV运动可以得到重视和保护。
作者:Harrandi
发布时间:March 4, 2025
分类:Linux
No Comments
在Zero上编译非常痛苦,所以还是交叉编译:
安装步骤
更新包列表:
sudo apt update
安装交叉编译工具链:
sudo apt install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
//gcc-aarch64-linux-gnu:ARM64架构的C编译器。
//g++-aarch64-linux-gnu:ARM64架构的C++编译器。
验证安装:
aarch64-linux-gnu-gcc --version
aarch64-linux-gnu-g++ --version
- 设置交叉编译环境
在项目目录中创建一个 toolchain.cmake 文件,用于指定交叉编译工具链。
创建 toolchain.cmake 文件
cmake
toolchain.cmake
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
set(CMAKE_C_COMPILER /usr/bin/aarch64-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER /usr/bin/aarch64-linux-gnu-g++)
set(CMAKE_FIND_ROOT_PATH /usr/aarch64-linux-gnu)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
- 交叉编译项目
使用交叉编译工具链编译项目。
步骤 1:生成构建文件
cmake -B build -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake
步骤 2:编译项目
cmake --build build --config Release -j 2
步骤 3:验证编译结果
检查生成的可执行文件是否为ARM64架构:
file build/my_program
输出示例:
build/my_program: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, not stripped
- 将程序复制到RK3566
使用 scp 或U盘将编译好的程序复制到RK3566上运行。
使用 scp 复制
scp build/my_program user@rk3566_ip:/path/to/destination
在RK3566上运行
./llama-server -m DeepSeek-R1-Distill-Qwen-1.5B-Q4_K_M.gguf --host 0.0.0.0
使用精简蒸馏模型DeepSeek-R1-Distill-Qwen-1.5B-Q4_K_M.gguf
结果还是非常意料之内的,缓慢无比。0.2 t/s
- «
- 1
- 2
- 3
- 4
- 5
- ...
- 17
- »